Lines Matching refs:mhi_device
377 struct mhi_device *mhi_dev;
471 struct mhi_device { struct
525 int (*probe)(struct mhi_device *mhi_dev,
527 void (*remove)(struct mhi_device *mhi_dev);
528 void (*ul_xfer_cb)(struct mhi_device *mhi_dev,
530 void (*dl_xfer_cb)(struct mhi_device *mhi_dev,
532 void (*status_cb)(struct mhi_device *mhi_dev, enum mhi_callback mhi_cb);
537 #define to_mhi_device(dev) container_of(dev, struct mhi_device, dev)
607 void mhi_notify(struct mhi_device *mhi_dev, enum mhi_callback cb_reason);
615 int mhi_get_free_desc_count(struct mhi_device *mhi_dev,
716 void mhi_device_get(struct mhi_device *mhi_dev);
723 int mhi_device_get_sync(struct mhi_device *mhi_dev);
729 void mhi_device_put(struct mhi_device *mhi_dev);
739 int mhi_prepare_for_transfer(struct mhi_device *mhi_dev);
751 int mhi_prepare_for_transfer_autoqueue(struct mhi_device *mhi_dev);
766 void mhi_unprepare_from_transfer(struct mhi_device *mhi_dev);
773 int mhi_poll(struct mhi_device *mhi_dev, u32 budget);
784 int mhi_queue_dma(struct mhi_device *mhi_dev, enum dma_data_direction dir,
796 int mhi_queue_buf(struct mhi_device *mhi_dev, enum dma_data_direction dir,
807 int mhi_queue_skb(struct mhi_device *mhi_dev, enum dma_data_direction dir,
815 bool mhi_queue_is_full(struct mhi_device *mhi_dev, enum dma_data_direction dir);