Home
last modified time | relevance | path

Searched refs:virt_addr (Results 1 – 25 of 29) sorted by relevance

12

/drivers/w1/masters/
Dmatrox_w1.c86 void __iomem *virt_addr; member
184 dev->virt_addr = ioremap_nocache(dev->phys_addr, 16384); in matrox_w1_probe()
185 if (!dev->virt_addr) { in matrox_w1_probe()
192 dev->base_addr = dev->virt_addr + MATROX_BASE; in matrox_w1_probe()
216 if (dev->virt_addr) in matrox_w1_probe()
217 iounmap(dev->virt_addr); in matrox_w1_probe()
231 iounmap(dev->virt_addr); in matrox_w1_remove()
/drivers/uwb/wlp/
Deda.c171 const unsigned char virt_addr[ETH_ALEN], in wlp_eda_update_node()
183 memcpy(itr->virt_addr, virt_addr, in wlp_eda_update_node()
184 sizeof(itr->virt_addr)); in wlp_eda_update_node()
298 const unsigned char virt_addr[ETH_ALEN], in wlp_eda_for_virtual()
311 if (!memcmp(itr->virt_addr, virt_addr, in wlp_eda_for_virtual()
312 sizeof(itr->virt_addr))) { in wlp_eda_for_virtual()
360 entry->virt_addr); in wlp_eda_show()
Dwlp-internal.h64 unsigned char virt_addr[ETH_ALEN]; member
80 const unsigned char virt_addr[ETH_ALEN],
Dwss-lc.c574 struct uwb_mac_addr *virt_addr) in wlp_wss_activate_connection() argument
582 (void *) virt_addr->data, *tag, in wlp_wss_activate_connection()
608 struct uwb_mac_addr virt_addr; in wlp_wss_connect_neighbor() local
657 result = wlp_parse_c3c4_frame(wlp, skb, &wssid, &tag, &virt_addr); in wlp_wss_connect_neighbor()
663 &virt_addr); in wlp_wss_connect_neighbor()
Dmessages.c1429 struct uwb_mac_addr *virt_addr) in wlp_parse_c3c4_frame() argument
1453 result = wlp_get_wss_virt(wlp, ptr + used, virt_addr, len - used); in wlp_parse_c3c4_frame()
1722 struct uwb_mac_addr virt_addr; in wlp_handle_c3_frame() local
1726 result = wlp_parse_c3c4_frame(wlp, skb, &wssid, &tag, &virt_addr); in wlp_handle_c3_frame()
1734 (void *) virt_addr.data, tag, in wlp_handle_c3_frame()
/drivers/staging/comedi/
Ddrivers.c437 if (async->buf_page_list[i].virt_addr) { in comedi_buf_alloc()
439 buf_page_list[i].virt_addr)); in comedi_buf_alloc()
444 virt_addr, in comedi_buf_alloc()
449 buf_page_list[i].virt_addr); in comedi_buf_alloc()
473 async->buf_page_list[i].virt_addr = in comedi_buf_alloc()
480 async->buf_page_list[i].virt_addr = in comedi_buf_alloc()
484 if (async->buf_page_list[i].virt_addr == NULL) { in comedi_buf_alloc()
488 buf_page_list[i].virt_addr)); in comedi_buf_alloc()
491 virt_addr); in comedi_buf_alloc()
506 if (async->buf_page_list[i].virt_addr == in comedi_buf_alloc()
[all …]
Dcomedidev.h200 void *virt_addr; member
/drivers/acpi/
Dosl.c483 void __iomem *virt_addr; in acpi_os_read_memory() local
485 virt_addr = ioremap(phys_addr, width); in acpi_os_read_memory()
491 *(u8 *) value = readb(virt_addr); in acpi_os_read_memory()
494 *(u16 *) value = readw(virt_addr); in acpi_os_read_memory()
497 *(u32 *) value = readl(virt_addr); in acpi_os_read_memory()
503 iounmap(virt_addr); in acpi_os_read_memory()
511 void __iomem *virt_addr; in acpi_os_write_memory() local
513 virt_addr = ioremap(phys_addr, width); in acpi_os_write_memory()
517 writeb(value, virt_addr); in acpi_os_write_memory()
520 writew(value, virt_addr); in acpi_os_write_memory()
[all …]
/drivers/mtd/
Dftl.c833 uint32_t virt_addr) in set_bam_entry() argument
844 part, log_addr, virt_addr); in set_bam_entry()
860 if (((virt_addr == 0xfffffffe) && !BLOCK_FREE(old_addr)) || in set_bam_entry()
861 ((virt_addr == 0) && (BLOCK_TYPE(old_addr) != BLOCK_DATA)) || in set_bam_entry()
862 (!BLOCK_DELETED(virt_addr) && (old_addr != 0xfffffffe))) { in set_bam_entry()
867 ", new = 0x%x\n", log_addr, old_addr, virt_addr); in set_bam_entry()
872 le_virt_addr = cpu_to_le32(virt_addr); in set_bam_entry()
895 log_addr, virt_addr); in set_bam_entry()
903 uint32_t bsize, log_addr, virt_addr, old_addr, blk; in ftl_write() local
923 virt_addr = sector * SECTOR_SIZE | BLOCK_DATA; in ftl_write()
[all …]
/drivers/infiniband/ulp/iser/
Diser_initiator.c229 regd_hdr->virt_addr = rx_desc; /* == &rx_desc->iser_header */ in iser_post_receive_control()
239 regd_data->virt_addr = rx_desc->data; in iser_post_receive_control()
284 regd_hdr->virt_addr = tx_desc; /* == &tx_desc->iser_header */ in iser_create_send_desc()
536 regd_buf->virt_addr = task->data; in iser_send_control()
587 rx_data = dto->regd[1]->virt_addr; in iser_rcv_completion()
Discsi_iser.h188 void *virt_addr; member
Diser_memory.c86 regd_buf->virt_addr, in iser_reg_single()
/drivers/edac/
Dedac_mc.c578 void *virt_addr; in edac_mc_scrub_block() local
593 virt_addr = kmap_atomic(pg, KM_BOUNCE_READ); in edac_mc_scrub_block()
596 atomic_scrub(virt_addr + offset, size); in edac_mc_scrub_block()
599 kunmap_atomic(virt_addr, KM_BOUNCE_READ); in edac_mc_scrub_block()
/drivers/infiniband/hw/ehca/
Dehca_uverbs.c143 u64 virt_addr = (u64)ipz_qeit_calc(queue, ofs); in ehca_mmap_queue() local
144 page = virt_to_page(virt_addr); in ehca_mmap_queue()
/drivers/net/
Dsmsc9420.c1568 void __iomem *virt_addr; in smsc9420_probe() local
1606 virt_addr = ioremap(pci_resource_start(pdev, SMSC_BAR), in smsc9420_probe()
1608 if (!virt_addr) { in smsc9420_probe()
1614 virt_addr += LAN9420_CPSR_ENDIAN_OFFSET; in smsc9420_probe()
1616 dev->base_addr = (ulong)virt_addr; in smsc9420_probe()
1637 pd->base_addr = virt_addr; in smsc9420_probe()
1641 smsc_dbg(PROBE, "lan_base=0x%08lx", (ulong)virt_addr); in smsc9420_probe()
1683 iounmap(virt_addr - LAN9420_CPSR_ENDIAN_OFFSET); in smsc9420_probe()
/drivers/video/pnx4008/
Dsdum.h135 int pnx4008_get_fb_addresses(int fb_type, void **virt_addr,
Dsdum.c483 int pnx4008_get_fb_addresses(int fb_type, void **virt_addr, in pnx4008_get_fb_addresses() argument
490 *virt_addr = (void *)(dum_data.lcd_virt_start + in pnx4008_get_fb_addresses()
/drivers/infiniband/hw/ipath/
Dipath_mr.c184 u64 virt_addr, int mr_access_flags, in ipath_reg_user_mr() argument
216 mr->mr.iova = virt_addr; in ipath_reg_user_mr()
/drivers/infiniband/hw/mlx4/
Dmr.c123 u64 virt_addr, int access_flags, in mlx4_ib_reg_user_mr() argument
146 err = mlx4_mr_alloc(dev->dev, to_mpd(pd)->pdn, virt_addr, length, in mlx4_ib_reg_user_mr()
Dmlx4_ib.h251 u64 virt_addr, int access_flags,
/drivers/char/
Dsynclink.c145 char *virt_addr; /* virtual address of data buffer */ member
3838 BufferList[i].virt_addr = info->memory_base + info->last_mem_alloc; in mgsl_alloc_frame_memory()
3843 …BufferList[i].virt_addr = dma_alloc_coherent(NULL, DMABUFFERSIZE, &BufferList[i].dma_addr, GFP_KER… in mgsl_alloc_frame_memory()
3844 if (BufferList[i].virt_addr == NULL) in mgsl_alloc_frame_memory()
3875 if ( BufferList[i].virt_addr ) { in mgsl_free_frame_memory()
3877 dma_free_coherent(NULL, DMABUFFERSIZE, BufferList[i].virt_addr, BufferList[i].dma_addr); in mgsl_free_frame_memory()
3878 BufferList[i].virt_addr = NULL; in mgsl_free_frame_memory()
6638 mgsl_trace_block(info,info->rx_buffer_list[StartIndex].virt_addr, in mgsl_get_rx_frame()
6663 memcpy( ptmp, pBufEntry->virt_addr, partial_count ); in mgsl_get_rx_frame()
6849 mgsl_trace_block(info,info->rx_buffer_list[CurrentIndex].virt_addr, in mgsl_get_raw_rx_frame()
[all …]
Dsynclinkmp.c125 char *virt_addr; /* virtual address of data buffer */ member
3527 buf_list_ex[i].virt_addr = info->memory_base + info->port_array[0]->last_mem_alloc; in alloc_frame_bufs()
4873 addr_field = desc_ex->virt_addr[0]; in rx_get_frame()
4956 trace_block(info,info->rx_buf_list_ex[StartIndex].virt_addr, in rx_get_frame()
4974 info->rx_buf_list_ex[index].virt_addr, in rx_get_frame()
5034 load_pci_memory(info, desc_ex->virt_addr,buf,copy_count); in tx_load_dma_buffer()
/drivers/atm/
Dfore200e.c93 #define FORE200E_INDEX(virt_addr, type, index) (&((type *)(virt_addr))[ index ]) argument
426 fore200e_pca_dma_map(struct fore200e* fore200e, void* virt_addr, int size, int direction) in fore200e_pca_dma_map() argument
428 u32 dma_addr = pci_map_single((struct pci_dev*)fore200e->bus_dev, virt_addr, size, direction); in fore200e_pca_dma_map()
431 virt_addr, size, direction, dma_addr); in fore200e_pca_dma_map()
675 static u32 fore200e_sba_dma_map(struct fore200e *fore200e, void* virt_addr, int size, int direction) in fore200e_sba_dma_map() argument
680 dma_addr = dma_map_single(&op->dev, virt_addr, size, direction); in fore200e_sba_dma_map()
683 virt_addr, size, direction, dma_addr); in fore200e_sba_dma_map()
/drivers/usb/gadget/
Damd5536udc.h567 void __iomem *virt_addr; member
Damd5536udc.c3272 dev->virt_addr = ioremap_nocache(resource, len); in udc_pci_probe()
3273 if (dev->virt_addr == NULL) { in udc_pci_probe()
3351 dev->csr = dev->virt_addr + UDC_CSR_ADDR; in udc_probe()
3353 dev->regs = dev->virt_addr + UDC_DEVCFG_ADDR; in udc_probe()
3355 dev->ep_regs = dev->virt_addr + UDC_EPREGS_ADDR; in udc_probe()
3357 dev->rxfifo = (u32 __iomem *)(dev->virt_addr + UDC_RXFIFO_ADDR); in udc_probe()
3358 dev->txfifo = (u32 __iomem *)(dev->virt_addr + UDC_TXFIFO_ADDR); in udc_probe()

12