Home
last modified time | relevance | path

Searched refs:baddr (Results 1 – 25 of 36) sorted by relevance

12

/drivers/net/hippi/
Drrunner.h502 unsigned long baddr = addr; in set_rraddr() local
504 ra->addrlo = baddr; in set_rraddr()
507 ra->addrlo = baddr; in set_rraddr()
515 unsigned long baddr = addr; in set_rxaddr() local
517 writel(baddr & 0xffffffff, &regs->RxRingHi); in set_rxaddr()
518 writel(baddr >> 32, &regs->RxRingLo); in set_rxaddr()
520 writel(baddr >> 32, &regs->RxRingHi); in set_rxaddr()
521 writel(baddr & 0xffffffff, &regs->RxRingLo); in set_rxaddr()
524 writel(baddr, &regs->RxRingLo); in set_rxaddr()
532 unsigned long baddr = addr; in set_infoaddr() local
[all …]
/drivers/net/wireless/ath/ath10k/
Dce.h347 #define CE_SRC_RING_TO_DESC(baddr, idx) \ argument
348 (&(((struct ce_desc *)baddr)[idx]))
350 #define CE_DEST_RING_TO_DESC(baddr, idx) \ argument
351 (&(((struct ce_desc *)baddr)[idx]))
353 #define CE_SRC_RING_TO_DESC_64(baddr, idx) \ argument
354 (&(((struct ce_desc_64 *)baddr)[idx]))
356 #define CE_DEST_RING_TO_DESC_64(baddr, idx) \ argument
357 (&(((struct ce_desc_64 *)baddr)[idx]))
/drivers/media/v4l2-core/
Dvideobuf-dma-contig.c120 q->bufs[i]->baddr = 0; in videobuf_vm_close()
159 unsigned long untagged_baddr = untagged_addr(vb->baddr); in videobuf_dma_contig_user_get()
256 if (vb->baddr) in __videobuf_iolock()
290 buf->baddr = vma->vm_start; in __videobuf_mmap_mapper()
387 if (buf->baddr) { in videobuf_dma_contig_free()
Dvideobuf-vmalloc.c109 q->bufs[i]->baddr = 0; in videobuf_vm_close()
180 if (vb->baddr) { in __videobuf_iolock()
227 buf->baddr = vma->vm_start; in __videobuf_mmap_mapper()
312 if ((buf->memory != V4L2_MEMORY_USERPTR) || buf->baddr) in videobuf_vmalloc_free()
Dvideobuf-dma-sg.c420 q->bufs[i]->baddr = 0; in videobuf_vm_close()
519 if (0 == vb->baddr) { in __videobuf_iolock()
531 vb->baddr, vb->bsize); in __videobuf_iolock()
542 vb->baddr, vb->bsize); in __videobuf_iolock()
630 q->bufs[i]->baddr = vma->vm_start + size; in __videobuf_mmap_mapper()
Dvideobuf-core.c334 b->m.userptr = vb->baddr; in videobuf_status()
572 if (0 == buf->baddr) { in videobuf_qbuf()
591 buf->baddr != b->m.userptr) in videobuf_qbuf()
593 buf->baddr = b->m.userptr; in videobuf_qbuf()
802 q->read_buf->baddr = (unsigned long)data; in videobuf_read_zerocopy()
/drivers/xen/
Dswiotlb-xen.c51 phys_addr_t baddr = (phys_addr_t)bfn << XEN_PAGE_SHIFT; in xen_phys_to_bus() local
53 baddr |= paddr & ~XEN_PAGE_MASK; in xen_phys_to_bus()
54 return baddr; in xen_phys_to_bus()
63 phys_addr_t baddr) in xen_bus_to_phys() argument
65 unsigned long xen_pfn = bfn_to_pfn(XEN_PFN_DOWN(baddr)); in xen_bus_to_phys()
67 (baddr & ~XEN_PAGE_MASK); in xen_bus_to_phys()
/drivers/gpu/drm/
Ddrm_vm.c140 resource_size_t baddr = map->offset + offset; in drm_vm_fault() local
148 baddr -= dev->hose->mem_space->start; in drm_vm_fault()
155 if (agpmem->bound <= baddr && in drm_vm_fault()
156 agpmem->bound + agpmem->pages * PAGE_SIZE > baddr) in drm_vm_fault()
166 offset = (baddr - agpmem->bound) >> PAGE_SHIFT; in drm_vm_fault()
173 (unsigned long long)baddr, in drm_vm_fault()
/drivers/scsi/aacraid/
Drx.c348 dma_addr_t paddr, baddr; in aac_rx_check_health() local
353 buffer = dma_alloc_coherent(&dev->pdev->dev, 512, &baddr, in aac_rx_check_health()
362 dma_free_coherent(&dev->pdev->dev, 512, buffer, baddr); in aac_rx_check_health()
367 post->Post_Address = cpu_to_le32(baddr); in aac_rx_check_health()
369 rx_sync_cmd(dev, COMMAND_POST_RESULTS, baddr, 0, 0, 0, 0, 0, in aac_rx_check_health()
377 dma_free_coherent(&dev->pdev->dev, 512, buffer, baddr); in aac_rx_check_health()
/drivers/scsi/sym53c8xx_2/
Dsym_hipd.h1131 dma_addr_t baddr; /* Bus physical address */ member
1196 dma_addr_t baddr = 0; in sym_m_get_dma_mem_cluster() local
1198 vaddr = dma_alloc_coherent(mp->dev_dmat, SYM_MEM_CLUSTER_SIZE, &baddr, in sym_m_get_dma_mem_cluster()
1202 vbp->baddr = baddr; in sym_m_get_dma_mem_cluster()
1210 vbp->baddr); in sym_m_free_dma_mem_cluster()
Dsym_malloc.c362 b = vp->baddr + (m - a); in __vtobus()
Dsym_glue.c260 dma_addr_t baddr = sg_dma_address(sg); in sym_scatter() local
268 sym_build_sge(np, &data[segment], baddr, len); in sym_scatter()
/drivers/infiniband/hw/qedr/
Dqedr_roce_cm.c85 pkt->header.baddr); in qedr_ll2_complete_tx_packet()
200 ll2_tx_pkt.first_frag = pkt->header.baddr; in qedr_ll2_post_tx()
211 pkt->header.vaddr, pkt->header.baddr); in qedr_ll2_post_tx()
223 pkt->payload[i].baddr, in qedr_ll2_post_tx()
516 &packet->header.baddr, in qedr_gsi_build_packet()
533 packet->payload[i].baddr = swr->sg_list[i].addr; in qedr_gsi_build_packet()
/drivers/net/ethernet/freescale/
Dgianfar.c128 u32 __iomem *baddr; in gfar_init_tx_rx_base() local
131 baddr = &regs->tbase0; in gfar_init_tx_rx_base()
133 gfar_write(baddr, priv->tx_queue[i]->tx_bd_dma_base); in gfar_init_tx_rx_base()
134 baddr += 2; in gfar_init_tx_rx_base()
137 baddr = &regs->rbase0; in gfar_init_tx_rx_base()
139 gfar_write(baddr, priv->rx_queue[i]->rx_bd_dma_base); in gfar_init_tx_rx_base()
140 baddr += 2; in gfar_init_tx_rx_base()
147 u32 __iomem *baddr; in gfar_init_rqprm() local
150 baddr = &regs->rqprm0; in gfar_init_rqprm()
152 gfar_write(baddr, priv->rx_queue[i]->rx_ring_size | in gfar_init_rqprm()
[all …]
Dgianfar.h1261 u32 __iomem *baddr = &regs->isrg0; in gfar_write_isrg() local
1276 gfar_write(baddr, isrg); in gfar_write_isrg()
1278 baddr++; in gfar_write_isrg()
/drivers/net/ethernet/alteon/
Dacenic.h715 u64 baddr = (u64) addr; in set_aceaddr() local
716 aa->addrlo = baddr & 0xffffffff; in set_aceaddr()
717 aa->addrhi = baddr >> 32; in set_aceaddr()
/drivers/rapidio/devices/
Drio_mport_cdev.c897 dma_addr_t baddr; in rio_dma_transfer() local
900 baddr = (dma_addr_t)xfer->handle; in rio_dma_transfer()
904 if (baddr >= map->phys_addr && in rio_dma_transfer()
905 baddr < (map->phys_addr + map->size)) { in rio_dma_transfer()
930 map->virt_addr + (baddr - map->phys_addr) + in rio_dma_transfer()
2200 dma_addr_t baddr; in mport_cdev_mmap() local
2209 baddr = ((dma_addr_t)vma->vm_pgoff << PAGE_SHIFT); in mport_cdev_mmap()
2213 if (baddr >= map->phys_addr && in mport_cdev_mmap()
2214 baddr < (map->phys_addr + map->size)) { in mport_cdev_mmap()
2224 offset = baddr - map->phys_addr; in mport_cdev_mmap()
/drivers/net/ethernet/sfc/
Dmcdi_filters.c747 u8 baddr[ETH_ALEN]; in efx_mcdi_filter_insert_addr_list() local
797 eth_broadcast_addr(baddr); in efx_mcdi_filter_insert_addr_list()
798 efx_filter_set_eth_local(&spec, vlan->vid, baddr); in efx_mcdi_filter_insert_addr_list()
828 u8 baddr[ETH_ALEN]; in efx_mcdi_filter_insert_def() local
914 eth_broadcast_addr(baddr); in efx_mcdi_filter_insert_def()
915 efx_filter_set_eth_local(&spec, vlan->vid, baddr); in efx_mcdi_filter_insert_def()
/drivers/media/pci/cx18/
Dcx18-streams.c120 if ((buf->vb.baddr != 0) && (buf->vb.bsize < buf->vb.size)) in cx18_prepare_buffer()
143 if ((buf->vb.baddr != 0) && (buf->vb.bsize < buf->vb.size)) in cx18_prepare_buffer()
/drivers/scsi/
Dpmcraid.c1141 dma = pinstance->ccn.baddr + PMCRAID_AEN_HDR_SIZE; in pmcraid_init_hcam()
1146 dma = pinstance->ldn.baddr + PMCRAID_AEN_HDR_SIZE; in pmcraid_init_hcam()
4739 pinstance->ccn.baddr); in pmcraid_release_hcams()
4743 pinstance->ccn.baddr = 0; in pmcraid_release_hcams()
4751 pinstance->ldn.baddr); in pmcraid_release_hcams()
4755 pinstance->ldn.baddr = 0; in pmcraid_release_hcams()
4771 &pinstance->ccn.baddr, GFP_KERNEL); in pmcraid_allocate_hcams()
4776 &pinstance->ldn.baddr, GFP_KERNEL); in pmcraid_allocate_hcams()
Dpmcraid.h647 dma_addr_t baddr; /* system address of hcam buffer */ member
Dncr53c8xx.c209 m_addr_t baddr; member
390 vbp->baddr = daddr; in ___dma_getp()
414 (void *)vbp->vaddr, (dma_addr_t)vbp->baddr); in ___dma_freep()
503 return vp ? vp->baddr + (((m_addr_t) m) - a) : 0; in __vtobus()
7494 dma_addr_t baddr = sg_dma_address(sg); in ncr_scatter() local
7497 ncr_build_sge(np, &data[segment], baddr, len); in ncr_scatter()
/drivers/net/ethernet/apple/
Dbmac.c564 unsigned long baddr; in bmac_construct_xmt() local
569 baddr = virt_to_bus(vaddr); in bmac_construct_xmt()
571 dbdma_setcmd(cp, (OUTPUT_LAST | INTR_ALWAYS | WAIT_IFCLR), len, baddr, 0); in bmac_construct_xmt()
/drivers/media/pci/bt8xx/
Dbttv-vbi.c104 if (0 != buf->vb.baddr && buf->vb.bsize < buf->vb.size) in vbi_buffer_prepare()
/drivers/media/common/saa7146/
Dsaa7146_vbi.c235 if (0 != buf->vb.baddr && buf->vb.bsize < size) { in buffer_prepare()

12