Home
last modified time | relevance | path

Searched refs:vptr (Results 1 – 18 of 18) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/via/
Dvia-velocity.c86 static void velocity_set_power_state(struct velocity_info *vptr, char state) in velocity_set_power_state() argument
88 void *addr = vptr->mac_regs; in velocity_set_power_state()
90 if (vptr->pdev) in velocity_set_power_state()
91 pci_set_power_state(vptr->pdev, state); in velocity_set_power_state()
504 static void velocity_init_cam_filter(struct velocity_info *vptr) in velocity_init_cam_filter() argument
506 struct mac_regs __iomem *regs = vptr->mac_regs; in velocity_init_cam_filter()
514 memset(vptr->vCAMmask, 0, sizeof(u8) * 8); in velocity_init_cam_filter()
515 memset(vptr->mCAMmask, 0, sizeof(u8) * 8); in velocity_init_cam_filter()
516 mac_set_vlan_cam_mask(regs, vptr->vCAMmask); in velocity_init_cam_filter()
517 mac_set_cam_mask(regs, vptr->mCAMmask); in velocity_init_cam_filter()
[all …]
Dvia-velocity.h1381 #define GET_RD_BY_IDX(vptr, idx) (vptr->rd_ring[idx]) argument
1460 static inline int velocity_get_ip(struct velocity_info *vptr) in velocity_get_ip() argument
1467 in_dev = __in_dev_get_rcu(vptr->netdev); in velocity_get_ip()
1471 memcpy(vptr->ip_addr, &ifa->ifa_address, 4); in velocity_get_ip()
1490 static inline void velocity_update_hw_mibs(struct velocity_info *vptr) in velocity_update_hw_mibs() argument
1494 BYTE_REG_BITS_ON(MIBCR_MIBFLSH, &(vptr->mac_regs->MIBCR)); in velocity_update_hw_mibs()
1496 while (BYTE_REG_BITS_IS_ON(MIBCR_MIBFLSH, &(vptr->mac_regs->MIBCR))); in velocity_update_hw_mibs()
1498 BYTE_REG_BITS_ON(MIBCR_MPTRINI, &(vptr->mac_regs->MIBCR)); in velocity_update_hw_mibs()
1500 tmp = readl(&(vptr->mac_regs->MIBData)) & 0x00FFFFFFUL; in velocity_update_hw_mibs()
1501 vptr->mib_counter[i] += tmp; in velocity_update_hw_mibs()
[all …]
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/runtime/rmgr/src/
Drmgr_vbuf.c108 (*handle)->vptr = h->vptr; in ia_css_rmgr_refcount_retain_vbuf()
130 (*handle)->vptr = 0x0; in ia_css_rmgr_refcount_release_vbuf()
190 pool->handles[i]->vptr, in ia_css_rmgr_uninit_vbuf()
193 hmm_free(pool->handles[i]->vptr); in ia_css_rmgr_uninit_vbuf()
285 h.vptr = 0x0; in ia_css_rmgr_acq_vbuf()
292 if ((*handle)->vptr == 0x0) { in ia_css_rmgr_acq_vbuf()
297 if ((*handle)->vptr == 0x0) { in ia_css_rmgr_acq_vbuf()
299 (*handle)->vptr = hmm_alloc((*handle)->size, HMM_BO_PRIVATE, 0, NULL, 0); in ia_css_rmgr_acq_vbuf()
327 hmm_free((*handle)->vptr); in ia_css_rmgr_rel_vbuf()
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/hmm/
Dhmm.c397 void *vptr; in load_and_flush() local
399 vptr = hmm_bo_vmap(bo, true); in load_and_flush()
400 if (!vptr) in load_and_flush()
403 vptr = vptr + (virt - bo->start); in load_and_flush()
405 memcpy(data, vptr, bytes); in load_and_flush()
406 clflush_cache_range(vptr, bytes); in load_and_flush()
467 void *vptr; in hmm_store() local
469 vptr = hmm_bo_vmap(bo, true); in hmm_store()
470 if (vptr) { in hmm_store()
471 vptr = vptr + (virt - bo->start); in hmm_store()
[all …]
/kernel/linux/linux-5.10/drivers/crypto/cavium/cpt/
Dcptvf_algs.c39 req_info->in[*argcnt].vptr = (void *)iv; in update_input_iv()
51 req_info->out[*argcnt].vptr = (void *)iv; in update_output_iv()
68 req_info->in[*argcnt].vptr = (void *)ptr; in update_input_data()
87 req_info->out[*argcnt].vptr = (void *)ptr; in update_output_data()
137 req_info->in[*argcnt].vptr = (u8 *)offset_control; in create_ctx_hdr()
142 req_info->in[*argcnt].vptr = (u8 *)fctx; in create_ctx_hdr()
Drequest_manager.h53 u8 *vptr; member
Dcptvf_reqmanager.c58 if (likely(list[i].vptr)) { in setup_sgio_components()
60 list[i].vptr, in setup_sgio_components()
/kernel/linux/linux-5.10/drivers/crypto/marvell/octeontx/
Dotx_cptvf_reqmgr.c38 req->in[i].size, req->in[i].vptr, in otx_cpt_dump_sg_list()
43 req->in[i].vptr, req->in[i].size, false); in otx_cpt_dump_sg_list()
49 req->out[i].size, req->out[i].vptr, in otx_cpt_dump_sg_list()
53 req->out[i].vptr, req->out[i].size, false); in otx_cpt_dump_sg_list()
110 if (likely(list[i].vptr)) { in setup_sgio_components()
112 list[i].vptr, in setup_sgio_components()
Dotx_cptvf_algs.c204 req_info->in[*argcnt].vptr = (void *)ptr; in update_input_data()
222 req_info->out[*argcnt].vptr = (void *) (ptr + offset); in update_output_data()
288 req_info->in[*argcnt].vptr = (u8 *)&rctx->ctrl_word; in create_ctx_hdr()
293 req_info->in[*argcnt].vptr = (u8 *)fctx; in create_ctx_hdr()
1036 req_info->in[*argcnt].vptr = (u8 *)&rctx->ctrl_word; in create_aead_ctx_hdr()
1041 req_info->in[*argcnt].vptr = (u8 *)fctx; in create_aead_ctx_hdr()
1068 req_info->in[*argcnt].vptr = ctx->key; in create_hmac_ctx_hdr()
1203 req_info->out[argcnt].vptr = rctx->fctx.hmac.s.hmac_calc; in create_aead_null_output_list()
Dotx_cptvf_reqmgr.h66 u8 *vptr; member
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/runtime/rmgr/interface/
Dia_css_rmgr_vbuf.h28 ia_css_ptr vptr; member
/kernel/linux/linux-5.10/fs/ecryptfs/
Dmain.c644 inode_info_init_once(void *vptr) in inode_info_init_once() argument
646 struct ecryptfs_inode_info *ei = (struct ecryptfs_inode_info *)vptr; in inode_info_init_once()
/kernel/linux/linux-5.10/drivers/misc/vmw_vmci/
Dvmci_host.c259 int __user *vptr = uptr; in vmci_host_get_version() local
260 if (get_user(vmci_host_dev->user_version, vptr)) in vmci_host_get_version()
/kernel/linux/linux-5.10/drivers/crypto/qat/qat_common/
Dqat_uclo.c1183 void *vptr; in qat_uclo_simg_alloc() local
1186 vptr = dma_alloc_coherent(&handle->pci_dev->dev, in qat_uclo_simg_alloc()
1188 if (!vptr) in qat_uclo_simg_alloc()
1190 dram_desc->dram_base_addr_v = vptr; in qat_uclo_simg_alloc()
/kernel/linux/linux-5.10/drivers/media/pci/cx88/
Dcx88-blackbird.c409 int *vptr = va_arg(vargs, int *); in blackbird_api_cmd() local
410 *vptr = data[i]; in blackbird_api_cmd()
/kernel/linux/linux-5.10/drivers/media/pci/cx23885/
Dcx23885-417.c845 int *vptr = va_arg(vargs, int *); in cx23885_api_cmd() local
846 *vptr = data[i]; in cx23885_api_cmd()
/kernel/linux/linux-5.10/drivers/media/usb/cx231xx/
Dcx231xx-417.c808 int *vptr = va_arg(vargs, int *); in cx231xx_api_cmd() local
809 *vptr = data[i]; in cx231xx_api_cmd()
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/
Dsh_css.c4201 p_vbuf.vptr = 0; in ia_css_pipe_enqueue_buffer()
4209 assert(h_vbuf->vptr != 0x0); in ia_css_pipe_enqueue_buffer()
4211 if ((!h_vbuf) || (h_vbuf->vptr == 0x0)) in ia_css_pipe_enqueue_buffer()
4217 hmm_store(h_vbuf->vptr, in ia_css_pipe_enqueue_buffer()
4238 (uint32_t)h_vbuf->vptr); in ia_css_pipe_enqueue_buffer()
4250 (uint32_t)h_vbuf->vptr); in ia_css_pipe_enqueue_buffer()
10932 (buffer_record->h_vbuf->vptr == ddr_buffer_addr)) {