Lines Matching refs:ishtp_device

18 static struct ishtp_device *ishtp_dev;
29 static inline uint32_t ish_reg_read(const struct ishtp_device *dev, in ish_reg_read()
45 static inline void ish_reg_write(struct ishtp_device *dev, in ish_reg_write()
62 static inline uint32_t _ish_read_fw_sts_reg(struct ishtp_device *dev) in _ish_read_fw_sts_reg()
75 static bool check_generated_interrupt(struct ishtp_device *dev) in check_generated_interrupt()
103 static bool ish_is_input_ready(struct ishtp_device *dev) in ish_is_input_ready()
117 static void set_host_ready(struct ishtp_device *dev) in set_host_ready()
160 static bool ishtp_fw_is_ready(struct ishtp_device *dev) in ishtp_fw_is_ready()
174 static void ish_set_host_rdy(struct ishtp_device *dev) in ish_set_host_rdy()
188 static void ish_clr_host_rdy(struct ishtp_device *dev) in ish_clr_host_rdy()
196 static bool ish_chk_host_rdy(struct ishtp_device *dev) in ish_chk_host_rdy()
214 void ish_set_host_ready(struct ishtp_device *dev) in ish_set_host_ready()
231 static uint32_t _ishtp_read_hdr(const struct ishtp_device *dev) in _ishtp_read_hdr()
246 static int _ishtp_read(struct ishtp_device *dev, unsigned char *buffer, in _ishtp_read()
269 static int write_ipc_from_queue(struct ishtp_device *dev) in write_ipc_from_queue()
380 static int write_ipc_to_queue(struct ishtp_device *dev, in write_ipc_to_queue()
423 static int ipc_send_mng_msg(struct ishtp_device *dev, uint32_t msg_code, in ipc_send_mng_msg()
450 static int timed_wait_for_timeout(struct ishtp_device *dev, int condition, in timed_wait_for_timeout()
496 static int ish_fw_reset_handler(struct ishtp_device *dev) in ish_fw_reset_handler()
576 static void _ish_sync_fw_clock(struct ishtp_device *dev) in _ish_sync_fw_clock()
598 static void recv_ipc(struct ishtp_device *dev, uint32_t doorbell_val) in recv_ipc()
646 struct ishtp_device *dev = dev_id; in ish_irq_handler()
702 int ish_disable_dma(struct ishtp_device *dev) in ish_disable_dma()
731 static void ish_wakeup(struct ishtp_device *dev) in ish_wakeup()
754 static int _ish_hw_reset(struct ishtp_device *dev) in _ish_hw_reset()
805 static int _ish_ipc_reset(struct ishtp_device *dev) in _ish_ipc_reset()
848 int ish_hw_start(struct ishtp_device *dev) in ish_hw_start()
882 static uint32_t ish_ipc_get_header(struct ishtp_device *dev, int length, in ish_ipc_get_header()
910 static bool _dma_no_cache_snooping(struct ishtp_device *dev) in _dma_no_cache_snooping()
939 struct ishtp_device *ish_dev_init(struct pci_dev *pdev) in ish_dev_init()
941 struct ishtp_device *dev; in ish_dev_init()
945 sizeof(struct ishtp_device) + sizeof(struct ish_hw), in ish_dev_init()
990 void ish_device_disable(struct ishtp_device *dev) in ish_device_disable()