Lines Matching refs:mei_device

296 	struct mei_device *dev;
362 bool (*host_is_ready)(struct mei_device *dev);
364 bool (*hw_is_ready)(struct mei_device *dev);
365 int (*hw_reset)(struct mei_device *dev, bool enable);
366 int (*hw_start)(struct mei_device *dev);
367 int (*hw_config)(struct mei_device *dev);
369 int (*fw_status)(struct mei_device *dev, struct mei_fw_status *fw_sts);
370 int (*trc_status)(struct mei_device *dev, u32 *trc);
372 enum mei_pg_state (*pg_state)(struct mei_device *dev);
373 bool (*pg_in_transition)(struct mei_device *dev);
374 bool (*pg_is_enabled)(struct mei_device *dev);
376 void (*intr_clear)(struct mei_device *dev);
377 void (*intr_enable)(struct mei_device *dev);
378 void (*intr_disable)(struct mei_device *dev);
379 void (*synchronize_irq)(struct mei_device *dev);
381 int (*hbuf_free_slots)(struct mei_device *dev);
382 bool (*hbuf_is_ready)(struct mei_device *dev);
383 u32 (*hbuf_depth)(const struct mei_device *dev);
384 int (*write)(struct mei_device *dev,
388 int (*rdbuf_full_slots)(struct mei_device *dev);
390 u32 (*read_hdr)(const struct mei_device *dev);
391 int (*read)(struct mei_device *dev,
406 void mei_cl_bus_remove_devices(struct mei_device *bus);
558 struct mei_device { struct
705 void mei_device_init(struct mei_device *dev,
709 int mei_reset(struct mei_device *dev);
710 int mei_start(struct mei_device *dev);
711 int mei_restart(struct mei_device *dev);
712 void mei_stop(struct mei_device *dev);
713 void mei_cancel_work(struct mei_device *dev);
715 void mei_set_devstate(struct mei_device *dev, enum mei_dev_state state);
717 int mei_dmam_ring_alloc(struct mei_device *dev);
718 void mei_dmam_ring_free(struct mei_device *dev);
719 bool mei_dma_ring_is_allocated(struct mei_device *dev);
720 void mei_dma_ring_reset(struct mei_device *dev);
721 void mei_dma_ring_read(struct mei_device *dev, unsigned char *buf, u32 len);
722 void mei_dma_ring_write(struct mei_device *dev, unsigned char *buf, u32 len);
723 u32 mei_dma_ring_empty_slots(struct mei_device *dev);
730 void mei_schedule_stall_timer(struct mei_device *dev);
731 int mei_irq_read_handler(struct mei_device *dev,
734 int mei_irq_write_handler(struct mei_device *dev, struct list_head *cmpl_list);
735 void mei_irq_compl_handler(struct mei_device *dev, struct list_head *cmpl_list);
742 static inline int mei_hw_config(struct mei_device *dev) in mei_hw_config()
747 static inline enum mei_pg_state mei_pg_state(struct mei_device *dev) in mei_pg_state()
752 static inline bool mei_pg_in_transition(struct mei_device *dev) in mei_pg_in_transition()
757 static inline bool mei_pg_is_enabled(struct mei_device *dev) in mei_pg_is_enabled()
762 static inline int mei_hw_reset(struct mei_device *dev, bool enable) in mei_hw_reset()
767 static inline int mei_hw_start(struct mei_device *dev) in mei_hw_start()
772 static inline void mei_clear_interrupts(struct mei_device *dev) in mei_clear_interrupts()
777 static inline void mei_enable_interrupts(struct mei_device *dev) in mei_enable_interrupts()
782 static inline void mei_disable_interrupts(struct mei_device *dev) in mei_disable_interrupts()
787 static inline void mei_synchronize_irq(struct mei_device *dev) in mei_synchronize_irq()
792 static inline bool mei_host_is_ready(struct mei_device *dev) in mei_host_is_ready()
796 static inline bool mei_hw_is_ready(struct mei_device *dev) in mei_hw_is_ready()
801 static inline bool mei_hbuf_is_ready(struct mei_device *dev) in mei_hbuf_is_ready()
806 static inline int mei_hbuf_empty_slots(struct mei_device *dev) in mei_hbuf_empty_slots()
811 static inline u32 mei_hbuf_depth(const struct mei_device *dev) in mei_hbuf_depth()
816 static inline int mei_write_message(struct mei_device *dev, in mei_write_message()
823 static inline u32 mei_read_hdr(const struct mei_device *dev) in mei_read_hdr()
828 static inline void mei_read_slots(struct mei_device *dev, in mei_read_slots()
834 static inline int mei_count_full_read_slots(struct mei_device *dev) in mei_count_full_read_slots()
839 static inline int mei_trc_status(struct mei_device *dev, u32 *trc) in mei_trc_status()
846 static inline int mei_fw_status(struct mei_device *dev, in mei_fw_status()
852 bool mei_hbuf_acquire(struct mei_device *dev);
854 bool mei_write_is_idle(struct mei_device *dev);
857 void mei_dbgfs_register(struct mei_device *dev, const char *name);
858 void mei_dbgfs_deregister(struct mei_device *dev);
860 static inline void mei_dbgfs_register(struct mei_device *dev, const char *name) {} in mei_dbgfs_register()
861 static inline void mei_dbgfs_deregister(struct mei_device *dev) {} in mei_dbgfs_deregister()
864 int mei_register(struct mei_device *dev, struct device *parent);
865 void mei_deregister(struct mei_device *dev);
883 static inline ssize_t mei_fw_status_str(struct mei_device *dev, in mei_fw_status_str()
907 static inline bool kind_is_gsc(struct mei_device *dev) in kind_is_gsc()
920 static inline bool kind_is_gscfi(struct mei_device *dev) in kind_is_gscfi()