/linux-master/drivers/w1/masters/ |
H A D | sgi_w1.c | 78 struct sgi_w1_device *sdev; local 81 sdev = devm_kzalloc(&pdev->dev, sizeof(struct sgi_w1_device), 83 if (!sdev) 86 sdev->mcr = devm_platform_ioremap_resource(pdev, 0); 87 if (IS_ERR(sdev->mcr)) 88 return PTR_ERR(sdev->mcr); 90 sdev->bus_master.data = sdev; 91 sdev->bus_master.reset_bus = sgi_w1_reset_bus; 92 sdev 110 struct sgi_w1_device *sdev = platform_get_drvdata(pdev); local [all...] |
/linux-master/sound/soc/sof/imx/ |
H A D | imx8ulp.c | 45 struct snd_sof_dev *sdev; member in struct:imx8ulp_priv 68 static int imx8ulp_get_mailbox_offset(struct snd_sof_dev *sdev) argument 73 static int imx8ulp_get_window_offset(struct snd_sof_dev *sdev, u32 id) argument 83 spin_lock_irqsave(&priv->sdev->ipc_lock, flags); 85 snd_sof_ipc_process_reply(priv->sdev, 0); 87 spin_unlock_irqrestore(&priv->sdev->ipc_lock, flags); 96 sof_mailbox_read(priv->sdev, priv->sdev->debug_box.offset + 4, &p, sizeof(p)); 100 snd_sof_dsp_panic(priv->sdev, p, true); 102 snd_sof_ipc_msgs_rx(priv->sdev); 110 imx8ulp_send_msg(struct snd_sof_dev *sdev, struct snd_sof_ipc_msg *msg) argument 121 imx8ulp_run(struct snd_sof_dev *sdev) argument 130 imx8ulp_reset(struct snd_sof_dev *sdev) argument 156 imx8ulp_probe(struct snd_sof_dev *sdev) argument 273 imx8ulp_remove(struct snd_sof_dev *sdev) argument 282 imx8ulp_get_bar_index(struct snd_sof_dev *sdev, u32 type) argument 287 imx8ulp_suspend(struct snd_sof_dev *sdev) argument 303 imx8ulp_resume(struct snd_sof_dev *sdev) argument 320 imx8ulp_dsp_runtime_resume(struct snd_sof_dev *sdev) argument 332 imx8ulp_dsp_runtime_suspend(struct snd_sof_dev *sdev) argument 344 imx8ulp_dsp_suspend(struct snd_sof_dev *sdev, unsigned int target_state) argument 357 imx8ulp_dsp_resume(struct snd_sof_dev *sdev) argument 402 imx8ulp_dsp_set_power_state(struct snd_sof_dev *sdev, const struct sof_dsp_power_state *target_state) argument [all...] |
/linux-master/drivers/platform/surface/aggregator/ |
H A D | bus.c | 24 struct ssam_device *sdev = to_ssam_device(dev); local 27 sdev->uid.domain, sdev->uid.category, sdev->uid.target, 28 sdev->uid.instance, sdev->uid.function); 42 const struct ssam_device *sdev = to_ssam_device(dev); local 45 sdev->uid.domain, sdev->uid.category, 46 sdev 52 struct ssam_device *sdev = to_ssam_device(dev); local 83 struct ssam_device *sdev; local 129 ssam_device_add(struct ssam_device *sdev) argument 170 ssam_device_remove(struct ssam_device *sdev) argument 312 struct ssam_device *sdev = to_ssam_device(dev); local 431 struct ssam_device *sdev; local 504 struct ssam_device *sdev = to_ssam_device(dev); local [all...] |
/linux-master/sound/soc/sof/ |
H A D | ipc4-telemetry.c | 19 static void __iomem *sof_ipc4_query_exception_address(struct snd_sof_dev *sdev) argument 25 telemetry_slot_offset = sof_ipc4_find_debug_slot_offset_by_type(sdev, type); 32 return sdev->bar[sdev->mailbox_bar] + offset; 39 struct snd_sof_dev *sdev = dfse->sdev; local 53 io_addr = sof_ipc4_query_exception_address(sdev); 79 void sof_ipc4_create_exception_debugfs_node(struct snd_sof_dev *sdev) argument 83 dfse = devm_kzalloc(sdev->dev, sizeof(*dfse), GFP_KERNEL); 90 dfse->sdev [all...] |
H A D | ipc3-dtrace.c | 45 static int trace_filter_append_elem(struct snd_sof_dev *sdev, u32 key, u32 value, argument 59 static int trace_filter_parse_entry(struct snd_sof_dev *sdev, const char *line, argument 75 dev_err(sdev->dev, "Invalid trace filter entry '%s'\n", line); 80 ret = trace_filter_append_elem(sdev, SOF_IPC_TRACE_FILTER_ELEM_BY_UUID, 86 ret = trace_filter_append_elem(sdev, SOF_IPC_TRACE_FILTER_ELEM_BY_PIPE, 92 ret = trace_filter_append_elem(sdev, SOF_IPC_TRACE_FILTER_ELEM_BY_COMP, 98 ret = trace_filter_append_elem(sdev, SOF_IPC_TRACE_FILTER_ELEM_SET_LEVEL | 110 static int trace_filter_parse(struct snd_sof_dev *sdev, char *string, argument 135 entry_len = trace_filter_parse_entry(sdev, entry, *out, capacity, &cnt); 137 dev_err(sdev 149 ipc3_trace_update_filter(struct snd_sof_dev *sdev, int num_elems, struct sof_ipc_trace_filter_elem *elems) argument 188 struct snd_sof_dev *sdev = dfse->sdev; local 227 debugfs_create_trace_filter(struct snd_sof_dev *sdev) argument 261 sof_dtrace_avail(struct snd_sof_dev *sdev, loff_t pos, size_t buffer_size) argument 282 sof_wait_dtrace_avail(struct snd_sof_dev *sdev, loff_t pos, size_t buffer_size) argument 320 struct snd_sof_dev *sdev = dfse->sdev; local 376 struct snd_sof_dev *sdev = dfse->sdev; local 393 debugfs_create_dtrace(struct snd_sof_dev *sdev) argument 423 ipc3_dtrace_enable(struct snd_sof_dev *sdev) argument 491 ipc3_dtrace_init(struct snd_sof_dev *sdev) argument 561 ipc3_dtrace_posn_update(struct snd_sof_dev *sdev, struct sof_ipc_dma_trace_posn *posn) argument 582 ipc3_dtrace_fw_crashed(struct snd_sof_dev *sdev) argument 592 ipc3_dtrace_release(struct snd_sof_dev *sdev, bool only_stop) argument 635 ipc3_dtrace_suspend(struct snd_sof_dev *sdev, pm_message_t pm_state) argument 640 ipc3_dtrace_resume(struct snd_sof_dev *sdev) argument 645 ipc3_dtrace_free(struct snd_sof_dev *sdev) argument [all...] |
H A D | ipc4-loader.c | 20 static ssize_t sof_ipc4_fw_parse_ext_man(struct snd_sof_dev *sdev, argument 23 struct sof_ipc4_fw_data *ipc4_data = sdev->private; 35 dev_err(sdev->dev, "%s: ipc4_data is not available\n", __func__); 41 dev_err(sdev->dev, "Firmware size is too small: %zu\n", remaining); 52 dev_err(sdev->dev, 63 dev_err(sdev->dev, "Invalid firmware size %zu, should be at least %zu\n", 73 dev_err(sdev->dev, "Invalid fw_header->len %u\n", fw_header->len); 77 dev_info(sdev->dev, "Loaded firmware library: %s, version: %u.%u.%u.%u\n", 80 dev_dbg(sdev->dev, "Header length: %u, module count: %u\n", 84 if (fw == sdev 145 sof_ipc4_fw_parse_basefw_ext_man(struct snd_sof_dev *sdev) argument 172 sof_ipc4_load_library_by_uuid(struct snd_sof_dev *sdev, unsigned long lib_id, const guid_t *uuid) argument 270 sof_ipc4_find_module_by_uuid(struct snd_sof_dev *sdev, const guid_t *uuid) argument 315 sof_ipc4_validate_firmware(struct snd_sof_dev *sdev) argument 336 sof_ipc4_query_fw_configuration(struct snd_sof_dev *sdev) argument 418 sof_ipc4_reload_fw_libraries(struct snd_sof_dev *sdev) argument 443 sof_ipc4_update_cpc_from_manifest(struct snd_sof_dev *sdev, struct sof_ipc4_fw_module *fw_module, struct sof_ipc4_base_module_cfg *basecfg) argument [all...] |
H A D | ipc4-priv.h | 90 int (*load_library)(struct snd_sof_dev *sdev, 101 int sof_ipc4_set_pipeline_state(struct snd_sof_dev *sdev, u32 instance_id, u32 state); 102 int sof_ipc4_mtrace_update_pos(struct snd_sof_dev *sdev, int core); 104 int sof_ipc4_query_fw_configuration(struct snd_sof_dev *sdev); 105 int sof_ipc4_reload_fw_libraries(struct snd_sof_dev *sdev); 106 struct sof_ipc4_fw_module *sof_ipc4_find_module_by_uuid(struct snd_sof_dev *sdev, 109 struct snd_sof_widget *sof_ipc4_find_swidget_by_ids(struct snd_sof_dev *sdev, 113 void sof_ipc4_update_cpc_from_manifest(struct snd_sof_dev *sdev, 117 size_t sof_ipc4_find_debug_slot_offset_by_type(struct snd_sof_dev *sdev,
|
H A D | iomem-utils.c | 26 void sof_io_write(struct snd_sof_dev *sdev, void __iomem *addr, u32 value) argument 32 u32 sof_io_read(struct snd_sof_dev *sdev, void __iomem *addr) argument 38 void sof_io_write64(struct snd_sof_dev *sdev, void __iomem *addr, u64 value) argument 44 u64 sof_io_read64(struct snd_sof_dev *sdev, void __iomem *addr) argument 54 void sof_mailbox_write(struct snd_sof_dev *sdev, u32 offset, argument 57 void __iomem *dest = sdev->bar[sdev->mailbox_bar] + offset; 63 void sof_mailbox_read(struct snd_sof_dev *sdev, u32 offset, argument 66 void __iomem *src = sdev->bar[sdev 76 sof_block_write(struct snd_sof_dev *sdev, enum snd_sof_fw_blk_type blk_type, u32 offset, void *src, size_t size) argument 115 sof_block_read(struct snd_sof_dev *sdev, enum snd_sof_fw_blk_type blk_type, u32 offset, void *dest, size_t size) argument [all...] |
/linux-master/sound/soc/sof/amd/ |
H A D | acp-loader.c | 31 int acp_dsp_block_read(struct snd_sof_dev *sdev, enum snd_sof_fw_blk_type blk_type, argument 34 const struct sof_amd_acp_desc *desc = get_chip_info(sdev->pdata); 38 memcpy_from_scratch(sdev, offset, dest, size); 41 dev_err(sdev->dev, "bad blk type 0x%x\n", blk_type); 49 int acp_dsp_block_write(struct snd_sof_dev *sdev, enum snd_sof_fw_blk_type blk_type, argument 52 struct pci_dev *pci = to_pci_dev(sdev->dev); 58 adata = sdev->pdata->hw_pdata; 63 size_fw = sdev->basefw.fw->size; 102 dev_err(sdev->dev, "bad blk type 0x%x\n", blk_type); 111 int acp_get_bar_index(struct snd_sof_dev *sdev, u3 argument 119 struct snd_sof_dev *sdev = adata->dev; local 165 acp_dsp_pre_fw_run(struct snd_sof_dev *sdev) argument 246 acp_sof_dsp_run(struct snd_sof_dev *sdev) argument 266 acp_sof_load_signed_firmware(struct snd_sof_dev *sdev) argument [all...] |
H A D | acp-trace.c | 18 int acp_sof_trace_release(struct snd_sof_dev *sdev) argument 24 adata = sdev->pdata->hw_pdata; 26 ret = acp_dsp_stream_put(sdev, stream); 28 dev_err(sdev->dev, "Failed to release trace stream\n"); 37 int acp_sof_trace_init(struct snd_sof_dev *sdev, struct snd_dma_buffer *dmab, argument 44 adata = sdev->pdata->hw_pdata; 45 stream = acp_dsp_stream_get(sdev, ACP_LOGGER_STREAM); 52 ret = acp_dsp_stream_config(sdev, stream); 54 acp_dsp_stream_put(sdev, stream);
|
H A D | acp-probes.c | 27 struct snd_sof_dev *sdev = sof_client_dev_to_sof_dev(cdev); local 31 adata = sdev->pdata->hw_pdata; 32 stream = acp_dsp_stream_get(sdev, 0); 49 struct snd_sof_dev *sdev = sof_client_dev_to_sof_dev(cdev); local 54 ret = acp_dsp_stream_put(sdev, stream); 56 dev_err(sdev->dev, "Failed to release probe compress stream\n"); 60 adata = sdev->pdata->hw_pdata; 73 struct snd_sof_dev *sdev = sof_client_dev_to_sof_dev(cdev); local 83 ret = acp_dsp_stream_config(sdev, stream); 85 acp_dsp_stream_put(sdev, strea 133 acp_probes_register(struct snd_sof_dev *sdev) argument 140 acp_probes_unregister(struct snd_sof_dev *sdev) argument [all...] |
H A D | acp-pcm.c | 19 int acp_pcm_hw_params(struct snd_sof_dev *sdev, struct snd_pcm_substream *substream, argument 33 ret = acp_dsp_stream_config(sdev, stream); 35 dev_err(sdev->dev, "stream configuration failed\n"); 46 buf_offset = sdev->debug_box.offset + 51 snd_sof_dsp_write(sdev, ACP_DSP_BAR, ACP_SCRATCH_REG_0 + buf_offset, size); 57 int acp_pcm_open(struct snd_sof_dev *sdev, struct snd_pcm_substream *substream) argument 61 stream = acp_dsp_stream_get(sdev, 0); 72 int acp_pcm_close(struct snd_sof_dev *sdev, struct snd_pcm_substream *substream) argument 78 dev_err(sdev->dev, "No open stream\n"); 85 return acp_dsp_stream_put(sdev, strea 89 acp_pcm_pointer(struct snd_sof_dev *sdev, struct snd_pcm_substream *substream) argument [all...] |
/linux-master/sound/soc/sof/intel/ |
H A D | icl.c | 30 static int icl_dsp_core_stall(struct snd_sof_dev *sdev, unsigned int core_mask) argument 32 struct sof_intel_hda_dev *hda = sdev->pdata->hw_pdata; 38 dev_err(sdev->dev, "error: core_mask is not in host managed cores\n"); 43 snd_sof_dsp_update_bits_unlocked(sdev, HDA_DSP_BAR, HDA_DSP_REG_ADSPCS, 54 static int icl_dsp_post_fw_run(struct snd_sof_dev *sdev) argument 56 struct sof_intel_hda_dev *hda = sdev->pdata->hw_pdata; 59 if (sdev->first_boot) { 60 struct sof_intel_hda_dev *hdev = sdev->pdata->hw_pdata; 62 ret = hda_sdw_startup(sdev); 64 dev_err(sdev 101 sof_icl_ops_init(struct snd_sof_dev *sdev) argument [all...] |
H A D | byt.c | 74 static void byt_reset_dsp_disable_int(struct snd_sof_dev *sdev) argument 77 snd_sof_dsp_update_bits64(sdev, DSP_BAR, SHIM_IMRX, 0x3, 0x3); 78 snd_sof_dsp_update_bits64(sdev, DSP_BAR, SHIM_IMRD, 0x3, 0x3); 81 snd_sof_dsp_update_bits64(sdev, DSP_BAR, SHIM_CSR, 86 static int byt_suspend(struct snd_sof_dev *sdev, u32 target_state) argument 88 byt_reset_dsp_disable_int(sdev); 93 static int byt_resume(struct snd_sof_dev *sdev) argument 96 snd_sof_dsp_update_bits64(sdev, DSP_BAR, SHIM_IMRX, 103 static void byt_remove(struct snd_sof_dev *sdev) argument 105 byt_reset_dsp_disable_int(sdev); 108 byt_acpi_probe(struct snd_sof_dev *sdev) argument [all...] |
H A D | hda-stream.c | 64 static int hda_setup_bdle(struct snd_sof_dev *sdev, argument 70 struct hdac_bus *bus = sof_to_bus(sdev); 78 dev_err(sdev->dev, "error: stream frags exceeded\n"); 112 int hda_dsp_stream_setup_bdl(struct snd_sof_dev *sdev, argument 116 struct sof_intel_hda_dev *hda = sdev->pdata->hw_pdata; 122 dev_dbg(sdev->dev, "period_bytes:0x%x\n", period_bytes); 128 dev_dbg(sdev->dev, "periods:%d\n", periods); 149 offset = hda_setup_bdle(sdev, dmab, 153 offset = hda_setup_bdle(sdev, dmab, 161 int hda_dsp_stream_spib_config(struct snd_sof_dev *sdev, argument 188 hda_dsp_stream_get(struct snd_sof_dev *sdev, int direction, u32 flags) argument 244 hda_dsp_stream_put(struct snd_sof_dev *sdev, int direction, int stream_tag) argument 294 hda_dsp_stream_reset(struct snd_sof_dev *sdev, struct hdac_stream *hstream) argument 333 hda_dsp_stream_trigger(struct snd_sof_dev *sdev, struct hdac_ext_stream *hext_stream, int cmd) argument 420 hda_dsp_iccmax_stream_hw_params(struct snd_sof_dev *sdev, struct hdac_ext_stream *hext_stream, struct snd_dma_buffer *dmab, struct snd_pcm_hw_params *params) argument 495 hda_dsp_stream_hw_params(struct snd_sof_dev *sdev, struct hdac_ext_stream *hext_stream, struct snd_dma_buffer *dmab, struct snd_pcm_hw_params *params) argument 686 hda_dsp_stream_hw_free(struct snd_sof_dev *sdev, struct snd_pcm_substream *substream) argument 719 hda_dsp_check_stream_irq(struct snd_sof_dev *sdev) argument 810 struct snd_sof_dev *sdev = context; local 839 hda_dsp_stream_init(struct snd_sof_dev *sdev) argument 977 hda_dsp_stream_free(struct snd_sof_dev *sdev) argument 1012 struct snd_sof_dev *sdev = hda_stream->sdev; local 1104 hda_dsp_get_stream_llp(struct snd_sof_dev *sdev, struct snd_soc_component *component, struct snd_pcm_substream *substream) argument 1142 hda_dsp_get_stream_ldp(struct snd_sof_dev *sdev, struct snd_soc_component *component, struct snd_pcm_substream *substream) argument [all...] |
/linux-master/drivers/infiniband/sw/siw/ |
H A D | siw_main.c | 64 static int siw_device_register(struct siw_device *sdev, const char *name) argument 66 struct ib_device *base_dev = &sdev->base_dev; 70 sdev->vendor_part_id = dev_id++; 78 siw_dbg(base_dev, "HWaddr=%pM\n", sdev->raw_gid); 84 struct siw_device *sdev = to_siw_dev(base_dev); local 86 xa_destroy(&sdev->qp_xa); 87 xa_destroy(&sdev->mem_xa); 161 int siw_get_tx_cpu(struct siw_device *sdev) argument 164 int i, num_cpus, cpu, min_use, node = sdev->numa_node, tx_cpu = -1; 196 siw_dbg(&sdev 281 struct siw_device *sdev = NULL; local 373 struct siw_device *sdev = local 392 siw_device_goes_down(struct siw_device *sdev) argument 405 struct siw_device *sdev; local 468 struct siw_device *sdev = NULL; local [all...] |
/linux-master/drivers/scsi/device_handler/ |
H A D | scsi_dh_emc.c | 100 static int trespass_endio(struct scsi_device *sdev, argument 105 sdev_printk(KERN_ERR, sdev, "%s: Found valid sense data 0x%2x, " 116 sdev_printk(KERN_INFO, sdev, "%s: Array Based Copy in " 126 sdev_printk(KERN_INFO, sdev, "%s: Detected in-progress " 135 static int parse_sp_info_reply(struct scsi_device *sdev, argument 142 sdev_printk(KERN_NOTICE, sdev, "%s: Detected in-progress " 150 sdev_printk(KERN_NOTICE, sdev, 158 sdev_printk(KERN_NOTICE, sdev, 166 sdev_printk(KERN_WARNING, sdev, 178 sdev 189 parse_sp_model(struct scsi_device *sdev, unsigned char *buffer) argument 235 send_trespass_cmd(struct scsi_device *sdev, struct clariion_dh_data *csdev) argument 286 clariion_check_sense(struct scsi_device *sdev, struct scsi_sense_hdr *sense_hdr) argument 334 clariion_prep_fn(struct scsi_device *sdev, struct request *req) argument 347 clariion_std_inquiry(struct scsi_device *sdev, struct clariion_dh_data *csdev) argument 372 clariion_send_inquiry(struct scsi_device *sdev, struct clariion_dh_data *csdev) argument 384 clariion_activate(struct scsi_device *sdev, activate_complete fn, void *data) argument 426 clariion_set_params(struct scsi_device *sdev, const char *params) argument 476 clariion_bus_attach(struct scsi_device *sdev) argument 510 clariion_bus_detach(struct scsi_device *sdev) argument [all...] |
/linux-master/drivers/spmi/ |
H A D | spmi.c | 25 struct spmi_device *sdev = to_spmi_device(dev); local 27 kfree(sdev); 60 * @sdev: spmi_device to be added 62 int spmi_device_add(struct spmi_device *sdev) argument 64 struct spmi_controller *ctrl = sdev->ctrl; 67 dev_set_name(&sdev->dev, "%d-%02x", ctrl->nr, sdev->usid); 69 err = device_add(&sdev->dev); 71 dev_err(&sdev->dev, "Can't add %s, status %d\n", 72 dev_name(&sdev 87 spmi_device_remove(struct spmi_device *sdev) argument 142 spmi_register_read(struct spmi_device *sdev, u8 addr, u8 *buf) argument 163 spmi_ext_register_read(struct spmi_device *sdev, u8 addr, u8 *buf, size_t len) argument 185 spmi_ext_register_readl(struct spmi_device *sdev, u16 addr, u8 *buf, size_t len) argument 205 spmi_register_write(struct spmi_device *sdev, u8 addr, u8 data) argument 223 spmi_register_zero_write(struct spmi_device *sdev, u8 data) argument 240 spmi_ext_register_write(struct spmi_device *sdev, u8 addr, const u8 *buf, size_t len) argument 262 spmi_ext_register_writel(struct spmi_device *sdev, u16 addr, const u8 *buf, size_t len) argument 282 spmi_command_reset(struct spmi_device *sdev) argument 294 spmi_command_sleep(struct spmi_device *sdev) argument 307 spmi_command_wakeup(struct spmi_device *sdev) argument 319 spmi_command_shutdown(struct spmi_device *sdev) argument 328 struct spmi_device *sdev = to_spmi_device(dev); local 419 struct spmi_device *sdev; local 489 struct spmi_device *sdev; local [all...] |
/linux-master/sound/soc/sof/mediatek/mt8186/ |
H A D | mt8186.c | 31 static int mt8186_get_mailbox_offset(struct snd_sof_dev *sdev) argument 36 static int mt8186_get_window_offset(struct snd_sof_dev *sdev, u32 id) argument 41 static int mt8186_send_msg(struct snd_sof_dev *sdev, argument 44 struct adsp_priv *priv = sdev->pdata->hw_pdata; 46 sof_mailbox_write(sdev, sdev->host_box.offset, msg->msg_data, 57 spin_lock_irqsave(&priv->sdev->ipc_lock, flags); 58 snd_sof_ipc_process_reply(priv->sdev, 0); 59 spin_unlock_irqrestore(&priv->sdev->ipc_lock, flags); 69 sof_mailbox_read(priv->sdev, pri 193 adsp_sram_power_on(struct snd_sof_dev *sdev) argument 199 adsp_sram_power_off(struct snd_sof_dev *sdev) argument 206 adsp_memory_remap_init(struct snd_sof_dev *sdev, struct mtk_adsp_chip_info *adsp) argument 228 mt8186_run(struct snd_sof_dev *sdev) argument 239 mt8186_dsp_probe(struct snd_sof_dev *sdev) argument 345 mt8186_dsp_remove(struct snd_sof_dev *sdev) argument 355 mt8186_dsp_shutdown(struct snd_sof_dev *sdev) argument 360 mt8186_dsp_suspend(struct snd_sof_dev *sdev, u32 target_state) argument 369 mt8186_dsp_resume(struct snd_sof_dev *sdev) argument 385 mt8186_get_bar_index(struct snd_sof_dev *sdev, u32 type) argument 390 mt8186_pcm_hw_params(struct snd_sof_dev *sdev, struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params, struct snd_sof_platform_stream_params *platform_params) argument 400 mt8186_pcm_pointer(struct snd_sof_dev *sdev, struct snd_pcm_substream *substream) argument 432 mt8186_adsp_dump(struct snd_sof_dev *sdev, u32 flags) argument 612 sof_mt8188_ops_init(struct snd_sof_dev *sdev) argument [all...] |
/linux-master/drivers/gpu/drm/renesas/shmobile/ |
H A D | shmob_drm_plane.h | 16 struct drm_plane *shmob_drm_plane_create(struct shmob_drm_device *sdev,
|
/linux-master/include/linux/ |
H A D | spmi.h | 50 static inline void *spmi_device_get_drvdata(const struct spmi_device *sdev) argument 52 return dev_get_drvdata(&sdev->dev); 55 static inline void spmi_device_set_drvdata(struct spmi_device *sdev, void *data) argument 57 dev_set_drvdata(&sdev->dev, data); 62 static inline void spmi_device_put(struct spmi_device *sdev) argument 64 if (sdev) 65 put_device(&sdev->dev); 68 int spmi_device_add(struct spmi_device *sdev); 70 void spmi_device_remove(struct spmi_device *sdev); 142 int (*probe)(struct spmi_device *sdev); [all...] |
/linux-master/drivers/platform/surface/ |
H A D | surface_platform_profile.c | 42 struct ssam_device *sdev; member in struct:ssam_platform_profile_device 64 static int ssam_tmp_profile_get(struct ssam_device *sdev, enum ssam_tmp_profile *p) argument 69 status = ssam_retry(__ssam_tmp_profile_get, sdev, &info); 77 static int ssam_tmp_profile_set(struct ssam_device *sdev, enum ssam_tmp_profile p) argument 81 return ssam_retry(__ssam_tmp_profile_set, sdev, &profile_le); 84 static int ssam_fan_profile_set(struct ssam_device *sdev, enum ssam_fan_profile p) argument 88 return ssam_retry(__ssam_fan_profile_set, sdev->ctrl, &profile); 91 static int convert_ssam_tmp_to_profile(struct ssam_device *sdev, enum ssam_tmp_profile p) argument 107 dev_err(&sdev->dev, "invalid performance profile: %d", p); 113 static int convert_profile_to_ssam_tmp(struct ssam_device *sdev, enu argument 135 convert_profile_to_ssam_fan(struct ssam_device *sdev, enum platform_profile_option p) argument 204 surface_platform_profile_probe(struct ssam_device *sdev) argument 227 surface_platform_profile_remove(struct ssam_device *sdev) argument [all...] |
/linux-master/include/trace/events/ |
H A D | sof_intel.h | 18 TP_PROTO(struct snd_sof_dev *sdev, char *source), 19 TP_ARGS(sdev, source), 21 __string(device_name, dev_name(sdev->dev)) 33 TP_ARGS(struct snd_sof_dev *sdev, u32 msg, u32 msg_ext), 34 TP_PROTO(sdev, msg, msg_ext), 36 __string(device_name, dev_name(sdev->dev)) 50 TP_PROTO(struct snd_sof_dev *sdev, u32 msg, u32 msg_ext), 51 TP_ARGS(sdev, msg, msg_ext) 55 TP_PROTO(struct snd_sof_dev *sdev, u32 msg, u32 msg_ext), 56 TP_ARGS(sdev, ms [all...] |
/linux-master/sound/soc/sof/mediatek/mt8195/ |
H A D | mt8195.c | 31 static int mt8195_get_mailbox_offset(struct snd_sof_dev *sdev) argument 36 static int mt8195_get_window_offset(struct snd_sof_dev *sdev, u32 id) argument 41 static int mt8195_send_msg(struct snd_sof_dev *sdev, argument 44 struct adsp_priv *priv = sdev->pdata->hw_pdata; 46 sof_mailbox_write(sdev, sdev->host_box.offset, msg->msg_data, 57 spin_lock_irqsave(&priv->sdev->ipc_lock, flags); 58 snd_sof_ipc_process_reply(priv->sdev, 0); 59 spin_unlock_irqrestore(&priv->sdev->ipc_lock, flags); 69 sof_mailbox_read(priv->sdev, pri 218 mt8195_run(struct snd_sof_dev *sdev) argument 229 mt8195_dsp_probe(struct snd_sof_dev *sdev) argument 337 mt8195_dsp_shutdown(struct snd_sof_dev *sdev) argument 342 mt8195_dsp_remove(struct snd_sof_dev *sdev) argument 352 mt8195_dsp_suspend(struct snd_sof_dev *sdev, u32 target_state) argument 384 mt8195_dsp_resume(struct snd_sof_dev *sdev) argument 404 mt8195_get_bar_index(struct snd_sof_dev *sdev, u32 type) argument 409 mt8195_pcm_hw_params(struct snd_sof_dev *sdev, struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params, struct snd_sof_platform_stream_params *platform_params) argument 419 mt8195_pcm_pointer(struct snd_sof_dev *sdev, struct snd_pcm_substream *substream) argument 451 mt8195_adsp_dump(struct snd_sof_dev *sdev, u32 flags) argument [all...] |
/linux-master/drivers/scsi/ |
H A D | scsi_sysfs.c | 234 /* DEVICE_ATTR(state) clashes with dev_attr_state for sdev */ 438 struct scsi_device *sdev; local 440 sdev = class_to_sdev(class_dev); 441 put_device(&sdev->sdev_gendev); 446 struct scsi_device *sdev = to_scsi_device(dev); local 457 scsi_dh_release_device(sdev); 459 parent = sdev->sdev_gendev.parent; 461 spin_lock_irqsave(sdev->host->host_lock, flags); 462 list_del(&sdev->siblings); 463 list_del(&sdev 546 const struct scsi_device *sdev; local 684 struct scsi_device *sdev = to_scsi_device(dev); local 693 struct scsi_device *sdev = to_scsi_device(dev); local 704 struct scsi_device *sdev; local 713 struct scsi_device *sdev; local 725 struct scsi_device *sdev; local 734 struct scsi_device *sdev; local 765 struct scsi_device *sdev = to_scsi_device(dev); local 800 struct scsi_device *sdev = to_scsi_device(dev); local 857 struct scsi_device *sdev = to_scsi_device(dev); local 872 struct scsi_device *sdev = to_scsi_device(dev); local 885 struct scsi_device *sdev = to_scsi_device(dev); local 937 struct scsi_device *sdev = to_scsi_device(dev); local 983 struct scsi_device *sdev; local 1034 struct scsi_device *sdev = to_scsi_device(dev); local 1062 struct scsi_device *sdev = to_scsi_device(dev); local 1085 struct scsi_device *sdev = to_scsi_device(dev); local 1115 struct scsi_device *sdev = to_scsi_device(dev); local 1127 struct scsi_device *sdev = to_scsi_device(dev); local 1168 struct scsi_device *sdev = to_scsi_device(dev); local 1188 struct scsi_device *sdev = to_scsi_device(dev); local 1206 struct scsi_device *sdev; local 1217 struct scsi_device *sdev = to_scsi_device(dev); local 1234 struct scsi_device *sdev = to_scsi_device(dev); local 1262 struct scsi_device *sdev = to_scsi_device(dev); local 1280 struct scsi_device *sdev = to_scsi_device(dev); local 1404 scsi_sysfs_add_sdev(struct scsi_device *sdev) argument 1460 __scsi_remove_device(struct scsi_device *sdev) argument 1534 scsi_remove_device(struct scsi_device *sdev) argument 1548 struct scsi_device *sdev; local 1646 scsi_sysfs_device_initialize(struct scsi_device *sdev) argument [all...] |