/linux-6.1.9/sound/soc/sof/ |
D | ops.h | 21 #define sof_ops(sdev) \ argument 24 static inline int sof_ops_init(struct snd_sof_dev *sdev) in sof_ops_init() 32 static inline void sof_ops_free(struct snd_sof_dev *sdev) in sof_ops_free() 41 static inline int snd_sof_probe(struct snd_sof_dev *sdev) in snd_sof_probe() 46 static inline int snd_sof_remove(struct snd_sof_dev *sdev) in snd_sof_remove() 54 static inline int snd_sof_shutdown(struct snd_sof_dev *sdev) in snd_sof_shutdown() 68 static inline int snd_sof_dsp_run(struct snd_sof_dev *sdev) in snd_sof_dsp_run() 73 static inline int snd_sof_dsp_stall(struct snd_sof_dev *sdev, unsigned int core_mask) in snd_sof_dsp_stall() 81 static inline int snd_sof_dsp_reset(struct snd_sof_dev *sdev) in snd_sof_dsp_reset() 90 static inline int snd_sof_dsp_core_get(struct snd_sof_dev *sdev, int core) in snd_sof_dsp_core_get() [all …]
|
D | sof-client.c | 71 static int sof_register_ipc_flood_test(struct snd_sof_dev *sdev) in sof_register_ipc_flood_test() 93 static void sof_unregister_ipc_flood_test(struct snd_sof_dev *sdev) in sof_unregister_ipc_flood_test() 101 static inline int sof_register_ipc_flood_test(struct snd_sof_dev *sdev) in sof_register_ipc_flood_test() 106 static inline void sof_unregister_ipc_flood_test(struct snd_sof_dev *sdev) {} in sof_unregister_ipc_flood_test() 110 static int sof_register_ipc_msg_injector(struct snd_sof_dev *sdev) in sof_register_ipc_msg_injector() 115 static void sof_unregister_ipc_msg_injector(struct snd_sof_dev *sdev) in sof_unregister_ipc_msg_injector() 120 static inline int sof_register_ipc_msg_injector(struct snd_sof_dev *sdev) in sof_register_ipc_msg_injector() 125 static inline void sof_unregister_ipc_msg_injector(struct snd_sof_dev *sdev) {} in sof_unregister_ipc_msg_injector() 128 int sof_register_clients(struct snd_sof_dev *sdev) in sof_register_clients() 161 void sof_unregister_clients(struct snd_sof_dev *sdev) in sof_unregister_clients() [all …]
|
D | sof-audio.c | 17 static void sof_reset_route_setup_status(struct snd_sof_dev *sdev, struct snd_sof_widget *widget) in sof_reset_route_setup_status() 31 int sof_widget_free(struct snd_sof_dev *sdev, struct snd_sof_widget *swidget) in sof_widget_free() 83 int sof_widget_setup(struct snd_sof_dev *sdev, struct snd_sof_widget *swidget) in sof_widget_setup() 169 int sof_route_setup(struct snd_sof_dev *sdev, struct snd_soc_dapm_widget *wsource, in sof_route_setup() 223 static int sof_setup_pipeline_connections(struct snd_sof_dev *sdev, in sof_setup_pipeline_connections() 267 sof_unprepare_widgets_in_path(struct snd_sof_dev *sdev, struct snd_soc_dapm_widget *widget) in sof_unprepare_widgets_in_path() 295 sof_prepare_widgets_in_path(struct snd_sof_dev *sdev, struct snd_soc_dapm_widget *widget, in sof_prepare_widgets_in_path() 345 static int sof_free_widgets_in_path(struct snd_sof_dev *sdev, struct snd_soc_dapm_widget *widget, in sof_free_widgets_in_path() 381 static int sof_set_up_widgets_in_path(struct snd_sof_dev *sdev, struct snd_soc_dapm_widget *widget, in sof_set_up_widgets_in_path() 420 sof_walk_widgets_in_order(struct snd_sof_dev *sdev, struct snd_soc_dapm_widget_list *list, in sof_walk_widgets_in_order() [all …]
|
D | ipc3.c | 226 static int sof_ipc3_get_reply(struct snd_sof_dev *sdev) in sof_ipc3_get_reply() 285 struct snd_sof_dev *sdev = ipc->sdev; in ipc3_wait_tx_done() local 329 struct snd_sof_dev *sdev = ipc->sdev; in ipc3_tx_msg_unlocked() local 347 static int sof_ipc3_tx_msg(struct snd_sof_dev *sdev, void *msg_data, size_t msg_bytes, in sof_ipc3_tx_msg() 382 static int sof_ipc3_set_get_data(struct snd_sof_dev *sdev, void *data, size_t data_bytes, in sof_ipc3_set_get_data() 482 int sof_ipc3_get_ext_windows(struct snd_sof_dev *sdev, in sof_ipc3_get_ext_windows() 507 int sof_ipc3_get_cc_info(struct snd_sof_dev *sdev, in sof_ipc3_get_cc_info() 553 static int ipc3_fw_parse_ext_data(struct snd_sof_dev *sdev, u32 offset) in ipc3_fw_parse_ext_data() 615 static void ipc3_get_windows(struct snd_sof_dev *sdev) in ipc3_get_windows() 729 static int ipc3_init_reply_data_buffer(struct snd_sof_dev *sdev) in ipc3_init_reply_data_buffer() [all …]
|
D | debug.c | 44 struct snd_sof_dev *sdev = dfse->sdev; in sof_dfsentry_read() local 133 static int snd_sof_debugfs_io_item(struct snd_sof_dev *sdev, in snd_sof_debugfs_io_item() 174 int snd_sof_debugfs_add_region_item_iomem(struct snd_sof_dev *sdev, in snd_sof_debugfs_add_region_item_iomem() 190 int snd_sof_debugfs_buf_item(struct snd_sof_dev *sdev, in snd_sof_debugfs_buf_item() 217 static int memory_info_update(struct snd_sof_dev *sdev, char *buf, size_t buff_size) in memory_info_update() 272 struct snd_sof_dev *sdev = dfse->sdev; in memory_info_read() local 290 struct snd_sof_dev *sdev = dfse->sdev; in memory_info_open() local 311 int snd_sof_dbg_memory_info_init(struct snd_sof_dev *sdev) in snd_sof_dbg_memory_info_init() 331 int snd_sof_dbg_init(struct snd_sof_dev *sdev) in snd_sof_dbg_init() 362 void snd_sof_free_debug(struct snd_sof_dev *sdev) in snd_sof_free_debug() [all …]
|
D | ipc3-dtrace.c | 45 static int trace_filter_append_elem(struct snd_sof_dev *sdev, u32 key, u32 value, in trace_filter_append_elem() 59 static int trace_filter_parse_entry(struct snd_sof_dev *sdev, const char *line, in trace_filter_parse_entry() 110 static int trace_filter_parse(struct snd_sof_dev *sdev, char *string, in trace_filter_parse() 149 static int ipc3_trace_update_filter(struct snd_sof_dev *sdev, int num_elems, in ipc3_trace_update_filter() 189 struct snd_sof_dev *sdev = dfse->sdev; in dfsentry_trace_filter_write() local 235 static int debugfs_create_trace_filter(struct snd_sof_dev *sdev) in debugfs_create_trace_filter() 269 static size_t sof_dtrace_avail(struct snd_sof_dev *sdev, in sof_dtrace_avail() 290 static size_t sof_wait_dtrace_avail(struct snd_sof_dev *sdev, loff_t pos, in sof_wait_dtrace_avail() 328 struct snd_sof_dev *sdev = dfse->sdev; in dfsentry_dtrace_read() local 384 struct snd_sof_dev *sdev = dfse->sdev; in dfsentry_dtrace_release() local [all …]
|
/linux-6.1.9/sound/soc/sof/intel/ |
D | hda-dsp.c | 38 static int hda_dsp_core_reset_enter(struct snd_sof_dev *sdev, unsigned int core_mask) in hda_dsp_core_reset_enter() 77 static int hda_dsp_core_reset_leave(struct snd_sof_dev *sdev, unsigned int core_mask) in hda_dsp_core_reset_leave() 117 int hda_dsp_core_stall_reset(struct snd_sof_dev *sdev, unsigned int core_mask) in hda_dsp_core_stall_reset() 129 bool hda_dsp_core_is_enabled(struct snd_sof_dev *sdev, unsigned int core_mask) in hda_dsp_core_is_enabled() 154 int hda_dsp_core_run(struct snd_sof_dev *sdev, unsigned int core_mask) in hda_dsp_core_run() 185 int hda_dsp_core_power_up(struct snd_sof_dev *sdev, unsigned int core_mask) in hda_dsp_core_power_up() 232 static int hda_dsp_core_power_down(struct snd_sof_dev *sdev, unsigned int core_mask) in hda_dsp_core_power_down() 255 int hda_dsp_enable_core(struct snd_sof_dev *sdev, unsigned int core_mask) in hda_dsp_enable_core() 279 int hda_dsp_core_reset_power_down(struct snd_sof_dev *sdev, in hda_dsp_core_reset_power_down() 319 void hda_dsp_ipc_int_enable(struct snd_sof_dev *sdev) in hda_dsp_ipc_int_enable() [all …]
|
D | mtl.c | 28 static void mtl_ipc_host_done(struct snd_sof_dev *sdev) in mtl_ipc_host_done() 43 static void mtl_ipc_dsp_done(struct snd_sof_dev *sdev) in mtl_ipc_dsp_done() 58 static bool mtl_dsp_check_ipc_irq(struct snd_sof_dev *sdev) in mtl_dsp_check_ipc_irq() 76 static bool mtl_dsp_check_sdw_irq(struct snd_sof_dev *sdev) in mtl_dsp_check_sdw_irq() 91 static int mtl_ipc_send_msg(struct snd_sof_dev *sdev, struct snd_sof_ipc_msg *msg) in mtl_ipc_send_msg() 108 static void mtl_enable_ipc_interrupts(struct snd_sof_dev *sdev) in mtl_enable_ipc_interrupts() 119 static void mtl_disable_ipc_interrupts(struct snd_sof_dev *sdev) in mtl_disable_ipc_interrupts() 129 static int mtl_enable_interrupts(struct snd_sof_dev *sdev) in mtl_enable_interrupts() 181 static int mtl_disable_interrupts(struct snd_sof_dev *sdev) in mtl_disable_interrupts() 240 static int mtl_dsp_pre_fw_run(struct snd_sof_dev *sdev) in mtl_dsp_pre_fw_run() [all …]
|
D | hda.c | 52 struct snd_sof_dev *sdev = snd_soc_component_get_drvdata(component); in hda_ctrl_dai_widget_setup() local 85 struct snd_sof_dev *sdev = snd_soc_component_get_drvdata(component); in hda_ctrl_dai_widget_free() local 158 void hda_sdw_int_enable(struct snd_sof_dev *sdev, bool enable) in hda_sdw_int_enable() 163 static int hda_sdw_acpi_scan(struct snd_sof_dev *sdev) in hda_sdw_acpi_scan() 181 static int hda_sdw_probe(struct snd_sof_dev *sdev) in hda_sdw_probe() 223 int hda_sdw_startup(struct snd_sof_dev *sdev) in hda_sdw_startup() 239 static int hda_sdw_exit(struct snd_sof_dev *sdev) in hda_sdw_exit() 254 bool hda_common_check_sdw_irq(struct snd_sof_dev *sdev) in hda_common_check_sdw_irq() 280 static bool hda_dsp_check_sdw_irq(struct snd_sof_dev *sdev) in hda_dsp_check_sdw_irq() 296 static bool hda_sdw_check_wakeen_irq(struct snd_sof_dev *sdev) in hda_sdw_check_wakeen_irq() [all …]
|
D | atom.c | 35 static void atom_get_registers(struct snd_sof_dev *sdev, in atom_get_registers() 61 void atom_dump(struct snd_sof_dev *sdev, u32 flags) in atom_dump() 105 struct snd_sof_dev *sdev = context; in atom_irq_handler() local 138 struct snd_sof_dev *sdev = context; in atom_irq_thread() local 181 int atom_send_msg(struct snd_sof_dev *sdev, struct snd_sof_ipc_msg *msg) in atom_send_msg() 196 int atom_get_mailbox_offset(struct snd_sof_dev *sdev) in atom_get_mailbox_offset() 202 int atom_get_window_offset(struct snd_sof_dev *sdev, u32 id) in atom_get_window_offset() 208 static void atom_host_done(struct snd_sof_dev *sdev) in atom_host_done() 221 static void atom_dsp_done(struct snd_sof_dev *sdev) in atom_dsp_done() 232 int atom_run(struct snd_sof_dev *sdev) in atom_run() [all …]
|
D | hda-ipc.c | 23 static void hda_dsp_ipc_host_done(struct snd_sof_dev *sdev) in hda_dsp_ipc_host_done() 41 static void hda_dsp_ipc_dsp_done(struct snd_sof_dev *sdev) in hda_dsp_ipc_dsp_done() 59 int hda_dsp_ipc_send_msg(struct snd_sof_dev *sdev, struct snd_sof_ipc_msg *msg) in hda_dsp_ipc_send_msg() 70 int hda_dsp_ipc4_send_msg(struct snd_sof_dev *sdev, struct snd_sof_ipc_msg *msg) in hda_dsp_ipc4_send_msg() 86 void hda_dsp_ipc_get_reply(struct snd_sof_dev *sdev) in hda_dsp_ipc_get_reply() 124 struct snd_sof_dev *sdev = context; in hda_dsp_ipc4_irq_thread() local 195 struct snd_sof_dev *sdev = context; in hda_dsp_ipc_irq_thread() local 305 bool hda_dsp_check_ipc_irq(struct snd_sof_dev *sdev) in hda_dsp_check_ipc_irq() 334 int hda_dsp_ipc_get_mailbox_offset(struct snd_sof_dev *sdev) in hda_dsp_ipc_get_mailbox_offset() 339 int hda_dsp_ipc_get_window_offset(struct snd_sof_dev *sdev, u32 id) in hda_dsp_ipc_get_window_offset() [all …]
|
D | bdw.c | 83 static int bdw_run(struct snd_sof_dev *sdev) in bdw_run() 98 static int bdw_reset(struct snd_sof_dev *sdev) in bdw_reset() 116 static int bdw_set_dsp_D0(struct snd_sof_dev *sdev) in bdw_set_dsp_D0() 223 static void bdw_get_registers(struct snd_sof_dev *sdev, in bdw_get_registers() 249 static void bdw_dump(struct snd_sof_dev *sdev, u32 flags) in bdw_dump() 291 struct snd_sof_dev *sdev = context; in bdw_irq_handler() local 305 struct snd_sof_dev *sdev = context; in bdw_irq_thread() local 363 static int bdw_send_msg(struct snd_sof_dev *sdev, struct snd_sof_ipc_msg *msg) in bdw_send_msg() 373 static int bdw_get_mailbox_offset(struct snd_sof_dev *sdev) in bdw_get_mailbox_offset() 378 static int bdw_get_window_offset(struct snd_sof_dev *sdev, u32 id) in bdw_get_window_offset() [all …]
|
/linux-6.1.9/drivers/net/ethernet/alacritech/ |
D | slicoss.c | 78 static unsigned int slic_next_compl_idx(struct slic_device *sdev) in slic_next_compl_idx() 139 static void slic_start_upr(struct slic_device *sdev, struct slic_upr *upr) in slic_start_upr() 149 static void slic_queue_upr(struct slic_device *sdev, struct slic_upr *upr) in slic_queue_upr() 165 static struct slic_upr *slic_dequeue_upr(struct slic_device *sdev) in slic_dequeue_upr() 190 static int slic_new_upr(struct slic_device *sdev, unsigned int type, in slic_new_upr() 222 static void slic_configure_rcv(struct slic_device *sdev) in slic_configure_rcv() 239 static void slic_configure_xmt(struct slic_device *sdev) in slic_configure_xmt() 252 static void slic_configure_mac(struct slic_device *sdev) in slic_configure_mac() 273 static void slic_configure_link_locked(struct slic_device *sdev, int speed, in slic_configure_link_locked() 299 static void slic_configure_link(struct slic_device *sdev, int speed, in slic_configure_link() [all …]
|
/linux-6.1.9/sound/soc/sof/amd/ |
D | acp.c | 41 struct snd_sof_dev *sdev = adata->dev; in init_dma_descriptor() local 55 struct snd_sof_dev *sdev = adata->dev; in configure_dma_descriptor() local 70 struct snd_sof_dev *sdev = adata->dev; in config_dma_channel() local 100 struct snd_sof_dev *sdev = adata->dev; in acpbus_dma_start() local 120 struct snd_sof_dev *sdev = adata->dev; in configure_and_run_dma() local 152 struct snd_sof_dev *sdev = adata->dev; in psp_mbox_ready() local 179 struct snd_sof_dev *sdev = adata->dev; in psp_send_cmd() local 219 struct snd_sof_dev *sdev = adata->dev; in configure_and_run_sha_dma() local 269 struct snd_sof_dev *sdev = adata->dev; in acp_dma_status() local 285 void memcpy_from_scratch(struct snd_sof_dev *sdev, u32 offset, unsigned int *dst, size_t bytes) in memcpy_from_scratch() [all …]
|
D | acp-ipc.c | 18 void acp_mailbox_write(struct snd_sof_dev *sdev, u32 offset, void *message, size_t bytes) in acp_mailbox_write() 24 void acp_mailbox_read(struct snd_sof_dev *sdev, u32 offset, void *message, size_t bytes) in acp_mailbox_read() 32 struct snd_sof_dev *sdev = adata->dev; in acpbus_trigger_host_to_dsp_swintr() local 43 static void acp_ipc_host_msg_set(struct snd_sof_dev *sdev) in acp_ipc_host_msg_set() 51 static void acp_dsp_ipc_host_done(struct snd_sof_dev *sdev) in acp_dsp_ipc_host_done() 59 static void acp_dsp_ipc_dsp_done(struct snd_sof_dev *sdev) in acp_dsp_ipc_dsp_done() 67 int acp_sof_ipc_send_msg(struct snd_sof_dev *sdev, struct snd_sof_ipc_msg *msg) in acp_sof_ipc_send_msg() 96 static void acp_dsp_ipc_get_reply(struct snd_sof_dev *sdev) in acp_dsp_ipc_get_reply() 150 struct snd_sof_dev *sdev = context; in acp_sof_ipc_irq_thread() local 190 int acp_sof_ipc_msg_data(struct snd_sof_dev *sdev, struct snd_pcm_substream *substream, in acp_sof_ipc_msg_data() [all …]
|
/linux-6.1.9/drivers/scsi/ |
D | scsi.c | 160 struct scsi_device *sdev = cmd->device; in scsi_finish_command() local 205 int scsi_device_max_queue_depth(struct scsi_device *sdev) in scsi_device_max_queue_depth() 217 int scsi_change_queue_depth(struct scsi_device *sdev, int depth) in scsi_change_queue_depth() 254 int scsi_track_queue_full(struct scsi_device *sdev, int depth) in scsi_track_queue_full() 292 static int scsi_vpd_inquiry(struct scsi_device *sdev, unsigned char *buffer, in scsi_vpd_inquiry() 324 static int scsi_get_vpd_size(struct scsi_device *sdev, u8 page) in scsi_get_vpd_size() 362 int scsi_get_vpd_page(struct scsi_device *sdev, u8 page, unsigned char *buf, in scsi_get_vpd_page() 400 static struct scsi_vpd *scsi_get_vpd_buf(struct scsi_device *sdev, u8 page) in scsi_get_vpd_buf() 437 static void scsi_update_vpd_page(struct scsi_device *sdev, u8 page, in scsi_update_vpd_page() 464 void scsi_attach_vpd(struct scsi_device *sdev) in scsi_attach_vpd() [all …]
|
D | scsi_lib.c | 207 int __scsi_execute(struct scsi_device *sdev, const unsigned char *cmd, in __scsi_execute() 291 void scsi_device_unbusy(struct scsi_device *sdev, struct scsi_cmnd *cmd) in scsi_device_unbusy() 320 struct scsi_device *sdev, *tmp; in scsi_single_lun_run() local 356 static inline bool scsi_device_is_busy(struct scsi_device *sdev) in scsi_device_is_busy() 388 struct scsi_device *sdev; in scsi_starved_list_run() local 452 struct scsi_device *sdev = q->queuedata; in scsi_run_queue() local 464 struct scsi_device *sdev; in scsi_requeue_run_queue() local 474 struct scsi_device *sdev; in scsi_run_host_queues() local 507 static void scsi_run_queue_async(struct scsi_device *sdev) in scsi_run_queue_async() 538 struct scsi_device *sdev = cmd->device; in scsi_end_request() local [all …]
|
/linux-6.1.9/sound/soc/sof/imx/ |
D | imx8m.c | 51 struct snd_sof_dev *sdev; member 63 static int imx8m_get_mailbox_offset(struct snd_sof_dev *sdev) in imx8m_get_mailbox_offset() 68 static int imx8m_get_window_offset(struct snd_sof_dev *sdev, u32 id) in imx8m_get_window_offset() 103 static int imx8m_send_msg(struct snd_sof_dev *sdev, struct snd_sof_ipc_msg *msg) in imx8m_send_msg() 117 static int imx8m_run(struct snd_sof_dev *sdev) in imx8m_run() 126 static int imx8m_reset(struct snd_sof_dev *sdev) in imx8m_reset() 150 static int imx8m_probe(struct snd_sof_dev *sdev) in imx8m_probe() 272 static int imx8m_remove(struct snd_sof_dev *sdev) in imx8m_remove() 283 static int imx8m_get_bar_index(struct snd_sof_dev *sdev, u32 type) in imx8m_get_bar_index() 320 static int imx8m_dsp_set_power_state(struct snd_sof_dev *sdev, in imx8m_dsp_set_power_state() [all …]
|
D | imx8ulp.c | 52 struct snd_sof_dev *sdev; member 74 static int imx8ulp_get_mailbox_offset(struct snd_sof_dev *sdev) in imx8ulp_get_mailbox_offset() 79 static int imx8ulp_get_window_offset(struct snd_sof_dev *sdev, u32 id) in imx8ulp_get_window_offset() 116 static int imx8ulp_send_msg(struct snd_sof_dev *sdev, struct snd_sof_ipc_msg *msg) in imx8ulp_send_msg() 127 static int imx8ulp_run(struct snd_sof_dev *sdev) in imx8ulp_run() 136 static int imx8ulp_reset(struct snd_sof_dev *sdev) in imx8ulp_reset() 162 static int imx8ulp_probe(struct snd_sof_dev *sdev) in imx8ulp_probe() 281 static int imx8ulp_remove(struct snd_sof_dev *sdev) in imx8ulp_remove() 292 static int imx8ulp_get_bar_index(struct snd_sof_dev *sdev, u32 type) in imx8ulp_get_bar_index() 297 static int imx8ulp_suspend(struct snd_sof_dev *sdev) in imx8ulp_suspend() [all …]
|
D | imx8.c | 53 struct snd_sof_dev *sdev; member 70 static int imx8_get_mailbox_offset(struct snd_sof_dev *sdev) in imx8_get_mailbox_offset() 75 static int imx8_get_window_offset(struct snd_sof_dev *sdev, u32 id) in imx8_get_window_offset() 110 static int imx8_send_msg(struct snd_sof_dev *sdev, struct snd_sof_ipc_msg *msg) in imx8_send_msg() 124 static int imx8x_run(struct snd_sof_dev *sdev) in imx8x_run() 164 static int imx8_run(struct snd_sof_dev *sdev) in imx8_run() 182 static int imx8_probe(struct snd_sof_dev *sdev) in imx8_probe() 341 static int imx8_remove(struct snd_sof_dev *sdev) in imx8_remove() 358 static int imx8_get_bar_index(struct snd_sof_dev *sdev, u32 type) in imx8_get_bar_index() 370 static void imx8_suspend(struct snd_sof_dev *sdev) in imx8_suspend() [all …]
|
/linux-6.1.9/sound/soc/sof/mediatek/mt8186/ |
D | mt8186.c | 30 static int mt8186_get_mailbox_offset(struct snd_sof_dev *sdev) in mt8186_get_mailbox_offset() 35 static int mt8186_get_window_offset(struct snd_sof_dev *sdev, u32 id) in mt8186_get_window_offset() 40 static int mt8186_send_msg(struct snd_sof_dev *sdev, in mt8186_send_msg() 51 static void mt8186_get_reply(struct snd_sof_dev *sdev) in mt8186_get_reply() 241 static void adsp_sram_power_on(struct snd_sof_dev *sdev) in adsp_sram_power_on() 247 static void adsp_sram_power_off(struct snd_sof_dev *sdev) in adsp_sram_power_off() 254 static int adsp_memory_remap_init(struct snd_sof_dev *sdev, struct mtk_adsp_chip_info *adsp) in adsp_memory_remap_init() 301 static int mt8186_run(struct snd_sof_dev *sdev) in mt8186_run() 312 static int mt8186_dsp_probe(struct snd_sof_dev *sdev) in mt8186_dsp_probe() 421 static int mt8186_dsp_remove(struct snd_sof_dev *sdev) in mt8186_dsp_remove() [all …]
|
/linux-6.1.9/drivers/spmi/ |
D | spmi.c | 25 struct spmi_device *sdev = to_spmi_device(dev); in spmi_dev_release() local 62 int spmi_device_add(struct spmi_device *sdev) in spmi_device_add() 87 void spmi_device_remove(struct spmi_device *sdev) in spmi_device_remove() 142 int spmi_register_read(struct spmi_device *sdev, u8 addr, u8 *buf) in spmi_register_read() 163 int spmi_ext_register_read(struct spmi_device *sdev, u8 addr, u8 *buf, in spmi_ext_register_read() 185 int spmi_ext_register_readl(struct spmi_device *sdev, u16 addr, u8 *buf, in spmi_ext_register_readl() 205 int spmi_register_write(struct spmi_device *sdev, u8 addr, u8 data) in spmi_register_write() 223 int spmi_register_zero_write(struct spmi_device *sdev, u8 data) in spmi_register_zero_write() 240 int spmi_ext_register_write(struct spmi_device *sdev, u8 addr, const u8 *buf, in spmi_ext_register_write() 262 int spmi_ext_register_writel(struct spmi_device *sdev, u16 addr, const u8 *buf, in spmi_ext_register_writel() [all …]
|
/linux-6.1.9/arch/arm/common/ |
D | scoop.c | 42 struct scoop_dev *sdev = dev_get_drvdata(dev); in reset_scoop() local 53 static void __scoop_gpio_set(struct scoop_dev *sdev, in __scoop_gpio_set() 68 struct scoop_dev *sdev = gpiochip_get_data(chip); in scoop_gpio_set() local 80 struct scoop_dev *sdev = gpiochip_get_data(chip); in scoop_gpio_get() local 89 struct scoop_dev *sdev = gpiochip_get_data(chip); in scoop_gpio_direction_input() local 107 struct scoop_dev *sdev = gpiochip_get_data(chip); in scoop_gpio_direction_output() local 126 struct scoop_dev *sdev = dev_get_drvdata(dev); in read_scoop_reg() local 132 struct scoop_dev *sdev = dev_get_drvdata(dev); in write_scoop_reg() local 141 static void check_scoop_reg(struct scoop_dev *sdev) in check_scoop_reg() 152 struct scoop_dev *sdev = platform_get_drvdata(dev); in scoop_suspend() local [all …]
|
/linux-6.1.9/drivers/media/radio/si4713/ |
D | si4713.c | 174 struct si4713_device *sdev = dev; in si4713_handler() local 193 static int si4713_send_command(struct si4713_device *sdev, const u8 command, in si4713_send_command() 258 static int si4713_read_property(struct si4713_device *sdev, u16 prop, u32 *pv) in si4713_read_property() 295 static int si4713_write_property(struct si4713_device *sdev, u16 prop, u16 val) in si4713_write_property() 340 static int si4713_powerup(struct si4713_device *sdev) in si4713_powerup() 419 static int si4713_powerdown(struct si4713_device *sdev) in si4713_powerdown() 464 static int si4713_checkrev(struct si4713_device *sdev) in si4713_checkrev() 494 static int si4713_wait_stc(struct si4713_device *sdev, const int usecs) in si4713_wait_stc() 538 static int si4713_tx_tune_freq(struct si4713_device *sdev, u16 frequency) in si4713_tx_tune_freq() 582 static int si4713_tx_tune_power(struct si4713_device *sdev, u8 power, in si4713_tx_tune_power() [all …]
|
/linux-6.1.9/sound/soc/sof/mediatek/mt8195/ |
D | mt8195.c | 31 static int mt8195_get_mailbox_offset(struct snd_sof_dev *sdev) in mt8195_get_mailbox_offset() 36 static int mt8195_get_window_offset(struct snd_sof_dev *sdev, u32 id) in mt8195_get_window_offset() 41 static int mt8195_send_msg(struct snd_sof_dev *sdev, in mt8195_send_msg() 52 static void mt8195_get_reply(struct snd_sof_dev *sdev) in mt8195_get_reply() 300 static int mt8195_run(struct snd_sof_dev *sdev) in mt8195_run() 311 static int mt8195_dsp_probe(struct snd_sof_dev *sdev) in mt8195_dsp_probe() 425 static int mt8195_dsp_shutdown(struct snd_sof_dev *sdev) in mt8195_dsp_shutdown() 430 static int mt8195_dsp_remove(struct snd_sof_dev *sdev) in mt8195_dsp_remove() 442 static int mt8195_dsp_suspend(struct snd_sof_dev *sdev, u32 target_state) in mt8195_dsp_suspend() 474 static int mt8195_dsp_resume(struct snd_sof_dev *sdev) in mt8195_dsp_resume() [all …]
|