• Home
  • Raw
  • Download

Lines Matching refs:mei_device

257 	struct mei_device *dev;
323 bool (*host_is_ready)(struct mei_device *dev);
325 bool (*hw_is_ready)(struct mei_device *dev);
326 int (*hw_reset)(struct mei_device *dev, bool enable);
327 int (*hw_start)(struct mei_device *dev);
328 int (*hw_config)(struct mei_device *dev);
330 int (*fw_status)(struct mei_device *dev, struct mei_fw_status *fw_sts);
331 int (*trc_status)(struct mei_device *dev, u32 *trc);
333 enum mei_pg_state (*pg_state)(struct mei_device *dev);
334 bool (*pg_in_transition)(struct mei_device *dev);
335 bool (*pg_is_enabled)(struct mei_device *dev);
337 void (*intr_clear)(struct mei_device *dev);
338 void (*intr_enable)(struct mei_device *dev);
339 void (*intr_disable)(struct mei_device *dev);
340 void (*synchronize_irq)(struct mei_device *dev);
342 int (*hbuf_free_slots)(struct mei_device *dev);
343 bool (*hbuf_is_ready)(struct mei_device *dev);
344 u32 (*hbuf_depth)(const struct mei_device *dev);
345 int (*write)(struct mei_device *dev,
349 int (*rdbuf_full_slots)(struct mei_device *dev);
351 u32 (*read_hdr)(const struct mei_device *dev);
352 int (*read)(struct mei_device *dev,
365 void mei_cl_bus_remove_devices(struct mei_device *bus);
496 struct mei_device { struct
633 void mei_device_init(struct mei_device *dev,
636 int mei_reset(struct mei_device *dev);
637 int mei_start(struct mei_device *dev);
638 int mei_restart(struct mei_device *dev);
639 void mei_stop(struct mei_device *dev);
640 void mei_cancel_work(struct mei_device *dev);
642 void mei_set_devstate(struct mei_device *dev, enum mei_dev_state state);
644 int mei_dmam_ring_alloc(struct mei_device *dev);
645 void mei_dmam_ring_free(struct mei_device *dev);
646 bool mei_dma_ring_is_allocated(struct mei_device *dev);
647 void mei_dma_ring_reset(struct mei_device *dev);
648 void mei_dma_ring_read(struct mei_device *dev, unsigned char *buf, u32 len);
649 void mei_dma_ring_write(struct mei_device *dev, unsigned char *buf, u32 len);
650 u32 mei_dma_ring_empty_slots(struct mei_device *dev);
657 void mei_schedule_stall_timer(struct mei_device *dev);
658 int mei_irq_read_handler(struct mei_device *dev,
661 int mei_irq_write_handler(struct mei_device *dev, struct list_head *cmpl_list);
662 void mei_irq_compl_handler(struct mei_device *dev, struct list_head *cmpl_list);
669 static inline int mei_hw_config(struct mei_device *dev) in mei_hw_config()
674 static inline enum mei_pg_state mei_pg_state(struct mei_device *dev) in mei_pg_state()
679 static inline bool mei_pg_in_transition(struct mei_device *dev) in mei_pg_in_transition()
684 static inline bool mei_pg_is_enabled(struct mei_device *dev) in mei_pg_is_enabled()
689 static inline int mei_hw_reset(struct mei_device *dev, bool enable) in mei_hw_reset()
694 static inline int mei_hw_start(struct mei_device *dev) in mei_hw_start()
699 static inline void mei_clear_interrupts(struct mei_device *dev) in mei_clear_interrupts()
704 static inline void mei_enable_interrupts(struct mei_device *dev) in mei_enable_interrupts()
709 static inline void mei_disable_interrupts(struct mei_device *dev) in mei_disable_interrupts()
714 static inline void mei_synchronize_irq(struct mei_device *dev) in mei_synchronize_irq()
719 static inline bool mei_host_is_ready(struct mei_device *dev) in mei_host_is_ready()
723 static inline bool mei_hw_is_ready(struct mei_device *dev) in mei_hw_is_ready()
728 static inline bool mei_hbuf_is_ready(struct mei_device *dev) in mei_hbuf_is_ready()
733 static inline int mei_hbuf_empty_slots(struct mei_device *dev) in mei_hbuf_empty_slots()
738 static inline u32 mei_hbuf_depth(const struct mei_device *dev) in mei_hbuf_depth()
743 static inline int mei_write_message(struct mei_device *dev, in mei_write_message()
750 static inline u32 mei_read_hdr(const struct mei_device *dev) in mei_read_hdr()
755 static inline void mei_read_slots(struct mei_device *dev, in mei_read_slots()
761 static inline int mei_count_full_read_slots(struct mei_device *dev) in mei_count_full_read_slots()
766 static inline int mei_trc_status(struct mei_device *dev, u32 *trc) in mei_trc_status()
773 static inline int mei_fw_status(struct mei_device *dev, in mei_fw_status()
779 bool mei_hbuf_acquire(struct mei_device *dev);
781 bool mei_write_is_idle(struct mei_device *dev);
784 void mei_dbgfs_register(struct mei_device *dev, const char *name);
785 void mei_dbgfs_deregister(struct mei_device *dev);
787 static inline void mei_dbgfs_register(struct mei_device *dev, const char *name) {} in mei_dbgfs_register()
788 static inline void mei_dbgfs_deregister(struct mei_device *dev) {} in mei_dbgfs_deregister()
791 int mei_register(struct mei_device *dev, struct device *parent);
792 void mei_deregister(struct mei_device *dev);
810 static inline ssize_t mei_fw_status_str(struct mei_device *dev, in mei_fw_status_str()