Home
last modified time | relevance | path

Searched refs:dram (Results 1 – 25 of 95) sorted by relevance

1234

/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/pcie/
Dctxt-info.c98 struct iwl_dram_data *dram) in iwl_pcie_ctxt_info_alloc_dma() argument
100 dram->block = iwl_pcie_ctxt_info_dma_alloc_coherent(trans, len, in iwl_pcie_ctxt_info_alloc_dma()
101 &dram->physical); in iwl_pcie_ctxt_info_alloc_dma()
102 if (!dram->block) in iwl_pcie_ctxt_info_alloc_dma()
105 dram->size = len; in iwl_pcie_ctxt_info_alloc_dma()
106 memcpy(dram->block, data, len); in iwl_pcie_ctxt_info_alloc_dma()
113 struct iwl_self_init_dram *dram = &trans->init_dram; in iwl_pcie_ctxt_info_free_paging() local
116 if (!dram->paging) { in iwl_pcie_ctxt_info_free_paging()
117 WARN_ON(dram->paging_cnt); in iwl_pcie_ctxt_info_free_paging()
122 for (i = 0; i < dram->paging_cnt; i++) in iwl_pcie_ctxt_info_free_paging()
[all …]
Dinternal.h613 struct iwl_self_init_dram *dram = &trans->init_dram; in iwl_pcie_ctxt_info_free_fw_img() local
616 if (!dram->fw) { in iwl_pcie_ctxt_info_free_fw_img()
617 WARN_ON(dram->fw_cnt); in iwl_pcie_ctxt_info_free_fw_img()
621 for (i = 0; i < dram->fw_cnt; i++) in iwl_pcie_ctxt_info_free_fw_img()
622 dma_free_coherent(trans->dev, dram->fw[i].size, in iwl_pcie_ctxt_info_free_fw_img()
623 dram->fw[i].block, dram->fw[i].physical); in iwl_pcie_ctxt_info_free_fw_img()
625 kfree(dram->fw); in iwl_pcie_ctxt_info_free_fw_img()
626 dram->fw_cnt = 0; in iwl_pcie_ctxt_info_free_fw_img()
627 dram->fw = NULL; in iwl_pcie_ctxt_info_free_fw_img()
/kernel/linux/linux-5.10/drivers/tty/serial/
Dicom.c346 void __iomem *dram_ptr = icom_port->dram; in load_code()
377 iram_ptr = (char __iomem *)icom_port->dram + ICOM_IRAM_OFFSET; in load_code()
397 iram_ptr = (char __iomem *) icom_port->dram + ICOM_IRAM_OFFSET; in load_code()
405 writeb(V2_HARDWARE, &(icom_port->dram->misc_flags)); in load_code()
411 &(icom_port->dram->HDLCConfigReg)); in load_code()
412 writeb(0x04, &(icom_port->dram->FlagFillIdleTimer)); /* 0.5 seconds */ in load_code()
413 writeb(0x00, &(icom_port->dram->CmdReg)); in load_code()
414 writeb(0x10, &(icom_port->dram->async_config3)); in load_code()
416 ICOM_ACFG_1STOP_BIT), &(icom_port->dram->async_config2)); in load_code()
445 writeb((char) ((fw->size + 16)/16), &icom_port->dram->mac_length); in load_code()
[all …]
/kernel/linux/linux-5.10/drivers/usb/host/
Dxhci-mvebu.c24 const struct mbus_dram_target_info *dram) in xhci_mvebu_mbus_config() argument
35 for (win = 0; win < dram->num_cs; win++) { in xhci_mvebu_mbus_config()
36 const struct mbus_dram_window *cs = dram->cs + win; in xhci_mvebu_mbus_config()
39 (dram->mbus_dram_target_id << 4) | 1, in xhci_mvebu_mbus_config()
52 const struct mbus_dram_target_info *dram; in xhci_mvebu_mbus_init_quirk() local
66 dram = mv_mbus_dram_info(); in xhci_mvebu_mbus_init_quirk()
67 xhci_mvebu_mbus_config(base, dram); in xhci_mvebu_mbus_init_quirk()
Dehci-orion.c144 const struct mbus_dram_target_info *dram) in ehci_orion_conf_mbus_windows() argument
153 for (i = 0; i < dram->num_cs; i++) { in ehci_orion_conf_mbus_windows()
154 const struct mbus_dram_window *cs = dram->cs + i; in ehci_orion_conf_mbus_windows()
158 (dram->mbus_dram_target_id << 4) | 1); in ehci_orion_conf_mbus_windows()
210 const struct mbus_dram_target_info *dram; in ehci_orion_drv_probe() local
283 dram = mv_mbus_dram_info(); in ehci_orion_drv_probe()
284 if (dram) in ehci_orion_drv_probe()
285 ehci_orion_conf_mbus_windows(hcd, dram); in ehci_orion_drv_probe()
/kernel/linux/linux-5.10/drivers/ata/
Dahci_mvebu.c37 const struct mbus_dram_target_info *dram) in ahci_mvebu_mbus_config() argument
47 for (i = 0; i < dram->num_cs; i++) { in ahci_mvebu_mbus_config()
48 const struct mbus_dram_window *cs = dram->cs + i; in ahci_mvebu_mbus_config()
51 (dram->mbus_dram_target_id << 4) | 1, in ahci_mvebu_mbus_config()
72 const struct mbus_dram_target_info *dram; in ahci_mvebu_armada_380_config() local
75 dram = mv_mbus_dram_info(); in ahci_mvebu_armada_380_config()
76 if (dram) in ahci_mvebu_armada_380_config()
77 ahci_mvebu_mbus_config(hpriv, dram); in ahci_mvebu_armada_380_config()
/kernel/linux/linux-5.10/sound/soc/kirkwood/
Dkirkwood-dma.c79 const struct mbus_dram_target_info *dram) in kirkwood_dma_conf_mbus_windows() argument
88 for (i = 0; i < dram->num_cs; i++) { in kirkwood_dma_conf_mbus_windows()
89 const struct mbus_dram_window *cs = dram->cs + i; in kirkwood_dma_conf_mbus_windows()
95 (dram->mbus_dram_target_id << 4) | 1, in kirkwood_dma_conf_mbus_windows()
107 const struct mbus_dram_target_info *dram; in kirkwood_dma_open() local
145 dram = mv_mbus_dram_info(); in kirkwood_dma_open()
152 KIRKWOOD_PLAYBACK_WIN, addr, dram); in kirkwood_dma_open()
158 KIRKWOOD_RECORD_WIN, addr, dram); in kirkwood_dma_open()
/kernel/linux/linux-5.10/sound/soc/intel/catpt/
Dloader.c159 if (off < cdev->dram.start || off > cdev->dram.end) in catpt_store_memdumps()
219 if (off < cdev->dram.start || off > cdev->dram.end) in catpt_restore_memdumps()
248 r1.start = cdev->dram.start + blk->ram_offset; in catpt_restore_fwimage()
264 if (off < cdev->dram.start || off > cdev->dram.end) in catpt_restore_fwimage()
305 sram = &cdev->dram; in catpt_load_block()
632 catpt_dsp_update_srampge(cdev, &cdev->dram, cdev->spec->dram_mask); in catpt_boot_firmware()
650 __request_region(&cdev->dram, 0, 0x200, NULL, 0); in catpt_first_boot_firmware()
652 for (res = cdev->dram.child; res->sibling; res = res->sibling) in catpt_first_boot_firmware()
654 __request_region(&cdev->dram, res->end + 1, in catpt_first_boot_firmware()
655 cdev->dram.end - res->end, NULL, 0); in catpt_first_boot_firmware()
[all …]
Ddsp.c367 catpt_dsp_set_srampge(cdev, &cdev->dram, cdev->spec->dram_mask, in lpt_dsp_power_down()
382 catpt_dsp_set_srampge(cdev, &cdev->dram, cdev->spec->dram_mask, 0); in lpt_dsp_power_up()
429 catpt_dsp_set_srampge(cdev, &cdev->dram, cdev->spec->dram_mask, in wpt_dsp_power_down()
465 catpt_dsp_set_srampge(cdev, &cdev->dram, cdev->spec->dram_mask, 0); in wpt_dsp_power_up()
514 dump_size = resource_size(&cdev->dram); in catpt_coredump()
561 hdr->size = resource_size(&cdev->dram); in catpt_coredump()
564 memcpy_fromio(pos, cdev->lpe_ba + cdev->dram.start, hdr->size); in catpt_coredump()
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/pinctrl/
Dmarvell,armada-39x-pinctrl.txt32 mpp14 14 gpio, dram(vttctrl), dev(we1), ua1(txd)
34 mpp16 16 gpio, dram(deccerr), spi0(miso), pcie0(clkreq), i2c1(sda)
52 mpp33 33 gpio, dram(deccerr), dev(ad3)
62 mpp43 43 gpio, pcie0(clkreq), dram(vttctrl), dram(deccerr), spi1(cs2), dev(clkout), nand(rb1)
69 mpp48 48 gpio, sata0(prsnt) [1], dram(vttctrl), tdm(pclk) [2], audio(mclk) [2], sd0(d4), pcie0(clkr…
73 mpp51 51 gpio, tdm(dtx) [2], audio(sdo) [2], dram(deccerr), ua2(txd)
78 mpp56 56 gpio, ua1(rts), dram(deccerr), spi1(mosi), ua1(txd)
Dmarvell,armada-38x-pinctrl.txt32 mpp14 14 gpio, ge0(rxd2), ptp(clk), dram(vttctrl), spi0(cs3), dev(we1), pcie3(clkreq)
34 mpp16 16 gpio, ge0(rxctl), ge(mdio slave), dram(deccerr), spi0(miso), pcie0(clkreq), …
51 mpp33 33 gpio, dram(deccerr), dev(ad3)
61 mpp43 43 gpio, pcie0(clkreq), dram(vttctrl), dram(deccerr), spi1(cs2), dev(clkout), n…
66 mpp48 48 gpio, sata0(prsnt), dram(vttctrl), tdm(pclk), audio(mclk), sd0(d4), pcie0(cl…
69 mpp51 51 gpio, tdm(dtx), audio(sdo), dram(deccerr), ptp(trig)
74 mpp56 56 gpio, ua1(rts), ge(mdc), dram(deccerr), spi1(mosi), ua1(txd)
Dmarvell,armada-xp-pinctrl.txt42 mpp21 21 gpio, ge0(rxd5), ge1(rxd3), lcd(d21), dram(bat)
54 mpp33 33 gpio, tdm(int4), sd0(d1), dram(bat), dram(vttctrl)
55 mpp34 34 gpio, tdm(int5), sd0(d2), sata0(prsnt), dram(deccerr)
69 dram(bat), spi1(cs4)
71 spi1(cs5), dram(vttctrl)
Dcortina,gemini-pinctrl.txt36 dram_default_pins: pinctrl-dram {
38 function = "dram";
Dmarvell,armada-375-pinctrl.txt26 mpp10 10 gpio, dram(vttctrl), led(c1), nand(re)
59 mpp43 43 gpio, sata0(prsnt), dram(vttctrl)
80 mpp64 64 gpio, dram(vttctrl), led(p3)
/kernel/linux/linux-5.10/arch/arm/plat-orion/
Dpcie.c125 const struct mbus_dram_target_info *dram; in orion_pcie_setup_wins() local
129 dram = mv_mbus_dram_info(); in orion_pcie_setup_wins()
154 for (i = 0; i < dram->num_cs; i++) { in orion_pcie_setup_wins()
155 const struct mbus_dram_window *cs = dram->cs + i; in orion_pcie_setup_wins()
161 (dram->mbus_dram_target_id << 4) | 1, in orion_pcie_setup_wins()
176 writel(dram->cs[0].base, base + PCIE_BAR_LO_OFF(1)); in orion_pcie_setup_wins()
/kernel/linux/linux-5.10/sound/soc/intel/atom/sst/
Dsst.c469 fw_save->dram = kvzalloc(ctx->dram_end - ctx->dram_base, GFP_KERNEL); in intel_sst_suspend()
470 if (!fw_save->dram) { in intel_sst_suspend()
472 goto dram; in intel_sst_suspend()
487 memcpy32_fromio(fw_save->dram, ctx->dram, ctx->dram_end - ctx->dram_base); in intel_sst_suspend()
497 kvfree(fw_save->dram); in intel_sst_suspend()
498 dram: in intel_sst_suspend()
523 memcpy32_toio(ctx->dram, fw_save->dram, ctx->dram_end - ctx->dram_base); in intel_sst_resume()
528 kvfree(fw_save->dram); in intel_sst_resume()
Dsst_pci.c94 ctx->dram = pcim_iomap(pci, 4, pci_resource_len(pci, 4)); in sst_platform_get_resources()
95 if (!ctx->dram) { in sst_platform_get_resources()
99 dev_dbg(ctx->dev, "DRAM Ptr %p\n", ctx->dram); in sst_platform_get_resources()
/kernel/linux/linux-5.10/drivers/crypto/marvell/cesa/
Dcesa.c316 const struct mbus_dram_target_info *dram) in mv_cesa_conf_mbus_windows() argument
326 for (i = 0; i < dram->num_cs; i++) { in mv_cesa_conf_mbus_windows()
327 const struct mbus_dram_window *cs = dram->cs + i; in mv_cesa_conf_mbus_windows()
331 (dram->mbus_dram_target_id << 4) | 1, in mv_cesa_conf_mbus_windows()
435 const struct mbus_dram_target_info *dram; in mv_cesa_probe() local
485 dram = mv_mbus_dram_info_nooverlap(); in mv_cesa_probe()
535 if (dram && cesa->caps->has_tdma) in mv_cesa_probe()
536 mv_cesa_conf_mbus_windows(engine, dram); in mv_cesa_probe()
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/
Diwl-context-info.h218 struct iwl_context_info_dram dram; member
230 struct iwl_dram_data *dram);
/kernel/linux/linux-5.10/arch/arm64/boot/dts/allwinner/
Dsun50i-a100-allwinner-perf1.dts72 regulator-name = "vcc-dram-1";
105 regulator-name = "vdd-sys-usb-dram";
112 regulator-name = "vcc-dram-2";
/kernel/linux/linux-5.10/drivers/mmc/host/
Dmvsdio.c673 const struct mbus_dram_target_info *dram) in mv_conf_mbus_windows() argument
683 for (i = 0; i < dram->num_cs; i++) { in mv_conf_mbus_windows()
684 const struct mbus_dram_window *cs = dram->cs + i; in mv_conf_mbus_windows()
687 (dram->mbus_dram_target_id << 4) | 1, in mv_conf_mbus_windows()
698 const struct mbus_dram_target_info *dram; in mvsd_probe() local
764 dram = mv_mbus_dram_info(); in mvsd_probe()
765 if (dram) in mvsd_probe()
766 mv_conf_mbus_windows(host, dram); in mvsd_probe()
Dsdhci-pxav3.c73 const struct mbus_dram_target_info *dram) in mv_conf_mbus_windows() argument
79 if (!dram) { in mv_conf_mbus_windows()
101 for (i = 0; i < dram->num_cs; i++) { in mv_conf_mbus_windows()
102 const struct mbus_dram_window *cs = dram->cs + i; in mv_conf_mbus_windows()
107 (dram->mbus_dram_target_id << 4) | 1, in mv_conf_mbus_windows()
/kernel/linux/linux-5.10/drivers/dma/
Dmv_xor.c1163 const struct mbus_dram_target_info *dram) in mv_xor_conf_mbus_windows() argument
1176 for (i = 0; i < dram->num_cs; i++) { in mv_xor_conf_mbus_windows()
1177 const struct mbus_dram_window *cs = dram->cs + i; in mv_xor_conf_mbus_windows()
1181 dram->mbus_dram_target_id, base + WINDOW_BASE(i)); in mv_xor_conf_mbus_windows()
1254 const struct mbus_dram_target_info *dram; in mv_xor_resume() local
1274 dram = mv_mbus_dram_info(); in mv_xor_resume()
1275 if (dram) in mv_xor_resume()
1276 mv_xor_conf_mbus_windows(xordev, dram); in mv_xor_resume()
1292 const struct mbus_dram_target_info *dram; in mv_xor_probe() local
1345 dram = mv_mbus_dram_info(); in mv_xor_probe()
[all …]
/kernel/linux/linux-5.10/include/linux/
Dmv643xx_eth.h23 struct mbus_dram_target_info *dram; member
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Dsunxi-libretech-all-h3-it.dtsi57 reg_vcc_dram: vcc-dram {
59 regulator-name = "vcc-dram";

1234