/linux-6.1.9/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
D | debug.c | 21 size_t ramsize; in brcmf_debug_create_memdump() local 24 ramsize = brcmf_bus_get_ramsize(bus); in brcmf_debug_create_memdump() 25 if (!ramsize) in brcmf_debug_create_memdump() 28 dump = vzalloc(len + ramsize); in brcmf_debug_create_memdump() 34 err = brcmf_bus_get_memdump(bus, dump + len, ramsize); in brcmf_debug_create_memdump() 40 dev_coredumpv(bus->dev, dump, len + ramsize, GFP_KERNEL); in brcmf_debug_create_memdump()
|
D | chip.c | 592 static void brcmf_chip_socram_ramsize(struct brcmf_core_priv *sr, u32 *ramsize, in brcmf_chip_socram_ramsize() argument 600 *ramsize = 0; in brcmf_chip_socram_ramsize() 618 *ramsize = nb * (1 << (banksize + SR_BSZ_BASE)); in brcmf_chip_socram_ramsize() 620 *ramsize += (1 << ((lss - 1) + SR_BSZ_BASE)); in brcmf_chip_socram_ramsize() 631 *ramsize += banksize; in brcmf_chip_socram_ramsize() 757 ci->pub.ramsize = brcmf_chip_tcm_ramsize(mem_core); in brcmf_chip_get_raminfo() 768 ci->pub.ramsize = brcmf_chip_sysmem_ramsize(mem_core); in brcmf_chip_get_raminfo() 783 brcmf_chip_socram_ramsize(mem_core, &ci->pub.ramsize, in brcmf_chip_get_raminfo() 788 ci->pub.rambase, ci->pub.ramsize, ci->pub.ramsize, in brcmf_chip_get_raminfo() 791 if (!ci->pub.ramsize) { in brcmf_chip_get_raminfo() [all …]
|
D | chip.h | 37 u32 ramsize; member
|
D | pcie.c | 1472 return devinfo->ci->ramsize - devinfo->ci->srsize; in brcmf_pcie_get_ramsize() 1575 devinfo->ci->ramsize = newsize; in brcmf_pcie_adjust_ramsize() 1662 brcmf_pcie_write_ram32(devinfo, devinfo->ci->ramsize - 4, 0); in brcmf_pcie_download_fw_nvram() 1666 address = devinfo->ci->rambase + devinfo->ci->ramsize - in brcmf_pcie_download_fw_nvram() 1676 devinfo->ci->ramsize - in brcmf_pcie_download_fw_nvram() 1689 devinfo->ci->ramsize - in brcmf_pcie_download_fw_nvram() 1698 sharedram_addr >= devinfo->ci->rambase + devinfo->ci->ramsize) { in brcmf_pcie_download_fw_nvram()
|
D | sdio.c | 1043 shaddr = bus->ci->rambase + bus->ci->ramsize - 4; in brcmf_sdio_readshared() 3375 address = bus->ci->ramsize - varsz + bus->ci->rambase; in brcmf_sdio_download_nvram() 3597 return bus->ci->ramsize - bus->ci->srsize; in brcmf_sdio_bus_get_ramsize()
|
D | usb.c | 114 __le32 ramsize; /* Size of RAM */ member
|
/linux-6.1.9/arch/mips/txx9/generic/ |
D | setup.c | 781 size_t ramsize = bin_attr->size; in txx9_sram_read() local 783 if (pos >= ramsize) in txx9_sram_read() 785 if (pos + size > ramsize) in txx9_sram_read() 786 size = ramsize - pos; in txx9_sram_read() 796 size_t ramsize = bin_attr->size; in txx9_sram_write() local 798 if (pos >= ramsize) in txx9_sram_write() 800 if (pos + size > ramsize) in txx9_sram_write() 801 size = ramsize - pos; in txx9_sram_write()
|
/linux-6.1.9/drivers/net/wan/ |
D | pci200syn.c | 269 u32 ramsize; in pci200_pci_init_one() local 332 ramsize = sca_detect_ram(card, card->rambase, in pci200_pci_init_one() 336 i = ramsize / (2 * (sizeof(pkt_desc) + HDLC_MAX_MRU)); in pci200_pci_init_one() 344 ramsize / 1024, ramphys, in pci200_pci_init_one() 377 dev->mem_end = ramphys + ramsize - 1; in pci200_pci_init_one()
|
D | pc300too.c | 288 u32 ramsize; in pc300_pci_init_one() local 381 ramsize = sca_detect_ram(card, card->rambase, in pc300_pci_init_one() 391 i = ramsize / (card->n_ports * (sizeof(pkt_desc) + HDLC_MAX_MRU)); in pc300_pci_init_one() 401 ramsize / 1024, ramphys, pdev->irq, in pc300_pci_init_one() 438 dev->mem_end = ramphys + ramsize - 1; in pc300_pci_init_one()
|
D | wanxl.c | 553 u32 ramsize, stat; in wanxl_pci_init_one() local 675 ramsize = readl(card->plx + PLX_MAILBOX_2) & MBX2_MEMSZ_MASK; in wanxl_pci_init_one() 681 if (ramsize < BUFFERS_ADDR + in wanxl_pci_init_one() 684 pci_name(pdev), ramsize, in wanxl_pci_init_one() 749 ramsize = stat; in wanxl_pci_init_one() 753 pci_name(pdev), plx_phy, ramsize / 1024, mem_phy, pdev->irq); in wanxl_pci_init_one()
|
D | hd64572.c | 605 static u32 sca_detect_ram(card_t *card, u8 __iomem *rambase, u32 ramsize) in sca_detect_ram() argument 608 u32 i = ramsize &= ~3; in sca_detect_ram() 615 for (i = 0; i < ramsize ; i += 4) { in sca_detect_ram()
|
D | hd64570.c | 684 static u32 sca_detect_ram(card_t *card, u8 __iomem *rambase, u32 ramsize) in sca_detect_ram() argument 687 u32 i = ramsize &= ~3; in sca_detect_ram() 699 for (i = 0; i < ramsize ; i += 4) { in sca_detect_ram()
|
/linux-6.1.9/drivers/video/fbdev/ |
D | cg14.c | 204 int ramsize; member 300 kmdi.mdi_size = par->ramsize; in cg14_ioctl() 534 par->ramsize = (is_8mb ? 0x800000 : 0x400000); in cg14_probe() 557 par->ramsize >> 20); in cg14_probe()
|
D | cirrusfb.c | 280 u32 ramsize; /* Size of video RAM in first Zorro device */ member 310 .ramsize = 4 * MB_, 2203 unsigned long regbase, ramsize, rambase; in cirrusfb_zorro_register() local 2213 ramsize = zcl->ramsize; in cirrusfb_zorro_register() 2214 if (ramsize) { in cirrusfb_zorro_register() 2228 ramsize = zorro_resource_len(ram); in cirrusfb_zorro_register() 2231 if (zorro_resource_start(ram) != rambase + ramsize) { in cirrusfb_zorro_register() 2236 ramsize += zorro_resource_len(ram); in cirrusfb_zorro_register() 2243 cirrusfb_board_info[btype].name, regbase, ramsize / MB_, in cirrusfb_zorro_register() 2265 info->screen_size = ramsize; in cirrusfb_zorro_register() [all …]
|
/linux-6.1.9/drivers/net/ethernet/marvell/ |
D | sky2.c | 1651 u32 ramsize; in sky2_hw_up() local 1673 ramsize = sky2_read8(hw, B2_E_0) * 4; in sky2_hw_up() 1674 if (ramsize > 0) { in sky2_hw_up() 1677 netdev_dbg(sky2->netdev, "ram buffer %dK\n", ramsize); in sky2_hw_up() 1678 if (ramsize < 16) in sky2_hw_up() 1679 rxspace = ramsize / 2; in sky2_hw_up() 1681 rxspace = 8 + (2*(ramsize - 16))/3; in sky2_hw_up() 1684 sky2_ramset(hw, txqaddr[port], rxspace, ramsize - rxspace); in sky2_hw_up()
|
/linux-6.1.9/arch/arm/boot/dts/ |
D | armada-385-turris-omnia.dts | 337 * u32 ramsize; (in GiB)
|