Home
last modified time | relevance | path

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

/Linux-v5.4/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()
/Linux-v5.4/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()
/Linux-v5.4/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 …]
/Linux-v5.4/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dchip.h34 u32 rambase; member
Dpcie.c431 void __iomem *addr = devinfo->tcm + devinfo->ci->rambase + mem_offset; in brcmf_pcie_read_ram32()
441 void __iomem *addr = devinfo->tcm + devinfo->ci->rambase + mem_offset; in brcmf_pcie_write_ram32()
1397 brcmf_dbg(PCIE, "dump at 0x%08X: len=%zu\n", devinfo->ci->rambase, len); in brcmf_pcie_get_memdump()
1398 brcmf_pcie_copy_dev_tomem(devinfo, devinfo->ci->rambase, data, len); in brcmf_pcie_get_memdump()
1562 brcmf_pcie_copy_mem_todev(devinfo, devinfo->ci->rambase, in brcmf_pcie_download_fw_nvram()
1575 address = devinfo->ci->rambase + devinfo->ci->ramsize - in brcmf_pcie_download_fw_nvram()
1606 if (sharedram_addr < devinfo->ci->rambase || in brcmf_pcie_download_fw_nvram()
1607 sharedram_addr >= devinfo->ci->rambase + devinfo->ci->ramsize) { in brcmf_pcie_download_fw_nvram()
Dchip.c710 ci->pub.rambase = brcmf_chip_tcm_rambase(ci); in brcmf_chip_get_raminfo()
711 if (!ci->pub.rambase) { in brcmf_chip_get_raminfo()
721 ci->pub.rambase = brcmf_chip_tcm_rambase(ci); in brcmf_chip_get_raminfo()
722 if (!ci->pub.rambase) { in brcmf_chip_get_raminfo()
740 ci->pub.rambase, ci->pub.ramsize, ci->pub.ramsize, in brcmf_chip_get_raminfo()
Dsdio.c1005 shaddr = bus->ci->rambase + bus->ci->ramsize - 4; in brcmf_sdio_readshared()
1006 if (!bus->ci->rambase && brcmf_chip_sr_capable(bus->ci)) in brcmf_sdio_readshared()
3305 err = brcmf_sdiod_ramrw(bus->sdiodev, true, bus->ci->rambase, in brcmf_sdio_download_code_file()
3309 err, (int)fw->size, bus->ci->rambase); in brcmf_sdio_download_code_file()
3310 else if (!brcmf_sdio_verifymemory(bus->sdiodev, bus->ci->rambase, in brcmf_sdio_download_code_file()
3325 address = bus->ci->ramsize - varsz + bus->ci->rambase; in brcmf_sdio_download_nvram()
3558 brcmf_dbg(INFO, "dump at 0x%08x: size=%zu\n", bus->ci->rambase, in brcmf_sdio_bus_get_memdump()
3561 address = bus->ci->rambase; in brcmf_sdio_bus_get_memdump()
/Linux-v5.4/drivers/video/fbdev/
Dcirrusfb.c2204 unsigned long regbase, ramsize, rambase; in cirrusfb_zorro_register() local
2216 rambase = zorro_resource_start(z) + zcl->ramoffset; in cirrusfb_zorro_register()
2219 rambase += zcl->ramoffset; in cirrusfb_zorro_register()
2228 rambase = zorro_resource_start(ram); in cirrusfb_zorro_register()
2232 if (zorro_resource_start(ram) != rambase + ramsize) { in cirrusfb_zorro_register()
2245 rambase); in cirrusfb_zorro_register()
2265 info->fix.smem_start = rambase; in cirrusfb_zorro_register()
2267 info->screen_base = rambase > 16 * MB_ ? ioremap(rambase, ramsize) in cirrusfb_zorro_register()
2268 : ZTWO_VADDR(rambase); in cirrusfb_zorro_register()
2279 ramsize / MB_, rambase); in cirrusfb_zorro_register()
[all …]