Home
last modified time | relevance | path

Searched refs:bus_addr (Results 1 – 25 of 39) sorted by relevance

12

/drivers/crypto/qat/qat_common/
Dqat_uclo.c1191 u64 bus_addr; in qat_uclo_auth_fw() local
1193 bus_addr = ADD_ADDR(desc->css_hdr_high, desc->css_hdr_low) in qat_uclo_auth_fw()
1195 SET_CAP_CSR(handle, FCU_DRAM_ADDR_HI, (bus_addr >> BITS_IN_DWORD)); in qat_uclo_auth_fw()
1196 SET_CAP_CSR(handle, FCU_DRAM_ADDR_LO, bus_addr); in qat_uclo_auth_fw()
1261 u64 virt_addr, bus_addr, virt_base; in qat_uclo_map_auth_fw() local
1281 bus_addr = img_desc.dram_bus_addr + simg_offset; in qat_uclo_map_auth_fw()
1283 auth_desc->css_hdr_high = (unsigned int)(bus_addr >> BITS_IN_DWORD); in qat_uclo_map_auth_fw()
1284 auth_desc->css_hdr_low = (unsigned int)bus_addr; in qat_uclo_map_auth_fw()
1289 bus_addr = ADD_ADDR(auth_desc->css_hdr_high, auth_desc->css_hdr_low) + in qat_uclo_map_auth_fw()
1293 auth_desc->fwsk_pub_high = (unsigned int)(bus_addr >> BITS_IN_DWORD); in qat_uclo_map_auth_fw()
[all …]
/drivers/gpu/drm/
Dati_pcigart.c72 if (gart_info->bus_addr) { in drm_ati_pcigart_cleanup()
86 gart_info->bus_addr = 0; in drm_ati_pcigart_cleanup()
135 bus_address = gart_info->bus_addr; in drm_ati_pcigart_init()
201 gart_info->bus_addr = bus_address; in drm_ati_pcigart_init()
/drivers/firmware/
Draspberrypi.c84 dma_addr_t bus_addr; in rpi_firmware_property_list() local
91 buf = dma_alloc_coherent(fw->cl.dev, PAGE_ALIGN(size), &bus_addr, in rpi_firmware_property_list()
105 ret = rpi_firmware_transaction(fw, MBOX_CHAN_PROPERTY, bus_addr); in rpi_firmware_property_list()
120 dma_free_coherent(fw->cl.dev, PAGE_ALIGN(size), buf, bus_addr); in rpi_firmware_property_list()
/drivers/tty/serial/8250/
D8250_acorn.c47 unsigned long bus_addr; in serial_card_probe() local
56 bus_addr = ecard_resource_start(ec, type->type); in serial_card_probe()
75 uart.port.mapbase = bus_addr + type->offset[i]; in serial_card_probe()
/drivers/scsi/aic94xx/
Daic94xx_task.c71 sg_arr[0].bus_addr = cpu_to_le64((u64)dma); in asd_map_scatterlist()
100 sg->bus_addr = cpu_to_le64((u64)sg_dma_address(sc)); in asd_map_scatterlist()
107 sg_arr[i].bus_addr = in asd_map_scatterlist()
115 sg_arr[2].bus_addr=cpu_to_le64((u64)ascb->sg_arr->dma_handle); in asd_map_scatterlist()
119 sg_arr[i].bus_addr = in asd_map_scatterlist()
144 le64_to_cpu(ascb->scb->ssp_task.sg_element[0].bus_addr); in asd_unmap_scatterlist()
450 scb->smp_task.smp_req.bus_addr = in asd_build_smp_ascb()
455 scb->smp_task.smp_resp.bus_addr = in asd_build_smp_ascb()
/drivers/media/v4l2-core/
Dvideobuf-dma-sg.c282 dma->bus_addr = addr; in videobuf_dma_init_overlay()
301 if (dma->bus_addr) { in videobuf_dma_map()
305 sg_dma_address(&dma->sglist[0]) = dma->bus_addr in videobuf_dma_map()
307 dma->sglist[0].offset = dma->bus_addr & ~PAGE_MASK; in videobuf_dma_map()
315 if (!dma->bus_addr) { in videobuf_dma_map()
377 if (dma->bus_addr) in videobuf_dma_free()
378 dma->bus_addr = 0; in videobuf_dma_free()
/drivers/net/ethernet/toshiba/
Dps3_gelic_net.c176 card->rx_chain.head->bus_addr, 0); in gelic_card_enable_rxdmac()
240 descr->next_descr_addr = cpu_to_be32(descr->next->bus_addr); in gelic_card_reset_chain()
302 for (descr = descr_in; descr && descr->bus_addr; descr = descr->next) { in gelic_card_free_chain()
303 dma_unmap_single(ctodev(card), descr->bus_addr, in gelic_card_free_chain()
305 descr->bus_addr = 0; in gelic_card_free_chain()
334 descr->bus_addr = in gelic_card_init_chain()
339 if (!descr->bus_addr) in gelic_card_init_chain()
352 descr->next_descr_addr = cpu_to_be32(descr->next->bus_addr); in gelic_card_init_chain()
365 if (descr->bus_addr) in gelic_card_init_chain()
366 dma_unmap_single(ctodev(card), descr->bus_addr, in gelic_card_init_chain()
[all …]
Dspider_net.c294 descr->bus_addr = 0; in spider_net_free_chain()
341 descr->bus_addr = buf; in spider_net_init_chain()
459 card->rx_chain.tail->bus_addr); in spider_net_enable_rxchtails()
535 descr->prev->hwdescr->next_descr_addr = descr->bus_addr; in spider_net_alloc_rx_skbs()
706 descr->prev->hwdescr->next_descr_addr = descr->bus_addr; in spider_net_prepare_tx_descr()
864 descr->bus_addr); in spider_net_kick_tx_dma()
1023 if (curr_desc == descr->bus_addr) in show_rx_chain()
1027 if (next_desc == descr->bus_addr) in show_rx_chain()
1062 descr->bus_addr, hwd->buf_addr, hwd->buf_size); in show_rx_chain()
Dps3_gelic_net.h258 dma_addr_t bus_addr; member
/drivers/infiniband/hw/usnic/
Dusnic_ib_verbs.c86 resp.bar_bus_addr = bar->bus_addr; in usnic_ib_fill_create_qp_resp()
696 dma_addr_t bus_addr; in usnic_ib_mmap() local
721 bus_addr = bar->bus_addr; in usnic_ib_mmap()
724 &bus_addr, bar->vaddr, bar->len); in usnic_ib_mmap()
729 bus_addr >> PAGE_SHIFT, in usnic_ib_mmap()
Dusnic_vnic.c106 &bar0->bus_addr, in usnic_vnic_dump()
371 vnic->bar[i].bus_addr = pci_resource_start(pdev, i); in usnic_vnic_discover_resources()
/drivers/remoteproc/
Dwkup_m3_rproc.c44 phys_addr_t bus_addr; member
186 wkupm3->mem[i].bus_addr = res->start; in wkup_m3_rproc_probe()
/drivers/net/ethernet/cisco/enic/
Dvnic_dev.h56 dma_addr_t bus_addr; member
81 dma_addr_t bus_addr; member
/drivers/atm/
Dambassador.c1982 static inline __be32 bus_addr(void * addr) { in bus_addr() function
1994 a.command_start = bus_addr (dev->cq.ptrs.start); in amb_talk()
1995 a.command_end = bus_addr (dev->cq.ptrs.limit); in amb_talk()
1996 a.tx_start = bus_addr (dev->txq.in.start); in amb_talk()
1997 a.tx_end = bus_addr (dev->txq.in.limit); in amb_talk()
1998 a.txcom_start = bus_addr (dev->txq.out.start); in amb_talk()
1999 a.txcom_end = bus_addr (dev->txq.out.limit); in amb_talk()
2003 a.rec_struct[pool].buffer_start = bus_addr (dev->rxq[pool].in.start); in amb_talk()
2004 a.rec_struct[pool].buffer_end = bus_addr (dev->rxq[pool].in.limit); in amb_talk()
2005 a.rec_struct[pool].rx_start = bus_addr (dev->rxq[pool].out.start); in amb_talk()
[all …]
/drivers/net/wireless/ath/ath10k/
Dswap.h52 __le32 bus_addr[ATH10K_SWAP_CODE_SEG_NUM_MAX]; member
Dswap.c125 seg_info->seg_hw_info.bus_addr[0] = __cpu_to_le32(paddr); in ath10k_swap_code_seg_alloc()
/drivers/scsi/aic7xxx/
Daic79xx_osm_pci.c274 resource_size_t *bus_addr, in ahd_linux_pci_reserve_mem_region() argument
292 *bus_addr = start; in ahd_linux_pci_reserve_mem_region()
Daic7xxx_osm_pci.c361 resource_size_t *bus_addr, in ahc_linux_pci_reserve_mem_region() argument
370 *bus_addr = start; in ahc_linux_pci_reserve_mem_region()
/drivers/dma/
Dep93xx_dma.c363 u32 bus_addr; in m2p_fill_desc() local
372 bus_addr = desc->src_addr; in m2p_fill_desc()
374 bus_addr = desc->dst_addr; in m2p_fill_desc()
378 writel(bus_addr, edmac->regs + M2P_BASE0); in m2p_fill_desc()
381 writel(bus_addr, edmac->regs + M2P_BASE1); in m2p_fill_desc()
/drivers/scsi/snic/
Dvnic_dev.h50 dma_addr_t bus_addr; member
/drivers/iommu/
Damd_iommu.c1452 unsigned long bus_addr, in iommu_map_page() argument
1461 BUG_ON(!IS_ALIGNED(bus_addr, page_size)); in iommu_map_page()
1468 pte = alloc_pte(dom, bus_addr, page_size, NULL, gfp); in iommu_map_page()
1497 unsigned long bus_addr, in iommu_unmap_page() argument
1510 pte = fetch_pte(dom, bus_addr, &unmap_size); in iommu_unmap_page()
1520 bus_addr = (bus_addr & ~(unmap_size - 1)) + unmap_size; in iommu_unmap_page()
2567 unsigned long bus_addr, phys_addr; in map_sg() local
2570 bus_addr = address + s->dma_address + (j << PAGE_SHIFT); in map_sg()
2572 ret = iommu_map_page(domain, bus_addr, phys_addr, PAGE_SIZE, prot, GFP_ATOMIC); in map_sg()
2596 unsigned long bus_addr; in map_sg() local
[all …]
/drivers/scsi/esas2r/
Desas2r_init.c265 u64 bus_addr = 0; in esas2r_init_adapter() local
397 (dma_addr_t *)&bus_addr, in esas2r_init_adapter()
407 a->uncached_phys = bus_addr; in esas2r_init_adapter()
412 upper_32_bits(bus_addr), in esas2r_init_adapter()
413 lower_32_bits(bus_addr)); in esas2r_init_adapter()
/drivers/gpu/drm/r128/
Dr128_cce.c562 dev_priv->gart_info.bus_addr = 0; in r128_do_init_cce()
570 R128_WRITE(R128_PCI_GART_PAGE, dev_priv->gart_info.bus_addr); in r128_do_init_cce()
616 if (dev_priv->gart_info.bus_addr) in r128_do_cleanup_cce()
/drivers/scsi/fnic/
Dvnic_dev.h91 dma_addr_t bus_addr; member
/drivers/scsi/sym53c8xx_2/
Dsym_glue.c1529 struct pci_bus_region bus_addr; in sym_iomap_device() local
1532 pcibios_resource_to_bus(pdev->bus, &bus_addr, &pdev->resource[1]); in sym_iomap_device()
1533 device->mmio_base = bus_addr.start; in sym_iomap_device()
1542 pcibios_resource_to_bus(pdev->bus, &bus_addr, in sym_iomap_device()
1544 device->ram_base = bus_addr.start; in sym_iomap_device()

12