| /linux/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)) 191 struct dw_edma *dw = chan->dw; in dw_edma_v0_core_ch_status() local 207 struct dw_edma *dw = chan->dw; in dw_edma_v0_core_clear_done_int() local 215 struct dw_edma *dw = chan->dw; in dw_edma_v0_core_clear_abort_int() local 237 struct dw_edma *dw = dw_irq->dw; in dw_edma_v0_core_handle_int() local 250 off = dw->wr_ch_cnt; in dw_edma_v0_core_handle_int() 366 struct dw_edma *dw = chan->dw; in dw_edma_v0_core_start() local [all …]
|
| A D | dw-hdma-v0-debugfs.c | 16 #define REGS_ADDR(dw, name) \ argument 83 CTX_REGISTER(dw, ch_en, dir, ch), in dw_hdma_debugfs_regs_ch() 87 CTX_REGISTER(dw, llp.lsb, dir, ch), in dw_hdma_debugfs_regs_ch() 88 CTX_REGISTER(dw, llp.msb, dir, ch), in dw_hdma_debugfs_regs_ch() 91 CTX_REGISTER(dw, sar.lsb, dir, ch), in dw_hdma_debugfs_regs_ch() 92 CTX_REGISTER(dw, sar.msb, dir, ch), in dw_hdma_debugfs_regs_ch() 98 CTX_REGISTER(dw, qos, dir, ch), in dw_hdma_debugfs_regs_ch() 165 debugfs_create_u32("mf", 0444, dw->dma.dbg_dev_root, &dw->chip->mf); in dw_hdma_v0_debugfs_on() 166 debugfs_create_u16("wr_ch_cnt", 0444, dw->dma.dbg_dev_root, &dw->wr_ch_cnt); in dw_hdma_v0_debugfs_on() 167 debugfs_create_u16("rd_ch_cnt", 0444, dw->dma.dbg_dev_root, &dw->rd_ch_cnt); in dw_hdma_v0_debugfs_on() [all …]
|
| A D | dw-hdma-v0-core.c | 28 return dw->chip->reg_base; in __dw_regs() 78 struct dw_edma *dw = chan->dw; in dw_hdma_v0_core_ch_status() local 94 struct dw_edma *dw = chan->dw; in dw_hdma_v0_core_clear_done_int() local 101 struct dw_edma *dw = chan->dw; in dw_hdma_v0_core_clear_abort_int() local 108 struct dw_edma *dw = chan->dw; in dw_hdma_v0_core_status_int() local 117 struct dw_edma *dw = dw_irq->dw; in dw_hdma_v0_core_handle_int() local 124 total = dw->wr_ch_cnt; in dw_hdma_v0_core_handle_int() 128 total = dw->rd_ch_cnt; in dw_hdma_v0_core_handle_int() 129 off = dw->wr_ch_cnt; in dw_hdma_v0_core_handle_int() 231 struct dw_edma *dw = chan->dw; in dw_hdma_v0_core_start() local [all …]
|
| A D | dw-edma-core.c | 187 struct dw_edma *dw = chan->dw; in dw_edma_start_transfer() local 720 ch_cnt = dw->wr_ch_cnt + dw->rd_ch_cnt; in dw_edma_channel_setup() 728 chan->dw = dw; in dw_edma_channel_setup() 766 irq->dw = dw; in dw_edma_channel_setup() 841 ch_cnt = dw->wr_ch_cnt + dw->rd_ch_cnt; in dw_edma_irq_request() 854 IRQF_SHARED, dw->name, &dw->irq[0]); in dw_edma_irq_request() 941 if (!dw->wr_ch_cnt && !dw->rd_ch_cnt) in dw_edma_probe() 945 dw->wr_ch_cnt, dw->rd_ch_cnt); in dw_edma_probe() 948 dw->chan = devm_kcalloc(dev, dw->wr_ch_cnt + dw->rd_ch_cnt, in dw_edma_probe() 972 chip->dw = dw; in dw_edma_probe() [all …]
|
| A D | dw-edma-core.h | 76 struct dw_edma *dw; member 95 struct dw_edma *dw; member 121 void (*off)(struct dw_edma *dw); 128 void (*debugfs_on)(struct dw_edma *dw); 167 void dw_edma_core_off(struct dw_edma *dw) in dw_edma_core_off() argument 169 dw->core->off(dw); in dw_edma_core_off() 175 return dw->core->ch_count(dw, dir); in dw_edma_core_ch_count() 181 return chan->dw->core->ch_status(chan); in dw_edma_core_ch_status() 194 dw->core->start(chunk, first); in dw_edma_core_start() 200 chan->dw->core->ch_config(chan); in dw_edma_core_ch_config() [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-hdma-v0-debugfs.o 6 dw-edma-objs := dw-edma-core.o \ 7 dw-edma-v0-core.o \ 8 dw-hdma-v0-core.o $(dw-edma-y) 9 obj-$(CONFIG_DW_EDMA_PCIE) += dw-edma-pcie.o
|
| /linux/drivers/gpu/drm/xe/ |
| A D | xe_ring_ops.c | 77 dw[i++] = 0; in emit_store_imm_ggtt() 86 dw[i++] = 0; in emit_flush_dw() 87 dw[i++] = 0; in emit_flush_dw() 88 dw[i++] = 0; in emit_flush_dw() 99 dw[i++] = 0; in emit_flush_imm_ggtt() 122 dw[i++] = 0; in emit_flush_invalidate() 134 dw[i++] = 0; in emit_pipe_control() 275 xe_lrc_write_ring(lrc, dw, i * sizeof(*dw)); in __emit_job_gen12_simple() 338 xe_lrc_write_ring(lrc, dw, i * sizeof(*dw)); in __emit_job_gen12_video() 389 xe_lrc_write_ring(lrc, dw, i * sizeof(*dw)); in __emit_job_gen12_render_compute() [all …]
|
| /linux/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/drivers/gpu/drm/bridge/synopsys/ |
| A D | dw-hdmi-ahb-audio.c | 193 cs = dw->cs[dw->iec_offset++]; in dw_hdmi_reformat_s24() 197 i = dw->channels; in dw_hdmi_reformat_s24() 218 memset(dw->cs, 0, sizeof(dw->cs)); in dw_hdmi_create_cs() 241 dw->reformat(dw, offset, period); in dw_hdmi_start_dma() 287 if (dw->substream) in snd_dw_hdmi_irq() 329 eld = dw->data.get_eld(dw->data.hdmi); in dw_hdmi_open() 385 free_irq(dw->data.irq, dw); in dw_hdmi_close() 475 dw->iec_offset = 0; in dw_hdmi_prepare() 574 dw->card = card; in snd_dw_hdmi_probe() 575 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/drivers/dma/dw/ |
| A D | core.c | 466 struct dw_dma *dw = from_tasklet(dw, t, tasklet); in dw_dma_tasklet() local 1153 struct dw_dma *dw = chip->dw; in do_dma_probe() local 1214 dw->disable(dw); in do_dma_probe() 1217 dw->set_device_name(dw, chip->id); in do_dma_probe() 1231 dw->name, dw); in do_dma_probe() 1301 dma_writel(dw, CLEAR.XFER, dw->all_chan_mask); in do_dma_probe() 1364 struct dw_dma *dw = chip->dw; in do_dma_remove() local 1387 struct dw_dma *dw = chip->dw; in do_dw_dma_disable() local 1389 dw->disable(dw); in do_dw_dma_disable() 1396 struct dw_dma *dw = chip->dw; in do_dw_dma_enable() local [all …]
|
| A D | dw.c | 102 snprintf(dw->name, sizeof(dw->name), "dw:dmac%d", id); in dw_dma_set_device_name() 107 do_dw_dma_off(dw); in dw_dma_disable() 112 do_dw_dma_on(dw); in dw_dma_enable() 117 struct dw_dma *dw; in dw_dma_probe() local 119 dw = devm_kzalloc(chip->dev, sizeof(*dw), GFP_KERNEL); in dw_dma_probe() 120 if (!dw) in dw_dma_probe() 126 dw->resume_chan = dw_dma_resume_chan; in dw_dma_probe() 128 dw->bytes2block = dw_dma_bytes2block; in dw_dma_probe() 133 dw->disable = dw_dma_disable; in dw_dma_probe() 134 dw->enable = dw_dma_enable; in dw_dma_probe() [all …]
|
| A D | idma32.c | 223 snprintf(dw->name, sizeof(dw->name), "idma32:dmac%d", id); in idma32_set_device_name() 251 do_dw_dma_off(dw); in idma32_disable() 252 idma32_fifo_partition(dw); in idma32_disable() 257 idma32_fifo_partition(dw); in idma32_enable() 258 do_dw_dma_on(dw); in idma32_enable() 263 struct dw_dma *dw; in idma32_dma_probe() local 265 dw = devm_kzalloc(chip->dev, sizeof(*dw), GFP_KERNEL); in idma32_dma_probe() 266 if (!dw) in idma32_dma_probe() 282 dw->disable = idma32_disable; in idma32_dma_probe() 283 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()
|
| /linux/drivers/pci/controller/dwc/ |
| A D | pcie-rcar-gen4.c | 81 struct dw_pcie dw; member 175 struct dw_pcie *dw = &rcar->dw; in rcar_gen4_pcie_common_init() local 198 if (dw->num_lanes < 4) in rcar_gen4_pcie_common_init() 220 struct dw_pcie *dw = &rcar->dw; in rcar_gen4_pcie_common_deinit() local 276 rcar->dw.ops = &dw_pcie_ops; in rcar_gen4_pcie_alloc() 277 rcar->dw.dev = dev; in rcar_gen4_pcie_alloc() 564 struct dw_pcie *dw = &rcar->dw; in rcar_gen4_pcie_additional_common_init() local 569 if (dw->num_lanes < 4) in rcar_gen4_pcie_additional_common_init() 598 struct dw_pcie *dw = &rcar->dw; in rcar_gen4_pcie_reg_test_bit() local 615 struct dw_pcie *dw = &rcar->dw; in rcar_gen4_pcie_download_phy_firmware() local [all …]
|
| /linux/Documentation/devicetree/bindings/mmc/ |
| A D | samsung,exynos-dw-mshc.yaml | 19 - axis,artpec8-dw-mshc 20 - samsung,exynos4210-dw-mshc 21 - samsung,exynos4412-dw-mshc 25 - samsung,exynos7-dw-mshc 51 samsung,dw-mshc-ciu-div: 58 samsung,dw-mshc-ddr-timing: 72 samsung,dw-mshc-hs400-timing: 92 samsung,dw-mshc-sdr-timing: 118 - samsung,dw-mshc-ddr-timing 119 - 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/drivers/gpu/drm/amd/amdgpu/ |
| A D | amdgpu_ih.c | 258 uint32_t dw[8]; in amdgpu_ih_decode_iv_helper() local 269 entry->client_id = dw[0] & 0xff; in amdgpu_ih_decode_iv_helper() 272 entry->vmid = (dw[0] >> 24) & 0xf; in amdgpu_ih_decode_iv_helper() 273 entry->vmid_src = (dw[0] >> 31); in amdgpu_ih_decode_iv_helper() 274 entry->timestamp = dw[1] | ((u64)(dw[2] & 0xffff) << 32); in amdgpu_ih_decode_iv_helper() 275 entry->timestamp_src = dw[2] >> 31; in amdgpu_ih_decode_iv_helper() 276 entry->pasid = dw[3] & 0xffff; in amdgpu_ih_decode_iv_helper() 278 entry->src_data[0] = dw[4]; in amdgpu_ih_decode_iv_helper() 279 entry->src_data[1] = dw[5]; in amdgpu_ih_decode_iv_helper() 280 entry->src_data[2] = dw[6]; in amdgpu_ih_decode_iv_helper() [all …]
|
| /linux/drivers/dma/dw-axi-dmac/ |
| A D | dw-axi-dmac-platform.c | 1152 struct dw_axi_dma *dw = chip->dw; in dw_axi_dma_interrupt() local 1162 chan = &dw->chan[i]; in dw_axi_dma_interrupt() 1467 struct dw_axi_dma *dw; in dw_probe() local 1478 dw = devm_kzalloc(&pdev->dev, sizeof(*dw), GFP_KERNEL); in dw_probe() 1479 if (!dw) in dw_probe() 1486 chip->dw = dw; in dw_probe() 1488 chip->dw->hdata = hdata; in dw_probe() 1527 if (!dw->chan) in dw_probe() 1560 dw->dma.dev = chip->dev; in dw_probe() 1581 dw->dma.dev->dma_parms = &dw->dma_parms; in dw_probe() [all …]
|
| /linux/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)) 51 #define _ICL_PORT_COMP_DW(dw, phy) (_ICL_COMBOPHY(phy) + \ argument 52 _ICL_PORT_COMP + 4 * (dw)) 81 _ICL_PORT_PCS_AUX + 4 * (dw)) 83 _ICL_PORT_PCS_GRP + 4 * (dw)) 85 _ICL_PORT_PCS_LN(ln) + 4 * (dw)) 100 #define _ICL_PORT_TX_DW_AUX(dw, phy) (_ICL_COMBOPHY(phy) + \ argument 101 _ICL_PORT_TX_AUX + 4 * (dw)) 103 _ICL_PORT_TX_GRP + 4 * (dw)) [all …]
|
| /linux/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/arch/arm/boot/dts/synaptics/ |
| 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 …]
|