Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/net/ethernet/via/
A Dvia-velocity.c90 if (vptr->pdev) in velocity_set_power_state()
555 vptr->rx.dirty = vptr->rx.filled = vptr->rx.curr = 0; in velocity_init_rx_ring_indexes()
1634 vptr->rx.info = kcalloc(vptr->options.numrx, in velocity_init_rd_ring()
1667 vptr->tx.infos[j] = kcalloc(vptr->options.numtx, in velocity_init_td_ring()
1676 vptr->tx.tail[j] = vptr->tx.curr[j] = vptr->tx.used[j] = 0; in velocity_init_td_ring()
1692 dma_free_coherent(vptr->dev, size, vptr->rx.ring, vptr->rx.pool_dma); in velocity_free_dma_rings()
2842 vptr->wol_opts = vptr->options.wol_opts; in velocity_probe()
2845 vptr->phy_id = MII_GET_PHY_ID(vptr->mac_regs); in velocity_probe()
3143 velocity_save_context(vptr, &vptr->context); in velocity_suspend()
3150 velocity_save_context(vptr, &vptr->context); in velocity_suspend()
[all …]
A Dvia-velocity.h1380 #define GET_RD_BY_IDX(vptr, idx) (vptr->rd_ring[idx]) argument
1459 static inline int velocity_get_ip(struct velocity_info *vptr) in velocity_get_ip() argument
1466 in_dev = __in_dev_get_rcu(vptr->netdev); in velocity_get_ip()
1470 memcpy(vptr->ip_addr, &ifa->ifa_address, 4); in velocity_get_ip()
1489 static inline void velocity_update_hw_mibs(struct velocity_info *vptr) in velocity_update_hw_mibs() argument
1493 BYTE_REG_BITS_ON(MIBCR_MIBFLSH, &(vptr->mac_regs->MIBCR)); in velocity_update_hw_mibs()
1497 BYTE_REG_BITS_ON(MIBCR_MPTRINI, &(vptr->mac_regs->MIBCR)); in velocity_update_hw_mibs()
1499 tmp = readl(&(vptr->mac_regs->MIBData)) & 0x00FFFFFFUL; in velocity_update_hw_mibs()
1500 vptr->mib_counter[i] += tmp; in velocity_update_hw_mibs()
1513 struct mac_regs __iomem * regs = vptr->mac_regs; in init_flow_control_register()
[all …]
/linux-6.3-rc2/drivers/staging/media/atomisp/pci/hmm/
A Dhmm.c340 void *vptr; in load_and_flush() local
343 if (!vptr) in load_and_flush()
346 vptr = vptr + (virt - bo->start); in load_and_flush()
348 memcpy(data, vptr, bytes); in load_and_flush()
410 void *vptr; in hmm_store() local
413 if (vptr) { in hmm_store()
414 vptr = vptr + (virt - bo->start); in hmm_store()
483 void *vptr; in hmm_set() local
486 if (vptr) { in hmm_set()
487 vptr = vptr + (virt - bo->start); in hmm_set()
[all …]
/linux-6.3-rc2/drivers/staging/media/atomisp/pci/runtime/rmgr/src/
A Drmgr_vbuf.c96 (*handle)->vptr = h->vptr; in ia_css_rmgr_refcount_retain_vbuf()
117 (*handle)->vptr = 0x0; in ia_css_rmgr_refcount_release_vbuf()
176 pool->handles[i]->vptr, in ia_css_rmgr_uninit_vbuf()
179 hmm_free(pool->handles[i]->vptr); in ia_css_rmgr_uninit_vbuf()
272 h.vptr = 0x0; in ia_css_rmgr_acq_vbuf()
281 if (new_handle->vptr == 0x0) { in ia_css_rmgr_acq_vbuf()
286 if (new_handle->vptr == 0x0) { in ia_css_rmgr_acq_vbuf()
288 new_handle->vptr = hmm_alloc(new_handle->size); in ia_css_rmgr_acq_vbuf()
321 hmm_free((*handle)->vptr); in ia_css_rmgr_rel_vbuf()
/linux-6.3-rc2/drivers/crypto/cavium/cpt/
A 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()
A Drequest_manager.h53 u8 *vptr; member
A Dcptvf_reqmanager.c58 if (likely(list[i].vptr)) { in setup_sgio_components()
60 list[i].vptr, in setup_sgio_components()
/linux-6.3-rc2/drivers/crypto/marvell/octeontx2/
A Dotx2_cptvf_reqmgr.c30 req->in[i].size, req->in[i].vptr, in otx2_cpt_dump_sg_list()
35 req->in[i].vptr, req->in[i].size, false); in otx2_cpt_dump_sg_list()
40 req->out[i].size, req->out[i].vptr, in otx2_cpt_dump_sg_list()
44 req->out[i].vptr, req->out[i].size, false); in otx2_cpt_dump_sg_list()
101 if (unlikely(!list[i].vptr)) in setup_sgio_components()
103 list[i].dma_addr = dma_map_single(&pdev->dev, list[i].vptr, in setup_sgio_components()
A Dotx2_cptvf_algs.c187 req_info->in[*argcnt].vptr = (void *)ptr; in update_input_data()
209 req_info->out[*argcnt].vptr = (void *) (ptr + offset); in update_output_data()
274 req_info->in[*argcnt].vptr = (u8 *)&rctx->ctrl_word; in create_ctx_hdr()
279 req_info->in[*argcnt].vptr = (u8 *)fctx; in create_ctx_hdr()
1091 req_info->in[*argcnt].vptr = (u8 *)&rctx->ctrl_word; in create_aead_ctx_hdr()
1096 req_info->in[*argcnt].vptr = (u8 *)fctx; in create_aead_ctx_hdr()
1123 req_info->in[*argcnt].vptr = ctx->key; in create_hmac_ctx_hdr()
1246 req_info->out[argcnt].vptr = rctx->fctx.hmac.s.hmac_calc; in create_aead_null_output_list()
A Dotx2_cpt_reqmgr.h94 u8 *vptr; member
/linux-6.3-rc2/drivers/crypto/marvell/octeontx/
A 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()
A Dotx_cptvf_algs.c205 req_info->in[*argcnt].vptr = (void *)ptr; in update_input_data()
223 req_info->out[*argcnt].vptr = (void *) (ptr + offset); in update_output_data()
289 req_info->in[*argcnt].vptr = (u8 *)&rctx->ctrl_word; in create_ctx_hdr()
294 req_info->in[*argcnt].vptr = (u8 *)fctx; in create_ctx_hdr()
1038 req_info->in[*argcnt].vptr = (u8 *)&rctx->ctrl_word; in create_aead_ctx_hdr()
1043 req_info->in[*argcnt].vptr = (u8 *)fctx; in create_aead_ctx_hdr()
1070 req_info->in[*argcnt].vptr = ctx->key; in create_hmac_ctx_hdr()
1205 req_info->out[argcnt].vptr = rctx->fctx.hmac.s.hmac_calc; in create_aead_null_output_list()
A Dotx_cptvf_reqmgr.h66 u8 *vptr; member
/linux-6.3-rc2/drivers/staging/media/atomisp/pci/runtime/rmgr/interface/
A Dia_css_rmgr_vbuf.h28 ia_css_ptr vptr; member
/linux-6.3-rc2/tools/testing/selftests/kvm/
A Dmemslot_perf_test.c770 uint64_t *vptr = (typeof(vptr))vm_gpa2hva(data, gptr, NULL); in test_memslot_rw_loop() local
771 uint64_t val = *vptr; in test_memslot_rw_loop()
776 *vptr = 0; in test_memslot_rw_loop()
/linux-6.3-rc2/fs/ecryptfs/
A Dmain.c650 inode_info_init_once(void *vptr) in inode_info_init_once() argument
652 struct ecryptfs_inode_info *ei = (struct ecryptfs_inode_info *)vptr; in inode_info_init_once()
/linux-6.3-rc2/drivers/misc/vmw_vmci/
A Dvmci_host.c261 int __user *vptr = uptr; in vmci_host_get_version() local
262 if (get_user(vmci_host_dev->user_version, vptr)) in vmci_host_get_version()
/linux-6.3-rc2/drivers/crypto/qat/qat_common/
A Dqat_uclo.c1328 void *vptr; in qat_uclo_simg_alloc() local
1331 vptr = dma_alloc_coherent(&handle->pci_dev->dev, in qat_uclo_simg_alloc()
1333 if (!vptr) in qat_uclo_simg_alloc()
1335 dram_desc->dram_base_addr_v = vptr; in qat_uclo_simg_alloc()
/linux-6.3-rc2/drivers/media/pci/cx88/
A Dcx88-blackbird.c409 int *vptr = va_arg(vargs, int *); in blackbird_api_cmd() local
410 *vptr = data[i]; in blackbird_api_cmd()
/linux-6.3-rc2/drivers/media/pci/cx23885/
A Dcx23885-417.c845 int *vptr = va_arg(vargs, int *); in cx23885_api_cmd() local
846 *vptr = data[i]; in cx23885_api_cmd()
/linux-6.3-rc2/drivers/media/usb/cx231xx/
A Dcx231xx-417.c808 int *vptr = va_arg(vargs, int *); in cx231xx_api_cmd() local
809 *vptr = data[i]; in cx231xx_api_cmd()
/linux-6.3-rc2/drivers/staging/media/atomisp/pci/
A Dsh_css.c3713 p_vbuf.vptr = 0; in ia_css_pipe_enqueue_buffer()
3720 if ((!h_vbuf) || (h_vbuf->vptr == 0x0)) { in ia_css_pipe_enqueue_buffer()
3725 hmm_store(h_vbuf->vptr, in ia_css_pipe_enqueue_buffer()
3749 (uint32_t)h_vbuf->vptr); in ia_css_pipe_enqueue_buffer()
3760 (uint32_t)h_vbuf->vptr); in ia_css_pipe_enqueue_buffer()
9360 (buffer_record->h_vbuf->vptr == ddr_buffer_addr)) { in sh_css_hmm_buffer_record_validate()

Completed in 82 milliseconds