Searched refs:device (Results 1 - 25 of 13818) sorted by last modified time

1234567891011>>

/linux-master/tools/testing/nvdimm/test/
H A Dndtest.c5 #include <linux/device.h>
198 static inline struct ndtest_priv *to_ndtest_priv(struct device *dev)
278 * fail_cmd_code, see the device attributes below
386 static ssize_t range_index_show(struct device *dev,
494 static ssize_t handle_show(struct device *dev, struct device_attribute *attr,
503 static ssize_t fail_cmd_show(struct device *dev, struct device_attribute *attr,
511 static ssize_t fail_cmd_store(struct device *dev, struct device_attribute *attr,
528 static ssize_t fail_cmd_code_show(struct device *dev, struct device_attribute *attr,
536 static ssize_t fail_cmd_code_store(struct device *dev, struct device_attribute *attr,
568 static ssize_t phys_id_show(struct device *de
[all...]
H A Dndtest.h33 struct device *dev;
/linux-master/tools/testing/cxl/test/
H A Dmem.c164 static struct mock_event_log *event_find_log(struct device *dev, int log_type)
231 static int mock_get_event(struct device *dev, struct cxl_mbox_cmd *cmd)
290 static int mock_clear_event(struct device *dev, struct cxl_mbox_cmd *cmd)
334 static void cxl_mock_event_trigger(struct device *dev)
953 * When master passphrase is disabled, the device shall
983 * If user passphrase is not set or supported by device, current
1202 * A real CXL device will write pi->write_data to the address
1336 struct device *dev = cxlds->dev;
1443 static ssize_t event_trigger_store(struct device *dev,
1454 struct device *de
[all...]
/linux-master/sound/usb/
H A Dmixer_quirks.c868 /* Native Instruments device quirks */
1942 * from Realtek. It is a UAC 1 device, and UAC 1 does not support jack
2139 /* RME Class Compliant device quirks */
2974 // device table index
3242 const struct snd_djm_device *device = &snd_djm_devices[device_idx]; local
3247 if (ctl_idx >= device->ncontrols)
3250 ctl = &device->controls[ctl_idx];
3272 const struct snd_djm_device *device = &snd_djm_devices[device_idx]; local
3274 if ((group >= device->ncontrols) || value >= device
3306 u8 device = (private_value & SND_DJM_DEVICE_MASK) >> SND_DJM_DEVICE_SHIFT; local
3320 u8 device = (private_value & SND_DJM_DEVICE_MASK) >> SND_DJM_DEVICE_SHIFT; local
3333 const struct snd_djm_device *device = &snd_djm_devices[device_idx]; local
[all...]
/linux-master/sound/synth/emux/
H A Demux_proc.c92 void snd_emux_proc_init(struct snd_emux *emu, struct snd_card *card, int device) argument
97 sprintf(name, "wavetableD%d", device);
/linux-master/sound/soc/xilinx/
H A Dxlnx_i2s.c176 struct device *dev = &pdev->dev;
H A Dxlnx_formatter_pcm.c132 struct device *dev)
284 struct device *dev = arg;
303 struct device *dev = arg;
593 struct device *dev = &pdev->dev;
679 dev_err(dev, "pcm platform device register failed\n");
/linux-master/sound/soc/uniphier/
H A Daio-dma.c141 struct device *dev = &aio->chip->pdev->dev;
208 struct device *dev = rtd->card->snd_card->dev;
243 * @pdev: the platform device
245 * Register and setup the DMA of AIO to transfer the sound data to device.
254 struct device *dev = &pdev->dev;
/linux-master/sound/soc/ti/
H A Domap-hdmi.c30 struct device *dssdev;
48 static void hdmi_dai_abort(struct device *dev)
312 struct device *dev = &pdev->dev;
H A Ddavinci-i2s.c17 #include <linux/device.h>
126 struct device *dev;
/linux-master/sound/soc/tegra/
H A Dtegra_asoc_machine.c383 tegra_machine_parse_phandle(struct device *dev, const char *name)
406 static int tegra_machine_register_codec(struct device *dev, const char *name)
430 struct device *dev = &pdev->dev;
558 dev_warn(dev, "Configuring clocks for a legacy device-tree\n");
H A Dtegra_pcm.c45 int tegra_pcm_platform_register(struct device *dev)
51 int devm_tegra_pcm_platform_register(struct device *dev)
57 int tegra_pcm_platform_register_with_chan_names(struct device *dev,
70 void tegra_pcm_platform_unregister(struct device *dev)
194 static int tegra_pcm_dma_allocate(struct device *dev, struct snd_soc_pcm_runtime *rtd,
210 struct device *dev = component->dev;
213 * Fallback for backwards-compatibility with older device trees that
/linux-master/sound/soc/sunxi/
H A Dsun8i-codec.c246 static int sun8i_codec_runtime_resume(struct device *dev)
270 static int sun8i_codec_runtime_suspend(struct device *dev)
1299 /* Add widgets for backward compatibility with old device trees. */
1593 static bool sun8i_codec_volatile_reg(struct device *dev, unsigned int reg)
H A Dsun50i-dmic.c8 #include <linux/device.h>
314 static int sun50i_dmic_runtime_suspend(struct device *dev)
324 static int sun50i_dmic_runtime_resume(struct device *dev)
H A Dsun4i-i2s.c1145 static bool sun4i_i2s_rd_reg(struct device *dev, unsigned int reg)
1156 static bool sun4i_i2s_wr_reg(struct device *dev, unsigned int reg)
1168 static bool sun4i_i2s_volatile_reg(struct device *dev, unsigned int reg)
1182 static bool sun8i_i2s_rd_reg(struct device *dev, unsigned int reg)
1193 static bool sun8i_i2s_volatile_reg(struct device *dev, unsigned int reg)
1293 static int sun4i_i2s_runtime_resume(struct device *dev)
1335 static int sun4i_i2s_runtime_suspend(struct device *dev)
1499 static int sun4i_i2s_init_regmap_fields(struct device *dev,
/linux-master/sound/soc/sof/
H A Dtopology.c12 #include <linux/device.h>
H A Dstream-ipc.c12 #include <linux/device.h>
H A Dsof-utils.c13 #include <linux/device.h>
25 int snd_sof_create_page_table(struct device *dev,
H A Dsof-utils.h13 struct device;
15 int snd_sof_create_page_table(struct device *dev,
H A Dsof-priv.h14 #include <linux/device.h>
170 * and DSP device(s).
554 struct device *dev;
699 int snd_sof_device_probe(struct device *dev, struct snd_sof_pdata *plat_data);
700 int snd_sof_device_remove(struct device *dev);
701 int snd_sof_device_shutdown(struct device *dev);
702 bool snd_sof_device_probe_completed(struct device *dev);
704 int snd_sof_runtime_suspend(struct device *dev);
705 int snd_sof_runtime_resume(struct device *dev);
706 int snd_sof_runtime_idle(struct device *de
[all...]
H A Dsof-pci-dev.c167 static void sof_pci_probe_complete(struct device *dev)
179 * runtime pm for pci device is "forbidden" by default.
194 struct device *dev = &pci->dev;
271 /* set callback to be called on successful device probe to enable runtime_pm */
295 /* release pci regions and disable device */
H A Dsof-client.c48 static void sof_client_auxdev_release(struct device *dev)
179 /* Platform dependent client device registration */
410 /* DMA buffer allocation in client drivers must use the core SOF device */
411 struct device *sof_client_get_dma_dev(struct sof_client_dev *cdev)
H A Dsof-client-probes.c196 struct device *dev = &cdev->auxdev.dev;
258 struct device *dev = &cdev->auxdev.dev;
317 struct device *dev = &cdev->auxdev.dev;
389 struct device *dev = &auxdev->dev;
H A Dsof-client-probes-ipc4.c62 * @cdev: SOF client device
71 struct device *dev = &cdev->auxdev.dev;
93 * @cdev: SOF client device
137 * @cdev: SOF client device
167 * @cdev: SOF client device
186 * @cdev: SOF client device
240 * @cdev: SOF client device
H A Dsof-client-ipc-msg-injector.c125 struct device *dev = &cdev->auxdev.dev;
257 struct device *dev = &auxdev->dev;
325 * type are enough to ensure that the parent SOF device resumes to bring the DSP

Completed in 370 milliseconds

1234567891011>>