Home
last modified time | relevance | path

Searched refs:mhi_device (Results 1 – 13 of 13) sorted by relevance

/openbmc/linux/include/linux/
H A Dmhi.h381 struct mhi_device *mhi_dev;
477 struct mhi_device { struct
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);
543 #define to_mhi_device(dev) container_of(dev, struct mhi_device, dev)
613 void mhi_notify(struct mhi_device *mhi_dev, enum mhi_callback cb_reason);
621 int mhi_get_free_desc_count(struct mhi_device *mhi_dev,
[all …]
/openbmc/linux/net/qrtr/
H A Dmhi.c16 struct mhi_device *mhi_dev;
21 static void qcom_mhi_qrtr_dl_callback(struct mhi_device *mhi_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()
75 static int qcom_mhi_qrtr_probe(struct mhi_device *mhi_dev, in qcom_mhi_qrtr_probe()
106 static void qcom_mhi_qrtr_remove(struct mhi_device *mhi_dev) in qcom_mhi_qrtr_remove()
/openbmc/linux/drivers/net/
H A Dmhi_net.c32 struct mhi_device *mdev;
76 struct mhi_device *mdev = mhi_netdev->mdev; in mhi_ndo_xmit()
169 static void mhi_net_dl_callback(struct mhi_device *mhi_dev, in mhi_net_dl_callback()
236 static void mhi_net_ul_callback(struct mhi_device *mhi_dev, in mhi_net_ul_callback()
241 struct mhi_device *mdev = mhi_netdev->mdev; in mhi_net_ul_callback()
273 struct mhi_device *mdev = mhi_netdev->mdev; in mhi_net_rx_refill_work()
304 static int mhi_net_newlink(struct mhi_device *mhi_dev, struct net_device *ndev) in mhi_net_newlink()
336 static void mhi_net_dellink(struct mhi_device *mhi_dev, struct net_device *ndev) in mhi_net_dellink()
351 static int mhi_net_probe(struct mhi_device *mhi_dev, in mhi_net_probe()
374 static void mhi_net_remove(struct mhi_device *mhi_dev) in mhi_net_remove()
/openbmc/linux/drivers/net/wwan/
H A Dmhi_wwan_ctrl.c20 struct mhi_device *mhi_dev;
81 struct mhi_device *mhi_dev = mhiwwan->mhi_dev; in mhi_wwan_ctrl_refill_work()
169 static void mhi_ul_xfer_cb(struct mhi_device *mhi_dev, in mhi_ul_xfer_cb()
189 static void mhi_dl_xfer_cb(struct mhi_device *mhi_dev, in mhi_dl_xfer_cb()
214 static int mhi_wwan_ctrl_probe(struct mhi_device *mhi_dev, in mhi_wwan_ctrl_probe()
251 static void mhi_wwan_ctrl_remove(struct mhi_device *mhi_dev) in mhi_wwan_ctrl_remove()
H A Dmhi_wwan_mbim.c65 struct mhi_device *mdev;
384 struct mhi_device *mdev = mbim->mdev; in mhi_net_rx_refill_work()
411 static void mhi_mbim_dl_callback(struct mhi_device *mhi_dev, in mhi_mbim_dl_callback()
474 static void mhi_mbim_ul_callback(struct mhi_device *mhi_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()
624 static void mhi_mbim_remove(struct mhi_device *mhi_dev) in mhi_mbim_remove()
/openbmc/linux/drivers/accel/qaic/
H A Dqaic.h110 struct mhi_device *cntl_ch;
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 Dqaic_drv.c266 static int qaic_mhi_probe(struct mhi_device *mhi_dev, const struct mhi_device_id *id) in qaic_mhi_probe()
313 static void qaic_mhi_remove(struct mhi_device *mhi_dev) in qaic_mhi_remove()
H A Dqaic_control.c1437 void qaic_mhi_ul_xfer_cb(struct mhi_device *mhi_dev, struct mhi_result *mhi_result) in qaic_mhi_ul_xfer_cb()
1445 void qaic_mhi_dl_xfer_cb(struct mhi_device *mhi_dev, struct mhi_result *mhi_result) in qaic_mhi_dl_xfer_cb()
/openbmc/linux/drivers/bus/mhi/host/
H A Dinit.c87 struct mhi_device *mhi_dev = to_mhi_device(dev); in serial_number_show()
99 struct mhi_device *mhi_dev = to_mhi_device(dev); in oem_pk_hash_show()
116 struct mhi_device *mhi_dev = to_mhi_device(dev); in soc_reset_store()
909 struct mhi_device *mhi_dev; in mhi_register_controller()
1052 struct mhi_device *mhi_dev = mhi_cntrl->mhi_dev; in mhi_unregister_controller()
1198 struct mhi_device *mhi_dev = to_mhi_device(dev); in mhi_release_device()
1215 struct mhi_device *mhi_alloc_device(struct mhi_controller *mhi_cntrl) in mhi_alloc_device()
1217 struct mhi_device *mhi_dev; in mhi_alloc_device()
1245 struct mhi_device *mhi_dev = to_mhi_device(dev); in mhi_driver_probe()
1321 struct mhi_device *mhi_dev = to_mhi_device(dev); in mhi_driver_remove()
[all …]
H A Dmain.c278 struct mhi_device *mhi_dev; in mhi_destroy_device()
334 int mhi_get_free_desc_count(struct mhi_device *mhi_dev, in mhi_get_free_desc_count()
346 void mhi_notify(struct mhi_device *mhi_dev, enum mhi_callback cb_reason) in mhi_notify()
364 struct mhi_device *mhi_dev; in mhi_create_devices()
468 struct mhi_device *mhi_dev = mhi_chan->mhi_dev; in mhi_irq_handler()
1117 static int mhi_queue(struct mhi_device *mhi_dev, struct mhi_buf_info *buf_info, in mhi_queue()
1163 int mhi_queue_skb(struct mhi_device *mhi_dev, enum dma_data_direction dir, in mhi_queue_skb()
1181 int mhi_queue_dma(struct mhi_device *mhi_dev, enum dma_data_direction dir, in mhi_queue_dma()
1254 int mhi_queue_buf(struct mhi_device *mhi_dev, enum dma_data_direction dir, in mhi_queue_buf()
1267 bool mhi_queue_is_full(struct mhi_device *mhi_dev, enum dma_data_direction dir) in mhi_queue_is_full()
[all …]
H A Ddebugfs.c132 struct mhi_device *mhi_dev; in mhi_device_info_show()
234 struct mhi_device *mhi_dev = mhi_cntrl->mhi_dev; in mhi_debugfs_device_wake_show()
254 struct mhi_device *mhi_dev = mhi_cntrl->mhi_dev; in mhi_debugfs_device_wake_write()
H A Dinternal.h234 struct mhi_device *mhi_dev;
235 void (*xfer_cb)(struct mhi_device *mhi_dev, struct mhi_result *result);
274 struct mhi_device *mhi_alloc_device(struct mhi_controller *mhi_cntrl);
H A Dpm.c1258 void mhi_device_get(struct mhi_device *mhi_dev) in mhi_device_get()
1272 int mhi_device_get_sync(struct mhi_device *mhi_dev) in mhi_device_get_sync()
1285 void mhi_device_put(struct mhi_device *mhi_dev) in mhi_device_put()