Home
last modified time | relevance | path

Searched refs:rambase (Results 1 – 11 of 11) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/wan/
Dpci200syn.c82 u8 __iomem *rambase; /* buffer memory base (virtual) */ member
250 if (card->rambase) in pci200_pci_remove_one()
251 iounmap(card->rambase); in pci200_pci_remove_one()
324 card->rambase = pci_ioremap_bar(pdev, 3); in pci200_pci_init_one()
328 card->rambase == NULL) { in pci200_pci_init_one()
344 ramsize = sca_detect_ram(card, card->rambase, in pci200_pci_init_one()
Dpc300too.c98 u8 __iomem *rambase; /* buffer memory base (virtual) */ member
272 if (card->rambase) in pc300_pci_remove_one()
273 iounmap(card->rambase); in pc300_pci_remove_one()
339 card->rambase = pci_ioremap_bar(pdev, 3); in pc300_pci_init_one()
343 card->rambase == NULL) { in pc300_pci_init_one()
394 ramsize = sca_detect_ram(card, card->rambase, in pc300_pci_init_one()
Dhd64572.c95 return (pkt_desc __iomem *)(port->card->rambase + in desc_address()
215 memcpy_fromio(skb->data, card->rambase + buff, len); in sca_rx()
582 memcpy_toio(card->rambase + buff, skb->data, len); in sca_xmit()
604 static u32 sca_detect_ram(card_t *card, u8 __iomem *rambase, u32 ramsize) in sca_detect_ram() argument
611 writel(i ^ 0x12345678, rambase + i); in sca_detect_ram()
615 if (readl(rambase + i) != (i ^ 0x12345678)) in sca_detect_ram()
Dhd64570.c675 static u32 sca_detect_ram(card_t *card, u8 __iomem *rambase, u32 ramsize) in sca_detect_ram() argument
687 writel(i ^ 0x12345678, rambase + i % size); in sca_detect_ram()
694 if (readl(rambase + i % size) != (i ^ 0x12345678)) in sca_detect_ram()
/kernel/linux/linux-5.10/drivers/media/dvb-frontends/
Dnxt200x.c412 u16 rambase, position, crc = 0; in nxt2002_load_firmware() local
421 rambase = 0x1000; in nxt2002_load_firmware()
423 rambase = 0x0000; in nxt2002_load_firmware()
425 dprintk("rambase on this nxt2002 is %04X\n", rambase); in nxt2002_load_firmware()
435 buf[0] = ((rambase + position) >> 8); in nxt2002_load_firmware()
436 buf[1] = (rambase + position) & 0xFF; in nxt2002_load_firmware()
479 u16 rambase, position, crc=0; in nxt2004_load_firmware() local
485 rambase = 0x1000; in nxt2004_load_firmware()
496 buf[0] = rambase >> 8; in nxt2004_load_firmware()
497 buf[1] = rambase & 0xFF; in nxt2004_load_firmware()
/kernel/linux/linux-5.10/drivers/usb/gadget/udc/
Dudc-xilinx.c145 u32 rambase; member
197 static u32 rambase[8] = { 0x22, 0x1000, 0x1100, 0x1200, 0x1300, 0x1400, 0x1500, variable
287 (ep->ep_usb.maxpacket << 15) | (ep->rambase)); in xudc_epconfig()
389 eprambase = (u32 __force *)(udc->addr + ep->rambase); in xudc_dma_send()
399 eprambase = (u32 __force *)(udc->addr + ep->rambase + in xudc_dma_send()
440 eprambase = (u32 __force *)(udc->addr + ep->rambase); in xudc_dma_receive()
450 ep->rambase + ep->ep_usb.maxpacket); in xudc_dma_receive()
497 eprambase = (u32 __force *)(udc->addr + ep->rambase); in xudc_eptxrx()
514 eprambase = (u32 __force *)(udc->addr + ep->rambase + in xudc_eptxrx()
849 ep->rambase = rambase[ep->epnumber]; in __xudc_ep_enable()
[all …]
/kernel/linux/linux-5.10/drivers/video/fbdev/
Dcirrusfb.c2203 unsigned long regbase, ramsize, rambase; in cirrusfb_zorro_register() local
2215 rambase = zorro_resource_start(z) + zcl->ramoffset; in cirrusfb_zorro_register()
2218 rambase += zcl->ramoffset; in cirrusfb_zorro_register()
2227 rambase = zorro_resource_start(ram); in cirrusfb_zorro_register()
2231 if (zorro_resource_start(ram) != rambase + ramsize) { in cirrusfb_zorro_register()
2244 rambase); in cirrusfb_zorro_register()
2264 info->fix.smem_start = rambase; in cirrusfb_zorro_register()
2266 info->screen_base = rambase > 16 * MB_ ? ioremap(rambase, ramsize) in cirrusfb_zorro_register()
2267 : ZTWO_VADDR(rambase); in cirrusfb_zorro_register()
2278 ramsize / MB_, rambase); in cirrusfb_zorro_register()
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dchip.h34 u32 rambase; member
Dpcie.c434 void __iomem *addr = devinfo->tcm + devinfo->ci->rambase + mem_offset; in brcmf_pcie_read_ram32()
444 void __iomem *addr = devinfo->tcm + devinfo->ci->rambase + mem_offset; in brcmf_pcie_write_ram32()
1373 brcmf_dbg(PCIE, "dump at 0x%08X: len=%zu\n", devinfo->ci->rambase, len); in brcmf_pcie_get_memdump()
1374 brcmf_pcie_copy_dev_tomem(devinfo, devinfo->ci->rambase, data, len); in brcmf_pcie_get_memdump()
1541 memcpy_toio(devinfo->tcm + devinfo->ci->rambase, in brcmf_pcie_download_fw_nvram()
1554 address = devinfo->ci->rambase + devinfo->ci->ramsize - in brcmf_pcie_download_fw_nvram()
1585 if (sharedram_addr < devinfo->ci->rambase || in brcmf_pcie_download_fw_nvram()
1586 sharedram_addr >= devinfo->ci->rambase + devinfo->ci->ramsize) { in brcmf_pcie_download_fw_nvram()
Dchip.c747 ci->pub.rambase = brcmf_chip_tcm_rambase(ci); in brcmf_chip_get_raminfo()
748 if (!ci->pub.rambase) { in brcmf_chip_get_raminfo()
758 ci->pub.rambase = brcmf_chip_tcm_rambase(ci); in brcmf_chip_get_raminfo()
759 if (!ci->pub.rambase) { in brcmf_chip_get_raminfo()
777 ci->pub.rambase, ci->pub.ramsize, ci->pub.ramsize, in brcmf_chip_get_raminfo()
Dsdio.c1030 shaddr = bus->ci->rambase + bus->ci->ramsize - 4; in brcmf_sdio_readshared()
1031 if (!bus->ci->rambase && brcmf_chip_sr_capable(bus->ci)) in brcmf_sdio_readshared()
3342 err = brcmf_sdiod_ramrw(bus->sdiodev, true, bus->ci->rambase, in brcmf_sdio_download_code_file()
3346 err, (int)fw->size, bus->ci->rambase); in brcmf_sdio_download_code_file()
3347 else if (!brcmf_sdio_verifymemory(bus->sdiodev, bus->ci->rambase, in brcmf_sdio_download_code_file()
3362 address = bus->ci->ramsize - varsz + bus->ci->rambase; in brcmf_sdio_download_nvram()
3596 brcmf_dbg(INFO, "dump at 0x%08x: size=%zu\n", bus->ci->rambase, in brcmf_sdio_bus_get_memdump()
3599 address = bus->ci->rambase; in brcmf_sdio_bus_get_memdump()