/kernel/linux/linux-6.6/drivers/net/wwan/ |
H A D | mhi_wwan_ctrl.c | 20 struct mhi_device *mhi_dev; member 81 struct mhi_device *mhi_dev = mhiwwan->mhi_dev; in mhi_wwan_ctrl_refill_work() local 99 if (mhi_queue_skb(mhi_dev, DMA_FROM_DEVICE, skb, mhiwwan->mtu, MHI_EOT)) { in mhi_wwan_ctrl_refill_work() 100 dev_err(&mhi_dev->dev, "Failed to queue buffer\n"); in mhi_wwan_ctrl_refill_work() 113 ret = mhi_prepare_for_transfer(mhiwwan->mhi_dev); in mhi_wwan_ctrl_start() 118 mhiwwan->rx_budget = mhi_get_free_desc_count(mhiwwan->mhi_dev, DMA_FROM_DEVICE); in mhi_wwan_ctrl_start() 139 mhi_unprepare_from_transfer(mhiwwan->mhi_dev); in mhi_wwan_ctrl_stop() 155 ret = mhi_queue_skb(mhiwwan->mhi_dev, DMA_TO_DEVICE, skb, skb->len, MHI_EOT); in mhi_wwan_ctrl_tx() 156 if (mhi_queue_is_full(mhiwwan->mhi_dev, DMA_TO_DEVIC in mhi_wwan_ctrl_tx() 169 mhi_ul_xfer_cb(struct mhi_device *mhi_dev, struct mhi_result *mhi_result) mhi_ul_xfer_cb() argument 189 mhi_dl_xfer_cb(struct mhi_device *mhi_dev, struct mhi_result *mhi_result) mhi_dl_xfer_cb() argument 214 mhi_wwan_ctrl_probe(struct mhi_device *mhi_dev, const struct mhi_device_id *id) mhi_wwan_ctrl_probe() argument 251 mhi_wwan_ctrl_remove(struct mhi_device *mhi_dev) mhi_wwan_ctrl_remove() argument [all...] |
H A D | mhi_wwan_mbim.c | 411 static void mhi_mbim_dl_callback(struct mhi_device *mhi_dev, in mhi_mbim_dl_callback() argument 414 struct mhi_mbim_context *mbim = dev_get_drvdata(&mhi_dev->dev); in mhi_mbim_dl_callback() 418 free_desc_count = mhi_get_free_desc_count(mhi_dev, DMA_FROM_DEVICE); in mhi_mbim_dl_callback() 474 static void mhi_mbim_ul_callback(struct mhi_device *mhi_dev, in mhi_mbim_ul_callback() argument 477 struct mhi_mbim_context *mbim = dev_get_drvdata(&mhi_dev->dev); in mhi_mbim_ul_callback() 595 static int mhi_mbim_probe(struct mhi_device *mhi_dev, const struct mhi_device_id *id) in mhi_mbim_probe() argument 597 struct mhi_controller *cntrl = mhi_dev->mhi_cntrl; in mhi_mbim_probe() 601 mbim = devm_kzalloc(&mhi_dev->dev, sizeof(*mbim), GFP_KERNEL); in mhi_mbim_probe() 606 dev_set_drvdata(&mhi_dev->dev, mbim); in mhi_mbim_probe() 607 mbim->mdev = mhi_dev; in mhi_mbim_probe() 624 mhi_mbim_remove(struct mhi_device *mhi_dev) mhi_mbim_remove() argument [all...] |
/kernel/linux/linux-6.6/net/qrtr/ |
H A D | mhi.c | 16 struct mhi_device *mhi_dev; member 21 static void qcom_mhi_qrtr_dl_callback(struct mhi_device *mhi_dev, in qcom_mhi_qrtr_dl_callback() argument 24 struct qrtr_mhi_dev *qdev = dev_get_drvdata(&mhi_dev->dev); in qcom_mhi_qrtr_dl_callback() 37 static void qcom_mhi_qrtr_ul_callback(struct mhi_device *mhi_dev, in qcom_mhi_qrtr_ul_callback() argument 60 rc = mhi_queue_skb(qdev->mhi_dev, DMA_TO_DEVICE, skb, skb->len, in qcom_mhi_qrtr_send() 75 static int qcom_mhi_qrtr_probe(struct mhi_device *mhi_dev, in qcom_mhi_qrtr_probe() argument 81 qdev = devm_kzalloc(&mhi_dev->dev, sizeof(*qdev), GFP_KERNEL); in qcom_mhi_qrtr_probe() 85 qdev->mhi_dev = mhi_dev; in qcom_mhi_qrtr_probe() 86 qdev->dev = &mhi_dev in qcom_mhi_qrtr_probe() 106 qcom_mhi_qrtr_remove(struct mhi_device *mhi_dev) qcom_mhi_qrtr_remove() argument [all...] |
/kernel/linux/linux-6.6/drivers/bus/mhi/ep/ |
H A D | main.c | 31 struct device *dev = &mhi_cntrl->mhi_dev->dev; in mhi_ep_send_event() 150 struct device *dev = &mhi_cntrl->mhi_dev->dev; in mhi_ep_process_cmd_ring() 209 * We also need to check for mhi_dev != NULL because, the host in mhi_ep_process_cmd_ring() 213 if (!(ch_id % 2) && !mhi_chan->mhi_dev) { in mhi_ep_process_cmd_ring() 241 mhi_chan->xfer_cb(mhi_chan->mhi_dev, &result); in mhi_ep_process_cmd_ring() 275 mhi_chan->xfer_cb(mhi_chan->mhi_dev, &result); in mhi_ep_process_cmd_ring() 308 bool mhi_ep_queue_is_empty(struct mhi_ep_device *mhi_dev, enum dma_data_direction dir) in mhi_ep_queue_is_empty() argument 310 struct mhi_ep_chan *mhi_chan = (dir == DMA_FROM_DEVICE) ? mhi_dev->dl_chan : in mhi_ep_queue_is_empty() 311 mhi_dev->ul_chan; in mhi_ep_queue_is_empty() 312 struct mhi_ep_cntrl *mhi_cntrl = mhi_dev in mhi_ep_queue_is_empty() 482 mhi_ep_queue_skb(struct mhi_ep_device *mhi_dev, struct sk_buff *skb) mhi_ep_queue_skb() argument 1201 struct mhi_ep_device *mhi_dev = to_mhi_ep_device(dev); mhi_ep_release_device() local 1223 struct mhi_ep_device *mhi_dev; mhi_ep_alloc_device() local 1259 struct mhi_ep_device *mhi_dev; mhi_ep_create_device() local 1303 struct mhi_ep_device *mhi_dev; mhi_ep_destroy_device() local 1396 struct mhi_ep_device *mhi_dev; mhi_ep_register_controller() local 1522 struct mhi_ep_device *mhi_dev = mhi_cntrl->mhi_dev; mhi_ep_unregister_controller() local 1543 struct mhi_ep_device *mhi_dev = to_mhi_ep_device(dev); mhi_ep_driver_probe() local 1556 struct mhi_ep_device *mhi_dev = to_mhi_ep_device(dev); mhi_ep_driver_remove() local 1620 const struct mhi_ep_device *mhi_dev = to_mhi_ep_device(dev); mhi_ep_uevent() local 1628 struct mhi_ep_device *mhi_dev = to_mhi_ep_device(dev); mhi_ep_match() local [all...] |
H A D | sm.c | 32 struct device *dev = &mhi_cntrl->mhi_dev->dev; in mhi_ep_set_mhi_state() 61 struct device *dev = &mhi_cntrl->mhi_dev->dev; in mhi_ep_set_m0_state() 102 struct device *dev = &mhi_cntrl->mhi_dev->dev; in mhi_ep_set_m3_state() 130 struct device *dev = &mhi_cntrl->mhi_dev->dev; in mhi_ep_set_ready_state()
|
H A D | ring.c | 32 struct device *dev = &mhi_cntrl->mhi_dev->dev; in __mhi_ep_cache_ring() 109 struct device *dev = &mhi_cntrl->mhi_dev->dev; in mhi_ep_ring_add_element() 168 struct device *dev = &mhi_cntrl->mhi_dev->dev; in mhi_ep_ring_start()
|
H A D | internal.h | 156 struct mhi_ep_device *mhi_dev; member 159 void (*xfer_cb)(struct mhi_ep_device *mhi_dev, struct mhi_result *result);
|
/kernel/linux/linux-5.10/net/qrtr/ |
H A D | mhi.c | 16 struct mhi_device *mhi_dev; member 21 static void qcom_mhi_qrtr_dl_callback(struct mhi_device *mhi_dev, in qcom_mhi_qrtr_dl_callback() argument 24 struct qrtr_mhi_dev *qdev = dev_get_drvdata(&mhi_dev->dev); in qcom_mhi_qrtr_dl_callback() 37 static void qcom_mhi_qrtr_ul_callback(struct mhi_device *mhi_dev, in qcom_mhi_qrtr_ul_callback() argument 60 rc = mhi_queue_skb(qdev->mhi_dev, DMA_TO_DEVICE, skb, skb->len, in qcom_mhi_qrtr_send() 75 static int qcom_mhi_qrtr_probe(struct mhi_device *mhi_dev, in qcom_mhi_qrtr_probe() argument 81 qdev = devm_kzalloc(&mhi_dev->dev, sizeof(*qdev), GFP_KERNEL); in qcom_mhi_qrtr_probe() 85 qdev->mhi_dev = mhi_dev; in qcom_mhi_qrtr_probe() 86 qdev->dev = &mhi_dev in qcom_mhi_qrtr_probe() 99 qcom_mhi_qrtr_remove(struct mhi_device *mhi_dev) qcom_mhi_qrtr_remove() argument [all...] |
/kernel/linux/linux-6.6/drivers/bus/mhi/host/ |
H A D | init.c | 86 struct mhi_device *mhi_dev = to_mhi_device(dev); in serial_number_show() local 87 struct mhi_controller *mhi_cntrl = mhi_dev->mhi_cntrl; in serial_number_show() 98 struct mhi_device *mhi_dev = to_mhi_device(dev); in oem_pk_hash_show() local 99 struct mhi_controller *mhi_cntrl = mhi_dev->mhi_cntrl; in oem_pk_hash_show() 115 struct mhi_device *mhi_dev = to_mhi_device(dev); in soc_reset_store() local 116 struct mhi_controller *mhi_cntrl = mhi_dev->mhi_cntrl; in soc_reset_store() 129 ATTRIBUTE_GROUPS(mhi_dev); variable 166 struct device *dev = &mhi_cntrl->mhi_dev->dev; in mhi_init_irq_setup() 446 struct device *dev = &mhi_cntrl->mhi_dev->dev; in mhi_init_mmio() 908 struct mhi_device *mhi_dev; in mhi_register_controller() local 1051 struct mhi_device *mhi_dev = mhi_cntrl->mhi_dev; mhi_unregister_controller() local 1197 struct mhi_device *mhi_dev = to_mhi_device(dev); mhi_release_device() local 1216 struct mhi_device *mhi_dev; mhi_alloc_device() local 1244 struct mhi_device *mhi_dev = to_mhi_device(dev); mhi_driver_probe() local 1320 struct mhi_device *mhi_dev = to_mhi_device(dev); mhi_driver_remove() local 1412 const struct mhi_device *mhi_dev = to_mhi_device(dev); mhi_uevent() local 1420 struct mhi_device *mhi_dev = to_mhi_device(dev); mhi_match() local [all...] |
H A D | main.c | 278 struct mhi_device *mhi_dev; in mhi_destroy_device() local 285 mhi_dev = to_mhi_device(dev); in mhi_destroy_device() 286 mhi_cntrl = mhi_dev->mhi_cntrl; in mhi_destroy_device() 289 if (mhi_dev->dev_type == MHI_DEVICE_CONTROLLER) in mhi_destroy_device() 292 ul_chan = mhi_dev->ul_chan; in mhi_destroy_device() 293 dl_chan = mhi_dev->dl_chan; in mhi_destroy_device() 306 * references to mhi_dev created for ul and dl channels. We can in mhi_destroy_device() 307 * be sure that there will be no instances of mhi_dev left after in mhi_destroy_device() 314 put_device(&ul_chan->mhi_dev->dev); in mhi_destroy_device() 321 put_device(&dl_chan->mhi_dev in mhi_destroy_device() 334 mhi_get_free_desc_count(struct mhi_device *mhi_dev, enum dma_data_direction dir) mhi_get_free_desc_count() argument 346 mhi_notify(struct mhi_device *mhi_dev, enum mhi_callback cb_reason) mhi_notify() argument 364 struct mhi_device *mhi_dev; mhi_create_devices() local 468 struct mhi_device *mhi_dev = mhi_chan->mhi_dev; mhi_irq_handler() local 1117 mhi_queue(struct mhi_device *mhi_dev, struct mhi_buf_info *buf_info, enum dma_data_direction dir, enum mhi_flags mflags) mhi_queue() argument 1163 mhi_queue_skb(struct mhi_device *mhi_dev, enum dma_data_direction dir, struct sk_buff *skb, size_t len, enum mhi_flags mflags) mhi_queue_skb() argument 1181 mhi_queue_dma(struct mhi_device *mhi_dev, enum dma_data_direction dir, struct mhi_buf *mhi_buf, size_t len, enum mhi_flags mflags) mhi_queue_dma() argument 1254 mhi_queue_buf(struct mhi_device *mhi_dev, enum dma_data_direction dir, void *buf, size_t len, enum mhi_flags mflags) mhi_queue_buf() argument 1267 mhi_queue_is_full(struct mhi_device *mhi_dev, enum dma_data_direction dir) mhi_queue_is_full() argument 1637 __mhi_prepare_for_transfer(struct mhi_device *mhi_dev, unsigned int flags) __mhi_prepare_for_transfer() argument 1667 mhi_prepare_for_transfer(struct mhi_device *mhi_dev) mhi_prepare_for_transfer() argument 1673 mhi_prepare_for_transfer_autoqueue(struct mhi_device *mhi_dev) mhi_prepare_for_transfer_autoqueue() argument 1679 mhi_unprepare_from_transfer(struct mhi_device *mhi_dev) mhi_unprepare_from_transfer() argument [all...] |
H A D | debugfs.c | 104 if (!mhi_chan->mhi_dev) in mhi_debugfs_channels_show() 132 struct mhi_device *mhi_dev; in mhi_device_info_show() local 137 mhi_dev = to_mhi_device(dev); in mhi_device_info_show() 140 mhi_dev->name, mhi_dev->dev_type ? "Controller" : "Transfer", in mhi_device_info_show() 141 mhi_dev->dev_wake); in mhi_device_info_show() 144 if (mhi_dev->dev_type == MHI_DEVICE_XFER) in mhi_device_info_show() 146 mhi_dev->ul_chan_id, mhi_dev->dl_chan_id); in mhi_device_info_show() 163 mhi_device_info_show(&mhi_cntrl->mhi_dev in mhi_debugfs_devices_show() 234 struct mhi_device *mhi_dev = mhi_cntrl->mhi_dev; mhi_debugfs_device_wake_show() local 254 struct mhi_device *mhi_dev = mhi_cntrl->mhi_dev; mhi_debugfs_device_wake_write() local [all...] |
H A D | pm.c | 132 struct device *dev = &mhi_cntrl->mhi_dev->dev; in mhi_set_mhi_state() 164 struct device *dev = &mhi_cntrl->mhi_dev->dev; in mhi_ready_state_transition() 251 struct device *dev = &mhi_cntrl->mhi_dev->dev; in mhi_pm_m0_transition() 325 struct device *dev = &mhi_cntrl->mhi_dev->dev; in mhi_pm_m1_transition() 361 struct device *dev = &mhi_cntrl->mhi_dev->dev; in mhi_pm_m3_transition() 382 struct device *dev = &mhi_cntrl->mhi_dev->dev; in mhi_pm_mission_mode_transition() 403 device_for_each_child(&mhi_cntrl->mhi_dev->dev, ¤t_ee, in mhi_pm_mission_mode_transition() 463 struct device *dev = &mhi_cntrl->mhi_dev->dev; in mhi_pm_disable_transition() 519 device_for_each_child(&mhi_cntrl->mhi_dev->dev, NULL, mhi_destroy_device); in mhi_pm_disable_transition() 580 struct device *dev = &mhi_cntrl->mhi_dev in mhi_pm_sys_error_transition() 1244 mhi_device_get(struct mhi_device *mhi_dev) mhi_device_get() argument 1258 mhi_device_get_sync(struct mhi_device *mhi_dev) mhi_device_get_sync() argument 1271 mhi_device_put(struct mhi_device *mhi_dev) mhi_device_put() argument [all...] |
H A D | boot.c | 28 struct device *dev = &mhi_cntrl->mhi_dev->dev; in mhi_rddm_prepare() 73 struct device *dev = &mhi_cntrl->mhi_dev->dev; in __mhi_download_rddm_in_panic() 160 struct device *dev = &mhi_cntrl->mhi_dev->dev; in mhi_download_rddm_image() 184 struct device *dev = &mhi_cntrl->mhi_dev->dev; in mhi_fw_load_bhie() 236 struct device *dev = &mhi_cntrl->mhi_dev->dev; in mhi_fw_load_bhi() 391 struct device *dev = &mhi_cntrl->mhi_dev->dev; in mhi_fw_load_handler() 538 struct device *dev = &mhi_cntrl->mhi_dev->dev; in mhi_download_amss_image()
|
H A D | internal.h | 231 struct mhi_device *mhi_dev; member 232 void (*xfer_cb)(struct mhi_device *mhi_dev, struct mhi_result *result); 306 pm_wakeup_event(&mhi_cntrl->mhi_dev->dev, 0); in mhi_trigger_resume()
|
/kernel/linux/linux-5.10/drivers/bus/mhi/host/ |
H A D | init.c | 83 struct mhi_device *mhi_dev = to_mhi_device(dev); in serial_number_show() local 84 struct mhi_controller *mhi_cntrl = mhi_dev->mhi_cntrl; in serial_number_show() 95 struct mhi_device *mhi_dev = to_mhi_device(dev); in oem_pk_hash_show() local 96 struct mhi_controller *mhi_cntrl = mhi_dev->mhi_cntrl; in oem_pk_hash_show() 113 ATTRIBUTE_GROUPS(mhi_dev); variable 150 struct device *dev = &mhi_cntrl->mhi_dev->dev; in mhi_init_irq_setup() 417 struct device *dev = &mhi_cntrl->mhi_dev->dev; in mhi_init_mmio() 877 struct mhi_device *mhi_dev; in mhi_register_controller() local 963 mhi_dev = mhi_alloc_device(mhi_cntrl); in mhi_register_controller() 964 if (IS_ERR(mhi_dev)) { in mhi_register_controller() 1004 struct mhi_device *mhi_dev = mhi_cntrl->mhi_dev; mhi_unregister_controller() local 1120 struct mhi_device *mhi_dev = to_mhi_device(dev); mhi_release_device() local 1139 struct mhi_device *mhi_dev; mhi_alloc_device() local 1159 struct mhi_device *mhi_dev = to_mhi_device(dev); mhi_driver_probe() local 1243 struct mhi_device *mhi_dev = to_mhi_device(dev); mhi_driver_remove() local 1335 struct mhi_device *mhi_dev = to_mhi_device(dev); mhi_uevent() local 1343 struct mhi_device *mhi_dev = to_mhi_device(dev); mhi_match() local [all...] |
H A D | main.c | 231 struct mhi_device *mhi_dev; in mhi_destroy_device() local 238 mhi_dev = to_mhi_device(dev); in mhi_destroy_device() 239 mhi_cntrl = mhi_dev->mhi_cntrl; in mhi_destroy_device() 242 if (mhi_dev->dev_type == MHI_DEVICE_CONTROLLER) in mhi_destroy_device() 245 ul_chan = mhi_dev->ul_chan; in mhi_destroy_device() 246 dl_chan = mhi_dev->dl_chan; in mhi_destroy_device() 259 * references to mhi_dev created for ul and dl channels. We can in mhi_destroy_device() 260 * be sure that there will be no instances of mhi_dev left after in mhi_destroy_device() 267 put_device(&ul_chan->mhi_dev->dev); in mhi_destroy_device() 274 put_device(&dl_chan->mhi_dev in mhi_destroy_device() 287 mhi_notify(struct mhi_device *mhi_dev, enum mhi_callback cb_reason) mhi_notify() argument 305 struct mhi_device *mhi_dev; mhi_create_devices() local 396 struct mhi_device *mhi_dev = mhi_chan->mhi_dev; mhi_irq_handler() local 1039 mhi_queue_skb(struct mhi_device *mhi_dev, enum dma_data_direction dir, struct sk_buff *skb, size_t len, enum mhi_flags mflags) mhi_queue_skb() argument 1094 mhi_queue_dma(struct mhi_device *mhi_dev, enum dma_data_direction dir, struct mhi_buf *mhi_buf, size_t len, enum mhi_flags mflags) mhi_queue_dma() argument 1201 mhi_queue_buf(struct mhi_device *mhi_dev, enum dma_data_direction dir, void *buf, size_t len, enum mhi_flags mflags) mhi_queue_buf() argument 1574 mhi_prepare_for_transfer(struct mhi_device *mhi_dev) mhi_prepare_for_transfer() argument 1605 mhi_unprepare_from_transfer(struct mhi_device *mhi_dev) mhi_unprepare_from_transfer() argument 1621 mhi_poll(struct mhi_device *mhi_dev, u32 budget) mhi_poll() argument [all...] |
H A D | debugfs.c | 104 if (!mhi_chan->mhi_dev) in mhi_debugfs_channels_show() 132 struct mhi_device *mhi_dev; in mhi_device_info_show() local 137 mhi_dev = to_mhi_device(dev); in mhi_device_info_show() 140 mhi_dev->name, mhi_dev->dev_type ? "Controller" : "Transfer", in mhi_device_info_show() 141 mhi_dev->dev_wake); in mhi_device_info_show() 144 if (mhi_dev->dev_type == MHI_DEVICE_XFER) in mhi_device_info_show() 146 mhi_dev->ul_chan_id, mhi_dev->dl_chan_id); in mhi_device_info_show() 232 struct mhi_device *mhi_dev in mhi_debugfs_device_wake_show() local 252 struct mhi_device *mhi_dev = mhi_cntrl->mhi_dev; mhi_debugfs_device_wake_write() local [all...] |
H A D | pm.c | 158 struct device *dev = &mhi_cntrl->mhi_dev->dev; in mhi_ready_state_transition() 248 struct device *dev = &mhi_cntrl->mhi_dev->dev; in mhi_pm_m0_transition() 322 struct device *dev = &mhi_cntrl->mhi_dev->dev; in mhi_pm_m1_transition() 358 struct device *dev = &mhi_cntrl->mhi_dev->dev; in mhi_pm_m3_transition() 379 struct device *dev = &mhi_cntrl->mhi_dev->dev; in mhi_pm_mission_mode_transition() 395 device_for_each_child(&mhi_cntrl->mhi_dev->dev, ¤t_ee, in mhi_pm_mission_mode_transition() 456 struct device *dev = &mhi_cntrl->mhi_dev->dev; in mhi_pm_disable_transition() 617 struct device *dev = &mhi_cntrl->mhi_dev->dev; in mhi_pm_sys_err_handler() 636 struct device *dev = &mhi_cntrl->mhi_dev->dev; in mhi_pm_st_worker() 691 struct device *dev = &mhi_cntrl->mhi_dev in mhi_pm_suspend() 1123 mhi_device_get(struct mhi_device *mhi_dev) mhi_device_get() argument 1137 mhi_device_get_sync(struct mhi_device *mhi_dev) mhi_device_get_sync() argument 1150 mhi_device_put(struct mhi_device *mhi_dev) mhi_device_put() argument [all...] |
H A D | boot.c | 28 struct device *dev = &mhi_cntrl->mhi_dev->dev; in mhi_rddm_prepare() 67 struct device *dev = &mhi_cntrl->mhi_dev->dev; in __mhi_download_rddm_in_panic() 153 struct device *dev = &mhi_cntrl->mhi_dev->dev; in mhi_download_rddm_img() 178 struct device *dev = &mhi_cntrl->mhi_dev->dev; in mhi_fw_load_amss() 229 struct device *dev = &mhi_cntrl->mhi_dev->dev; in mhi_fw_load_sbl() 390 struct device *dev = &mhi_cntrl->mhi_dev->dev; in mhi_fw_load_handler()
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | mhi.h | 293 * @mhi_dev: MHI device instance for the controller 381 struct mhi_device *mhi_dev; member 531 int (*probe)(struct mhi_device *mhi_dev, 533 void (*remove)(struct mhi_device *mhi_dev); 534 void (*ul_xfer_cb)(struct mhi_device *mhi_dev, 536 void (*dl_xfer_cb)(struct mhi_device *mhi_dev, 538 void (*status_cb)(struct mhi_device *mhi_dev, enum mhi_callback mhi_cb); 610 * @mhi_dev: MHI device instance 613 void mhi_notify(struct mhi_device *mhi_dev, enum mhi_callback cb_reason); 618 * @mhi_dev [all...] |
H A D | mhi_ep.h | 68 * @mhi_dev: MHI Endpoint device instance for the controller 112 struct mhi_ep_device *mhi_dev; member 204 void (*ul_xfer_cb)(struct mhi_ep_device *mhi_dev, 206 void (*dl_xfer_cb)(struct mhi_ep_device *mhi_dev, 276 * @mhi_dev: Device associated with the channels 281 bool mhi_ep_queue_is_empty(struct mhi_ep_device *mhi_dev, enum dma_data_direction dir); 285 * @mhi_dev: Device associated with the DL channel 290 int mhi_ep_queue_skb(struct mhi_ep_device *mhi_dev, struct sk_buff *skb);
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | mhi.h | 293 * @mhi_dev: MHI device instance for the controller 373 struct mhi_device *mhi_dev; member 517 int (*probe)(struct mhi_device *mhi_dev, 519 void (*remove)(struct mhi_device *mhi_dev); 520 void (*ul_xfer_cb)(struct mhi_device *mhi_dev, 522 void (*dl_xfer_cb)(struct mhi_device *mhi_dev, 524 void (*status_cb)(struct mhi_device *mhi_dev, enum mhi_callback mhi_cb); 596 * @mhi_dev: MHI device instance 599 void mhi_notify(struct mhi_device *mhi_dev, enum mhi_callback cb_reason); 671 * @mhi_dev [all...] |
/kernel/linux/linux-6.6/drivers/net/ |
H A D | mhi_net.c | 169 static void mhi_net_dl_callback(struct mhi_device *mhi_dev, in mhi_net_dl_callback() argument 172 struct mhi_net_dev *mhi_netdev = dev_get_drvdata(&mhi_dev->dev); in mhi_net_dl_callback() 176 free_desc_count = mhi_get_free_desc_count(mhi_dev, DMA_FROM_DEVICE); in mhi_net_dl_callback() 236 static void mhi_net_ul_callback(struct mhi_device *mhi_dev, in mhi_net_ul_callback() argument 239 struct mhi_net_dev *mhi_netdev = dev_get_drvdata(&mhi_dev->dev); in mhi_net_ul_callback() 304 static int mhi_net_newlink(struct mhi_device *mhi_dev, struct net_device *ndev) in mhi_net_newlink() argument 311 dev_set_drvdata(&mhi_dev->dev, mhi_netdev); in mhi_net_newlink() 313 mhi_netdev->mdev = mhi_dev; in mhi_net_newlink() 315 mhi_netdev->mru = mhi_dev->mhi_cntrl->mru; in mhi_net_newlink() 322 err = mhi_prepare_for_transfer(mhi_dev); in mhi_net_newlink() 336 mhi_net_dellink(struct mhi_device *mhi_dev, struct net_device *ndev) mhi_net_dellink() argument 351 mhi_net_probe(struct mhi_device *mhi_dev, const struct mhi_device_id *id) mhi_net_probe() argument 374 mhi_net_remove(struct mhi_device *mhi_dev) mhi_net_remove() argument [all...] |
/kernel/linux/linux-6.6/drivers/accel/qaic/ |
H A D | qaic.h | 253 void qaic_mhi_ul_xfer_cb(struct mhi_device *mhi_dev, struct mhi_result *mhi_result); 255 void qaic_mhi_dl_xfer_cb(struct mhi_device *mhi_dev, struct mhi_result *mhi_result);
|
H A D | qaic_drv.c | 266 static int qaic_mhi_probe(struct mhi_device *mhi_dev, const struct mhi_device_id *id) in qaic_mhi_probe() argument 283 qdev = pci_get_drvdata(to_pci_dev(mhi_dev->mhi_cntrl->cntrl_dev)); in qaic_mhi_probe() 287 dev_set_drvdata(&mhi_dev->dev, qdev); in qaic_mhi_probe() 288 qdev->cntl_ch = mhi_dev; in qaic_mhi_probe() 313 static void qaic_mhi_remove(struct mhi_device *mhi_dev) in qaic_mhi_remove() argument
|