/openbmc/linux/drivers/scsi/device_handler/ |
H A D | scsi_dh_hp_sw.c | 31 struct scsi_device *sdev; member 43 static int tur_done(struct scsi_device *sdev, struct hp_sw_dh_data *h, in tur_done() 81 static int hp_sw_tur(struct scsi_device *sdev, struct hp_sw_dh_data *h) in hp_sw_tur() 124 struct scsi_device *sdev = h->sdev; in hp_sw_start_stop() local 168 static blk_status_t hp_sw_prep_fn(struct scsi_device *sdev, struct request *req) in hp_sw_prep_fn() 190 static int hp_sw_activate(struct scsi_device *sdev, in hp_sw_activate() 206 static int hp_sw_bus_attach(struct scsi_device *sdev) in hp_sw_bus_attach() 237 static void hp_sw_bus_detach( struct scsi_device *sdev ) in hp_sw_bus_detach()
|
H A D | scsi_dh_alua.c | 88 struct scsi_device *sdev; member 157 static int submit_stpg(struct scsi_device *sdev, int group_id, in submit_stpg() 274 static int alua_check_tpgs(struct scsi_device *sdev) in alua_check_tpgs() 510 static int alua_tur(struct scsi_device *sdev) in alua_tur() 843 struct scsi_device *sdev = NULL, *prev_sdev; in alua_rtpg_select_sdev() local 889 struct scsi_device *sdev, *prev_sdev = NULL; in alua_rtpg_work() local 1008 struct scsi_device *sdev, in alua_rtpg_queue() 1132 static int alua_activate(struct scsi_device *sdev, in alua_activate() 1226 static void alua_rescan(struct scsi_device *sdev) in alua_rescan() 1237 static int alua_bus_attach(struct scsi_device *sdev) in alua_bus_attach() [all …]
|
/openbmc/linux/sound/soc/sof/ |
H A D | pcm.c | 126 struct snd_sof_dev *sdev = snd_soc_component_get_drvdata(component); in sof_pcm_hw_params() local 198 struct snd_sof_dev *sdev = snd_soc_component_get_drvdata(component); in sof_pcm_hw_free() local 287 struct snd_sof_dev *sdev = snd_soc_component_get_drvdata(component); in sof_pcm_trigger() local 389 struct snd_sof_dev *sdev = snd_soc_component_get_drvdata(component); in sof_pcm_pointer() local 421 struct snd_sof_dev *sdev = snd_soc_component_get_drvdata(component); in sof_pcm_open() local 485 struct snd_sof_dev *sdev = snd_soc_component_get_drvdata(component); in sof_pcm_close() local 521 struct snd_sof_dev *sdev = snd_soc_component_get_drvdata(component); in sof_pcm_new() local 594 struct snd_sof_dev *sdev = snd_soc_component_get_drvdata(component); in sof_pcm_dai_link_fixup() local 625 struct snd_sof_dev *sdev = snd_soc_component_get_drvdata(component); in sof_pcm_probe() local 671 struct snd_sof_dev *sdev = snd_soc_component_get_drvdata(component); in sof_pcm_ack() local [all …]
|
H A D | ipc4-loader.c | 20 static ssize_t sof_ipc4_fw_parse_ext_man(struct snd_sof_dev *sdev, in sof_ipc4_fw_parse_ext_man() 137 static size_t sof_ipc4_fw_parse_basefw_ext_man(struct snd_sof_dev *sdev) in sof_ipc4_fw_parse_basefw_ext_man() 164 static int sof_ipc4_load_library_by_uuid(struct snd_sof_dev *sdev, in sof_ipc4_load_library_by_uuid() 262 struct sof_ipc4_fw_module *sof_ipc4_find_module_by_uuid(struct snd_sof_dev *sdev, in sof_ipc4_find_module_by_uuid() 307 static int sof_ipc4_validate_firmware(struct snd_sof_dev *sdev) in sof_ipc4_validate_firmware() 328 int sof_ipc4_query_fw_configuration(struct snd_sof_dev *sdev) in sof_ipc4_query_fw_configuration() 407 int sof_ipc4_reload_fw_libraries(struct snd_sof_dev *sdev) in sof_ipc4_reload_fw_libraries() 432 void sof_ipc4_update_cpc_from_manifest(struct snd_sof_dev *sdev, in sof_ipc4_update_cpc_from_manifest()
|
H A D | loader.c | 17 int snd_sof_load_firmware_raw(struct snd_sof_dev *sdev) in snd_sof_load_firmware_raw() 68 int snd_sof_load_firmware_memcpy(struct snd_sof_dev *sdev) in snd_sof_load_firmware_memcpy() 109 int snd_sof_run_firmware(struct snd_sof_dev *sdev) in snd_sof_run_firmware() 184 void snd_sof_fw_unload(struct snd_sof_dev *sdev) in snd_sof_fw_unload()
|
H A D | ipc4-mtrace.c | 106 struct snd_sof_dev *sdev; member 120 struct snd_sof_dev *sdev; member 192 struct snd_sof_dev *sdev = core_data->sdev; in sof_ipc4_mtrace_dfs_read() local 392 static int mtrace_debugfs_create(struct snd_sof_dev *sdev) in mtrace_debugfs_create() 421 static int ipc4_mtrace_enable(struct snd_sof_dev *sdev) in ipc4_mtrace_enable() 467 static void ipc4_mtrace_disable(struct snd_sof_dev *sdev) in ipc4_mtrace_disable() 506 static void sof_mtrace_find_core_slots(struct snd_sof_dev *sdev) in sof_mtrace_find_core_slots() 548 static int ipc4_mtrace_init(struct snd_sof_dev *sdev) in ipc4_mtrace_init() 607 static void ipc4_mtrace_free(struct snd_sof_dev *sdev) in ipc4_mtrace_free() 655 static void ipc4_mtrace_fw_crashed(struct snd_sof_dev *sdev) in ipc4_mtrace_fw_crashed() [all …]
|
H A D | ipc.c | 36 int sof_ipc_send_msg(struct snd_sof_dev *sdev, void *msg_data, size_t msg_bytes, in sof_ipc_send_msg() 113 void snd_sof_ipc_get_reply(struct snd_sof_dev *sdev) in snd_sof_ipc_get_reply() 130 void snd_sof_ipc_reply(struct snd_sof_dev *sdev, u32 msg_id) in snd_sof_ipc_reply() 147 struct snd_sof_ipc *snd_sof_ipc_init(struct snd_sof_dev *sdev) in snd_sof_ipc_init() 220 void snd_sof_ipc_free(struct snd_sof_dev *sdev) in snd_sof_ipc_free()
|
/openbmc/linux/drivers/iommu/ |
H A D | sprd-iommu.c | 82 struct sprd_iommu_device *sdev; member 99 sprd_iommu_read(struct sprd_iommu_device *sdev, unsigned int reg) in sprd_iommu_read() 115 sprd_iommu_get_version(struct sprd_iommu_device *sdev) in sprd_iommu_get_version() 159 struct sprd_iommu_device *sdev = dom->sdev; in sprd_iommu_first_vpn() local 174 struct sprd_iommu_device *sdev = dom->sdev; in sprd_iommu_vpn_range() local 191 struct sprd_iommu_device *sdev = dom->sdev; in sprd_iommu_first_ppn() local 254 struct sprd_iommu_device *sdev = dev_iommu_priv_get(dev); in sprd_iommu_attach_device() local 392 struct sprd_iommu_device *sdev; in sprd_iommu_probe_device() local 404 struct sprd_iommu_device *sdev = dev_iommu_priv_get(dev); in sprd_iommu_device_group() local 475 struct sprd_iommu_device *sdev; in sprd_iommu_probe() local [all …]
|
/openbmc/linux/drivers/platform/surface/ |
H A D | surface_platform_profile.c | 31 struct ssam_device *sdev; member 45 static int ssam_tmp_profile_get(struct ssam_device *sdev, enum ssam_tmp_profile *p) in ssam_tmp_profile_get() 58 static int ssam_tmp_profile_set(struct ssam_device *sdev, enum ssam_tmp_profile p) in ssam_tmp_profile_set() 65 static int convert_ssam_to_profile(struct ssam_device *sdev, enum ssam_tmp_profile p) in convert_ssam_to_profile() 86 static int convert_profile_to_ssam(struct ssam_device *sdev, enum platform_profile_option p) in convert_profile_to_ssam() 144 static int surface_platform_profile_probe(struct ssam_device *sdev) in surface_platform_profile_probe() 165 static void surface_platform_profile_remove(struct ssam_device *sdev) in surface_platform_profile_remove()
|
/openbmc/u-boot/drivers/input/ |
H A D | keyboard-uclass.c | 10 static int keyboard_start(struct stdio_dev *sdev) in keyboard_start() 21 static int keyboard_stop(struct stdio_dev *sdev) in keyboard_stop() 32 static int keyboard_tstc(struct stdio_dev *sdev) in keyboard_tstc() 47 static int keyboard_getc(struct stdio_dev *sdev) in keyboard_getc() 65 struct stdio_dev *sdev = &priv->sdev; in keyboard_pre_probe() local
|
/openbmc/linux/drivers/scsi/ |
H A D | scsi_sysfs.c | 438 struct scsi_device *sdev; in scsi_device_cls_release() local 446 struct scsi_device *sdev = to_scsi_device(dev); in scsi_device_dev_release() local 541 const struct scsi_device *sdev; in scsi_bus_uevent() local 679 struct scsi_device *sdev = to_scsi_device(dev); in sdev_show_device_busy() local 699 struct scsi_device *sdev; in sdev_show_timeout() local 708 struct scsi_device *sdev; in sdev_store_timeout() local 720 struct scsi_device *sdev; in sdev_show_eh_timeout() local 729 struct scsi_device *sdev; in sdev_store_eh_timeout() local 977 struct scsi_device *sdev; in sdev_show_modalias() local 1200 struct scsi_device *sdev; in sdev_show_queue_ramp_up_period() local [all …]
|
H A D | scsi_ioctl.c | 67 static int ioctl_internal_command(struct scsi_device *sdev, char *cmd, in ioctl_internal_command() 124 int scsi_set_medium_removal(struct scsi_device *sdev, char state) in scsi_set_medium_removal() 157 static int scsi_ioctl_get_pci(struct scsi_device *sdev, void __user *arg) in scsi_ioctl_get_pci() 179 static int sg_set_timeout(struct scsi_device *sdev, int __user *p) in sg_set_timeout() 189 static int sg_get_reserved_size(struct scsi_device *sdev, int __user *p) in sg_get_reserved_size() 197 static int sg_set_reserved_size(struct scsi_device *sdev, int __user *p) in sg_set_reserved_size() 221 static int scsi_get_idlun(struct scsi_device *sdev, void __user *argp) in scsi_get_idlun() 235 static int scsi_send_start_stop(struct scsi_device *sdev, int data) in scsi_send_start_stop() 348 static int scsi_fill_sghdr_rq(struct scsi_device *sdev, struct request *rq, in scsi_fill_sghdr_rq() 410 static int sg_io(struct scsi_device *sdev, struct sg_io_hdr *hdr, in sg_io() [all …]
|
H A D | scsi_error.c | 127 struct scsi_device *sdev = cmd->device; in scsi_eh_should_retry_cmd() local 151 struct scsi_device *sdev = scmd->device; in scmd_eh_abort_handler() local 230 struct scsi_device *sdev = scmd->device; in scsi_abort_command() local 405 struct scsi_device *sdev; in scsi_eh_prt_fail_stats() local 1426 struct scsi_device *sdev; in scsi_eh_test_devices() local 1504 struct scsi_device *sdev; in scsi_eh_stu() local 1570 struct scsi_device *sdev; in scsi_eh_bus_device_reset() local 1804 struct scsi_device *sdev; in scsi_eh_offline_sdevs() local 2117 struct scsi_device *sdev; in scsi_restart_operations() local 2388 struct scsi_device *sdev; in scsi_report_bus_reset() local [all …]
|
/openbmc/linux/sound/soc/sof/imx/ |
H A D | imx-common.c | 23 void imx8_get_registers(struct snd_sof_dev *sdev, in imx8_get_registers() 53 void imx8_dump(struct snd_sof_dev *sdev, u32 flags) in imx8_dump() 77 int imx8_parse_clocks(struct snd_sof_dev *sdev, struct imx_clocks *clks) in imx8_parse_clocks() 89 int imx8_enable_clocks(struct snd_sof_dev *sdev, struct imx_clocks *clks) in imx8_enable_clocks() 95 void imx8_disable_clocks(struct snd_sof_dev *sdev, struct imx_clocks *clks) in imx8_disable_clocks()
|
/openbmc/linux/sound/soc/sof/intel/ |
H A D | hda-pcm.c | 40 u32 hda_dsp_get_mult_div(struct snd_sof_dev *sdev, int rate) in hda_dsp_get_mult_div() 74 u32 hda_dsp_get_bits(struct snd_sof_dev *sdev, int sample_bits) in hda_dsp_get_bits() 94 int hda_dsp_pcm_hw_params(struct snd_sof_dev *sdev, in hda_dsp_pcm_hw_params() 147 int hda_dsp_pcm_ack(struct snd_sof_dev *sdev, struct snd_pcm_substream *substream) in hda_dsp_pcm_ack() 168 int hda_dsp_pcm_trigger(struct snd_sof_dev *sdev, in hda_dsp_pcm_trigger() 177 snd_pcm_uframes_t hda_dsp_pcm_pointer(struct snd_sof_dev *sdev, in hda_dsp_pcm_pointer() 208 int hda_dsp_pcm_open(struct snd_sof_dev *sdev, in hda_dsp_pcm_open() 273 int hda_dsp_pcm_close(struct snd_sof_dev *sdev, in hda_dsp_pcm_close()
|
H A D | hda-probes.c | 32 struct snd_sof_dev *sdev = sof_client_dev_to_sof_dev(cdev); in hda_probes_compr_startup() local 53 struct snd_sof_dev *sdev = sof_client_dev_to_sof_dev(cdev); in hda_probes_compr_shutdown() local 75 struct snd_sof_dev *sdev = sof_client_dev_to_sof_dev(cdev); in hda_probes_compr_set_params() local 108 struct snd_sof_dev *sdev = sof_client_dev_to_sof_dev(cdev); in hda_probes_compr_trigger() local 137 int hda_probes_register(struct snd_sof_dev *sdev) in hda_probes_register() 143 void hda_probes_unregister(struct snd_sof_dev *sdev) in hda_probes_unregister()
|
H A D | byt.c | 74 static void byt_reset_dsp_disable_int(struct snd_sof_dev *sdev) in byt_reset_dsp_disable_int() 86 static int byt_suspend(struct snd_sof_dev *sdev, u32 target_state) in byt_suspend() 93 static int byt_resume(struct snd_sof_dev *sdev) in byt_resume() 103 static int byt_remove(struct snd_sof_dev *sdev) in byt_remove() 110 static int byt_acpi_probe(struct snd_sof_dev *sdev) in byt_acpi_probe()
|
H A D | hda-trace.c | 22 static int hda_dsp_trace_prepare(struct snd_sof_dev *sdev, struct snd_dma_buffer *dmab) in hda_dsp_trace_prepare() 39 int hda_dsp_trace_init(struct snd_sof_dev *sdev, struct snd_dma_buffer *dmab, in hda_dsp_trace_init() 72 int hda_dsp_trace_release(struct snd_sof_dev *sdev) in hda_dsp_trace_release() 90 int hda_dsp_trace_trigger(struct snd_sof_dev *sdev, int cmd) in hda_dsp_trace_trigger()
|
H A D | hda.h | 554 struct snd_sof_dev *sdev; member 740 static inline void hda_codec_probe_bus(struct snd_sof_dev *sdev) { } in hda_codec_probe_bus() 742 static inline void hda_codec_jack_check(struct snd_sof_dev *sdev) { } in hda_codec_jack_check() 744 static inline void hda_codec_init_cmd_io(struct snd_sof_dev *sdev) { } in hda_codec_init_cmd_io() 746 static inline void hda_codec_stop_cmd_io(struct snd_sof_dev *sdev) { } in hda_codec_stop_cmd_io() 799 static inline int hda_sdw_check_lcount_ext(struct snd_sof_dev *sdev) in hda_sdw_check_lcount_ext() 804 static inline int hda_sdw_startup(struct snd_sof_dev *sdev) in hda_sdw_startup() 822 static inline void hda_sdw_process_wakeen(struct snd_sof_dev *sdev) in hda_sdw_process_wakeen() 826 static inline bool hda_common_check_sdw_irq(struct snd_sof_dev *sdev) in hda_common_check_sdw_irq() 887 static inline int hda_probes_register(struct snd_sof_dev *sdev) in hda_probes_register() [all …]
|
/openbmc/linux/sound/soc/sof/amd/ |
H A D | acp-loader.c | 30 int acp_dsp_block_read(struct snd_sof_dev *sdev, enum snd_sof_fw_blk_type blk_type, in acp_dsp_block_read() 48 int acp_dsp_block_write(struct snd_sof_dev *sdev, enum snd_sof_fw_blk_type blk_type, in acp_dsp_block_write() 101 int acp_get_bar_index(struct snd_sof_dev *sdev, u32 type) in acp_get_bar_index() 109 struct snd_sof_dev *sdev = adata->dev; in configure_pte_for_fw_loading() local 151 int acp_dsp_pre_fw_run(struct snd_sof_dev *sdev) in acp_dsp_pre_fw_run() 208 int acp_sof_dsp_run(struct snd_sof_dev *sdev) in acp_sof_dsp_run() 228 int acp_sof_load_signed_firmware(struct snd_sof_dev *sdev) in acp_sof_load_signed_firmware()
|
/openbmc/linux/drivers/platform/surface/aggregator/ |
H A D | bus.c | 24 struct ssam_device *sdev = to_ssam_device(dev); in modalias_show() local 40 const struct ssam_device *sdev = to_ssam_device(dev); in ssam_device_uevent() local 50 struct ssam_device *sdev = to_ssam_device(dev); in ssam_device_release() local 81 struct ssam_device *sdev; in ssam_device_alloc() local 127 int ssam_device_add(struct ssam_device *sdev) in ssam_device_add() 168 void ssam_device_remove(struct ssam_device *sdev) in ssam_device_remove() 310 struct ssam_device *sdev = to_ssam_device(dev); in ssam_bus_match() local 430 struct ssam_device *sdev; in ssam_add_client_device() local 503 struct ssam_device *sdev = to_ssam_device(dev); in ssam_remove_device() local
|
/openbmc/linux/drivers/usb/usbip/ |
H A D | stub_tx.c | 14 void stub_enqueue_ret_unlink(struct stub_device *sdev, __u32 seqnum, in stub_enqueue_ret_unlink() 43 struct stub_device *sdev = priv->sdev; in stub_complete() local 132 static struct stub_priv *dequeue_from_priv_tx(struct stub_device *sdev) in dequeue_from_priv_tx() 150 static int stub_send_ret_submit(struct stub_device *sdev) in stub_send_ret_submit() 343 static struct stub_unlink *dequeue_from_unlink_tx(struct stub_device *sdev) in dequeue_from_unlink_tx() 361 static int stub_send_ret_unlink(struct stub_device *sdev) in stub_send_ret_unlink() 420 struct stub_device *sdev = container_of(ud, struct stub_device, ud); in stub_tx_loop() local
|
/openbmc/linux/drivers/infiniband/sw/siw/ |
H A D | siw_main.c | 64 static int siw_device_register(struct siw_device *sdev, const char *name) in siw_device_register() 84 struct siw_device *sdev = to_siw_dev(base_dev); in siw_device_cleanup() local 163 int siw_get_tx_cpu(struct siw_device *sdev) in siw_get_tx_cpu() 283 struct siw_device *sdev = NULL; in siw_device_create() local 375 struct siw_device *sdev = in siw_netdev_down() local 394 static void siw_device_goes_down(struct siw_device *sdev) in siw_device_goes_down() 407 struct siw_device *sdev; in siw_netdev_event() local 470 struct siw_device *sdev = NULL; in siw_newlink() local
|
/openbmc/qemu/hw/char/ |
H A D | spapr_vty.c | 16 SpaprVioDevice sdev; member 55 static int vty_getchars(SpaprVioDevice *sdev, uint8_t *buf, int max) in vty_getchars() 81 void vty_putchars(SpaprVioDevice *sdev, uint8_t *buf, int len) in vty_putchars() 90 static void spapr_vty_realize(SpaprVioDevice *sdev, Error **errp) in spapr_vty_realize() 111 SpaprVioDevice *sdev; in h_put_term_char() local 138 SpaprVioDevice *sdev; in h_get_term_char() local 209 SpaprVioDevice *sdev, *selected; in spapr_vty_get_default() local 246 SpaprVioDevice *sdev; in vty_lookup() local
|
/openbmc/linux/drivers/s390/scsi/ |
H A D | zfcp_erp.c | 94 struct scsi_device *sdev; in zfcp_erp_action_dismiss_port() local 164 struct scsi_device *sdev) in zfcp_erp_required_act() 217 struct scsi_device *sdev) in zfcp_erp_setup_act() 284 struct scsi_device *sdev, in zfcp_erp_action_enqueue() 672 struct scsi_device *sdev; in _zfcp_erp_lun_reopen_all() local 1338 struct scsi_device *sdev = act->sdev; in zfcp_erp_strategy_statechange() local 1419 struct scsi_device *sdev; in zfcp_erp_try_rport_unblock() local 1696 struct scsi_device *sdev; in zfcp_erp_set_adapter_status() local 1733 struct scsi_device *sdev; in zfcp_erp_clear_adapter_status() local 1779 struct scsi_device *sdev; in zfcp_erp_set_port_status() local [all …]
|