Lines Matching refs:mic_device
95 struct mic_device { struct
158 u32 (*read_spad)(struct mic_device *mdev, unsigned int idx);
159 void (*write_spad)(struct mic_device *mdev, unsigned int idx, u32 val);
160 void (*send_intr)(struct mic_device *mdev, int doorbell);
161 u32 (*ack_interrupt)(struct mic_device *mdev);
162 void (*intr_workarounds)(struct mic_device *mdev);
163 void (*reset)(struct mic_device *mdev);
164 void (*reset_fw_ready)(struct mic_device *mdev);
165 bool (*is_fw_ready)(struct mic_device *mdev);
166 void (*send_firmware_intr)(struct mic_device *mdev);
167 int (*load_mic_fw)(struct mic_device *mdev, const char *buf);
168 u32 (*get_postcode)(struct mic_device *mdev);
198 static inline struct dma_chan *mic_request_dma_chan(struct mic_device *mdev) in mic_request_dma_chan()
214 void mic_sysfs_init(struct mic_device *mdev);
215 int mic_start(struct mic_device *mdev, const char *buf);
216 void mic_stop(struct mic_device *mdev, bool force);
217 void mic_shutdown(struct mic_device *mdev);
221 void mic_bootparam_init(struct mic_device *mdev);
222 void mic_set_state(struct mic_device *mdev, u8 state);
223 void mic_set_shutdown_status(struct mic_device *mdev, u8 status);
224 void mic_create_debug_dir(struct mic_device *dev);
225 void mic_delete_debug_dir(struct mic_device *dev);
228 void mic_prepare_suspend(struct mic_device *mdev);
229 void mic_complete_resume(struct mic_device *mdev);
230 void mic_suspend(struct mic_device *mdev);