/linux-6.3-rc2/drivers/dma/dw-edma/ |
A D | dw-edma-v0-debugfs.c | 38 { dw, #name, REGS_ADDR(dw, name) } 41 { dw, #name, REGS_CH_ADDR(dw, name, dir, ch), dir, ch } 44 { dw, #name, REGS_ADDR(dw, wr_##name) } 46 { dw, #name, REGS_ADDR(dw, rd_##name) } 49 { dw, #name, REGS_ADDR(dw, type.legacy.wr_##name) } 51 { dw, #name, REGS_ADDR(dw, type.legacy.rd_##name) } 54 { dw, #name, REGS_ADDR(dw, type.unroll.wr_##name) } 56 { dw, #name, REGS_ADDR(dw, type.unroll.rd_##name) } 64 struct dw_edma *dw; member 74 struct dw_edma *dw = entry->dw; in dw_edma_debugfs_u32_get() local [all …]
|
A D | dw-edma-v0-core.c | 30 return dw->chip->reg_base; in __dw_regs() 50 : GET_32(dw, rd_##name)) 157 writel_ch(dw, dir, ch, value, &(__dw_ch_regs(dw, dir, ch)->name)) 160 readl_ch(dw, dir, ch, &(__dw_ch_regs(dw, dir, ch)->name)) 213 writeq_ch(dw, dir, ch, value, &(__dw_ch_regs(dw, dir, ch)->name)) 216 readq_ch(dw, dir, ch, &(__dw_ch_regs(dw, dir, ch)->name)) 247 struct dw_edma *dw = chan->dw; in dw_edma_v0_core_ch_status() local 263 struct dw_edma *dw = chan->dw; in dw_edma_v0_core_clear_done_int() local 271 struct dw_edma *dw = chan->dw; in dw_edma_v0_core_clear_abort_int() local 362 struct dw_edma *dw = chan->dw; in dw_edma_v0_core_start() local [all …]
|
A D | dw-edma-core.c | 655 struct dw_edma *dw = dw_irq->dw; in dw_edma_interrupt() local 748 ch_cnt = dw->wr_ch_cnt + dw->rd_ch_cnt; in dw_edma_channel_setup() 756 chan->dw = dw; in dw_edma_channel_setup() 794 irq->dw = dw; in dw_edma_channel_setup() 869 ch_cnt = dw->wr_ch_cnt + dw->rd_ch_cnt; in dw_edma_irq_request() 882 IRQF_SHARED, dw->name, &dw->irq[0]); in dw_edma_irq_request() 964 if (!dw->wr_ch_cnt && !dw->rd_ch_cnt) in dw_edma_probe() 968 dw->wr_ch_cnt, dw->rd_ch_cnt); in dw_edma_probe() 971 dw->chan = devm_kcalloc(dev, dw->wr_ch_cnt + dw->rd_ch_cnt, in dw_edma_probe() 995 chip->dw = dw; in dw_edma_probe() [all …]
|
A D | Makefile | 3 obj-$(CONFIG_DW_EDMA) += dw-edma.o 4 dw-edma-$(CONFIG_DEBUG_FS) := dw-edma-v0-debugfs.o 5 dw-edma-objs := dw-edma-core.o \ 6 dw-edma-v0-core.o $(dw-edma-y) 7 obj-$(CONFIG_DW_EDMA_PCIE) += dw-edma-pcie.o
|
/linux-6.3-rc2/drivers/misc/ |
A D | dw-xdata-pcie.c | 82 mutex_lock(&dw->mutex); in dw_xdata_stop() 100 dw_xdata_stop(dw); in dw_xdata_start() 102 mutex_lock(&dw->mutex); in dw_xdata_start() 235 dw_xdata_stop(dw); in write_store() 272 dw_xdata_stop(dw); in read_store() 292 struct dw_xdata *dw; in dw_xdata_pcie_probe() local 315 dw = devm_kzalloc(dev, sizeof(*dw), GFP_KERNEL); in dw_xdata_pcie_probe() 316 if (!dw) in dw_xdata_pcie_probe() 334 dw->pdev = pdev; in dw_xdata_pcie_probe() 362 dw->max_wr_len * 4, dw->max_rd_len * 4); in dw_xdata_pcie_probe() [all …]
|
/linux-6.3-rc2/drivers/gpu/drm/bridge/synopsys/ |
A D | dw-hdmi-ahb-audio.c | 192 cs = dw->cs[dw->iec_offset++]; in dw_hdmi_reformat_s24() 196 i = dw->channels; in dw_hdmi_reformat_s24() 217 memset(dw->cs, 0, sizeof(dw->cs)); in dw_hdmi_create_cs() 240 dw->reformat(dw, offset, period); in dw_hdmi_start_dma() 286 if (dw->substream) in snd_dw_hdmi_irq() 328 eld = dw->data.get_eld(dw->data.hdmi); in dw_hdmi_open() 384 free_irq(dw->data.irq, dw); in dw_hdmi_close() 453 dw->iec_offset = 0; in dw_hdmi_prepare() 552 dw->card = card; in snd_dw_hdmi_probe() 553 dw->data = *data; in snd_dw_hdmi_probe() [all …]
|
A D | dw-hdmi-gp-audio.c | 79 struct snd_dw_hdmi *dw = dev_get_drvdata(dev); in audio_hw_params() local 89 dw_hdmi_set_sample_non_pcm(dw->data.hdmi, in audio_hw_params() 106 dw_hdmi_audio_enable(dw->data.hdmi); in audio_mute_stream() 108 dw_hdmi_audio_disable(dw->data.hdmi); in audio_mute_stream() 149 struct snd_dw_hdmi *dw; in snd_dw_hdmi_probe() local 159 dw = devm_kzalloc(&pdev->dev, sizeof(*dw), GFP_KERNEL); in snd_dw_hdmi_probe() 160 if (!dw) in snd_dw_hdmi_probe() 163 dw->data = *data; in snd_dw_hdmi_probe() 165 platform_set_drvdata(pdev, dw); in snd_dw_hdmi_probe() 172 return PTR_ERR_OR_ZERO(dw->audio_pdev); in snd_dw_hdmi_probe() [all …]
|
A D | Makefile | 2 obj-$(CONFIG_DRM_DW_HDMI) += dw-hdmi.o 3 obj-$(CONFIG_DRM_DW_HDMI_AHB_AUDIO) += dw-hdmi-ahb-audio.o 4 obj-$(CONFIG_DRM_DW_HDMI_GP_AUDIO) += dw-hdmi-gp-audio.o 5 obj-$(CONFIG_DRM_DW_HDMI_I2S_AUDIO) += dw-hdmi-i2s-audio.o 6 obj-$(CONFIG_DRM_DW_HDMI_CEC) += dw-hdmi-cec.o 8 obj-$(CONFIG_DRM_DW_MIPI_DSI) += dw-mipi-dsi.o
|
/linux-6.3-rc2/drivers/dma/dw/ |
A D | core.c | 465 struct dw_dma *dw = from_tasklet(dw, t, tasklet); in dw_dma_tasklet() local 1066 struct dw_dma *dw = chip->dw; in do_dma_probe() local 1127 dw->disable(dw); in do_dma_probe() 1130 dw->set_device_name(dw, chip->id); in do_dma_probe() 1144 dw->name, dw); in do_dma_probe() 1214 dma_writel(dw, CLEAR.XFER, dw->all_chan_mask); in do_dma_probe() 1277 struct dw_dma *dw = chip->dw; in do_dma_remove() local 1300 struct dw_dma *dw = chip->dw; in do_dw_dma_disable() local 1302 dw->disable(dw); in do_dw_dma_disable() 1309 struct dw_dma *dw = chip->dw; in do_dw_dma_enable() local [all …]
|
A D | dw.c | 93 snprintf(dw->name, sizeof(dw->name), "dw:dmac%d", id); in dw_dma_set_device_name() 98 do_dw_dma_off(dw); in dw_dma_disable() 103 do_dw_dma_on(dw); in dw_dma_enable() 108 struct dw_dma *dw; in dw_dma_probe() local 110 dw = devm_kzalloc(chip->dev, sizeof(*dw), GFP_KERNEL); in dw_dma_probe() 111 if (!dw) in dw_dma_probe() 117 dw->resume_chan = dw_dma_resume_chan; in dw_dma_probe() 120 dw->bytes2block = dw_dma_bytes2block; in dw_dma_probe() 125 dw->disable = dw_dma_disable; in dw_dma_probe() 126 dw->enable = dw_dma_enable; in dw_dma_probe() [all …]
|
A D | idma32.c | 219 snprintf(dw->name, sizeof(dw->name), "idma32:dmac%d", id); in idma32_set_device_name() 247 do_dw_dma_off(dw); in idma32_disable() 248 idma32_fifo_partition(dw); in idma32_disable() 253 idma32_fifo_partition(dw); in idma32_enable() 254 do_dw_dma_on(dw); in idma32_enable() 259 struct dw_dma *dw; in idma32_dma_probe() local 261 dw = devm_kzalloc(chip->dev, sizeof(*dw), GFP_KERNEL); in idma32_dma_probe() 262 if (!dw) in idma32_dma_probe() 279 dw->disable = idma32_disable; in idma32_dma_probe() 280 dw->enable = idma32_enable; in idma32_dma_probe() [all …]
|
A D | internal.h | 18 void do_dw_dma_on(struct dw_dma *dw); 19 void do_dw_dma_off(struct dw_dma *dw); 27 void dw_dma_acpi_controller_register(struct dw_dma *dw); 28 void dw_dma_acpi_controller_free(struct dw_dma *dw); 30 static inline void dw_dma_acpi_controller_register(struct dw_dma *dw) {} in dw_dma_acpi_controller_register() argument 31 static inline void dw_dma_acpi_controller_free(struct dw_dma *dw) {} in dw_dma_acpi_controller_free() argument 38 void dw_dma_of_controller_register(struct dw_dma *dw); 39 void dw_dma_of_controller_free(struct dw_dma *dw); 45 static inline void dw_dma_of_controller_register(struct dw_dma *dw) {} in dw_dma_of_controller_register() argument 46 static inline void dw_dma_of_controller_free(struct dw_dma *dw) {} in dw_dma_of_controller_free() argument
|
A D | of.c | 19 struct dw_dma *dw = ofdma->of_dma_data; in dw_dma_of_xlate() local 21 .dma_dev = dw->dma.dev, in dw_dma_of_xlate() 37 slave.m_master >= dw->pdata->nr_masters || in dw_dma_of_xlate() 38 slave.p_master >= dw->pdata->nr_masters || in dw_dma_of_xlate() 39 slave.channels >= BIT(dw->pdata->nr_channels))) in dw_dma_of_xlate() 101 void dw_dma_of_controller_register(struct dw_dma *dw) in dw_dma_of_controller_register() argument 103 struct device *dev = dw->dma.dev; in dw_dma_of_controller_register() 109 ret = of_dma_controller_register(dev->of_node, dw_dma_of_xlate, dw); in dw_dma_of_controller_register() 114 void dw_dma_of_controller_free(struct dw_dma *dw) in dw_dma_of_controller_free() argument 116 struct device *dev = dw->dma.dev; in dw_dma_of_controller_free()
|
A D | regs.h | 337 void (*disable)(struct dw_dma *dw); 338 void (*enable)(struct dw_dma *dw); 346 return dw->regs; in __dw_regs() 349 #define dma_readl(dw, name) \ argument 350 readl(&(__dw_regs(dw)->name)) 351 #define dma_writel(dw, name, val) \ argument 352 writel((val), &(__dw_regs(dw)->name)) 354 #define idma32_readq(dw, name) \ argument 355 hi_lo_readq(&(__dw_regs(dw)->name)) 356 #define idma32_writeq(dw, name, val) \ argument [all …]
|
/linux-6.3-rc2/Documentation/devicetree/bindings/mmc/ |
A D | samsung,exynos-dw-mshc.yaml | 18 - samsung,exynos4210-dw-mshc 19 - samsung,exynos4412-dw-mshc 20 - samsung,exynos5250-dw-mshc 21 - samsung,exynos5420-dw-mshc 23 - samsung,exynos7-dw-mshc 25 - axis,artpec8-dw-mshc 44 samsung,dw-mshc-ciu-div: 51 samsung,dw-mshc-ddr-timing: 65 samsung,dw-mshc-hs400-timing: 85 samsung,dw-mshc-sdr-timing: [all …]
|
A D | rockchip-dw-mshc.yaml | 17 - $ref: synopsys-dw-mshc-common.yaml# 27 - const: rockchip,rk2928-dw-mshc 29 - const: rockchip,rk3288-dw-mshc 32 - rockchip,px30-dw-mshc 33 - rockchip,rk1808-dw-mshc 34 - rockchip,rk3036-dw-mshc 35 - rockchip,rk3128-dw-mshc 36 - rockchip,rk3228-dw-mshc 37 - rockchip,rk3308-dw-mshc 38 - rockchip,rk3328-dw-mshc [all …]
|
/linux-6.3-rc2/drivers/gpu/drm/amd/amdgpu/ |
A D | amdgpu_ih.c | 254 uint32_t dw[8]; in amdgpu_ih_decode_iv_helper() local 265 entry->client_id = dw[0] & 0xff; in amdgpu_ih_decode_iv_helper() 268 entry->vmid = (dw[0] >> 24) & 0xf; in amdgpu_ih_decode_iv_helper() 269 entry->vmid_src = (dw[0] >> 31); in amdgpu_ih_decode_iv_helper() 270 entry->timestamp = dw[1] | ((u64)(dw[2] & 0xffff) << 32); in amdgpu_ih_decode_iv_helper() 272 entry->pasid = dw[3] & 0xffff; in amdgpu_ih_decode_iv_helper() 273 entry->pasid_src = dw[3] >> 31; in amdgpu_ih_decode_iv_helper() 274 entry->src_data[0] = dw[4]; in amdgpu_ih_decode_iv_helper() 275 entry->src_data[1] = dw[5]; in amdgpu_ih_decode_iv_helper() 276 entry->src_data[2] = dw[6]; in amdgpu_ih_decode_iv_helper() [all …]
|
/linux-6.3-rc2/drivers/gpu/drm/i915/display/ |
A D | intel_combo_phy_regs.h | 24 #define _ICL_PORT_CL_DW(dw, phy) (_ICL_COMBOPHY(phy) + \ argument 25 4 * (dw)) 53 #define _ICL_PORT_COMP_DW(dw, phy) (_ICL_COMBOPHY(phy) + \ argument 54 _ICL_PORT_COMP + 4 * (dw)) 85 _ICL_PORT_PCS_AUX + 4 * (dw)) 87 _ICL_PORT_PCS_GRP + 4 * (dw)) 89 _ICL_PORT_PCS_LN(ln) + 4 * (dw)) 104 #define _ICL_PORT_TX_DW_AUX(dw, phy) (_ICL_COMBOPHY(phy) + \ argument 105 _ICL_PORT_TX_AUX + 4 * (dw)) 107 _ICL_PORT_TX_GRP + 4 * (dw)) [all …]
|
/linux-6.3-rc2/drivers/dma/dw-axi-dmac/ |
A D | dw-axi-dmac-platform.c | 1102 struct dw_axi_dma *dw = chip->dw; in dw_axi_dma_interrupt() local 1112 chan = &dw->chan[i]; in dw_axi_dma_interrupt() 1372 struct dw_axi_dma *dw; in dw_probe() local 1381 dw = devm_kzalloc(&pdev->dev, sizeof(*dw), GFP_KERNEL); in dw_probe() 1382 if (!dw) in dw_probe() 1389 chip->dw = dw; in dw_probe() 1391 chip->dw->hdata = hdata; in dw_probe() 1421 if (!dw->chan) in dw_probe() 1456 dw->dma.dev = chip->dev; in dw_probe() 1477 dw->dma.dev->dma_parms = &dw->dma_parms; in dw_probe() [all …]
|
/linux-6.3-rc2/sound/soc/intel/avs/boards/ |
A D | i2s_test.c | 85 struct snd_soc_dapm_widget *dw; in avs_create_dapm_widgets() local 88 dw = devm_kcalloc(dev, num_dw, sizeof(*dw), GFP_KERNEL); in avs_create_dapm_widgets() 89 if (!dw) in avs_create_dapm_widgets() 92 dw[0].id = snd_soc_dapm_hp; in avs_create_dapm_widgets() 93 dw[0].reg = SND_SOC_NOPM; in avs_create_dapm_widgets() 94 dw[0].name = devm_kasprintf(dev, GFP_KERNEL, "ssp%dpb", ssp_port); in avs_create_dapm_widgets() 95 if (!dw[0].name) in avs_create_dapm_widgets() 98 dw[1].id = snd_soc_dapm_mic; in avs_create_dapm_widgets() 99 dw[1].reg = SND_SOC_NOPM; in avs_create_dapm_widgets() 101 if (!dw[1].name) in avs_create_dapm_widgets() [all …]
|
/linux-6.3-rc2/drivers/edac/ |
A D | i5100_edac.c | 476 u32 dw; in i5100_read_log() local 543 u32 dw, dw2; in i5100_check_error() local 571 u32 dw; in i5100_refresh_scrubbing() local 579 if (i5100_mc_scrbdone(dw)) { in i5100_refresh_scrubbing() 595 u32 dw; in i5100_set_scrub_rate() local 600 dw |= I5100_MC_SCRBEN_MASK; in i5100_set_scrub_rate() 620 u32 dw; in i5100_get_scrub_rate() local 793 u32 dw; in i5100_init_interleaving() local 828 i5100_dmir_rank(dw, k); in i5100_init_interleaving() 983 u32 dw; in i5100_init_one() local [all …]
|
/linux-6.3-rc2/arch/arm/boot/dts/ |
A D | berlin2cd.dtsi | 175 compatible = "snps,dw-apb-gpio"; 193 compatible = "snps,dw-apb-gpio"; 211 compatible = "snps,dw-apb-gpio"; 229 compatible = "snps,dw-apb-gpio"; 267 compatible = "snps,dw-apb-ssi"; 277 compatible = "snps,dw-wdt"; 285 compatible = "snps,dw-wdt"; 293 compatible = "snps,dw-wdt"; 444 compatible = "snps,dw-wdt"; 451 compatible = "snps,dw-wdt"; [all …]
|
A D | berlin2.dtsi | 185 compatible = "snps,dw-apb-gpio"; 203 compatible = "snps,dw-apb-gpio"; 221 compatible = "snps,dw-apb-gpio"; 239 compatible = "snps,dw-apb-gpio"; 257 compatible = "snps,dw-apb-timer"; 329 compatible = "snps,dw-apb-ictl"; 419 compatible = "snps,dw-wdt"; 426 compatible = "snps,dw-wdt"; 433 compatible = "snps,dw-wdt"; 440 compatible = "snps,dw-apb-gpio"; [all …]
|
/linux-6.3-rc2/drivers/gpu/drm/i915/gt/ |
A D | selftest_lrc.c | 176 int dw; in live_lrc_layout() local 191 dw = 0; in live_lrc_layout() 197 dw++; in live_lrc_layout() 204 dw++; in live_lrc_layout() 217 engine->name, dw, lri, lrc[dw]); in live_lrc_layout() 236 dw++; in live_lrc_layout() 243 engine->name, dw, offset, lrc[dw]); in live_lrc_layout() 1026 dw++; in store_context() 1185 dw++; in load_context() 1338 dw++; in compare_isolation() [all …]
|
/linux-6.3-rc2/arch/arm64/boot/dts/synaptics/ |
A D | berlin4ct.dtsi | 134 compatible = "snps,dw-apb-gpio"; 152 compatible = "snps,dw-apb-gpio"; 170 compatible = "snps,dw-apb-gpio"; 188 compatible = "snps,dw-apb-gpio"; 206 compatible = "snps,dw-apb-ictl"; 233 compatible = "snps,dw-apb-ictl"; 242 compatible = "snps,dw-wdt"; 249 compatible = "snps,dw-wdt"; 256 compatible = "snps,dw-wdt"; 263 compatible = "snps,dw-apb-gpio"; [all …]
|