/linux-master/tools/testing/cxl/test/ |
H A D | cxl.c | 49 static inline bool is_multi_bridge(struct device *dev) 59 static inline bool is_single_bridge(struct device *dev) 89 static bool is_mock_dev(struct device *dev) 461 static bool is_mock_port(struct device *dev); 466 * struct member is a cxl_test device being probed by the cxl_acpi 470 struct device *dev; 478 struct device *dev = ctx->dev; 510 static bool is_mock_bridge(struct device *dev) 527 static bool is_mock_port(struct device *dev) 654 static int map_targets(struct device *de [all...] |
/linux-master/drivers/cxl/core/ |
H A D | port.c | 8 #include <linux/device.h> 26 * cross-device interleave coordination. The CXL core also establishes and 49 static ssize_t devtype_show(struct device *dev, struct device_attribute *attr, 56 static int cxl_device_id(const struct device *dev) 80 static ssize_t modalias_show(struct device *dev, struct device_attribute *attr, 97 static ssize_t start_show(struct device *dev, struct device_attribute *attr, 106 static ssize_t size_show(struct device *dev, struct device_attribute *attr, 116 static ssize_t name##_show(struct device *dev, \ 132 static ssize_t target_type_show(struct device *dev, 172 static ssize_t target_list_show(struct device *de [all...] |
/linux-master/arch/x86/xen/ |
H A D | enlighten_pv.c | 1274 C(device);
|
/linux-master/sound/soc/ti/ |
H A D | davinci-mcasp.c | 17 #include <linux/device.h> 80 struct device *dev; 2032 if (WARN_ON(!chan->device || !chan->device->dev)) { 2037 if (chan->device->dev->of_node) 2038 ret = of_property_read_string(chan->device->dev->of_node, 2471 static int davinci_mcasp_runtime_suspend(struct device *dev) 2497 static int davinci_mcasp_runtime_resume(struct device *dev)
|
/linux-master/sound/soc/tegra/ |
H A D | tegra186_dspk.c | 7 #include <linux/device.h> 184 static int __maybe_unused tegra186_dspk_runtime_suspend(struct device *dev) 196 static int __maybe_unused tegra186_dspk_runtime_resume(struct device *dev) 219 struct device *dev = dai->dev; 416 static bool tegra186_dspk_wr_reg(struct device *dev, unsigned int reg) 428 static bool tegra186_dspk_rd_reg(struct device *dev, unsigned int reg) 444 static bool tegra186_dspk_volatile_reg(struct device *dev, unsigned int reg) 478 struct device *dev = &pdev->dev;
|
/linux-master/sound/soc/sof/ |
H A D | core.c | 74 * @sdev: Pointer to the device's sdev 234 struct device *dev = sdev->dev; 526 * prevent the device from entering runtime suspend. 573 int snd_sof_device_probe(struct device *dev, struct snd_sof_pdata *plat_data) 582 /* initialize sof device */ 655 bool snd_sof_device_probe_completed(struct device *dev) 663 int snd_sof_device_remove(struct device *dev) 674 * Unregister any registered client device first before IPC and debugfs 700 dev_warn(dev, "error: %d failed to prepare DSP for device removal", 721 int snd_sof_device_shutdown(struct device *de [all...] |
/linux-master/sound/soc/meson/ |
H A D | axg-tdm-interface.c | 523 struct device *dev = &pdev->dev;
|
H A D | axg-tdm-formatter.c | 202 /* Clock our device */ 264 struct device *dev = &pdev->dev; 271 dev_err(dev, "failed to match device\n");
|
H A D | axg-fifo.c | 61 static struct device *axg_fifo_dev(struct snd_pcm_substream *ss) 233 struct device *dev = axg_fifo_dev(ss); 335 struct device *dev = &pdev->dev; 343 dev_err(dev, "failed to match device\n");
|
/linux-master/sound/soc/intel/boards/ |
H A D | bytcr_rt5640.c | 19 #include <linux/device.h> 104 struct device *codec_dev; 113 static void log_quirks(struct device *dev) 1151 static int byt_rt5640_add_codec_device_props(struct device *i2c_dev, 1212 /* Some Android devs specify IRQs/GPIOS in a special AMCR0F28 ACPI device */ 1641 struct device *dev = &pdev->dev; 1651 struct device *codec_dev;
|
/linux-master/sound/soc/codecs/ |
H A D | wsa881x.c | 440 static bool wsa881x_readable_register(struct device *dev, unsigned int reg) 600 static bool wsa881x_volatile_register(struct device *dev, unsigned int reg) 672 struct device *dev; 1115 struct device *dev = &pdev->dev; 1177 static int __maybe_unused wsa881x_runtime_suspend(struct device *dev) 1190 static int __maybe_unused wsa881x_runtime_resume(struct device *dev)
|
H A D | rt722-sdca.h | 231 int rt722_sdca_io_init(struct device *dev, struct sdw_slave *slave); 232 int rt722_sdca_init(struct device *dev, struct regmap *regmap,
|
H A D | rt722-sdca.c | 105 /* if owner is device then there is no button event from device */ 128 /* Host is owner, so set back to device */ 130 /* set owner to device */ 1110 static int rt722_sdca_parse_dt(struct rt722_sdca_priv *rt722, struct device *dev) 1341 int rt722_sdca_init(struct device *dev, struct regmap *regmap, 1363 * HW init will be performed when device reports present 1510 int rt722_sdca_io_init(struct device *dev, struct sdw_slave *slave) 1536 /* make sure the device does not suspend immediately */
|
H A D | rt715-sdca.c | 969 int rt715_sdca_init(struct device *dev, struct regmap *mbq_regmap, 990 * HW init will be performed when device reports present 1006 /* make sure the device does not suspend immediately */ 1011 /* important note: the device is NOT tagged as 'active' and will remain 1022 int rt715_sdca_io_init(struct device *dev, struct sdw_slave *slave)
|
H A D | rt715-sdw.c | 11 #include <linux/device.h> 24 static bool rt715_readable_register(struct device *dev, unsigned int reg) 122 static bool rt715_volatile_register(struct device *dev, unsigned int reg) 150 struct device *dev = context; 273 struct device *dev = context; 529 static int __maybe_unused rt715_dev_suspend(struct device *dev) 543 static int __maybe_unused rt715_dev_resume(struct device *dev)
|
H A D | rt5645.c | 478 static bool rt5645_volatile_register(struct device *dev, unsigned int reg) 514 static bool rt5645_readable_register(struct device *dev, unsigned int reg) 974 * @component: SoC audio component device. 3788 * only device to have both board_ and product_name not set. 3912 static bool rt5645_check_dp(struct device *dev) 3923 static void rt5645_parse_dt(struct device *dev, struct rt5645_platform_data *pdata) 3931 static void rt5645_get_pdata(struct device *codec_dev, struct rt5645_platform_data *pdata) 3956 const char *rt5645_components(struct device *codec_dev) 4304 static int __maybe_unused rt5645_sys_suspend(struct device *dev) 4317 static int __maybe_unused rt5645_sys_resume(struct device *de [all...] |
H A D | da7219-aad.c | 496 da7219_aad_fw_micbias_pulse_lvl(struct device *dev, u32 val) 510 da7219_aad_fw_btn_cfg(struct device *dev, u32 val) 534 da7219_aad_fw_mic_det_thr(struct device *dev, u32 val) 552 da7219_aad_fw_jack_ins_deb(struct device *dev, u32 val) 578 da7219_aad_fw_jack_ins_det_pty(struct device *dev, const char *str) 591 da7219_aad_fw_jack_det_rate(struct device *dev, const char *str) 608 da7219_aad_fw_jack_rem_deb(struct device *dev, u32 val) 626 da7219_aad_fw_btn_avg(struct device *dev, u32 val) 644 da7219_aad_fw_adc_1bit_rpt(struct device *dev, u32 val) 661 static struct da7219_aad_pdata *da7219_aad_fw_to_pdata(struct device *de [all...] |
H A D | cs35l56.c | 997 unsigned short vendor, device; local 1002 (snd_soc_card_get_pci_ssid(component->card, &vendor, &device) == 0)) { 1008 vendor, device, 1014 vendor, device); 1107 static int __maybe_unused cs35l56_runtime_suspend_i2c_spi(struct device *dev) 1114 static int __maybe_unused cs35l56_runtime_resume_i2c_spi(struct device *dev) 1121 int cs35l56_system_suspend(struct device *dev) 1132 * we can't check if our device is the source of an interrupt, and can't 1143 int cs35l56_system_suspend_late(struct device *dev) 1165 int cs35l56_system_suspend_no_irq(struct device *de [all...] |
H A D | cs35l56-shared.c | 80 static bool cs35l56_readable_reg(struct device *dev, unsigned int reg) 149 static bool cs35l56_precious_reg(struct device *dev, unsigned int reg) 161 static bool cs35l56_volatile_reg(struct device *dev, unsigned int reg) 768 * When the system is not using a reset_gpio ensure the device is 769 * awake, otherwise the device has just been released from reset and 806 dev_err(cs35l56_base->dev, "Unknown device %x\n", devid); 821 /* When any bus is restricted treat the device as secured */
|
H A D | cs35l56-sdw.c | 9 #include <linux/device.h> 438 static int __maybe_unused cs35l56_sdw_runtime_suspend(struct device *dev) 448 static int __maybe_unused cs35l56_sdw_runtime_resume(struct device *dev) 473 static int __maybe_unused cs35l56_sdw_system_suspend(struct device *dev) 496 static int __maybe_unused cs35l56_sdw_system_resume(struct device *dev) 508 struct device *dev = &peripheral->dev; 529 /* Start in cache-only until device is enumerated */
|
H A D | cs35l41.c | 1024 static int cs35l41_handle_pdata(struct device *dev, struct cs35l41_hw_cfg *hw_cfg) 1384 static int cs35l41_runtime_suspend(struct device *dev) 1401 static int cs35l41_runtime_resume(struct device *dev) 1430 static int cs35l41_sys_suspend(struct device *dev) 1440 static int cs35l41_sys_suspend_noirq(struct device *dev) 1450 static int cs35l41_sys_resume_noirq(struct device *dev) 1460 static int cs35l41_sys_resume(struct device *dev)
|
/linux-master/sound/pci/hda/ |
H A D | patch_realtek.c | 762 /* check subsystem ID and set up device-specific initialization; 6023 /* Enable DOCK device */ 6026 /* Enable DOCK device */ 6790 static int comp_bind(struct device *dev) 6805 static void comp_unbind(struct device *dev) 10592 * Basically the device should work as is without the fixup table. 12533 * Basically the device should work as is without the fixup table.
|
H A D | cs35l56_hda.c | 27 * The cs35l56_hda_dai_config[] reg sequence configures the device as 89 static void cs35l56_hda_playback_hook(struct device *dev, int action) 119 static int cs35l56_hda_runtime_suspend(struct device *dev) 129 static int cs35l56_hda_runtime_resume(struct device *dev) 640 /* If we downloaded firmware, reset the device and wait for it to boot */ 685 static int cs35l56_hda_bind(struct device *dev, struct device *master, void *master_data) 720 static void cs35l56_hda_unbind(struct device *dev, struct device *master, void *master_data) 748 static int cs35l56_hda_system_suspend(struct device *de [all...] |
/linux-master/sound/pci/emu10k1/ |
H A D | emumixer.c | 2225 kctl->id.device = pcm_device; 2232 kctl->id.device = pcm_device; 2239 kctl->id.device = pcm_device; 2247 kctl->id.device = multi_device; 2255 kctl->id.device = multi_device; 2263 kctl->id.device = multi_device; 2274 kctl->id.device = emu->pcm_efx->device; 2282 kctl->id.device = emu->pcm_efx->device; [all...] |
H A D | emu10k1_main.c | 850 * * PCM device nb. 2: 1014 {.vendor = 0x1102, .device = 0x0008, .subsystem = 0x10241102, 1060 {.vendor = 0x1102, .device = 0x0008, .subsystem = 0x10211102, 1087 {.vendor = 0x1102, .device = 0x0008, .subsystem = 0x10011102, 1126 {.vendor = 0x1102, .device = 0x0008, .subsystem = 0x20011102, 1139 {.vendor = 0x1102, .device = 0x0008, .subsystem = 0x42011102, 1152 {.vendor = 0x1102, .device = 0x0008, .subsystem = 0x40041102, 1166 {.vendor = 0x1102, .device = 0x0008, .subsystem = 0x40071102, 1178 {.vendor = 0x1102, .device = 0x0004, .subsystem = 0x40011102, 1188 {.vendor = 0x1102, .device [all...] |