Home
last modified time | relevance | path

Searched defs:sdev (Results 76 – 100 of 378) sorted by relevance

12345678910>>...16

/openbmc/linux/include/linux/surface_aggregator/
H A Ddevice.h269 static inline void ssam_device_mark_hot_removed(struct ssam_device *sdev) in ssam_device_mark_hot_removed()
285 static inline bool ssam_device_is_hot_removed(struct ssam_device *sdev) in ssam_device_is_hot_removed()
302 static inline struct ssam_device *ssam_device_get(struct ssam_device *sdev) in ssam_device_get()
317 static inline void ssam_device_put(struct ssam_device *sdev) in ssam_device_put()
330 static inline void *ssam_device_get_drvdata(struct ssam_device *sdev) in ssam_device_get_drvdata()
340 static inline void ssam_device_set_drvdata(struct ssam_device *sdev, void *data) in ssam_device_set_drvdata()
423 static inline int ssam_device_register_clients(struct ssam_device *sdev) in ssam_device_register_clients()
593 static inline int ssam_device_notifier_register(struct ssam_device *sdev, in ssam_device_notifier_register()
626 static inline int ssam_device_notifier_unregister(struct ssam_device *sdev, in ssam_device_notifier_unregister()
/openbmc/linux/drivers/dma/sh/
H A Dshdma-base.c54 struct shdma_dev *sdev = to_shdma_dev(schan->dma_chan.device); in shdma_chan_xfer_ld_queue() local
127 struct shdma_dev *sdev = in shdma_tx_submit() local
173 struct shdma_dev *sdev = to_shdma_dev(schan->dma_chan.device); in shdma_setup_slave() local
206 struct shdma_dev *sdev = to_shdma_dev(schan->dma_chan.device); in shdma_alloc_chan_resources() local
277 struct shdma_dev *sdev; in shdma_chan_filter() local
453 struct shdma_dev *sdev = to_shdma_dev(chan->device); in shdma_free_chan_resources() local
756 struct shdma_dev *sdev = to_shdma_dev(chan->device); in shdma_terminate_all() local
844 bool shdma_reset(struct shdma_dev *sdev) in shdma_reset()
947 void shdma_chan_probe(struct shdma_dev *sdev, in shdma_chan_probe()
981 int shdma_init(struct device *dev, struct shdma_dev *sdev, in shdma_init()
[all …]
/openbmc/linux/sound/soc/sof/
H A Dstream-ipc.c29 int sof_ipc_msg_data(struct snd_sof_dev *sdev, in sof_ipc_msg_data()
63 int sof_set_stream_data_offset(struct snd_sof_dev *sdev, in sof_set_stream_data_offset()
95 int sof_stream_pcm_open(struct snd_sof_dev *sdev, in sof_stream_pcm_open()
117 int sof_stream_pcm_close(struct snd_sof_dev *sdev, in sof_stream_pcm_close()
H A Dipc4-topology.c341 struct snd_sof_dev *sdev = snd_soc_component_get_drvdata(scomp); in sof_ipc4_widget_set_module_info() local
381 struct snd_sof_dev *sdev = snd_soc_component_get_drvdata(scomp); in sof_ipc4_widget_update_kcontrol_module_id() local
552 struct snd_sof_dev *sdev = snd_soc_component_get_drvdata(scomp); in sof_ipc4_widget_setup_comp_dai() local
1075 static bool sof_ipc4_is_single_format(struct snd_sof_dev *sdev, in sof_ipc4_is_single_format()
1162 static int sof_ipc4_init_input_audio_fmt(struct snd_sof_dev *sdev, in sof_ipc4_init_input_audio_fmt()
1430 struct snd_sof_dev *sdev = snd_soc_component_get_drvdata(scomp); in sof_ipc4_prepare_copier_module() local
1832 struct snd_sof_dev *sdev = snd_soc_component_get_drvdata(scomp); in sof_ipc4_prepare_gain_module() local
1869 struct snd_sof_dev *sdev = snd_soc_component_get_drvdata(scomp); in sof_ipc4_prepare_mixer_module() local
1906 struct snd_sof_dev *sdev = snd_soc_component_get_drvdata(scomp); in sof_ipc4_prepare_src_module() local
2047 struct snd_sof_dev *sdev = snd_soc_component_get_drvdata(scomp); in sof_ipc4_prepare_process_module() local
[all …]
H A Dipc3-pcm.c19 struct snd_sof_dev *sdev = snd_soc_component_get_drvdata(component); in sof_ipc3_pcm_hw_free() local
44 struct snd_sof_dev *sdev = snd_soc_component_get_drvdata(component); in sof_ipc3_pcm_hw_params() local
146 struct snd_sof_dev *sdev = snd_soc_component_get_drvdata(component); in sof_ipc3_pcm_trigger() local
182 static void ssp_dai_config_pcm_params_match(struct snd_sof_dev *sdev, const char *link_name, in ssp_dai_config_pcm_params_match()
217 struct snd_sof_dev *sdev = snd_soc_component_get_drvdata(component); in sof_ipc3_pcm_dai_link_fixup() local
H A Dipc3-priv.h35 static inline int sof_dtrace_host_init(struct snd_sof_dev *sdev, in sof_dtrace_host_init()
47 static inline int sof_dtrace_host_release(struct snd_sof_dev *sdev) in sof_dtrace_host_release()
57 static inline int sof_dtrace_host_trigger(struct snd_sof_dev *sdev, int cmd) in sof_dtrace_host_trigger()
H A Dipc4-control.c20 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
204 static int sof_ipc4_set_get_bytes_data(struct snd_sof_dev *sdev, in sof_ipc4_set_get_bytes_data()
239 struct snd_sof_dev *sdev = snd_soc_component_get_drvdata(scomp); in sof_ipc4_bytes_put() local
304 struct snd_sof_dev *sdev = snd_soc_component_get_drvdata(scomp); in sof_ipc4_bytes_ext_put() local
392 struct snd_sof_dev *sdev = snd_soc_component_get_drvdata(scomp); in _sof_ipc4_bytes_ext_get() local
442 static int sof_ipc4_widget_kcontrol_setup(struct snd_sof_dev *sdev, struct snd_sof_widget *swidget) in sof_ipc4_widget_kcontrol_setup()
/openbmc/linux/sound/soc/sof/amd/
H A Dacp-probes.c27 struct snd_sof_dev *sdev = sof_client_dev_to_sof_dev(cdev); in acp_probes_compr_startup() local
49 struct snd_sof_dev *sdev = sof_client_dev_to_sof_dev(cdev); in acp_probes_compr_shutdown() local
73 struct snd_sof_dev *sdev = sof_client_dev_to_sof_dev(cdev); in acp_probes_compr_set_params() local
133 int acp_probes_register(struct snd_sof_dev *sdev) in acp_probes_register()
140 void acp_probes_unregister(struct snd_sof_dev *sdev) in acp_probes_unregister()
H A Dacp-pcm.c19 int acp_pcm_hw_params(struct snd_sof_dev *sdev, struct snd_pcm_substream *substream, in acp_pcm_hw_params()
57 int acp_pcm_open(struct snd_sof_dev *sdev, struct snd_pcm_substream *substream) in acp_pcm_open()
72 int acp_pcm_close(struct snd_sof_dev *sdev, struct snd_pcm_substream *substream) in acp_pcm_close()
89 snd_pcm_uframes_t acp_pcm_pointer(struct snd_sof_dev *sdev, in acp_pcm_pointer()
H A Dacp-common.c25 void amd_sof_ipc_dump(struct snd_sof_dev *sdev) in amd_sof_ipc_dump()
60 static void amd_get_registers(struct snd_sof_dev *sdev, in amd_get_registers()
91 void amd_sof_dump(struct snd_sof_dev *sdev, u32 flags) in amd_sof_dump()
122 struct snd_soc_acpi_mach *amd_sof_machine_select(struct snd_sof_dev *sdev) in amd_sof_machine_select()
H A Dacp-stream.c27 int acp_dsp_stream_config(struct snd_sof_dev *sdev, struct acp_dsp_stream *stream) in acp_dsp_stream_config()
127 struct acp_dsp_stream *acp_dsp_stream_get(struct snd_sof_dev *sdev, int tag) in acp_dsp_stream_get()
155 int acp_dsp_stream_put(struct snd_sof_dev *sdev, in acp_dsp_stream_put()
175 int acp_dsp_stream_init(struct snd_sof_dev *sdev) in acp_dsp_stream_init()
/openbmc/linux/drivers/infiniband/sw/siw/
H A Dsiw_verbs.c82 struct siw_device *sdev = to_siw_dev(base_ctx->device); in siw_alloc_ucontext() local
126 struct siw_device *sdev = to_siw_dev(base_dev); in siw_query_device() local
168 struct siw_device *sdev = to_siw_dev(base_dev); in siw_query_port() local
217 struct siw_device *sdev = to_siw_dev(base_dev); in siw_query_gid() local
228 struct siw_device *sdev = to_siw_dev(pd->device); in siw_alloc_pd() local
241 struct siw_device *sdev = to_siw_dev(pd->device); in siw_dealloc_pd() local
301 struct siw_device *sdev = to_siw_dev(base_dev); in siw_create_qp() local
510 struct siw_device *sdev; in siw_query_qp() local
1323 struct siw_device *sdev = to_siw_dev(pd->device); in siw_reg_user_mr() local
1415 struct siw_device *sdev = to_siw_dev(pd->device); in siw_alloc_mr() local
[all …]
/openbmc/linux/drivers/usb/usbip/
H A Dstub_rx.c133 struct stub_device *sdev = priv->sdev; in tweak_set_configuration_cmd() local
153 struct stub_device *sdev = priv->sdev; in tweak_reset_device_cmd() local
213 static int stub_recv_cmd_unlink(struct stub_device *sdev, in stub_recv_cmd_unlink()
288 static int valid_request(struct stub_device *sdev, struct usbip_header *pdu) in valid_request()
305 static struct stub_priv *stub_priv_alloc(struct stub_device *sdev, in stub_priv_alloc()
336 static int get_pipe(struct stub_device *sdev, struct usbip_header *pdu) in get_pipe()
464 static void stub_recv_cmd_submit(struct stub_device *sdev, in stub_recv_cmd_submit()
656 struct stub_device *sdev = container_of(ud, struct stub_device, ud); in stub_rx_pdu() local
/openbmc/linux/drivers/mfd/
H A Dqcom-spmi-pmic.c81 static struct spmi_device *qcom_pmic_get_base_usid(struct spmi_device *sdev, struct qcom_spmi_dev *… in qcom_pmic_get_base_usid()
135 static int pmic_spmi_get_base_revid(struct spmi_device *sdev, struct qcom_spmi_dev *ctx) in pmic_spmi_get_base_revid()
230 struct spmi_device *sdev; in qcom_pmic_get() local
253 static int pmic_spmi_probe(struct spmi_device *sdev) in pmic_spmi_probe()
287 static void pmic_spmi_remove(struct spmi_device *sdev) in pmic_spmi_remove()
H A Dwcd934x.c156 static int wcd934x_slim_status_up(struct slim_device *sdev) in wcd934x_slim_status_up()
196 static int wcd934x_slim_status(struct slim_device *sdev, in wcd934x_slim_status()
212 static int wcd934x_slim_probe(struct slim_device *sdev) in wcd934x_slim_probe()
274 static void wcd934x_slim_remove(struct slim_device *sdev) in wcd934x_slim_remove()
/openbmc/linux/drivers/slimbus/
H A Dstream.c126 struct slim_device *sdev = stream->dev; in slim_connect_port_channel() local
146 struct slim_device *sdev = stream->dev; in slim_disconnect_port() local
162 struct slim_device *sdev = stream->dev; in slim_deactivate_remove_channel() local
273 struct slim_device *sdev = stream->dev; in slim_define_channel_content() local
308 struct slim_device *sdev = stream->dev; in slim_define_channel() local
332 struct slim_device *sdev = stream->dev; in slim_activate_channel() local
479 struct slim_device *sdev = stream->dev; in slim_stream_free() local
/openbmc/linux/sound/soc/sof/intel/
H A Dskl.c41 static int skl_dsp_ipc_get_window_offset(struct snd_sof_dev *sdev, u32 id) in skl_dsp_ipc_get_window_offset()
46 static int skl_dsp_ipc_get_mailbox_offset(struct snd_sof_dev *sdev) in skl_dsp_ipc_get_mailbox_offset()
55 int sof_skl_ops_init(struct snd_sof_dev *sdev) in sof_skl_ops_init()
H A Dicl.c30 static int icl_dsp_core_stall(struct snd_sof_dev *sdev, unsigned int core_mask) in icl_dsp_core_stall()
54 static int icl_dsp_post_fw_run(struct snd_sof_dev *sdev) in icl_dsp_post_fw_run()
102 int sof_icl_ops_init(struct snd_sof_dev *sdev) in sof_icl_ops_init()
H A Dtgl.c25 static int tgl_dsp_core_get(struct snd_sof_dev *sdev, int core) in tgl_dsp_core_get()
39 static int tgl_dsp_core_put(struct snd_sof_dev *sdev, int core) in tgl_dsp_core_put()
61 int sof_tgl_ops_init(struct snd_sof_dev *sdev) in sof_tgl_ops_init()
/openbmc/u-boot/drivers/serial/
H A Dserial.c184 static int serial_stub_start(struct stdio_dev *sdev) in serial_stub_start()
191 static int serial_stub_stop(struct stdio_dev *sdev) in serial_stub_stop()
198 static void serial_stub_putc(struct stdio_dev *sdev, const char ch) in serial_stub_putc()
205 static void serial_stub_puts(struct stdio_dev *sdev, const char *str) in serial_stub_puts()
212 static int serial_stub_getc(struct stdio_dev *sdev) in serial_stub_getc()
219 static int serial_stub_tstc(struct stdio_dev *sdev) in serial_stub_tstc()
/openbmc/linux/drivers/gpu/drm/tiny/
H A Dsimpledrm.c279 struct simpledrm_device *sdev = simpledrm_device_of_dev(res); in simpledrm_device_release_clocks() local
290 static int simpledrm_device_init_clocks(struct simpledrm_device *sdev) in simpledrm_device_init_clocks()
345 static int simpledrm_device_init_clocks(struct simpledrm_device *sdev) in simpledrm_device_init_clocks()
377 struct simpledrm_device *sdev = simpledrm_device_of_dev(res); in simpledrm_device_release_regulators() local
488 struct simpledrm_device *sdev = simpledrm_device_of_dev(dev); in simpledrm_primary_plane_helper_atomic_update() local
522 struct simpledrm_device *sdev = simpledrm_device_of_dev(dev); in simpledrm_primary_plane_helper_atomic_disable() local
551 struct simpledrm_device *sdev = simpledrm_device_of_dev(crtc->dev); in simpledrm_crtc_helper_mode_valid() local
581 struct simpledrm_device *sdev = simpledrm_device_of_dev(connector->dev); in simpledrm_connector_helper_get_modes() local
625 struct simpledrm_device *sdev; in simpledrm_device_create() local
868 struct simpledrm_device *sdev; in simpledrm_probe() local
[all …]
/openbmc/linux/drivers/scsi/
H A Dscsi_scan.c201 static void scsi_unlock_floptical(struct scsi_device *sdev, in scsi_unlock_floptical()
217 static int scsi_realloc_sdev_budget_map(struct scsi_device *sdev, in scsi_realloc_sdev_budget_map()
282 struct scsi_device *sdev; in scsi_alloc_sdev() local
1160 struct scsi_device *sdev; in scsi_probe_and_add_lun() local
1409 struct scsi_device *sdev; in scsi_report_lun_scan() local
1575 struct scsi_device *sdev = ERR_PTR(-ENODEV); in __scsi_add_device() local
1612 struct scsi_device *sdev = in scsi_add_device() local
1622 int scsi_resume_device(struct scsi_device *sdev) in scsi_resume_device()
1656 int scsi_rescan_device(struct scsi_device *sdev) in scsi_rescan_device()
1857 struct scsi_device *sdev; in scsi_sysfs_add_devices() local
[all …]
/openbmc/linux/sound/aoa/soundbus/
H A Dsysfs.c11 struct soundbus_dev *sdev = to_soundbus_device(dev); in modalias_show() local
26 struct soundbus_dev *sdev = to_soundbus_device(dev); in name_show() local
36 struct soundbus_dev *sdev = to_soundbus_device(dev); in type_show() local
/openbmc/linux/drivers/dma/
H A Dsun6i-dma.c479 struct sun6i_dma_dev *sdev = from_tasklet(sdev, t, task); in sun6i_dma_tasklet() local
544 struct sun6i_dma_dev *sdev = dev_id; in sun6i_dma_interrupt() local
585 static int set_config(struct sun6i_dma_dev *sdev, in set_config()
652 struct sun6i_dma_dev *sdev = to_sun6i_dma_dev(chan->device); in sun6i_dma_prep_dma_memcpy() local
705 struct sun6i_dma_dev *sdev = to_sun6i_dma_dev(chan->device); in sun6i_dma_prep_slave_sg() local
791 struct sun6i_dma_dev *sdev = to_sun6i_dma_dev(chan->device); in sun6i_dma_prep_dma_cyclic() local
866 struct sun6i_dma_dev *sdev = to_sun6i_dma_dev(chan->device); in sun6i_dma_pause() local
886 struct sun6i_dma_dev *sdev = to_sun6i_dma_dev(chan->device); in sun6i_dma_resume() local
911 struct sun6i_dma_dev *sdev = to_sun6i_dma_dev(chan->device); in sun6i_dma_terminate_all() local
992 struct sun6i_dma_dev *sdev = to_sun6i_dma_dev(chan->device); in sun6i_dma_issue_pending() local
[all …]
/openbmc/linux/drivers/platform/surface/
H A Dsurface_hotplug.c84 struct shps_device *sdev = platform_get_drvdata(pdev); in shps_dsm_notify_irq() local
124 struct shps_device *sdev = platform_get_drvdata(pdev); in shps_handle_irq() local
144 struct shps_device *sdev = platform_get_drvdata(pdev); in shps_setup_irq() local
188 struct shps_device *sdev = platform_get_drvdata(pdev); in surface_hotplug_remove() local
204 struct shps_device *sdev; in surface_hotplug_probe() local

12345678910>>...16