Home
last modified time | relevance | path

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

12

/linux-6.3-rc2/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-6.3-rc2/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()
222 struct vdso_data *vdata; in timens_set_vvar_page() local
238 vdata = arch_get_vdso_data(page_address(ns->vvar_page)); in timens_set_vvar_page()
241 timens_setup_vdso_data(&vdata[i], ns); in timens_set_vvar_page()
/linux-6.3-rc2/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-6.3-rc2/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()
140 psp->vdata = (struct psp_vdata *)sp->dev_vdata->psp_vdata; in psp_dev_init()
141 if (!psp->vdata) { in psp_dev_init()
154 iowrite32(0, psp->io_regs + psp->vdata->inten_reg); in psp_dev_init()
155 iowrite32(-1, psp->io_regs + psp->vdata->intsts_reg); in psp_dev_init()
172 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.c104 reg = ioread32(sev->io_regs + sev->vdata->cmdresp_reg); in sev_irq_handler()
121 *reg = ioread32(sev->io_regs + sev->vdata->cmdresp_reg); in sev_wait_cmd_ioc()
344 iowrite32(phys_lsb, sev->io_regs + sev->vdata->cmdbuff_addr_lo_reg); in __sev_do_cmd_locked()
345 iowrite32(phys_msb, sev->io_regs + sev->vdata->cmdbuff_addr_hi_reg); in __sev_do_cmd_locked()
352 iowrite32(reg, sev->io_regs + sev->vdata->cmdresp_reg); in __sev_do_cmd_locked()
1233 sev->vdata = (struct sev_vdata *)psp->vdata->sev; in sev_dev_init()
1234 if (!sev->vdata) { in sev_dev_init()
A Dsev-dev.h43 struct sev_vdata *vdata; member
A Dtee-dev.h68 struct tee_vdata *vdata; member
/linux-6.3-rc2/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-6.3-rc2/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-6.3-rc2/fs/udf/
A Dpartition.c55 struct udf_virtual_data *vdata; in udf_get_pblock_virt15() local
60 vdata = &map->s_type_specific.s_virtual; in udf_get_pblock_virt15()
62 if (block > vdata->s_num_entries) { in udf_get_pblock_virt15()
64 block, vdata->s_num_entries); in udf_get_pblock_virt15()
70 vdata->s_start_offset))[block]); in udf_get_pblock_virt15()
73 index = (sb->s_blocksize - vdata->s_start_offset) / sizeof(uint32_t); in udf_get_pblock_virt15()
80 index = vdata->s_start_offset / sizeof(uint32_t) + block; in udf_get_pblock_virt15()
/linux-6.3-rc2/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-6.3-rc2/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-6.3-rc2/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-6.3-rc2/arch/loongarch/kernel/
A Dvdso.c30 struct loongarch_vdso_data vdata; member
34 struct vdso_data *vdso_data = loongarch_vdso_data.vdata.data;
35 struct vdso_pcpu_data *vdso_pdata = loongarch_vdso_data.vdata.pdata;
/linux-6.3-rc2/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-6.3-rc2/drivers/net/ethernet/amd/xgbe/
A Dxgbe-pci.c229 pdata->vdata = (struct xgbe_version_data *)id->driver_data; in xgbe_pci_probe()
287 pdata->vdata->an_cdr_workaround = 0; in xgbe_pci_probe()
290 pdata->vdata->enable_rrc = 0; in xgbe_pci_probe()
387 pdata->vdata->tx_max_fifo_size); in xgbe_pci_probe()
392 pdata->vdata->rx_max_fifo_size); in xgbe_pci_probe()
/linux-6.3-rc2/drivers/hid/
A Dhid-google-hammer.c506 struct vivaldi_data *vdata; in hammer_probe() local
509 vdata = devm_kzalloc(&hdev->dev, sizeof(*vdata), GFP_KERNEL); in hammer_probe()
510 if (!vdata) in hammer_probe()
513 hid_set_drvdata(hdev, vdata); in hammer_probe()
/linux-6.3-rc2/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-6.3-rc2/drivers/input/keyboard/
A Dcros_ec_keyb.c65 struct vivaldi_data vdata; member
539 u32 *physmap = ckdev->vdata.function_row_physmap; in cros_ec_keyb_parse_vivaldi_physmap()
578 ckdev->vdata.num_function_row_keys = n_physmap; in cros_ec_keyb_parse_vivaldi_physmap()
663 const struct vivaldi_data *data = &ckdev->vdata; in function_row_physmap_show()
683 !ckdev->vdata.num_function_row_keys) in cros_ec_keyb_attr_is_visible()
/linux-6.3-rc2/tools/perf/util/
A Ds390-sample-raw.c140 void *vdata) in get_counter_name_callback() argument
142 struct get_counter_name_data *data = vdata; in get_counter_name_callback()

Completed in 51 milliseconds

12