/linux/drivers/dma/dw-edma/ |
A D | dw-edma-v0-core.c | 28 return dw->rg_region.vaddr; in __dw_regs() 48 : GET_32(dw, rd_##name)) 159 writel_ch(dw, dir, ch, value, &(__dw_ch_regs(dw, dir, ch)->name)) 162 readl_ch(dw, dir, ch, &(__dw_ch_regs(dw, dir, ch)->name)) 220 writeq_ch(dw, dir, ch, value, &(__dw_ch_regs(dw, dir, ch)->name)) 223 readq_ch(dw, dir, ch, &(__dw_ch_regs(dw, dir, ch)->name)) 259 struct dw_edma *dw = chan->chip->dw; in dw_edma_v0_core_ch_status() local 275 struct dw_edma *dw = chan->chip->dw; in dw_edma_v0_core_clear_done_int() local 283 struct dw_edma *dw = chan->chip->dw; in dw_edma_v0_core_clear_abort_int() local 360 struct dw_edma *dw = chan->chip->dw; in dw_edma_v0_core_start() local [all …]
|
A D | dw-edma-pcie.c | 151 struct dw_edma *dw; in dw_edma_pcie_probe() local 200 dw = devm_kzalloc(dev, sizeof(*dw), GFP_KERNEL); in dw_edma_pcie_probe() 201 if (!dw) in dw_edma_pcie_probe() 214 chip->dw = dw; in dw_edma_pcie_probe() 296 dw->rg_region.vaddr, &dw->rg_region.paddr); in dw_edma_pcie_probe() 303 dw->ll_region_wr[i].vaddr, &dw->ll_region_wr[i].paddr); in dw_edma_pcie_probe() 308 dw->dt_region_wr[i].vaddr, &dw->dt_region_wr[i].paddr); in dw_edma_pcie_probe() 315 dw->ll_region_rd[i].vaddr, &dw->ll_region_rd[i].paddr); in dw_edma_pcie_probe() 320 dw->dt_region_rd[i].vaddr, &dw->dt_region_rd[i].paddr); in dw_edma_pcie_probe() 331 dw->irq = devm_kcalloc(dev, nr_irqs, sizeof(*dw->irq), GFP_KERNEL); in dw_edma_pcie_probe() [all …]
|
A D | dw-edma-core.c | 68 struct dw_edma *dw = chan->chip->dw; in dw_edma_alloc_chunk() local 603 struct dw_edma *dw = dw_irq->dw; in dw_edma_interrupt() local 696 struct dw_edma *dw = chip->dw; in dw_edma_channel_setup() local 757 irq->dw = dw; in dw_edma_channel_setup() 833 struct dw_edma *dw = chip->dw; in dw_edma_irq_request() local 907 dw = chip->dw; in dw_edma_probe() 908 if (!dw || !dw->irq || !dw->ops || !dw->ops->irq_vector) in dw_edma_probe() 921 if (!dw->wr_ch_cnt && !dw->rd_ch_cnt) in dw_edma_probe() 925 dw->wr_ch_cnt, dw->rd_ch_cnt); in dw_edma_probe() 928 dw->chan = devm_kcalloc(dev, dw->wr_ch_cnt + dw->rd_ch_cnt, in dw_edma_probe() [all …]
|
A D | dw-edma-v0-debugfs.c | 41 static struct dw_edma *dw; variable 287 dw = chip->dw; in dw_edma_v0_debugfs_on() 288 if (!dw) in dw_edma_v0_debugfs_on() 295 dw->debugfs = debugfs_create_dir(dw->name, NULL); in dw_edma_v0_debugfs_on() 296 if (!dw->debugfs) in dw_edma_v0_debugfs_on() 299 debugfs_create_u32("mf", 0444, dw->debugfs, &dw->mf); in dw_edma_v0_debugfs_on() 300 debugfs_create_u16("wr_ch_cnt", 0444, dw->debugfs, &dw->wr_ch_cnt); in dw_edma_v0_debugfs_on() 301 debugfs_create_u16("rd_ch_cnt", 0444, dw->debugfs, &dw->rd_ch_cnt); in dw_edma_v0_debugfs_on() 308 dw = chip->dw; in dw_edma_v0_debugfs_off() 309 if (!dw) in dw_edma_v0_debugfs_off() [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/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 | 192 cs = dw->cs[dw->iec_offset++]; in dw_hdmi_reformat_s24() 194 dw->iec_offset = 0; 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() 380 free_irq(dw->data.irq, dw); in dw_hdmi_close() 449 dw->iec_offset = 0; in dw_hdmi_prepare() 548 dw->card = card; in snd_dw_hdmi_probe() 549 dw->data = *data; in snd_dw_hdmi_probe() [all …]
|
/linux/drivers/dma/dw/ |
A D | core.c | 468 struct dw_dma *dw = from_tasklet(dw, t, tasklet); in dw_dma_tasklet() local 1070 struct dw_dma *dw = chip->dw; in do_dma_probe() local 1131 dw->disable(dw); in do_dma_probe() 1134 dw->set_device_name(dw, chip->id); in do_dma_probe() 1148 dw->name, dw); in do_dma_probe() 1218 dma_writel(dw, CLEAR.XFER, dw->all_chan_mask); in do_dma_probe() 1281 struct dw_dma *dw = chip->dw; in do_dma_remove() local 1304 struct dw_dma *dw = chip->dw; in do_dw_dma_disable() local 1306 dw->disable(dw); in do_dw_dma_disable() 1313 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 | 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 …]
|
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/gpu/drm/amd/amdgpu/ |
A D | amdgpu_ih.c | 274 uint32_t dw[8]; in amdgpu_ih_decode_iv_helper() local 285 entry->client_id = dw[0] & 0xff; in amdgpu_ih_decode_iv_helper() 288 entry->vmid = (dw[0] >> 24) & 0xf; in amdgpu_ih_decode_iv_helper() 289 entry->vmid_src = (dw[0] >> 31); in amdgpu_ih_decode_iv_helper() 290 entry->timestamp = dw[1] | ((u64)(dw[2] & 0xffff) << 32); in amdgpu_ih_decode_iv_helper() 292 entry->pasid = dw[3] & 0xffff; in amdgpu_ih_decode_iv_helper() 293 entry->pasid_src = dw[3] >> 31; in amdgpu_ih_decode_iv_helper() 294 entry->src_data[0] = dw[4]; in amdgpu_ih_decode_iv_helper() 295 entry->src_data[1] = dw[5]; in amdgpu_ih_decode_iv_helper() 296 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 | 1087 struct dw_axi_dma *dw = chip->dw; in dw_axi_dma_interrupt() local 1097 chan = &dw->chan[i]; in dw_axi_dma_interrupt() 1356 struct dw_axi_dma *dw; in dw_probe() local 1365 dw = devm_kzalloc(&pdev->dev, sizeof(*dw), GFP_KERNEL); in dw_probe() 1366 if (!dw) in dw_probe() 1373 chip->dw = dw; in dw_probe() 1375 chip->dw->hdata = hdata; in dw_probe() 1406 if (!dw->chan) in dw_probe() 1441 dw->dma.dev = chip->dev; in dw_probe() 1462 dw->dma.dev->dma_parms = &dw->dma_parms; in dw_probe() [all …]
|
/linux/Documentation/devicetree/bindings/mmc/ |
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,rk3228-dw-mshc 36 - rockchip,rk3308-dw-mshc 37 - rockchip,rk3328-dw-mshc 38 - rockchip,rk3368-dw-mshc [all …]
|
A D | exynos-dw-mshc.txt | 13 - "samsung,exynos4210-dw-mshc": for controllers with Samsung Exynos4210 15 - "samsung,exynos4412-dw-mshc": for controllers with Samsung Exynos4412 17 - "samsung,exynos5250-dw-mshc": for controllers with Samsung Exynos5250 19 - "samsung,exynos5420-dw-mshc": for controllers with Samsung Exynos5420 21 - "samsung,exynos7-dw-mshc": for controllers with Samsung Exynos7 23 - "samsung,exynos7-dw-mshc-smu": for controllers with Samsung Exynos7 73 compatible = "samsung,exynos5250-dw-mshc"; 86 samsung,dw-mshc-ciu-div = <3>; 87 samsung,dw-mshc-sdr-timing = <2 3>; 88 samsung,dw-mshc-ddr-timing = <1 2>; [all …]
|
A D | k3-dw-mshc.txt | 4 Read synopsys-dw-mshc.txt for more details 8 differences between the core Synopsys dw mshc controller properties described 9 by synopsys-dw-mshc.txt and the properties used by the Hisilicon specific 15 - "hisilicon,hi3660-dw-mshc": for controllers with hi3660 specific extensions. 16 - "hisilicon,hi3670-dw-mshc", "hisilicon,hi3660-dw-mshc": for controllers 18 - "hisilicon,hi4511-dw-mshc": for controllers with hi4511 specific extensions. 19 - "hisilicon,hi6220-dw-mshc": for controllers with hi6220 specific extensions. 30 compatible = "hisilicon,hi4511-dw-mshc"; 55 compatible = "hisilicon,hi6220-dw-mshc";
|
/linux/drivers/edac/ |
A D | i5100_edac.c | 481 u32 dw; in i5100_read_log() local 548 u32 dw, dw2; in i5100_check_error() local 576 u32 dw; in i5100_refresh_scrubbing() local 584 if (i5100_mc_scrbdone(dw)) { in i5100_refresh_scrubbing() 600 u32 dw; in i5100_set_scrub_rate() local 605 dw |= I5100_MC_SCRBEN_MASK; in i5100_set_scrub_rate() 625 u32 dw; in i5100_get_scrub_rate() local 798 u32 dw; in i5100_init_interleaving() local 833 i5100_dmir_rank(dw, k); in i5100_init_interleaving() 988 u32 dw; in i5100_init_one() local [all …]
|
/linux/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 …]
|
A D | berlin2q.dtsi | 246 compatible = "snps,dw-apb-gpio"; 264 compatible = "snps,dw-apb-gpio"; 282 compatible = "snps,dw-apb-gpio"; 300 compatible = "snps,dw-apb-gpio"; 405 compatible = "snps,dw-apb-ictl"; 525 compatible = "snps,dw-wdt"; 532 compatible = "snps,dw-wdt"; 539 compatible = "snps,dw-wdt"; 546 compatible = "snps,dw-apb-gpio"; 585 compatible = "snps,dw-apb-uart"; [all …]
|
/linux/drivers/gpu/drm/i915/gt/ |
A D | selftest_lrc.c | 150 int dw; in live_lrc_layout() local 165 dw = 0; in live_lrc_layout() 170 dw++; in live_lrc_layout() 177 dw++; in live_lrc_layout() 190 engine->name, dw, lri, lrc[dw]); in live_lrc_layout() 197 dw++; in live_lrc_layout() 204 engine->name, dw, offset, lrc[dw]); in live_lrc_layout() 953 dw++; in store_context() 1116 dw++; in load_context() 1256 dw++; in compare_isolation() [all …]
|
/linux/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 …]
|
/linux/arch/x86/crypto/ |
A D | camellia_glue.c | 800 u32 dw, tl, tr; in camellia_setup_tail() local 813 subRL[1] ^= rol32(dw, 1); in camellia_setup_tail() 825 subRL[1] ^= rol32(dw, 1); in camellia_setup_tail() 844 subRL[1] ^= rol32(dw, 1); in camellia_setup_tail() 866 dw = (kw4 & subRL[24]) >> 32; in camellia_setup_tail() 867 kw4 ^= rol32(dw, 1); in camellia_setup_tail() 879 dw = (kw4 & subRL[16]) >> 32; in camellia_setup_tail() 880 kw4 ^= rol32(dw, 1); in camellia_setup_tail() 891 dw = (kw4 & subRL[8]) >> 32; in camellia_setup_tail() 892 kw4 ^= rol32(dw, 1); in camellia_setup_tail() [all …]
|