Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/via/
Dvia-velocity.c85 static void velocity_set_power_state(struct velocity_info *vptr, char state) in velocity_set_power_state() argument
87 void *addr = vptr->mac_regs; in velocity_set_power_state()
89 if (vptr->pdev) in velocity_set_power_state()
90 pci_set_power_state(vptr->pdev, state); in velocity_set_power_state()
492 static void velocity_init_cam_filter(struct velocity_info *vptr) in velocity_init_cam_filter() argument
494 struct mac_regs __iomem *regs = vptr->mac_regs; in velocity_init_cam_filter()
502 memset(vptr->vCAMmask, 0, sizeof(u8) * 8); in velocity_init_cam_filter()
503 memset(vptr->mCAMmask, 0, sizeof(u8) * 8); in velocity_init_cam_filter()
504 mac_set_vlan_cam_mask(regs, vptr->vCAMmask); in velocity_init_cam_filter()
505 mac_set_cam_mask(regs, vptr->mCAMmask); in velocity_init_cam_filter()
[all …]
Dvia-velocity.h1425 #define GET_RD_BY_IDX(vptr, idx) (vptr->rd_ring[idx]) argument
1503 static inline int velocity_get_ip(struct velocity_info *vptr) in velocity_get_ip() argument
1510 in_dev = __in_dev_get_rcu(vptr->netdev); in velocity_get_ip()
1514 memcpy(vptr->ip_addr, &ifa->ifa_address, 4); in velocity_get_ip()
1533 static inline void velocity_update_hw_mibs(struct velocity_info *vptr) in velocity_update_hw_mibs() argument
1537 BYTE_REG_BITS_ON(MIBCR_MIBFLSH, &(vptr->mac_regs->MIBCR)); in velocity_update_hw_mibs()
1539 while (BYTE_REG_BITS_IS_ON(MIBCR_MIBFLSH, &(vptr->mac_regs->MIBCR))); in velocity_update_hw_mibs()
1541 BYTE_REG_BITS_ON(MIBCR_MPTRINI, &(vptr->mac_regs->MIBCR)); in velocity_update_hw_mibs()
1543 tmp = readl(&(vptr->mac_regs->MIBData)) & 0x00FFFFFFUL; in velocity_update_hw_mibs()
1544 vptr->mib_counter[i] += tmp; in velocity_update_hw_mibs()
[all …]
/Linux-v5.4/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()
136 req_info->in[*argcnt].vptr = (u8 *)offset_control; in create_ctx_hdr()
141 req_info->in[*argcnt].vptr = (u8 *)fctx; in create_ctx_hdr()
Drequest_manager.h53 u8 *vptr; member
Dcptvf_reqmanager.c57 if (likely(list[i].vptr)) { in setup_sgio_components()
59 list[i].vptr, in setup_sgio_components()
/Linux-v5.4/fs/ecryptfs/
Dmain.c638 inode_info_init_once(void *vptr) in inode_info_init_once() argument
640 struct ecryptfs_inode_info *ei = (struct ecryptfs_inode_info *)vptr; in inode_info_init_once()
/Linux-v5.4/drivers/misc/vmw_vmci/
Dvmci_host.c256 int __user *vptr = uptr; in vmci_host_get_version() local
257 if (get_user(vmci_host_dev->user_version, vptr)) in vmci_host_get_version()
/Linux-v5.4/drivers/crypto/qat/qat_common/
Dqat_uclo.c1222 void *vptr; in qat_uclo_simg_alloc() local
1225 vptr = dma_alloc_coherent(&handle->pci_dev->dev, in qat_uclo_simg_alloc()
1227 if (!vptr) in qat_uclo_simg_alloc()
1229 dram_desc->dram_base_addr_v = vptr; in qat_uclo_simg_alloc()
/Linux-v5.4/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()
/Linux-v5.4/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()
/Linux-v5.4/drivers/media/usb/cx231xx/
Dcx231xx-417.c812 int *vptr = va_arg(vargs, int *); in cx231xx_api_cmd() local
813 *vptr = data[i]; in cx231xx_api_cmd()