Lines Matching defs:ishtp_device

128 struct ishtp_device {  struct
129 struct device *devc; /* pointer to lowest device */
130 struct pci_dev *pdev; /* PCI device to get device ids */
133 wait_queue_head_t suspend_wait;
134 bool suspend_flag; /* Suspend is active */
137 wait_queue_head_t resume_wait;
138 bool resume_flag; /*Resume is active */
144 spinlock_t device_lock;
146 bool recvd_hw_ready;
147 struct hbm_version version;
148 int transfer_path; /* Choice of transfer path: IPC or DMA */
151 enum ishtp_dev_state dev_state;
152 enum ishtp_hbm_state hbm_state;
155 struct ishtp_cl_rb read_list;
156 spinlock_t read_list_spinlock;
159 struct list_head cl_list;
160 spinlock_t cl_list_lock;
161 long open_handle_count;
164 struct list_head device_list;
165 spinlock_t device_list_lock;
168 wait_queue_head_t wait_hw_ready;
169 wait_queue_head_t wait_hbm_recvd_msg;
172 unsigned char rd_msg_fifo[RD_INT_FIFO_SIZE * IPC_PAYLOAD_SIZE];
173 unsigned int rd_msg_fifo_head, rd_msg_fifo_tail;
174 spinlock_t rd_msg_spinlock;
175 struct work_struct bh_hbm_work;
178 struct list_head wr_processing_list, wr_free_list;
180 spinlock_t wr_processing_spinlock;
182 struct ishtp_fw_client *fw_clients; /*Note:memory has to be allocated*/
185 uint8_t fw_clients_num;
186 uint8_t fw_client_presentation_num;
187 uint8_t fw_client_index;
188 spinlock_t fw_clients_lock;
191 int ishtp_host_dma_enabled;
192 void *ishtp_host_dma_tx_buf;
193 unsigned int ishtp_host_dma_tx_buf_size;
194 uint64_t ishtp_host_dma_tx_buf_phys;
195 int ishtp_dma_num_slots;
198 uint8_t *ishtp_dma_tx_map;
199 spinlock_t ishtp_dma_tx_lock;
202 void *ishtp_host_dma_rx_buf;
203 unsigned int ishtp_host_dma_rx_buf_size;
204 uint64_t ishtp_host_dma_rx_buf_phys;
229 static inline int ish_ipc_reset(struct ishtp_device *dev) in ish_ipc_reset() argument