Lines Matching defs:ishtp_device
160 struct ishtp_device { struct
161 struct device *devc; /* pointer to lowest device */
162 struct pci_dev *pdev; /* PCI device to get device ids */
165 wait_queue_head_t suspend_wait;
166 bool suspend_flag; /* Suspend is active */
169 wait_queue_head_t resume_wait;
170 bool resume_flag; /*Resume is active */
176 spinlock_t device_lock;
178 bool recvd_hw_ready;
179 struct hbm_version version;
180 int transfer_path; /* Choice of transfer path: IPC or DMA */
183 enum ishtp_dev_state dev_state;
184 enum ishtp_hbm_state hbm_state;
187 struct ishtp_cl_rb read_list;
188 spinlock_t read_list_spinlock;
191 struct list_head cl_list;
192 spinlock_t cl_list_lock;
193 long open_handle_count;
196 struct list_head device_list;
197 spinlock_t device_list_lock;
200 wait_queue_head_t wait_hw_ready;
201 wait_queue_head_t wait_hbm_recvd_msg;
204 unsigned char rd_msg_fifo[RD_INT_FIFO_SIZE * IPC_PAYLOAD_SIZE];
205 unsigned int rd_msg_fifo_head, rd_msg_fifo_tail;
206 spinlock_t rd_msg_spinlock;
207 struct work_struct bh_hbm_work;
210 struct wr_msg_ctl_info wr_processing_list_head, wr_free_list_head;
212 spinlock_t wr_processing_spinlock;
214 spinlock_t out_ipc_spinlock;
216 struct ishtp_fw_client *fw_clients; /*Note:memory has to be allocated*/
241 __printf(2, 3) void (*print_log)(struct ishtp_device *dev, argument
264 static inline int ish_ipc_reset(struct ishtp_device *dev) in ish_ipc_reset() argument