Searched refs:dev (Results 1 - 25 of 20581) sorted by last modified time

1234567891011>>

/linux-master/tools/testing/cxl/test/
H A Dcxl.c49 static inline bool is_multi_bridge(struct device *dev) argument
54 if (&cxl_host_bridge[i]->dev == dev)
59 static inline bool is_single_bridge(struct device *dev) argument
64 if (&cxl_hb_single[i]->dev == dev)
89 static bool is_mock_dev(struct device *dev) argument
94 if (dev == &cxl_mem[i]->dev)
97 if (dev
470 struct device *dev; member in struct:cxl_cedt_context
478 struct device *dev = ctx->dev; local
510 is_mock_bridge(struct device *dev) argument
527 is_mock_port(struct device *dev) argument
654 map_targets(struct device *dev, void *data) argument
728 first_decoder(struct device *dev, void *data) argument
750 struct device *dev; local
1049 mock_companion(struct acpi_device *adev, struct device *dev) argument
[all...]
/linux-master/drivers/cxl/core/
H A Dport.c49 static ssize_t devtype_show(struct device *dev, struct device_attribute *attr, argument
52 return sysfs_emit(buf, "%s\n", dev->type->name);
56 static int cxl_device_id(const struct device *dev) argument
58 if (dev->type == &cxl_nvdimm_bridge_type)
60 if (dev->type == &cxl_nvdimm_type)
62 if (dev->type == CXL_PMEM_REGION_TYPE())
64 if (dev->type == CXL_DAX_REGION_TYPE())
66 if (is_cxl_port(dev)) {
67 if (is_cxl_root(to_cxl_port(dev)))
71 if (is_cxl_memdev(dev))
80 modalias_show(struct device *dev, struct device_attribute *attr, char *buf) argument
97 start_show(struct device *dev, struct device_attribute *attr, char *buf) argument
106 size_show(struct device *dev, struct device_attribute *attr, char *buf) argument
132 target_type_show(struct device *dev, struct device_attribute *attr, char *buf) argument
172 target_list_show(struct device *dev, struct device_attribute *attr, char *buf) argument
193 mode_show(struct device *dev, struct device_attribute *attr, char *buf) argument
201 mode_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t len) argument
223 dpa_resource_show(struct device *dev, struct device_attribute *attr, char *buf) argument
233 dpa_size_show(struct device *dev, struct device_attribute *attr, char *buf) argument
242 dpa_size_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t len) argument
271 interleave_granularity_show(struct device *dev, struct device_attribute *attr, char *buf) argument
282 interleave_ways_show(struct device *dev, struct device_attribute *attr, char *buf) argument
292 qos_class_show(struct device *dev, struct device_attribute *attr, char *buf) argument
343 struct device *dev = kobj_to_dev(kobj); local
417 cxl_endpoint_decoder_release(struct device *dev) argument
425 cxl_switch_decoder_release(struct device *dev) argument
433 to_cxl_root_decoder(struct device *dev) argument
442 cxl_root_decoder_release(struct device *dev) argument
470 is_endpoint_decoder(struct device *dev) argument
476 is_root_decoder(struct device *dev) argument
482 is_switch_decoder(struct device *dev) argument
488 to_cxl_decoder(struct device *dev) argument
498 to_cxl_endpoint_decoder(struct device *dev) argument
507 to_cxl_switch_decoder(struct device *dev) argument
530 cxl_port_release(struct device *dev) argument
548 decoders_committed_show(struct device *dev, struct device_attribute *attr, char *buf) argument
584 is_cxl_port(const struct device *dev) argument
590 to_cxl_port(const struct device *dev) argument
675 struct device *dev; local
837 struct device *dev; local
989 dev_is_cxl_root_child(struct device *dev) argument
1308 match_port_by_dport(struct device *dev, const void *data) argument
1328 struct device *dev; local
1374 grandparent(struct device *dev) argument
1411 struct device *dev = &cxlmd->dev; local
1455 port_has_memdev(struct device *dev, const void *data) argument
1480 struct device *dev; local
1520 find_component_registers(struct device *dev) argument
1608 struct device *dev = &cxlmd->dev; local
1765 struct device *dev; local
1954 struct device *dev; local
2022 cxld_unregister(void *dev) argument
2079 cxl_bus_uevent(const struct device *dev, struct kobj_uevent_env *env) argument
2085 cxl_bus_match(struct device *dev, struct device_driver *drv) argument
2090 cxl_bus_probe(struct device *dev) argument
2099 cxl_bus_remove(struct device *dev) argument
2201 struct device *dev; local
[all...]
/linux-master/sound/soc/ti/
H A Ddavinci-mcasp.c80 struct device *dev; member in struct:davinci_mcasp
373 dev_warn(mcasp->dev, "Transmit buffer underflow\n");
382 dev_warn(mcasp->dev, "unhandled tx event. txstat: 0x%08x\n",
404 dev_warn(mcasp->dev, "Receive buffer overflow\n");
413 dev_warn(mcasp->dev, "unhandled rx event. rxstat: 0x%08x\n",
451 pm_runtime_get_sync(mcasp->dev);
606 pm_runtime_put(mcasp->dev);
613 pm_runtime_get_sync(mcasp->dev);
644 dev_warn(mcasp->dev,
653 pm_runtime_put(mcasp->dev);
2471 davinci_mcasp_runtime_suspend(struct device *dev) argument
2497 davinci_mcasp_runtime_resume(struct device *dev) argument
[all...]
/linux-master/sound/soc/tegra/
H A Dtegra186_dspk.c184 static int __maybe_unused tegra186_dspk_runtime_suspend(struct device *dev) argument
186 struct tegra186_dspk *dspk = dev_get_drvdata(dev);
196 static int __maybe_unused tegra186_dspk_runtime_resume(struct device *dev) argument
198 struct tegra186_dspk *dspk = dev_get_drvdata(dev);
203 dev_err(dev, "failed to enable DSPK clock, err: %d\n", err);
219 struct device *dev = dai->dev; local
239 dev_err(dev, "Invalid DSPK client channels\n");
253 dev_err(dev, "unsupported format!\n");
282 dev_err(dev, "ca
416 tegra186_dspk_wr_reg(struct device *dev, unsigned int reg) argument
428 tegra186_dspk_rd_reg(struct device *dev, unsigned int reg) argument
444 tegra186_dspk_volatile_reg(struct device *dev, unsigned int reg) argument
478 struct device *dev = &pdev->dev; local
[all...]
/linux-master/sound/soc/sof/
H A Dpcm.c17 #include "sof-of-dev.h"
37 return snd_sof_create_page_table(component->dev, dmab,
70 dev_err(component->dev,
102 dev_err(sdev->dev, "error: dai %s has no valid %s path\n", dai->name,
111 dev_err(sdev->dev, "error: failed widget list set up for pcm %d dir %d\n",
154 dev_dbg(component->dev, "pcm: hw params stream %d dir %d\n",
159 dev_err(component->dev, "platform hw params failed\n");
211 dev_dbg(component->dev, "pcm: free stream %d dir %d\n",
232 dev_err(component->dev, "error: platform hw free failed\n");
264 dev_dbg(component->dev, "pc
[all...]
H A Dipc4-pcm.c92 dev_dbg(sdev->dev, "ipc4 set pipeline instance %d state %d", instance_id, state);
316 dev_err(sdev->dev, "Unexpected state %d", state);
336 dev_err(sdev->dev,
392 dev_dbg(sdev->dev, "trigger cmd: %d state: %d\n", cmd, state);
468 dev_err(sdev->dev, "failed to pause all pipelines\n");
497 dev_err(sdev->dev, "failed to set final state %d for all pipelines\n", state);
543 dev_err(component->dev, "%s: unhandled trigger cmd %d\n", __func__, cmd);
632 dev_err(sdev->dev, "Unable to select sampling rate for DAI link\n");
658 dev_err(component->dev, "%s: No DAI found with name %s\n", __func__,
665 dev_err(component->dev, "
[all...]
H A Dipc3-pcm.c120 dev_dbg(component->dev, "stream_tag %d", pcm.params.stream_tag);
126 dev_err(component->dev, "HW params ipc failed for stream %d\n",
134 dev_err(component->dev, "%s: invalid stream data offset for PCM %d\n",
174 dev_err(component->dev, "Unhandled trigger cmd %d\n", cmd);
201 dev_dbg(sdev->dev, "DAI config %d matches pcm hw params\n", i);
222 dev_err(component->dev, "%s: No DAI found with name %s\n", __func__,
229 dev_err(component->dev, "%s: No private data found for DAI %s\n", __func__,
248 dev_err(component->dev, "No available DAI format!\n");
263 dev_dbg(component->dev, "rate_min: %d rate_max: %d\n", rate->min, rate->max);
264 dev_dbg(component->dev, "channels_mi
[all...]
H A Dcore.c16 #include "sof-of-dev.h"
97 dev_printk(level, sdev->dev, "unexpected fault %#010x trace %#010x\n",
106 dev_printk(level, sdev->dev, "reason: %s (%#x)\n",
108 dev_printk(level, sdev->dev, "trace point: %#010x\n", tracep_code);
114 dev_printk(level, sdev->dev, "unknown panic code: %#x\n",
116 dev_printk(level, sdev->dev, "trace point: %#010x\n", tracep_code);
119 dev_printk(level, sdev->dev, "panic at %s:%d\n", panic_info->filename,
132 dev_dbg(sdev->dev, "fw_state change: %d -> %d\n", sdev->fw_state, new_state);
205 dev_err(sdev->dev, "error: no matching ASoC machine driver found - aborting probe\n");
209 dev_warn(sdev->dev, "Forc
234 struct device *dev = sdev->dev; local
573 snd_sof_device_probe(struct device *dev, struct snd_sof_pdata *plat_data) argument
655 snd_sof_device_probe_completed(struct device *dev) argument
663 snd_sof_device_remove(struct device *dev) argument
721 snd_sof_device_shutdown(struct device *dev) argument
[all...]
H A Ddebug.c87 if (pm_runtime_active(sdev->dev) ||
91 dev_info(sdev->dev,
97 if (!pm_runtime_active(sdev->dev) &&
99 dev_err(sdev->dev,
143 dfse = devm_kzalloc(sdev->dev, sizeof(*dfse), GFP_KERNEL);
159 dfse->cache_buf = devm_kzalloc(sdev->dev, size, GFP_KERNEL);
199 dfse = devm_kzalloc(sdev->dev, sizeof(*dfse), GFP_KERNEL);
232 ret = pm_runtime_resume_and_get(sdev->dev);
234 dev_err(sdev->dev, "error: enabling device failed: %d\n", ret);
239 pm_runtime_mark_last_busy(sdev->dev);
[all...]
/linux-master/sound/soc/meson/
H A Daxg-tdm-interface.c53 dev_err(dai->dev, "interface has no slot\n");
77 dev_err(dai->dev, "unsupported slot width: %d\n", slot_width);
108 dev_warn(dai->dev, "master clock not provided\n");
126 dev_err(dai->dev, "cpu clock master: mclk missing\n");
136 dev_err(dai->dev, "only BP_FP and BC_FC are supported\n");
155 dev_err(dai->dev, "interface has not slots\n");
175 dev_err(dai->dev, "can't set iface rate constraint\n");
196 dev_err(dai->dev, "not enough slots for channels\n");
201 dev_err(dai->dev, "incompatible slots width for stream\n");
222 dev_err(dai->dev, "settin
523 struct device *dev = &pdev->dev; local
[all...]
H A Daxg-tdm-formatter.c254 dev_err(c->dev, "Unexpected event %d\n", event);
264 struct device *dev = &pdev->dev; local
269 drv = of_device_get_match_data(dev);
271 dev_err(dev, "failed to match device\n");
275 formatter = devm_kzalloc(dev, sizeof(*formatter), GFP_KERNEL);
285 formatter->map = devm_regmap_init_mmio(dev, regs, drv->regmap_cfg);
287 dev_err(dev, "failed to init regmap: %ld\n",
293 formatter->pclk = devm_clk_get(dev, "pclk");
295 return dev_err_probe(dev, PTR_ER
[all...]
H A Daxg-card.c69 dev_err(codec_dai->dev,
78 dev_err(snd_soc_rtd_to_cpu(rtd, 0)->dev, "setting tdm link slots failed\n");
96 dev_err(snd_soc_rtd_to_cpu(rtd, 0)->dev, "setting tdm link slots failed\n");
119 lb->name = devm_kasprintf(card->dev, GFP_KERNEL, "%s-lb", pad->name);
123 dlc = devm_kzalloc(card->dev, sizeof(*dlc), GFP_KERNEL);
164 be->tx_mask = devm_kcalloc(card->dev, AXG_TDM_NUM_LANES,
166 be->rx_mask = devm_kcalloc(card->dev, AXG_TDM_NUM_LANES,
193 dev_err(card->dev, "tdm link has no cpu slots\n");
209 dev_err(card->dev, "bad slot number\n");
226 codec_mask = devm_kcalloc(card->dev, lin
[all...]
H A Daxg-fifo.c65 return dai->dev;
233 struct device *dev = axg_fifo_dev(ss); local
256 IRQF_ONESHOT, dev_name(dev), ss);
320 SNDRV_DMA_TYPE_DEV, card->dev,
335 struct device *dev = &pdev->dev; local
341 data = of_device_get_match_data(dev);
343 dev_err(dev, "failed to match device\n");
347 fifo = devm_kzalloc(dev, sizeof(*fifo), GFP_KERNEL);
356 fifo->map = devm_regmap_init_mmio(dev, reg
[all...]
/linux-master/sound/soc/intel/boards/
H A Dbytcr_rt5640.c113 static void log_quirks(struct device *dev) argument
125 dev_info(dev, "quirk DMIC1_MAP enabled\n");
128 dev_info(dev, "quirk DMIC2_MAP enabled\n");
131 dev_info(dev, "quirk IN1_MAP enabled\n");
134 dev_info(dev, "quirk IN3_MAP enabled\n");
137 dev_info(dev, "quirk NO_INTERNAL_MIC_MAP enabled\n");
140 dev_err(dev, "quirk map 0x%x is not supported, microphone input will not work\n", map);
144 dev_info(dev, "quirk HSMIC2_ON_IN1 enabled\n");
146 dev_info(dev, "quirk realtek,jack-detect-source %ld\n",
148 dev_info(dev, "quir
1641 struct device *dev = &pdev->dev; local
[all...]
/linux-master/sound/soc/intel/avs/
H A Dtopology.c289 dev_err(comp->dev, "invalid array size 0x%x\n", array_size);
296 dev_err(comp->dev, "invalid array size 0x%x\n", array_size);
314 dev_err(comp->dev, "unknown token type %d\n", tuples->type);
319 dev_err(comp->dev, "parsing %zu tokens of %d type failed: %d\n",
401 struct snd_soc_acpi_mach *mach = dev_get_platdata(comp->card->dev);
434 dev_err(comp->dev, "invalid dictionary header, expected: %d\n",
440 *dict = devm_kcalloc(comp->card->dev, *num_entries, entry_size, GFP_KERNEL);
468 dev_err(comp->dev, "parse entry: %d of type: %d failed: %d\n",
863 mach = dev_get_platdata(comp->card->dev);
909 pins = devm_kcalloc(comp->card->dev, num_pin
[all...]
H A Dicl.c105 dev_dbg(adev->dev, "No slot offset found for: %x\n",
/linux-master/sound/soc/codecs/
H A Dwsa881x.c440 static bool wsa881x_readable_register(struct device *dev, unsigned int reg) argument
600 static bool wsa881x_volatile_register(struct device *dev, unsigned int reg) argument
672 struct device *dev; member in struct:wsa881x_priv
753 ret = pm_runtime_resume_and_get(comp->dev);
778 dev_err(comp->dev, "Failed to change PA gain");
783 pm_runtime_mark_last_busy(comp->dev);
784 pm_runtime_put_autosuspend(comp->dev);
983 struct wsa881x_priv *wsa881x = dev_get_drvdata(dai->dev);
1004 struct wsa881x_priv *wsa881x = dev_get_drvdata(dai->dev);
1014 struct wsa881x_priv *wsa881x = dev_get_drvdata(dai->dev);
1115 struct device *dev = &pdev->dev; local
1177 wsa881x_runtime_suspend(struct device *dev) argument
1190 wsa881x_runtime_resume(struct device *dev) argument
[all...]
H A Drt722-sdca.h231 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 Drt722-sdca.c37 dev_err(&rt722->slave->dev,
53 dev_err(&rt722->slave->dev,
171 dev_dbg(&rt722->slave->dev,
207 dev_dbg(&rt722->slave->dev,
209 dev_dbg(&rt722->slave->dev,
211 dev_dbg(&rt722->slave->dev,
268 dev_dbg(&rt722->slave->dev, "%s, btn_type=0x%x\n", __func__, btn_type);
301 dev_dbg(&rt722->slave->dev, "in %s enable\n", __func__);
326 ret = pm_runtime_resume_and_get(component->dev);
329 dev_err(component->dev, "
1110 rt722_sdca_parse_dt(struct rt722_sdca_priv *rt722, struct device *dev) argument
1341 rt722_sdca_init(struct device *dev, struct regmap *regmap, struct regmap *mbq_regmap, struct sdw_slave *slave) argument
1510 rt722_sdca_io_init(struct device *dev, struct sdw_slave *slave) argument
[all...]
H A Drt715-sdca.c43 dev_err(&rt715->slave->dev,
61 dev_err(&rt715->slave->dev,
155 dev_err(component->dev, "%s: Failed to write 0x%x=0x%x\n",
191 dev_err(component->dev, "%s: Failed to write 0x%x=0x%x\n",
227 dev_err(component->dev, "%s: Failed to write 0x%x=0x%x\n",
249 dev_err(component->dev, "%s: Failed to read 0x%x, ret=%d\n",
274 dev_err(component->dev, "%s: Failed to read 0x%x, ret=%d\n",
300 dev_err(component->dev, "%s: Failed to read 0x%x, ret=%d\n",
309 dev_err(component->dev, "%s: Failed to read 0x%x, ret=%d\n",
770 ret = pm_runtime_resume(component->dev);
969 rt715_sdca_init(struct device *dev, struct regmap *mbq_regmap, struct regmap *regmap, struct sdw_slave *slave) argument
1022 rt715_sdca_io_init(struct device *dev, struct sdw_slave *slave) argument
[all...]
H A Drt715-sdw.c24 static bool rt715_readable_register(struct device *dev, unsigned int reg) argument
122 static bool rt715_volatile_register(struct device *dev, unsigned int reg) argument
150 struct device *dev = context; local
151 struct rt715_priv *rt715 = dev_get_drvdata(dev);
260 dev_dbg(dev, "[%s] %04x => %08x\n", __func__, reg, *val);
262 dev_dbg(dev, "[%s] %04x %04x %04x %04x => %08x\n", __func__,
265 dev_dbg(dev, "[%s] %04x %04x => %08x\n",
273 struct device *dev = context; local
274 struct rt715_priv *rt715 = dev_get_drvdata(dev);
339 dev_dbg(dev, "[
529 rt715_dev_suspend(struct device *dev) argument
543 rt715_dev_resume(struct device *dev) argument
[all...]
H A Drt5645.c478 static bool rt5645_volatile_register(struct device *dev, unsigned int reg) argument
514 static bool rt5645_readable_register(struct device *dev, unsigned int reg) argument
887 dev_err(component->dev, "Failed to set DMIC clock\n");
2761 dev_err(component->dev, "Unsupported clock setting\n");
2766 dev_err(component->dev, "Unsupported frame size: %d\n", frame_size);
2782 dev_dbg(dai->dev, "bclk is %dHz and lrck is %dHz\n",
2784 dev_dbg(dai->dev, "bclk_ms is %d and pre_div is %d for iis %d\n",
2820 dev_err(component->dev, "Invalid dai->id: %d\n", dai->id);
2891 dev_err(component->dev, "Invalid dai->id: %d\n", dai->id);
2918 dev_err(component->dev, "Invali
3912 rt5645_check_dp(struct device *dev) argument
3923 rt5645_parse_dt(struct device *dev, struct rt5645_platform_data *pdata) argument
4304 rt5645_sys_suspend(struct device *dev) argument
4317 rt5645_sys_resume(struct device *dev) argument
[all...]
H A Dda7219-aad.c83 dev_warn(component->dev, "Mic bias status check timed out");
128 dev_err(component->dev, "Failed to enable mclk - %d\n", ret);
364 dev_warn_ratelimited(component->dev, "Failed to read IRQ events: %d\n", ret);
390 dev_dbg(component->dev, "IRQ events = 0x%x|0x%x, status = 0x%x\n",
496 da7219_aad_fw_micbias_pulse_lvl(struct device *dev, u32 val) argument
504 dev_warn(dev, "Invalid micbias pulse level");
510 da7219_aad_fw_btn_cfg(struct device *dev, u32 val) argument
528 dev_warn(dev, "Invalid button config");
534 da7219_aad_fw_mic_det_thr(struct device *dev, u32 val) argument
546 dev_warn(dev, "Invali
552 da7219_aad_fw_jack_ins_deb(struct device *dev, u32 val) argument
578 da7219_aad_fw_jack_ins_det_pty(struct device *dev, const char *str) argument
591 da7219_aad_fw_jack_det_rate(struct device *dev, const char *str) argument
608 da7219_aad_fw_jack_rem_deb(struct device *dev, u32 val) argument
626 da7219_aad_fw_btn_avg(struct device *dev, u32 val) argument
644 da7219_aad_fw_adc_1bit_rpt(struct device *dev, u32 val) argument
661 da7219_aad_fw_to_pdata(struct device *dev) argument
1061 struct device *dev = &i2c->dev; local
[all...]
H A Dcs35l56.c92 ret = pm_runtime_resume_and_get(cs35l56->base.dev);
102 pm_runtime_mark_last_busy(cs35l56->base.dev);
103 pm_runtime_put_autosuspend(cs35l56->base.dev);
106 dev_err(cs35l56->base.dev, "Failed to read ASP1 mixer regs: %d\n", ret);
120 dev_warn(cs35l56->base.dev, "Could not find control %s\n", name);
306 dev_dbg(cs35l56->base.dev, "play: %d\n", event);
321 dev_err(cs35l56->base.dev, "PS0 wait failed: %d\n", ret);
448 dev_dbg(cs35l56->base.dev, "%s: %d\n", __func__, event);
459 dev_dbg(cs35l56->base.dev, "%s: %#x\n", __func__, fmt);
469 dev_err(cs35l56->base.dev, "Unsupporte
1107 cs35l56_runtime_suspend_i2c_spi(struct device *dev) argument
1114 cs35l56_runtime_resume_i2c_spi(struct device *dev) argument
1121 cs35l56_system_suspend(struct device *dev) argument
1143 cs35l56_system_suspend_late(struct device *dev) argument
1165 cs35l56_system_suspend_no_irq(struct device *dev) argument
1179 cs35l56_system_resume_no_irq(struct device *dev) argument
1199 cs35l56_system_resume_early(struct device *dev) argument
1226 cs35l56_system_resume(struct device *dev) argument
1304 struct device *dev = cs35l56->base.dev; local
[all...]
H A Dcs35l56-shared.c80 static bool cs35l56_readable_reg(struct device *dev, unsigned int reg) argument
149 static bool cs35l56_precious_reg(struct device *dev, unsigned int reg) argument
161 static bool cs35l56_volatile_reg(struct device *dev, unsigned int reg) argument
269 dev_err(cs35l56_base->dev, "Failed to sync ASP1 registers: %d\n", ret);
285 dev_warn(cs35l56_base->dev, "MBOX command %#x failed: %d\n", command, ret);
313 dev_err(cs35l56_base->dev, "Failed to poll PM_CUR_STATE to 1 is %d (ret %d)\n",
342 dev_err(cs35l56_base->dev, "Firmware boot timed out(%d): HALO_STATE=%#x\n",
398 ret = devm_request_threaded_irq(cs35l56_base->dev, irq, NULL, cs35l56_irq,
404 dev_err(cs35l56_base->dev, "Failed to get IRQ: %d\n", ret);
425 rv = pm_runtime_resume_and_get(cs35l56_base->dev);
[all...]

Completed in 230 milliseconds

1234567891011>>