Home
last modified time | relevance | path

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

12345

/linux-6.6.21/drivers/net/wireless/intel/iwlwifi/pcie/
Dctxt-info.c50 struct iwl_dram_data *dram) in iwl_pcie_ctxt_info_alloc_dma() argument
52 dram->block = iwl_pcie_ctxt_info_dma_alloc_coherent(trans, len, in iwl_pcie_ctxt_info_alloc_dma()
53 &dram->physical); in iwl_pcie_ctxt_info_alloc_dma()
54 if (!dram->block) in iwl_pcie_ctxt_info_alloc_dma()
57 dram->size = len; in iwl_pcie_ctxt_info_alloc_dma()
58 memcpy(dram->block, data, len); in iwl_pcie_ctxt_info_alloc_dma()
65 struct iwl_self_init_dram *dram = &trans->init_dram; in iwl_pcie_ctxt_info_free_paging() local
68 if (!dram->paging) { in iwl_pcie_ctxt_info_free_paging()
69 WARN_ON(dram->paging_cnt); in iwl_pcie_ctxt_info_free_paging()
74 for (i = 0; i < dram->paging_cnt; i++) in iwl_pcie_ctxt_info_free_paging()
[all …]
Dinternal.h587 struct iwl_self_init_dram *dram = &trans->init_dram; in iwl_pcie_ctxt_info_free_fw_img() local
590 if (!dram->fw) { in iwl_pcie_ctxt_info_free_fw_img()
591 WARN_ON(dram->fw_cnt); in iwl_pcie_ctxt_info_free_fw_img()
595 for (i = 0; i < dram->fw_cnt; i++) in iwl_pcie_ctxt_info_free_fw_img()
596 dma_free_coherent(trans->dev, dram->fw[i].size, in iwl_pcie_ctxt_info_free_fw_img()
597 dram->fw[i].block, dram->fw[i].physical); in iwl_pcie_ctxt_info_free_fw_img()
599 kfree(dram->fw); in iwl_pcie_ctxt_info_free_fw_img()
600 dram->fw_cnt = 0; in iwl_pcie_ctxt_info_free_fw_img()
601 dram->fw = NULL; in iwl_pcie_ctxt_info_free_fw_img()
Dctxt-info-gen3.c144 ret = iwl_pcie_init_fw_sec(trans, fw, &prph_scratch->dram); in iwl_pcie_ctxt_info_gen3_init()
286 struct iwl_dram_data *dram) in iwl_pcie_load_payloads_continuously() argument
304 dram->block = iwl_pcie_ctxt_info_dma_alloc_coherent(trans, len, in iwl_pcie_load_payloads_continuously()
305 &dram->physical); in iwl_pcie_load_payloads_continuously()
306 if (!dram->block) { in iwl_pcie_load_payloads_continuously()
311 dram->size = len; in iwl_pcie_load_payloads_continuously()
312 memcpy(dram->block, pnvm_data->chunks[0].data, len0); in iwl_pcie_load_payloads_continuously()
313 memcpy((u8 *)dram->block + len0, pnvm_data->chunks[1].data, len1); in iwl_pcie_load_payloads_continuously()
/linux-6.6.21/drivers/usb/host/
Dxhci-mvebu.c23 const struct mbus_dram_target_info *dram) in xhci_mvebu_mbus_config() argument
34 for (win = 0; win < dram->num_cs; win++) { in xhci_mvebu_mbus_config()
35 const struct mbus_dram_window *cs = &dram->cs[win]; in xhci_mvebu_mbus_config()
38 (dram->mbus_dram_target_id << 4) | 1, in xhci_mvebu_mbus_config()
51 const struct mbus_dram_target_info *dram; in xhci_mvebu_mbus_init_quirk() local
65 dram = mv_mbus_dram_info(); in xhci_mvebu_mbus_init_quirk()
66 xhci_mvebu_mbus_config(base, dram); in xhci_mvebu_mbus_init_quirk()
Dehci-orion.c140 const struct mbus_dram_target_info *dram) in ehci_orion_conf_mbus_windows() argument
149 for (i = 0; i < dram->num_cs; i++) { in ehci_orion_conf_mbus_windows()
150 const struct mbus_dram_window *cs = dram->cs + i; in ehci_orion_conf_mbus_windows()
154 (dram->mbus_dram_target_id << 4) | 1); in ehci_orion_conf_mbus_windows()
206 const struct mbus_dram_target_info *dram; in ehci_orion_drv_probe() local
278 dram = mv_mbus_dram_info(); in ehci_orion_drv_probe()
279 if (dram) in ehci_orion_drv_probe()
280 ehci_orion_conf_mbus_windows(hcd, dram); in ehci_orion_drv_probe()
/linux-6.6.21/drivers/tty/serial/
Dicom.c260 struct func_dram __iomem *dram; member
605 void __iomem *dram_ptr = icom_port->dram; in load_code()
636 iram_ptr = (char __iomem *)icom_port->dram + ICOM_IRAM_OFFSET; in load_code()
656 iram_ptr = (char __iomem *) icom_port->dram + ICOM_IRAM_OFFSET; in load_code()
664 writeb(V2_HARDWARE, &(icom_port->dram->misc_flags)); in load_code()
670 &(icom_port->dram->HDLCConfigReg)); in load_code()
671 writeb(0x04, &(icom_port->dram->FlagFillIdleTimer)); /* 0.5 seconds */ in load_code()
672 writeb(0x00, &(icom_port->dram->CmdReg)); in load_code()
673 writeb(0x10, &(icom_port->dram->async_config3)); in load_code()
675 ICOM_ACFG_1STOP_BIT), &(icom_port->dram->async_config2)); in load_code()
[all …]
/linux-6.6.21/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()
/linux-6.6.21/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()
182 const struct mbus_dram_target_info *dram = mv_mbus_dram_info(); in kirkwood_dma_hw_params() local
187 KIRKWOOD_PLAYBACK_WIN, addr, dram); in kirkwood_dma_hw_params()
190 KIRKWOOD_RECORD_WIN, addr, dram); in kirkwood_dma_hw_params()
/linux-6.6.21/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 …]
/linux-6.6.21/Documentation/devicetree/bindings/arm/sunxi/
Dallwinner,sun4i-a10-mbus.yaml57 - const: dram
70 - const: dram
141 dram-controller@1c01000 {
152 dram-controller@1c62000 {
156 reg-names = "mbus", "dram";
160 clock-names = "mbus", "dram", "bus";
/linux-6.6.21/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";
/linux-6.6.21/drivers/firmware/tegra/
Dbpmp-tegra186.c25 void *dram; member
130 iosys_map_set_vaddr(&rx, priv->rx.dram + offset); in tegra186_bpmp_channel_init()
131 iosys_map_set_vaddr(&tx, priv->tx.dram + offset); in tegra186_bpmp_channel_init()
220 priv->tx.dram = devm_memremap(bpmp->dev, priv->tx.phys, size, in tegra186_bpmp_dram_init()
222 if (IS_ERR(priv->tx.dram)) { in tegra186_bpmp_dram_init()
223 err = PTR_ERR(priv->tx.dram); in tegra186_bpmp_dram_init()
228 priv->rx.dram = priv->tx.dram + SZ_4K; in tegra186_bpmp_dram_init()
/linux-6.6.21/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()
/linux-6.6.21/drivers/net/ethernet/ti/icssg/
Dicssg_config.c229 p = emac->dram.va + MGR_R30_CMD_OFFSET; in emac_r30_cmd_init()
241 p = emac->dram.va + MGR_R30_CMD_OFFSET; in emac_r30_is_done()
274 bpool_cfg = emac->dram.va + BUFFER_POOL_0_ADDR_OFFSET; in prueth_emac_buffer_setup()
293 rxq_ctx = emac->dram.va + HOST_RX_Q_PRE_CONTEXT_OFFSET; in prueth_emac_buffer_setup()
301 rxq_ctx = emac->dram.va + HOST_RX_Q_EXP_CONTEXT_OFFSET; in prueth_emac_buffer_setup()
330 void __iomem *config = emac->dram.va + ICSSG_CONFIG_OFFSET; in icssg_config()
411 p = emac->dram.va + MGR_R30_CMD_OFFSET; in emac_set_port_state()
456 writeb(fw_speed, emac->dram.va + PORT_LINK_SPEED_OFFSET); in icssg_config_set_speed()
/linux-6.6.21/sound/soc/intel/atom/sst/
Dsst.c474 fw_save->dram = kvzalloc(ctx->dram_end - ctx->dram_base, GFP_KERNEL); in intel_sst_suspend()
475 if (!fw_save->dram) { in intel_sst_suspend()
477 goto dram; in intel_sst_suspend()
492 memcpy32_fromio(fw_save->dram, ctx->dram, ctx->dram_end - ctx->dram_base); in intel_sst_suspend()
502 kvfree(fw_save->dram); in intel_sst_suspend()
503 dram: in intel_sst_suspend()
528 memcpy32_toio(ctx->dram, fw_save->dram, ctx->dram_end - ctx->dram_base); in intel_sst_resume()
533 kvfree(fw_save->dram); in intel_sst_resume()
Dsst_pci.c93 ctx->dram = pcim_iomap(pci, 4, pci_resource_len(pci, 4)); in sst_platform_get_resources()
94 if (!ctx->dram) { in sst_platform_get_resources()
98 dev_dbg(ctx->dev, "DRAM Ptr %p\n", ctx->dram); in sst_platform_get_resources()
/linux-6.6.21/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()
/linux-6.6.21/Documentation/devicetree/bindings/clock/
Dallwinner,sun9i-a80-de-clks.yaml35 - const: dram
61 clock-names = "mod", "dram", "bus";
/linux-6.6.21/drivers/net/wireless/intel/iwlwifi/
Diwl-context-info.h170 struct iwl_context_info_dram dram; member
185 struct iwl_dram_data *dram);
/linux-6.6.21/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";
/linux-6.6.21/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()
/linux-6.6.21/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 …]

12345