Home
last modified time | relevance | path

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

123

/drivers/net/hippi/
Drrunner.h501 unsigned long baddr = addr; in set_rraddr() local
503 ra->addrlo = baddr; in set_rraddr()
506 ra->addrlo = baddr; in set_rraddr()
514 unsigned long baddr = addr; in set_rxaddr() local
516 writel(baddr & 0xffffffff, &regs->RxRingHi); in set_rxaddr()
517 writel(baddr >> 32, &regs->RxRingLo); in set_rxaddr()
519 writel(baddr >> 32, &regs->RxRingHi); in set_rxaddr()
520 writel(baddr & 0xffffffff, &regs->RxRingLo); in set_rxaddr()
523 writel(baddr, &regs->RxRingLo); in set_rxaddr()
531 unsigned long baddr = addr; in set_infoaddr() local
[all …]
/drivers/media/v4l2-core/
Dvideobuf-dma-contig.c124 q->bufs[i]->baddr = 0; in videobuf_vm_close()
170 offset = vb->baddr & ~PAGE_MASK; in videobuf_dma_contig_user_get()
176 vma = find_vma(mm, vb->baddr); in videobuf_dma_contig_user_get()
180 if ((vb->baddr + mem->size) > vma->vm_end) in videobuf_dma_contig_user_get()
185 user_address = vb->baddr; in videobuf_dma_contig_user_get()
259 if (vb->baddr) in __videobuf_iolock()
295 buf->baddr = vma->vm_start; in __videobuf_mmap_mapper()
393 if (buf->baddr) { in videobuf_dma_contig_free()
Dvideobuf-vmalloc.c112 q->bufs[i]->baddr = 0; in videobuf_vm_close()
183 if (vb->baddr) { in __videobuf_iolock()
205 if (!vb->baddr) in __videobuf_iolock()
212 rc = remap_vmalloc_range(mem->vma, (void *)vb->baddr, 0); in __videobuf_iolock()
250 buf->baddr = vma->vm_start; in __videobuf_mmap_mapper()
335 if ((buf->memory != V4L2_MEMORY_USERPTR) || buf->baddr) in videobuf_vmalloc_free()
Dvideobuf-dma-sg.c374 q->bufs[i]->baddr = 0; in videobuf_vm_close()
467 if (0 == vb->baddr) { in __videobuf_iolock()
479 vb->baddr, vb->bsize); in __videobuf_iolock()
490 vb->baddr, vb->bsize); in __videobuf_iolock()
578 q->bufs[i]->baddr = vma->vm_start + size; in __videobuf_mmap_mapper()
Dvideobuf-core.c332 b->m.userptr = vb->baddr; in videobuf_status()
569 if (0 == buf->baddr) { in videobuf_qbuf()
588 buf->baddr != b->m.userptr) in videobuf_qbuf()
590 buf->baddr = b->m.userptr; in videobuf_qbuf()
799 q->read_buf->baddr = (unsigned long)data; in videobuf_read_zerocopy()
/drivers/net/cris/
Deth_v10.c1593 char *baddr; in set_multicast_list() local
1601 baddr = ha->addr; in set_multicast_list()
1602 hash_ix ^= (*baddr) & 0x3f; in set_multicast_list()
1603 hash_ix ^= ((*baddr) >> 6) & 0x03; in set_multicast_list()
1604 ++baddr; in set_multicast_list()
1605 hash_ix ^= ((*baddr) << 2) & 0x03c; in set_multicast_list()
1606 hash_ix ^= ((*baddr) >> 4) & 0xf; in set_multicast_list()
1607 ++baddr; in set_multicast_list()
1608 hash_ix ^= ((*baddr) << 4) & 0x30; in set_multicast_list()
1609 hash_ix ^= ((*baddr) >> 2) & 0x3f; in set_multicast_list()
[all …]
/drivers/gpu/drm/
Ddrm_vm.c122 resource_size_t baddr = map->offset + offset; in drm_do_vm_fault() local
130 baddr -= dev->hose->mem_space->start; in drm_do_vm_fault()
137 if (agpmem->bound <= baddr && in drm_do_vm_fault()
138 agpmem->bound + agpmem->pages * PAGE_SIZE > baddr) in drm_do_vm_fault()
148 offset = (baddr - agpmem->bound) >> PAGE_SHIFT; in drm_do_vm_fault()
155 (unsigned long long)baddr, in drm_do_vm_fault()
/drivers/scsi/aacraid/
Drx.c352 dma_addr_t paddr, baddr; in aac_rx_check_health() local
357 buffer = pci_alloc_consistent(dev->pdev, 512, &baddr); in aac_rx_check_health()
364 pci_free_consistent(dev->pdev, 512, buffer, baddr); in aac_rx_check_health()
369 post->Post_Address = cpu_to_le32(baddr); in aac_rx_check_health()
371 rx_sync_cmd(dev, COMMAND_POST_RESULTS, baddr, 0, 0, 0, 0, 0, in aac_rx_check_health()
379 pci_free_consistent(dev->pdev, 512, buffer, baddr); in aac_rx_check_health()
/drivers/scsi/sym53c8xx_2/
Dsym_hipd.h1144 dma_addr_t baddr; /* Bus physical address */ member
1209 dma_addr_t baddr = 0; in sym_m_get_dma_mem_cluster() local
1211 vaddr = dma_alloc_coherent(mp->dev_dmat, SYM_MEM_CLUSTER_SIZE, &baddr, in sym_m_get_dma_mem_cluster()
1215 vbp->baddr = baddr; in sym_m_get_dma_mem_cluster()
1223 vbp->baddr); in sym_m_free_dma_mem_cluster()
Dsym_malloc.c375 b = vp->baddr + (m - a); in __vtobus()
/drivers/media/platform/soc_camera/
Dmx1_camera.c151 vb, vb->baddr, vb->bsize); in free_buffer()
171 vb, vb->baddr, vb->bsize); in mx1_videobuf_prepare()
196 if (0 != vb->baddr && vb->bsize < vb->size) { in mx1_videobuf_prepare()
252 vb, vb->baddr, vb->bsize); in mx1_videobuf_queue()
281 vb, vb->baddr, vb->bsize); in mx1_videobuf_release()
352 vb, vb->baddr, vb->bsize); in mx1_camera_dma_irq()
Dpxa_camera.c268 &buf->vb, buf->vb.baddr, buf->vb.bsize); in free_buffer()
436 vb, vb->baddr, vb->bsize); in pxa_videobuf_prepare()
446 memset((void *)vb->baddr, 0xaa, vb->bsize); in pxa_videobuf_prepare()
469 if (0 != vb->baddr && vb->bsize < vb->size) { in pxa_videobuf_prepare()
635 __func__, vb, vb->baddr, vb->bsize, pcdev->active); in pxa_videobuf_queue()
655 vb, vb->baddr, vb->bsize); in pxa_videobuf_release()
/drivers/net/ethernet/freescale/
Dgianfar.c316 u32 __iomem *baddr; in gfar_init_tx_rx_base() local
319 baddr = &regs->tbase0; in gfar_init_tx_rx_base()
321 gfar_write(baddr, priv->tx_queue[i]->tx_bd_dma_base); in gfar_init_tx_rx_base()
322 baddr += 2; in gfar_init_tx_rx_base()
325 baddr = &regs->rbase0; in gfar_init_tx_rx_base()
327 gfar_write(baddr, priv->rx_queue[i]->rx_bd_dma_base); in gfar_init_tx_rx_base()
328 baddr += 2; in gfar_init_tx_rx_base()
987 u32 __iomem *baddr; in gfar_probe() local
1104 baddr = &regs->isrg0; in gfar_probe()
1108 gfar_write(baddr, isrg); in gfar_probe()
[all …]
/drivers/net/ethernet/alteon/
Dacenic.h713 u64 baddr = (u64) addr; in set_aceaddr() local
714 aa->addrlo = baddr & 0xffffffff; in set_aceaddr()
715 aa->addrhi = baddr >> 32; in set_aceaddr()
/drivers/media/usb/au0828/
Dau0828-vbi.c92 if (0 != buf->vb.baddr && buf->vb.bsize < buf->vb.size) in vbi_prepare()
/drivers/xen/
Dswiotlb-xen.c62 static phys_addr_t xen_bus_to_phys(dma_addr_t baddr) in xen_bus_to_phys() argument
64 return machine_to_phys(XMADDR(baddr)).paddr; in xen_bus_to_phys()
/drivers/net/wireless/iwlwifi/mvm/
Dsta.c537 static const u8 baddr[] = {0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF}; in iwl_mvm_send_bcast_sta() local
544 return iwl_mvm_add_int_sta_common(mvm, bsta, baddr, in iwl_mvm_send_bcast_sta()
574 static const u8 baddr[] = {0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF}; in iwl_mvm_add_bcast_sta() local
585 ret = iwl_mvm_add_int_sta_common(mvm, bsta, baddr, in iwl_mvm_add_bcast_sta()
/drivers/media/pci/saa7134/
Dsaa7134-ts.c89 if (0 != buf->vb.baddr && buf->vb.bsize < size) in buffer_prepare()
Dsaa7134-vbi.c132 if (0 != buf->vb.baddr && buf->vb.bsize < size) in buffer_prepare()
/drivers/media/pci/cx88/
Dcx88-vbi.c167 if (0 != buf->vb.baddr && buf->vb.bsize < size) in vbi_prepare()
/drivers/media/pci/cx23885/
Dcx23885-vbi.c212 if (0 != buf->vb.baddr && buf->vb.bsize < size) in vbi_prepare()
/drivers/media/pci/cx18/
Dcx18-streams.c125 if ((buf->vb.baddr != 0) && (buf->vb.bsize < buf->vb.size)) in cx18_prepare_buffer()
148 if ((buf->vb.baddr != 0) && (buf->vb.bsize < buf->vb.size)) in cx18_prepare_buffer()
/drivers/scsi/
Dpmcraid.c1214 dma = pinstance->ccn.baddr + PMCRAID_AEN_HDR_SIZE; in pmcraid_init_hcam()
1219 dma = pinstance->ldn.baddr + PMCRAID_AEN_HDR_SIZE; in pmcraid_init_hcam()
4954 pinstance->ccn.baddr); in pmcraid_release_hcams()
4958 pinstance->ccn.baddr = 0; in pmcraid_release_hcams()
4966 pinstance->ldn.baddr); in pmcraid_release_hcams()
4970 pinstance->ldn.baddr = 0; in pmcraid_release_hcams()
4987 &(pinstance->ccn.baddr)); in pmcraid_allocate_hcams()
4993 &(pinstance->ldn.baddr)); in pmcraid_allocate_hcams()
/drivers/net/ethernet/apple/
Dbmac.c569 unsigned long baddr; in bmac_construct_xmt() local
574 baddr = virt_to_bus(vaddr); in bmac_construct_xmt()
576 dbdma_setcmd(cp, (OUTPUT_LAST | INTR_ALWAYS | WAIT_IFCLR), len, baddr, 0); in bmac_construct_xmt()
/drivers/media/pci/bt8xx/
Dbttv-vbi.c116 if (0 != buf->vb.baddr && buf->vb.bsize < buf->vb.size) in vbi_buffer_prepare()

123