/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 126 static int submit_rtpg(struct scsi_device *sdev, unsigned char *buff, in submit_rtpg() 157 static int submit_stpg(struct scsi_device *sdev, int group_id, in submit_stpg() 217 static struct alua_port_group *alua_alloc_pg(struct scsi_device *sdev, in alua_alloc_pg() 274 static int alua_check_tpgs(struct scsi_device *sdev) in alua_check_tpgs() 326 static int alua_check_vpd(struct scsi_device *sdev, struct alua_dh_data *h, in alua_check_vpd() 417 static void alua_handle_state_transition(struct scsi_device *sdev) in alua_handle_state_transition() 430 static enum scsi_disposition alua_check_sense(struct scsi_device *sdev, in alua_check_sense() 510 static int alua_tur(struct scsi_device *sdev) in alua_tur() 535 static int alua_rtpg(struct scsi_device *sdev, struct alua_port_group *pg) in alua_rtpg() [all …]
|
/openbmc/linux/sound/soc/sof/ |
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() 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 [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() 612 static int sof_ipc4_mtrace_update_pos_all_cores(struct snd_sof_dev *sdev) in sof_ipc4_mtrace_update_pos_all_cores() [all …]
|
H A D | ipc4-control.c | 20 struct snd_sof_dev *sdev = snd_soc_component_get_drvdata(scomp); in sof_ipc4_set_get_kcontrol_data() local 86 sof_ipc4_set_volume_data(struct snd_sof_dev *sdev, struct snd_sof_widget *swidget, in sof_ipc4_set_volume_data() 148 struct snd_sof_dev *sdev = snd_soc_component_get_drvdata(scomp); in sof_ipc4_volume_put() local 205 sof_ipc4_set_generic_control_data(struct snd_sof_dev *sdev, in sof_ipc4_set_generic_control_data() 248 struct snd_sof_dev *sdev = snd_soc_component_get_drvdata(scomp); in sof_ipc4_switch_put() local 305 struct snd_sof_dev *sdev = snd_soc_component_get_drvdata(scomp); in sof_ipc4_enum_put() local 357 static int sof_ipc4_set_get_bytes_data(struct snd_sof_dev *sdev, in sof_ipc4_set_get_bytes_data() 392 struct snd_sof_dev *sdev = snd_soc_component_get_drvdata(scomp); in sof_ipc4_bytes_put() local 457 struct snd_sof_dev *sdev = snd_soc_component_get_drvdata(scomp); in sof_ipc4_bytes_ext_put() local 545 struct snd_sof_dev *sdev = snd_soc_component_get_drvdata(scomp); in _sof_ipc4_bytes_ext_get() local [all …]
|
/openbmc/linux/drivers/iommu/ |
H A D | sprd-iommu.c | 82 struct sprd_iommu_device *sdev; member 93 sprd_iommu_write(struct sprd_iommu_device *sdev, unsigned int reg, u32 val) in sprd_iommu_write() 99 sprd_iommu_read(struct sprd_iommu_device *sdev, unsigned int reg) in sprd_iommu_read() 105 sprd_iommu_update_bits(struct sprd_iommu_device *sdev, unsigned int reg, in sprd_iommu_update_bits() 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 202 static void sprd_iommu_default_ppn(struct sprd_iommu_device *sdev) in sprd_iommu_default_ppn() 214 static void sprd_iommu_hw_en(struct sprd_iommu_device *sdev, bool en) in sprd_iommu_hw_en() [all …]
|
/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 688 struct scsi_device *sdev = to_scsi_device(dev); in sdev_show_device_blocked() 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 760 struct scsi_device *sdev = to_scsi_device(dev); in sdev_store_delete() 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 383 int scsi_block_when_processing_errors(struct scsi_device *sdev) in scsi_block_when_processing_errors() 405 struct scsi_device *sdev; in scsi_eh_prt_fail_stats() local 446 static void scsi_report_lun_change(struct scsi_device *sdev) in scsi_report_lun_change() 457 static void scsi_report_sense(struct scsi_device *sdev, in scsi_report_sense() 541 struct scsi_device *sdev = scmd->device; in scsi_check_sense() local 726 static void scsi_handle_queue_ramp_up(struct scsi_device *sdev) in scsi_handle_queue_ramp_up() 758 static void scsi_handle_queue_full(struct scsi_device *sdev) in scsi_handle_queue_full() [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/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.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() 741 static inline void hda_codec_jack_wake_enable(struct snd_sof_dev *sdev, bool enable) { } in hda_codec_jack_wake_enable() 742 static inline void hda_codec_jack_check(struct snd_sof_dev *sdev) { } in hda_codec_jack_check() 743 static inline void hda_codec_check_for_state_change(struct snd_sof_dev *sdev) { } in hda_codec_check_for_state_change() 744 static inline void hda_codec_init_cmd_io(struct snd_sof_dev *sdev) { } in hda_codec_init_cmd_io() 745 static inline void hda_codec_resume_cmd_io(struct snd_sof_dev *sdev) { } in hda_codec_resume_cmd_io() 746 static inline void hda_codec_stop_cmd_io(struct snd_sof_dev *sdev) { } in hda_codec_stop_cmd_io() 747 static inline void hda_codec_suspend_cmd_io(struct snd_sof_dev *sdev) { } in hda_codec_suspend_cmd_io() 748 static inline void hda_codec_detect_mask(struct snd_sof_dev *sdev) { } in hda_codec_detect_mask() [all …]
|
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()
|
/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/s390/scsi/ |
H A D | zfcp_erp.c | 84 static void zfcp_erp_action_dismiss_lun(struct scsi_device *sdev) in zfcp_erp_action_dismiss_lun() 94 struct scsi_device *sdev; in zfcp_erp_action_dismiss_port() local 123 struct zfcp_port *port, struct scsi_device *sdev) in zfcp_erp_handle_failed() 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() 453 static void zfcp_erp_lun_block(struct scsi_device *sdev, int clear_mask) in zfcp_erp_lun_block() 459 static void _zfcp_erp_lun_reopen(struct scsi_device *sdev, int clear, in _zfcp_erp_lun_reopen() 479 void zfcp_erp_lun_reopen(struct scsi_device *sdev, int clear, char *dbftag) in zfcp_erp_lun_reopen() 497 void zfcp_erp_lun_shutdown(struct scsi_device *sdev, int clear, char *dbftag) in zfcp_erp_lun_shutdown() [all …]
|
/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/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
|