Loading drivers/platform/msm/mhi_dev/mhi.c +10 −0 Original line number Diff line number Diff line Loading @@ -837,6 +837,11 @@ static int mhi_hwc_chcmd(struct mhi_dev *mhi, uint chid, switch (type) { case MHI_DEV_RING_EL_RESET: case MHI_DEV_RING_EL_STOP: if ((chid-HW_CHANNEL_BASE) > NUM_HW_CHANNELS) { pr_err("Invalid Channel ID = 0x%X\n", chid); return -EINVAL; } rc = ipa_mhi_disconnect_pipe( mhi->ipa_clnt_hndl[chid-HW_CHANNEL_BASE]); if (rc) Loading Loading @@ -868,6 +873,11 @@ static int mhi_hwc_chcmd(struct mhi_dev *mhi, uint chid, return -EINVAL; } if ((chid-HW_CHANNEL_BASE) > NUM_HW_CHANNELS) { pr_err("Invalid Channel = 0x%X\n", chid); return -EINVAL; } rc = ipa_mhi_connect_pipe(&connect_params, &mhi->ipa_clnt_hndl[chid-HW_CHANNEL_BASE]); if (rc) Loading drivers/platform/msm/mhi_dev/mhi.h +2 −1 Original line number Diff line number Diff line Loading @@ -271,6 +271,7 @@ struct mhi_config { #define NUM_CHANNELS 128 #define HW_CHANNEL_BASE 100 #define NUM_HW_CHANNELS 15 #define HW_CHANNEL_END 107 #define MHI_ENV_VALUE 2 #define MHI_MASK_ROWS_CH_EV_DB 4 Loading Loading @@ -537,7 +538,7 @@ struct mhi_dev { uint32_t ch_ring_start; /* IPA Handles */ u32 ipa_clnt_hndl[4]; u32 ipa_clnt_hndl[NUM_HW_CHANNELS]; struct workqueue_struct *ring_init_wq; struct work_struct ring_init_cb_work; struct work_struct re_init; Loading Loading
drivers/platform/msm/mhi_dev/mhi.c +10 −0 Original line number Diff line number Diff line Loading @@ -837,6 +837,11 @@ static int mhi_hwc_chcmd(struct mhi_dev *mhi, uint chid, switch (type) { case MHI_DEV_RING_EL_RESET: case MHI_DEV_RING_EL_STOP: if ((chid-HW_CHANNEL_BASE) > NUM_HW_CHANNELS) { pr_err("Invalid Channel ID = 0x%X\n", chid); return -EINVAL; } rc = ipa_mhi_disconnect_pipe( mhi->ipa_clnt_hndl[chid-HW_CHANNEL_BASE]); if (rc) Loading Loading @@ -868,6 +873,11 @@ static int mhi_hwc_chcmd(struct mhi_dev *mhi, uint chid, return -EINVAL; } if ((chid-HW_CHANNEL_BASE) > NUM_HW_CHANNELS) { pr_err("Invalid Channel = 0x%X\n", chid); return -EINVAL; } rc = ipa_mhi_connect_pipe(&connect_params, &mhi->ipa_clnt_hndl[chid-HW_CHANNEL_BASE]); if (rc) Loading
drivers/platform/msm/mhi_dev/mhi.h +2 −1 Original line number Diff line number Diff line Loading @@ -271,6 +271,7 @@ struct mhi_config { #define NUM_CHANNELS 128 #define HW_CHANNEL_BASE 100 #define NUM_HW_CHANNELS 15 #define HW_CHANNEL_END 107 #define MHI_ENV_VALUE 2 #define MHI_MASK_ROWS_CH_EV_DB 4 Loading Loading @@ -537,7 +538,7 @@ struct mhi_dev { uint32_t ch_ring_start; /* IPA Handles */ u32 ipa_clnt_hndl[4]; u32 ipa_clnt_hndl[NUM_HW_CHANNELS]; struct workqueue_struct *ring_init_wq; struct work_struct ring_init_cb_work; struct work_struct re_init; Loading