/drivers/net/ethernet/via/ |
D | via-velocity.c | 95 static void velocity_set_power_state(struct velocity_info *vptr, char state) in velocity_set_power_state() argument 97 void *addr = vptr->mac_regs; in velocity_set_power_state() 99 if (vptr->pdev) in velocity_set_power_state() 100 pci_set_power_state(vptr->pdev, state); in velocity_set_power_state() 502 static void velocity_init_cam_filter(struct velocity_info *vptr) in velocity_init_cam_filter() argument 504 struct mac_regs __iomem *regs = vptr->mac_regs; in velocity_init_cam_filter() 512 memset(vptr->vCAMmask, 0, sizeof(u8) * 8); in velocity_init_cam_filter() 513 memset(vptr->mCAMmask, 0, sizeof(u8) * 8); in velocity_init_cam_filter() 514 mac_set_vlan_cam_mask(regs, vptr->vCAMmask); in velocity_init_cam_filter() 515 mac_set_cam_mask(regs, vptr->mCAMmask); in velocity_init_cam_filter() [all …]
|
D | via-velocity.h | 1434 #define GET_RD_BY_IDX(vptr, idx) (vptr->rd_ring[idx]) argument 1512 static inline int velocity_get_ip(struct velocity_info *vptr) in velocity_get_ip() argument 1519 in_dev = __in_dev_get_rcu(vptr->netdev); in velocity_get_ip() 1523 memcpy(vptr->ip_addr, &ifa->ifa_address, 4); in velocity_get_ip() 1542 static inline void velocity_update_hw_mibs(struct velocity_info *vptr) in velocity_update_hw_mibs() argument 1546 BYTE_REG_BITS_ON(MIBCR_MIBFLSH, &(vptr->mac_regs->MIBCR)); in velocity_update_hw_mibs() 1548 while (BYTE_REG_BITS_IS_ON(MIBCR_MIBFLSH, &(vptr->mac_regs->MIBCR))); in velocity_update_hw_mibs() 1550 BYTE_REG_BITS_ON(MIBCR_MPTRINI, &(vptr->mac_regs->MIBCR)); in velocity_update_hw_mibs() 1552 tmp = readl(&(vptr->mac_regs->MIBData)) & 0x00FFFFFFUL; in velocity_update_hw_mibs() 1553 vptr->mib_counter[i] += tmp; in velocity_update_hw_mibs() [all …]
|
/drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/rmgr/src/ |
D | rmgr_vbuf.c | 106 (*handle)->vptr = h->vptr; in ia_css_rmgr_refcount_retain_vbuf() 128 (*handle)->vptr = 0x0; in ia_css_rmgr_refcount_release_vbuf() 185 pool->handles[i]->vptr, in ia_css_rmgr_uninit_vbuf() 188 hmm_free(pool->handles[i]->vptr); in ia_css_rmgr_uninit_vbuf() 280 h.vptr = 0x0; in ia_css_rmgr_acq_vbuf() 287 if ((*handle)->vptr == 0x0) { in ia_css_rmgr_acq_vbuf() 292 if ((*handle)->vptr == 0x0) { in ia_css_rmgr_acq_vbuf() 294 (*handle)->vptr = mmgr_malloc((*handle)->size); in ia_css_rmgr_acq_vbuf() 322 hmm_free((*handle)->vptr); in ia_css_rmgr_rel_vbuf()
|
/drivers/staging/media/atomisp/pci/atomisp2/hmm/ |
D | hmm.c | 384 void *vptr; in load_and_flush() local 386 vptr = hmm_bo_vmap(bo, true); in load_and_flush() 387 if (!vptr) in load_and_flush() 390 vptr = vptr + (virt - bo->start); in load_and_flush() 392 memcpy(data, vptr, bytes); in load_and_flush() 393 clflush_cache_range(vptr, bytes); in load_and_flush() 438 void *vptr; in hmm_store() local 440 vptr = hmm_bo_vmap(bo, true); in hmm_store() 441 if (vptr) { in hmm_store() 442 vptr = vptr + (virt - bo->start); in hmm_store() [all …]
|
/drivers/crypto/cavium/cpt/ |
D | cptvf_algs.c | 44 req_info->in[*argcnt].vptr = (void *)iv; in update_input_iv() 56 req_info->out[*argcnt].vptr = (void *)iv; in update_output_iv() 73 req_info->in[*argcnt].vptr = (void *)ptr; in update_input_data() 92 req_info->out[*argcnt].vptr = (void *)ptr; in update_output_data() 141 req_info->in[*argcnt].vptr = (u8 *)offset_control; in create_ctx_hdr() 146 req_info->in[*argcnt].vptr = (u8 *)fctx; in create_ctx_hdr()
|
D | request_manager.h | 56 u8 *vptr; member
|
D | cptvf_reqmanager.c | 60 if (likely(list[i].vptr)) { in setup_sgio_components() 62 list[i].vptr, in setup_sgio_components()
|
/drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/rmgr/interface/ |
D | ia_css_rmgr_vbuf.h | 42 hrt_vaddress vptr; member
|
/drivers/crypto/qat/qat_common/ |
D | qat_uclo.c | 1218 void *vptr; in qat_uclo_simg_alloc() local 1221 vptr = dma_alloc_coherent(&handle->pci_dev->dev, in qat_uclo_simg_alloc() 1223 if (!vptr) in qat_uclo_simg_alloc() 1225 dram_desc->dram_base_addr_v = vptr; in qat_uclo_simg_alloc()
|
/drivers/misc/vmw_vmci/ |
D | vmci_host.c | 265 int __user *vptr = uptr; in vmci_host_get_version() local 266 if (get_user(vmci_host_dev->user_version, vptr)) in vmci_host_get_version()
|
/drivers/media/pci/cx88/ |
D | cx88-blackbird.c | 418 int *vptr = va_arg(vargs, int *); in blackbird_api_cmd() local 419 *vptr = data[i]; in blackbird_api_cmd()
|
/drivers/media/pci/cx23885/ |
D | cx23885-417.c | 854 int *vptr = va_arg(vargs, int *); in cx23885_api_cmd() local 855 *vptr = data[i]; in cx23885_api_cmd()
|
/drivers/media/usb/cx231xx/ |
D | cx231xx-417.c | 820 int *vptr = va_arg(vargs, int *); in cx231xx_api_cmd() local 821 *vptr = data[i]; in cx231xx_api_cmd()
|
/drivers/staging/media/atomisp/pci/atomisp2/css2400/ |
D | sh_css.c | 4297 p_vbuf.vptr = 0; 4305 assert(h_vbuf->vptr != 0x0); 4307 if ((h_vbuf == NULL) || (h_vbuf->vptr == 0x0)) { 4312 mmgr_store(h_vbuf->vptr, 4332 (uint32_t)h_vbuf->vptr); 4343 (uint32_t)h_vbuf->vptr); 11101 (buffer_record->h_vbuf->vptr == ddr_buffer_addr)) {
|