Home
last modified time | relevance | path

Searched refs:vdata (Results 1 – 25 of 41) sorted by relevance

12

/linux/arch/nds32/kernel/vdso/
A Dgettimeofday.c38 seq = __vdso_read_begin(vdata); in vdso_read_begin()
90 ts->tv_sec = vdata->xtime_coarse_sec + vdata->wtm_clock_sec; in do_monotonic_coarse()
91 ns = vdata->xtime_coarse_nsec + vdata->wtm_clock_nsec; in do_monotonic_coarse()
124 ns += vgetsns(vdata); in do_realtime()
125 ns >>= vdata->cs_shift; in do_realtime()
144 ns += vgetsns(vdata); in do_monotonic()
145 ns >>= vdata->cs_shift; in do_monotonic()
160 struct vdso_data *vdata; in __vdso_clock_gettime() local
163 vdata = __get_datapage(); in __vdso_clock_gettime()
249 struct vdso_data *vdata; in __vdso_gettimeofday() local
[all …]
/linux/arch/sparc/kernel/
A Dvdso.c26 struct vvar_data *vdata = vvar_data; in update_vsyscall() local
28 if (unlikely(vdata == NULL)) in update_vsyscall()
31 vvar_write_begin(vdata); in update_vsyscall()
34 vdata->clock.mask = tk->tkr_mono.mask; in update_vsyscall()
38 vdata->wall_time_sec = tk->xtime_sec; in update_vsyscall()
49 vdata->monotonic_time_snsec -= in update_vsyscall()
51 vdata->monotonic_time_sec++; in update_vsyscall()
55 vdata->wall_time_coarse_nsec = in update_vsyscall()
58 vdata->monotonic_time_coarse_sec = in update_vsyscall()
60 vdata->monotonic_time_coarse_nsec = in update_vsyscall()
[all …]
/linux/kernel/time/
A Dvsyscall.c29 vdata[CS_RAW].mask = tk->tkr_raw.mask; in update_vdso_data()
30 vdata[CS_RAW].mult = tk->tkr_raw.mult; in update_vdso_data()
80 vdso_write_begin(vdata); in update_vsyscall()
114 update_vdso_data(vdata, tk); in update_vsyscall()
116 __arch_update_vsyscall(vdata, tk); in update_vsyscall()
118 vdso_write_end(vdata); in update_vsyscall()
120 __arch_sync_vdso_data(vdata); in update_vsyscall()
130 __arch_sync_vdso_data(vdata); in update_vsyscall_tz()
151 vdso_write_begin(vdata); in vdso_update_begin()
167 vdso_write_end(vdata); in vdso_update_end()
[all …]
A Dnamespace.c179 static void timens_setup_vdso_data(struct vdso_data *vdata, in timens_setup_vdso_data() argument
182 struct timens_offset *offset = vdata->offset; in timens_setup_vdso_data()
186 vdata->seq = 1; in timens_setup_vdso_data()
187 vdata->clock_mode = VDSO_CLOCKMODE_TIMENS; in timens_setup_vdso_data()
204 struct vdso_data *vdata; in timens_set_vvar_page() local
220 vdata = arch_get_vdso_data(page_address(ns->vvar_page)); in timens_set_vvar_page()
223 timens_setup_vdso_data(&vdata[i], ns); in timens_set_vvar_page()
/linux/drivers/char/
A Dmspec.c90 struct vma_data *vdata; in mspec_open() local
105 struct vma_data *vdata; in mspec_close() local
114 last_index = (vdata->vm_end - vdata->vm_start) >> PAGE_SHIFT; in mspec_close()
123 vdata->maddr[index] = 0; in mspec_close()
128 kvfree(vdata); in mspec_close()
150 spin_lock(&vdata->lock); in mspec_fault()
152 vdata->count++; in mspec_fault()
158 spin_unlock(&vdata->lock); in mspec_fault()
184 struct vma_data *vdata; in mspec_mmap() local
199 if (!vdata) in mspec_mmap()
[all …]
/linux/drivers/crypto/ccp/
A Dpsp-dev.c43 status = ioread32(psp->io_regs + psp->vdata->intsts_reg); in psp_irq_handler()
55 iowrite32(status, psp->io_regs + psp->vdata->intsts_reg); in psp_irq_handler()
62 unsigned int val = ioread32(psp->io_regs + psp->vdata->feature_reg); in psp_get_capability()
149 psp->vdata = (struct psp_vdata *)sp->dev_vdata->psp_vdata; in psp_dev_init()
150 if (!psp->vdata) { in psp_dev_init()
167 iowrite32(0, psp->io_regs + psp->vdata->inten_reg); in psp_dev_init()
168 iowrite32(-1, psp->io_regs + psp->vdata->intsts_reg); in psp_dev_init()
185 iowrite32(-1, psp->io_regs + psp->vdata->inten_reg); in psp_dev_init()
A Dtee-dev.c71 *reg = ioread32(tee->io_regs + tee->vdata->cmdresp_reg); in tee_wait_cmd_poll()
139 tee->io_regs + tee->vdata->cmdbuff_addr_lo_reg); in tee_init_ring()
141 tee->io_regs + tee->vdata->cmdbuff_addr_hi_reg); in tee_init_ring()
143 tee->io_regs + tee->vdata->cmdresp_reg); in tee_init_ring()
177 tee->io_regs + tee->vdata->cmdresp_reg); in tee_destroy_ring()
209 tee->vdata = (struct tee_vdata *)psp->vdata->tee; in tee_dev_init()
210 if (!tee->vdata) { in tee_dev_init()
261 rptr = ioread32(tee->io_regs + tee->vdata->ring_rptr_reg); in tee_submit_cmd()
312 iowrite32(tee->rb_mgr.wptr, tee->io_regs + tee->vdata->ring_wptr_reg); in tee_submit_cmd()
A Dccp-dev.c260 ret = dp->vdata->version; in ccp_version()
624 ccp->vdata = (struct ccp_vdata *)sp->dev_vdata->ccp_vdata; in ccp_dev_init()
625 if (!ccp->vdata || !ccp->vdata->version) { in ccp_dev_init()
633 ccp->io_regs = sp->io_map + ccp->vdata->offset; in ccp_dev_init()
634 if (ccp->vdata->setup) in ccp_dev_init()
635 ccp->vdata->setup(ccp); in ccp_dev_init()
637 ret = ccp->vdata->perform->init(ccp); in ccp_dev_init()
669 ccp->vdata->perform->destroy(ccp); in ccp_dev_destroy()
A Dccp-ops.c593 ret = cmd_q->ccp->vdata->perform->aes(&op); in ccp_run_aes_cmac_cmd()
758 ret = cmd_q->ccp->vdata->perform->aes(&op); in ccp_run_aes_gcm_cmd()
806 ret = cmd_q->ccp->vdata->perform->aes(&op); in ccp_run_aes_gcm_cmd()
864 ret = cmd_q->ccp->vdata->perform->aes(&op); in ccp_run_aes_gcm_cmd()
1048 ret = cmd_q->ccp->vdata->perform->aes(&op); in ccp_run_aes_cmd()
1306 if (!cmd_q->ccp->vdata->perform->des3) in ccp_run_des3_cmd()
1446 ret = cmd_q->ccp->vdata->perform->des3(&op); in ccp_run_des3_cmd()
1712 ret = cmd_q->ccp->vdata->perform->sha(&op); in ccp_run_sha_cmd()
1939 ret = cmd_q->ccp->vdata->perform->rsa(&op); in ccp_run_rsa_cmd()
2241 ret = cmd_q->ccp->vdata->perform->ecc(&op); in ccp_run_ecc_mm_cmd()
[all …]
A Dsev-dev.c84 reg = ioread32(sev->io_regs + sev->vdata->cmdresp_reg); in sev_irq_handler()
101 *reg = ioread32(sev->io_regs + sev->vdata->cmdresp_reg); in sev_wait_cmd_ioc()
182 iowrite32(phys_lsb, sev->io_regs + sev->vdata->cmdbuff_addr_lo_reg); in __sev_do_cmd_locked()
183 iowrite32(phys_msb, sev->io_regs + sev->vdata->cmdbuff_addr_hi_reg); in __sev_do_cmd_locked()
190 iowrite32(reg, sev->io_regs + sev->vdata->cmdresp_reg); in __sev_do_cmd_locked()
994 sev->vdata = (struct sev_vdata *)psp->vdata->sev; in sev_dev_init()
995 if (!sev->vdata) { in sev_dev_init()
A Dsev-dev.h43 struct sev_vdata *vdata; member
A Dpsp-dev.h32 struct psp_vdata *vdata; member
A Dtee-dev.h68 struct tee_vdata *vdata; member
/linux/drivers/misc/sgi-gru/
A Dgrumain.c297 *vdata, int tsid) in gru_find_current_gts_nolock()
363 vdata = kmalloc(sizeof(*vdata), GFP_KERNEL); in gru_alloc_vma_data()
364 if (!vdata) in gru_alloc_vma_data()
368 INIT_LIST_HEAD(&vdata->vd_head); in gru_alloc_vma_data()
369 spin_lock_init(&vdata->vd_lock); in gru_alloc_vma_data()
371 return vdata; in gru_alloc_vma_data()
383 spin_lock(&vdata->vd_lock); in gru_find_thread_state()
385 spin_unlock(&vdata->vd_lock); in gru_find_thread_state()
401 vdata->vd_dsr_au_count, in gru_alloc_thread_state()
407 spin_lock(&vdata->vd_lock); in gru_alloc_thread_state()
[all …]
A Dgrufile.c63 struct gru_vma_data *vdata; in gru_vma_close() local
70 vdata = vma->vm_private_data; in gru_vma_close()
73 vdata); in gru_vma_close()
74 list_for_each_safe(entry, next, &vdata->vd_head) { in gru_vma_close()
84 kfree(vdata); in gru_vma_close()
125 struct gru_vma_data *vdata; in gru_create_new_context() local
142 vdata = vma->vm_private_data; in gru_create_new_context()
143 vdata->vd_user_options = req.options; in gru_create_new_context()
144 vdata->vd_dsr_au_count = in gru_create_new_context()
146 vdata->vd_cbr_au_count = GRU_CB_COUNT_TO_AU(req.control_blocks); in gru_create_new_context()
[all …]
/linux/arch/arm64/include/asm/vdso/
A Dvsyscall.h25 void __arm64_update_vsyscall(struct vdso_data *vdata, struct timekeeper *tk) in __arm64_update_vsyscall() argument
27 vdata[CS_HRES_COARSE].mask = VDSO_PRECISION_MASK; in __arm64_update_vsyscall()
28 vdata[CS_RAW].mask = VDSO_PRECISION_MASK; in __arm64_update_vsyscall()
/linux/fs/udf/
A Dpartition.c55 struct udf_virtual_data *vdata; in udf_get_pblock_virt15() local
59 vdata = &map->s_type_specific.s_virtual; in udf_get_pblock_virt15()
61 if (block > vdata->s_num_entries) { in udf_get_pblock_virt15()
63 block, vdata->s_num_entries); in udf_get_pblock_virt15()
69 vdata->s_start_offset))[block]); in udf_get_pblock_virt15()
72 index = (sb->s_blocksize - vdata->s_start_offset) / sizeof(uint32_t); in udf_get_pblock_virt15()
79 index = vdata->s_start_offset / sizeof(uint32_t) + block; in udf_get_pblock_virt15()
/linux/drivers/net/ethernet/broadcom/bnx2x/
A Dbnx2x_init.h337 struct cmng_vnic *vdata = &ram_data->vnic; in bnx2x_init_max() local
357 vdata->vnic_max_rate[vnic].vn_counter.rate = in bnx2x_init_max()
363 vdata->vnic_max_rate[vnic].vn_counter.quota = in bnx2x_init_max()
365 (u32)vdata->vnic_max_rate[vnic].vn_counter.rate / 8; in bnx2x_init_max()
374 struct cmng_vnic *vdata = &ram_data->vnic; in bnx2x_init_min() local
411 vdata->vnic_min_rate[vnic].vn_credit_delta = in bnx2x_init_min()
414 if (vdata->vnic_min_rate[vnic].vn_credit_delta < in bnx2x_init_min()
417 vdata->vnic_min_rate[vnic].vn_credit_delta = in bnx2x_init_min()
430 struct cmng_vnic *vdata = &ram_data->vnic; in bnx2x_init_fw_wrr() local
442 u32 *ccd = vdata->vnic_min_rate[vnic].cos_credit_delta; in bnx2x_init_fw_wrr()
/linux/include/asm-generic/vdso/
A Dvsyscall.h15 static __always_inline void __arch_update_vsyscall(struct vdso_data *vdata, in __arch_update_vsyscall() argument
22 static __always_inline void __arch_sync_vdso_data(struct vdso_data *vdata) in __arch_sync_vdso_data() argument
/linux/arch/arm/include/asm/vdso/
A Dvsyscall.h25 void __arm_sync_vdso_data(struct vdso_data *vdata) in __arm_sync_vdso_data() argument
27 flush_dcache_page(virt_to_page(vdata)); in __arm_sync_vdso_data()
/linux/drivers/regulator/
A Dtps6586x-regulator.c109 #define TPS6586X_REGULATOR(_id, _ops, _pin_name, vdata, vreg, shift, nbits, \ argument
117 .n_voltages = ARRAY_SIZE(vdata##_voltages), \
118 .volt_table = vdata##_voltages, \
157 #define TPS6586X_LDO(_id, _pname, vdata, vreg, shift, nbits, \ argument
160 TPS6586X_REGULATOR(_id, rw, _pname, vdata, vreg, shift, nbits, \
172 #define TPS6586X_FIXED_LDO(_id, _pname, vdata, vreg, shift, nbits, \ argument
175 TPS6586X_REGULATOR(_id, ro, _pname, vdata, vreg, shift, nbits, \
/linux/drivers/net/wireless/ath/ath9k/
A Dcommon-spectral.c475 u8 num_bins, *vdata = (u8 *)hdr; in ath_cmn_process_fft() local
500 radar_info = ((struct ath_radar_info *)&vdata[len]) - 1; in ath_cmn_process_fft()
538 sample_start = vdata; in ath_cmn_process_fft()
560 if (vdata[i] <= 0x7 && sample_bytes >= sample_len - 1) { in ath_cmn_process_fft()
590 if (!fft_idx_validator(&vdata[i], i)) { in ath_cmn_process_fft()
600 (vdata[i + 1] <= 0x7)) in ath_cmn_process_fft()
605 (vdata[i + 1] <= 0x7)) in ath_cmn_process_fft()
661 sample_start = &vdata[i + 1]; in ath_cmn_process_fft()
/linux/arch/nds32/kernel/
A Dvdso.c197 static void vdso_write_begin(struct vdso_data *vdata) in vdso_write_begin() argument
203 static void vdso_write_end(struct vdso_data *vdata) in vdso_write_end() argument
/linux/drivers/net/ethernet/amd/xgbe/
A Dxgbe-platform.c324 pdata->vdata = xgbe_get_vdata(pdata); in xgbe_platform_probe()
456 pdata->tx_max_fifo_size = pdata->vdata->tx_max_fifo_size; in xgbe_platform_probe()
457 pdata->rx_max_fifo_size = pdata->vdata->rx_max_fifo_size; in xgbe_platform_probe()
A Dxgbe-pci.c229 pdata->vdata = (struct xgbe_version_data *)id->driver_data; in xgbe_pci_probe()
377 pdata->vdata->tx_max_fifo_size); in xgbe_pci_probe()
382 pdata->vdata->rx_max_fifo_size); in xgbe_pci_probe()

Completed in 39 milliseconds

12