/linux/sound/soc/sof/ |
H A D | sof-client.c | 73 static int sof_register_ipc_flood_test(struct snd_sof_dev *sdev) in sof_register_ipc_flood_test() 95 static void sof_unregister_ipc_flood_test(struct snd_sof_dev *sdev) in sof_unregister_ipc_flood_test() 103 static inline int sof_register_ipc_flood_test(struct snd_sof_dev *sdev) in sof_register_ipc_flood_test() 108 static inline void sof_unregister_ipc_flood_test(struct snd_sof_dev *sdev) {} in sof_unregister_ipc_flood_test() 112 static int sof_register_ipc_msg_injector(struct snd_sof_dev *sdev) in sof_register_ipc_msg_injector() 117 static void sof_unregister_ipc_msg_injector(struct snd_sof_dev *sdev) in sof_unregister_ipc_msg_injector() 122 static inline int sof_register_ipc_msg_injector(struct snd_sof_dev *sdev) in sof_register_ipc_msg_injector() 127 static inline void sof_unregister_ipc_msg_injector(struct snd_sof_dev *sdev) {} in sof_unregister_ipc_msg_injector() 131 static int sof_register_ipc_kernel_injector(struct snd_sof_dev *sdev) in sof_register_ipc_kernel_injector() 140 static void sof_unregister_ipc_kernel_injector(struct snd_sof_dev *sdev) in sof_unregister_ipc_kernel_injector() [all …]
|
H A D | core.c | 123 void sof_print_oops_and_stack(struct snd_sof_dev *sdev, const char *level, in sof_print_oops_and_stack() 163 void sof_set_fw_state(struct snd_sof_dev *sdev, enum sof_fw_state new_state) in sof_set_fw_state() 183 static struct snd_sof_of_mach *sof_of_machine_select(struct snd_sof_dev *sdev) in sof_of_machine_select() 206 static int sof_machine_check(struct snd_sof_dev *sdev) in sof_machine_check() 265 static int sof_select_ipc_and_paths(struct snd_sof_dev *sdev) in sof_select_ipc_and_paths() 317 static int validate_sof_ops(struct snd_sof_dev *sdev) in validate_sof_ops() 345 static int sof_init_sof_ops(struct snd_sof_dev *sdev) in sof_init_sof_ops() 368 static int sof_init_environment(struct snd_sof_dev *sdev) in sof_init_environment() 454 static int sof_probe_continue(struct snd_sof_dev *sdev) in sof_probe_continue() 598 struct snd_sof_dev *sdev = in sof_probe_work() local [all …]
|
H A D | debug.c | 26 struct snd_sof_dev *sdev = dfse->sdev; in sof_dfsentry_read() local 114 static int snd_sof_debugfs_io_item(struct snd_sof_dev *sdev, in snd_sof_debugfs_io_item() 155 int snd_sof_debugfs_add_region_item_iomem(struct snd_sof_dev *sdev, in snd_sof_debugfs_add_region_item_iomem() 171 int snd_sof_debugfs_buf_item(struct snd_sof_dev *sdev, in snd_sof_debugfs_buf_item() 198 static int memory_info_update(struct snd_sof_dev *sdev, char *buf, size_t buff_size) in memory_info_update() 253 struct snd_sof_dev *sdev = dfse->sdev; in memory_info_read() local 271 struct snd_sof_dev *sdev = dfse->sdev; in memory_info_open() local 292 int snd_sof_dbg_memory_info_init(struct snd_sof_dev *sdev) in snd_sof_dbg_memory_info_init() 312 int snd_sof_dbg_init(struct snd_sof_dev *sdev) in snd_sof_dbg_init() 380 void snd_sof_free_debug(struct snd_sof_dev *sdev) in snd_sof_free_debug() [all …]
|
H A 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() 188 struct snd_sof_dev *sdev = dfse->sdev; in dfsentry_trace_filter_write() local 227 static int debugfs_create_trace_filter(struct snd_sof_dev *sdev) in debugfs_create_trace_filter() 261 static size_t sof_dtrace_avail(struct snd_sof_dev *sdev, in sof_dtrace_avail() 282 static size_t sof_wait_dtrace_avail(struct snd_sof_dev *sdev, loff_t pos, in sof_wait_dtrace_avail() 320 struct snd_sof_dev *sdev = dfse->sdev; in dfsentry_dtrace_read() local 376 struct snd_sof_dev *sdev = dfse->sdev; in dfsentry_dtrace_release() local [all …]
|
H A D | pcm.c | 88 sof_pcm_setup_connected_widgets(struct snd_sof_dev *sdev, struct snd_soc_pcm_runtime *rtd, in sof_pcm_setup_connected_widgets() 125 struct snd_sof_dev *sdev = snd_soc_component_get_drvdata(component); in sof_pcm_hw_params() local 192 static int sof_pcm_stream_free(struct snd_sof_dev *sdev, in sof_pcm_stream_free() 244 int sof_pcm_free_all_streams(struct snd_sof_dev *sdev) in sof_pcm_free_all_streams() 274 struct snd_sof_dev *sdev = snd_soc_component_get_drvdata(component); in sof_pcm_hw_free() local 299 struct snd_sof_dev *sdev = snd_soc_component_get_drvdata(component); in sof_pcm_prepare() local 346 struct snd_sof_dev *sdev = snd_soc_component_get_drvdata(component); in sof_pcm_trigger() local 458 struct snd_sof_dev *sdev = snd_soc_component_get_drvdata(component); in sof_pcm_pointer() local 498 struct snd_sof_dev *sdev = snd_soc_component_get_drvdata(component); in sof_pcm_open() local 560 struct snd_sof_dev *sdev = snd_soc_component_get_drvdata(component); in sof_pcm_close() local [all …]
|
H A D | pm.c | 21 static u32 snd_sof_dsp_power_target(struct snd_sof_dev *sdev) in snd_sof_dsp_power_target() 55 static void sof_cache_debugfs(struct snd_sof_dev *sdev) in sof_cache_debugfs() 75 struct snd_sof_dev *sdev = dev_get_drvdata(dev); in sof_resume() local 198 struct snd_sof_dev *sdev = dev_get_drvdata(dev); in sof_suspend() local 296 int snd_sof_dsp_power_down_notify(struct snd_sof_dev *sdev) in snd_sof_dsp_power_down_notify() 315 struct snd_sof_dev *sdev = dev_get_drvdata(dev); in snd_sof_runtime_idle() local 341 struct snd_sof_dev *sdev = dev_get_drvdata(dev); in snd_sof_prepare() local 385 struct snd_sof_dev *sdev = dev_get_drvdata(dev); in snd_sof_complete() local
|
/linux/sound/soc/sof/intel/ |
H A D | hda-dsp.c | 45 static void hda_get_interfaces(struct snd_sof_dev *sdev, u32 *interface_mask) in hda_get_interfaces() 85 u32 hda_get_interface_mask(struct snd_sof_dev *sdev) in hda_get_interface_mask() 95 bool hda_is_chain_dma_supported(struct snd_sof_dev *sdev, u32 dai_type) in hda_is_chain_dma_supported() 129 static int hda_dsp_core_reset_enter(struct snd_sof_dev *sdev, unsigned int core_mask) in hda_dsp_core_reset_enter() 168 static int hda_dsp_core_reset_leave(struct snd_sof_dev *sdev, unsigned int core_mask) in hda_dsp_core_reset_leave() 208 int hda_dsp_core_stall_reset(struct snd_sof_dev *sdev, unsigned int core_mask) in hda_dsp_core_stall_reset() 221 bool hda_dsp_core_is_enabled(struct snd_sof_dev *sdev, unsigned int core_mask) in hda_dsp_core_is_enabled() 247 int hda_dsp_core_run(struct snd_sof_dev *sdev, unsigned int core_mask) in hda_dsp_core_run() 279 int hda_dsp_core_power_up(struct snd_sof_dev *sdev, unsigned int core_mask) in hda_dsp_core_power_up() 327 static int hda_dsp_core_power_down(struct snd_sof_dev *sdev, unsigned int core_mask) in hda_dsp_core_power_down() [all …]
|
H A D | hda.c | 82 struct snd_sof_dev *sdev = widget_to_sdev(w); in sdw_params_free() local 135 static int hda_sdw_acpi_scan(struct snd_sof_dev *sdev) in hda_sdw_acpi_scan() 157 static int hda_sdw_probe(struct snd_sof_dev *sdev) in hda_sdw_probe() 226 int hda_sdw_startup(struct snd_sof_dev *sdev) in hda_sdw_startup() 248 static int hda_sdw_exit(struct snd_sof_dev *sdev) in hda_sdw_exit() 263 bool hda_common_check_sdw_irq(struct snd_sof_dev *sdev) in hda_common_check_sdw_irq() 290 static bool hda_dsp_check_sdw_irq(struct snd_sof_dev *sdev) in hda_dsp_check_sdw_irq() 310 bool hda_sdw_check_wakeen_irq_common(struct snd_sof_dev *sdev) in hda_sdw_check_wakeen_irq_common() 324 static bool hda_sdw_check_wakeen_irq(struct snd_sof_dev *sdev) in hda_sdw_check_wakeen_irq() 339 void hda_sdw_process_wakeen_common(struct snd_sof_dev *sdev) in hda_sdw_process_wakeen_common() [all …]
|
H A D | hda-codec.c | 76 void hda_codec_jack_wake_enable(struct snd_sof_dev *sdev, bool enable) in hda_codec_jack_wake_enable() 107 void hda_codec_jack_check(struct snd_sof_dev *sdev) in hda_codec_jack_check() 149 static int hda_codec_probe(struct snd_sof_dev *sdev, int address) in hda_codec_probe() 217 void hda_codec_probe_bus(struct snd_sof_dev *sdev) in hda_codec_probe_bus() 242 void hda_codec_check_for_state_change(struct snd_sof_dev *sdev) in hda_codec_check_for_state_change() 255 void hda_codec_detect_mask(struct snd_sof_dev *sdev) in hda_codec_detect_mask() 280 void hda_codec_init_cmd_io(struct snd_sof_dev *sdev) in hda_codec_init_cmd_io() 293 void hda_codec_resume_cmd_io(struct snd_sof_dev *sdev) in hda_codec_resume_cmd_io() 307 void hda_codec_stop_cmd_io(struct snd_sof_dev *sdev) in hda_codec_stop_cmd_io() 320 void hda_codec_suspend_cmd_io(struct snd_sof_dev *sdev) in hda_codec_suspend_cmd_io() [all …]
|
H A D | hda-ipc.c | 29 static void hda_dsp_ipc_host_done(struct snd_sof_dev *sdev) in hda_dsp_ipc_host_done() 47 static void hda_dsp_ipc_dsp_done(struct snd_sof_dev *sdev) in hda_dsp_ipc_dsp_done() 65 int hda_dsp_ipc_send_msg(struct snd_sof_dev *sdev, struct snd_sof_ipc_msg *msg) in hda_dsp_ipc_send_msg() 104 int hda_dsp_ipc4_send_msg(struct snd_sof_dev *sdev, struct snd_sof_ipc_msg *msg) in hda_dsp_ipc4_send_msg() 131 void hda_dsp_ipc_get_reply(struct snd_sof_dev *sdev) in hda_dsp_ipc_get_reply() 170 struct snd_sof_dev *sdev = context; in hda_dsp_ipc4_irq_thread() local 253 struct snd_sof_dev *sdev = context; in hda_dsp_ipc_irq_thread() local 364 bool hda_dsp_check_ipc_irq(struct snd_sof_dev *sdev) in hda_dsp_check_ipc_irq() 397 int hda_dsp_ipc_get_mailbox_offset(struct snd_sof_dev *sdev) in hda_dsp_ipc_get_mailbox_offset() 403 int hda_dsp_ipc_get_window_offset(struct snd_sof_dev *sdev, u32 id) in hda_dsp_ipc_get_window_offset() [all …]
|
H A 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 …]
|
H A D | hda-dai-ops.c | 50 struct snd_sof_dev *sdev; in hda_link_stream_assign() local 118 static struct hdac_ext_stream *hda_get_hext_stream(struct snd_sof_dev *sdev, in hda_get_hext_stream() 125 static struct hdac_ext_stream *hda_ipc4_get_hext_stream(struct snd_sof_dev *sdev, in hda_ipc4_get_hext_stream() 145 static struct hdac_ext_stream *hda_assign_hext_stream(struct snd_sof_dev *sdev, in hda_assign_hext_stream() 160 static void hda_release_hext_stream(struct snd_sof_dev *sdev, struct snd_soc_dai *cpu_dai, in hda_release_hext_stream() 169 static void hda_setup_hext_stream(struct snd_sof_dev *sdev, struct hdac_ext_stream *hext_stream, in hda_setup_hext_stream() 175 static void hda_reset_hext_stream(struct snd_sof_dev *sdev, struct hdac_ext_stream *hext_stream) in hda_reset_hext_stream() 180 static void hda_codec_dai_set_stream(struct snd_sof_dev *sdev, in hda_codec_dai_set_stream() 191 static unsigned int hda_calc_stream_format(struct snd_sof_dev *sdev, in hda_calc_stream_format() 216 static struct hdac_ext_link *hda_get_hlink(struct snd_sof_dev *sdev, in hda_get_hlink() [all …]
|
H A 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 …]
|
H A D | hda-ctrl.c | 30 int hda_dsp_ctrl_link_reset(struct snd_sof_dev *sdev, bool reset) in hda_dsp_ctrl_link_reset() 58 int hda_dsp_ctrl_get_caps(struct snd_sof_dev *sdev) in hda_dsp_ctrl_get_caps() 133 void hda_dsp_ctrl_ppcap_enable(struct snd_sof_dev *sdev, bool enable) in hda_dsp_ctrl_ppcap_enable() 142 void hda_dsp_ctrl_ppcap_int_enable(struct snd_sof_dev *sdev, bool enable) in hda_dsp_ctrl_ppcap_int_enable() 151 void hda_dsp_ctrl_misc_clock_gating(struct snd_sof_dev *sdev, bool enable) in hda_dsp_ctrl_misc_clock_gating() 163 int hda_dsp_ctrl_clock_power_gating(struct snd_sof_dev *sdev, bool enable) in hda_dsp_ctrl_clock_power_gating() 186 int hda_dsp_ctrl_init_chip(struct snd_sof_dev *sdev) in hda_dsp_ctrl_init_chip() 271 void hda_dsp_ctrl_stop_chip(struct snd_sof_dev *sdev) in hda_dsp_ctrl_stop_chip()
|
/linux/drivers/net/ethernet/alacritech/ |
H A 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/sound/soc/sof/amd/ |
H A D | acp.c | 50 struct snd_sof_dev *sdev = adata->dev; in init_dma_descriptor() local 75 struct snd_sof_dev *sdev = adata->dev; in configure_dma_descriptor() local 90 struct snd_sof_dev *sdev = adata->dev; in config_dma_channel() local 143 struct snd_sof_dev *sdev = adata->dev; in acpbus_dma_start() local 163 struct snd_sof_dev *sdev = adata->dev; in configure_and_run_dma() local 195 struct snd_sof_dev *sdev = adata->dev; in psp_mbox_ready() local 220 struct snd_sof_dev *sdev = adata->dev; in psp_send_cmd() local 260 struct snd_sof_dev *sdev = adata->dev; in configure_and_run_sha_dma() local 332 struct snd_sof_dev *sdev = adata->dev; in acp_dma_status() local 356 void memcpy_from_scratch(struct snd_sof_dev *sdev, u32 offset, unsigned int *dst, size_t bytes) in memcpy_from_scratch() [all …]
|
H A 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() 157 struct snd_sof_dev *sdev = context; in acp_sof_ipc_irq_thread() local 249 int acp_sof_ipc_msg_data(struct snd_sof_dev *sdev, struct snd_sof_pcm_stream *sps, in acp_sof_ipc_msg_data() [all …]
|
/linux/sound/soc/sof/mediatek/mt8186/ |
H A 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() 148 static void adsp_sram_power_on(struct snd_sof_dev *sdev) in adsp_sram_power_on() 154 static void adsp_sram_power_off(struct snd_sof_dev *sdev) in adsp_sram_power_off() 161 static int adsp_memory_remap_init(struct snd_sof_dev *sdev, struct mtk_adsp_chip_info *adsp) in adsp_memory_remap_init() 183 static int mt8186_run(struct snd_sof_dev *sdev) in mt8186_run() 194 static int mt8186_dsp_probe(struct snd_sof_dev *sdev) in mt8186_dsp_probe() 300 static void mt8186_dsp_remove(struct snd_sof_dev *sdev) in mt8186_dsp_remove() 310 static int mt8186_dsp_shutdown(struct snd_sof_dev *sdev) in mt8186_dsp_shutdown() 315 static int mt8186_dsp_suspend(struct snd_sof_dev *sdev, u32 target_state) in mt8186_dsp_suspend() [all …]
|
/linux/drivers/scsi/ |
H A 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() 336 static int scsi_get_vpd_size(struct scsi_device *sdev, u8 page) in scsi_get_vpd_size() 397 int scsi_get_vpd_page(struct scsi_device *sdev, u8 page, unsigned char *buf, in scsi_get_vpd_page() 435 static struct scsi_vpd *scsi_get_vpd_buf(struct scsi_device *sdev, u8 page) in scsi_get_vpd_buf() 472 static void scsi_update_vpd_page(struct scsi_device *sdev, u8 page, in scsi_update_vpd_page() 499 void scsi_attach_vpd(struct scsi_device *sdev) in scsi_attach_vpd() [all …]
|
H A D | scsi_lib.c | 294 int scsi_execute_cmd(struct scsi_device *sdev, const unsigned char *cmd, in scsi_execute_cmd() 390 void scsi_device_unbusy(struct scsi_device *sdev, struct scsi_cmnd *cmd) in scsi_device_unbusy() 408 static void scsi_kick_sdev_queue(struct scsi_device *sdev, void *data) in scsi_kick_sdev_queue() 449 static inline bool scsi_device_is_busy(struct scsi_device *sdev) in scsi_device_is_busy() 481 struct scsi_device *sdev; in scsi_starved_list_run() local 545 struct scsi_device *sdev = q->queuedata; in scsi_run_queue() local 558 struct scsi_device *sdev; in scsi_requeue_run_queue() local 568 struct scsi_device *sdev; in scsi_run_host_queues() local 601 static void scsi_run_queue_async(struct scsi_device *sdev) in scsi_run_queue_async() 635 struct scsi_device *sdev = cmd->device; in scsi_end_request() local [all …]
|
H A D | scsi_dh.c | 71 scsi_dh_find_driver(struct scsi_device *sdev) in scsi_dh_find_driver() 124 static int scsi_dh_handler_attach(struct scsi_device *sdev, in scsi_dh_handler_attach() 163 static void scsi_dh_handler_detach(struct scsi_device *sdev) in scsi_dh_handler_detach() 170 void scsi_dh_add_device(struct scsi_device *sdev) in scsi_dh_add_device() 186 void scsi_dh_release_device(struct scsi_device *sdev) in scsi_dh_release_device() 253 struct scsi_device *sdev; in scsi_dh_activate() local 300 struct scsi_device *sdev; in scsi_dh_set_params() local 322 struct scsi_device *sdev; in scsi_dh_attach() local 361 struct scsi_device *sdev; in scsi_dh_attached_handler_name() local
|
/linux/arch/arm/common/ |
H A 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/drivers/media/radio/si4713/ |
H A 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/drivers/gpu/drm/renesas/shmobile/ |
H A D | shmob_drm_drv.c | 40 static int shmob_drm_setup_clocks(struct shmob_drm_device *sdev, in shmob_drm_setup_clocks() 80 struct shmob_drm_device *sdev = to_shmob_device(dev); in shmob_drm_irq() local 120 struct shmob_drm_device *sdev = dev_get_drvdata(dev); in shmob_drm_pm_suspend() local 127 struct shmob_drm_device *sdev = dev_get_drvdata(dev); in shmob_drm_pm_resume() local 134 struct shmob_drm_device *sdev = dev_get_drvdata(dev); in shmob_drm_pm_runtime_suspend() local 144 struct shmob_drm_device *sdev = dev_get_drvdata(dev); in shmob_drm_pm_runtime_resume() local 168 struct shmob_drm_device *sdev = platform_get_drvdata(pdev); in shmob_drm_remove() local 178 struct shmob_drm_device *sdev = platform_get_drvdata(pdev); in shmob_drm_shutdown() local 187 struct shmob_drm_device *sdev; in shmob_drm_probe() local
|
/linux/drivers/scsi/device_handler/ |
H A D | scsi_dh_emc.c | 100 static int trespass_endio(struct scsi_device *sdev, in trespass_endio() 135 static int parse_sp_info_reply(struct scsi_device *sdev, in parse_sp_info_reply() 189 static char * parse_sp_model(struct scsi_device *sdev, unsigned char *buffer) in parse_sp_model() 235 static int send_trespass_cmd(struct scsi_device *sdev, in send_trespass_cmd() 286 static enum scsi_disposition clariion_check_sense(struct scsi_device *sdev, in clariion_check_sense() 334 static blk_status_t clariion_prep_fn(struct scsi_device *sdev, in clariion_prep_fn() 347 static int clariion_std_inquiry(struct scsi_device *sdev, in clariion_std_inquiry() 372 static int clariion_send_inquiry(struct scsi_device *sdev, in clariion_send_inquiry() 384 static int clariion_activate(struct scsi_device *sdev, in clariion_activate() 426 static int clariion_set_params(struct scsi_device *sdev, const char *params) in clariion_set_params() [all …]
|