Home
last modified time | relevance | path

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

123

/linux/arch/sparc/kernel/
H 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/
H A Dvsyscall.c35 vdata[CS_RAW].mask = tk->tkr_raw.mask; in update_vdso_data()
36 vdata[CS_RAW].mult = tk->tkr_raw.mult; in update_vdso_data()
86 vdso_write_begin(vdata); in update_vsyscall()
120 update_vdso_data(vdata, tk); in update_vsyscall()
122 __arch_update_vsyscall(vdata, tk); in update_vsyscall()
124 vdso_write_end(vdata); in update_vsyscall()
126 __arch_sync_vdso_data(vdata); in update_vsyscall()
136 __arch_sync_vdso_data(vdata); in update_vsyscall_tz()
157 vdso_write_begin(vdata); in vdso_update_begin()
173 vdso_write_end(vdata); in vdso_update_end()
[all …]
H 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/drivers/crypto/ccp/
H A Dpsp-dev.c51 if (!psp || !psp->vdata || !psp->vdata->cmdresp_reg || in psp_mailbox_command()
52 !psp->vdata->cmdbuff_addr_lo_reg || !psp->vdata->cmdbuff_addr_hi_reg) in psp_mailbox_command()
55 cmdresp_reg = psp->io_regs + psp->vdata->cmdresp_reg; in psp_mailbox_command()
129 status = ioread32(psp->io_regs + psp->vdata->intsts_reg); in psp_irq_handler()
132 iowrite32(status, psp->io_regs + psp->vdata->intsts_reg); in psp_irq_handler()
201 if (psp->vdata->platform_access) { in psp_init()
236 psp->vdata = (struct psp_vdata *)sp->dev_vdata->psp_vdata; in psp_dev_init()
237 if (!psp->vdata) { in psp_dev_init()
251 iowrite32(0, psp->io_regs + psp->vdata->inten_reg); in psp_dev_init()
252 iowrite32(-1, psp->io_regs + psp->vdata->intsts_reg); in psp_dev_init()
[all …]
H A Dplatform-access.c71 if (!pa_dev->vdata->cmdresp_reg || !pa_dev->vdata->cmdbuff_addr_lo_reg || in psp_send_platform_access_msg()
72 !pa_dev->vdata->cmdbuff_addr_hi_reg) in psp_send_platform_access_msg()
75 cmd = psp->io_regs + pa_dev->vdata->cmdresp_reg; in psp_send_platform_access_msg()
76 lo = psp->io_regs + pa_dev->vdata->cmdbuff_addr_lo_reg; in psp_send_platform_access_msg()
77 hi = psp->io_regs + pa_dev->vdata->cmdbuff_addr_hi_reg; in psp_send_platform_access_msg()
159 button = psp->io_regs + pa_dev->vdata->doorbell_button_reg; in psp_ring_platform_doorbell()
160 cmd = psp->io_regs + pa_dev->vdata->doorbell_cmd_reg; in psp_ring_platform_doorbell()
219 pa_dev->vdata = (struct platform_access_vdata *)psp->vdata->platform_access; in platform_access_dev_init()
H 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()
H A Dtee-dev.c180 tee->vdata = (struct tee_vdata *)psp->vdata->tee; in tee_dev_init()
181 if (!tee->vdata) { in tee_dev_init()
232 rptr = ioread32(tee->io_regs + tee->vdata->ring_rptr_reg); in tee_submit_cmd()
283 iowrite32(tee->rb_mgr.wptr, tee->io_regs + tee->vdata->ring_wptr_reg); in tee_submit_cmd()
H A Dccp-ops.c596 ret = cmd_q->ccp->vdata->perform->aes(&op); in ccp_run_aes_cmac_cmd()
761 ret = cmd_q->ccp->vdata->perform->aes(&op); in ccp_run_aes_gcm_cmd()
809 ret = cmd_q->ccp->vdata->perform->aes(&op); in ccp_run_aes_gcm_cmd()
867 ret = cmd_q->ccp->vdata->perform->aes(&op); in ccp_run_aes_gcm_cmd()
1051 ret = cmd_q->ccp->vdata->perform->aes(&op); in ccp_run_aes_cmd()
1309 if (!cmd_q->ccp->vdata->perform->des3) in ccp_run_des3_cmd()
1449 ret = cmd_q->ccp->vdata->perform->des3(&op); in ccp_run_des3_cmd()
1715 ret = cmd_q->ccp->vdata->perform->sha(&op); in ccp_run_sha_cmd()
1942 ret = cmd_q->ccp->vdata->perform->rsa(&op); in ccp_run_rsa_cmd()
2244 ret = cmd_q->ccp->vdata->perform->ecc(&op); in ccp_run_ecc_mm_cmd()
[all …]
H A Dsp-pci.c57 version_attribute_show(bootloader_version, psp->vdata->bootloader_info_reg)
59 version_attribute_show(tee_version, psp->vdata->tee->info_reg)
79 psp->vdata->bootloader_info_reg) in psp_firmware_is_visible()
80 val = ioread32(psp->io_regs + psp->vdata->bootloader_info_reg); in psp_firmware_is_visible()
83 psp->vdata->tee->info_reg) in psp_firmware_is_visible()
84 val = ioread32(psp->io_regs + psp->vdata->tee->info_reg); in psp_firmware_is_visible()
H A Dsp-dev.h34 #define PSP_FEATURE(psp, feat) (psp->vdata && psp->vdata->platform_features & PLATFORM_FEATURE_##fe…
H A Dplatform-access.h24 struct platform_access_vdata *vdata; member
/linux/drivers/misc/sgi-gru/
H A Dgrumain.c293 *vdata, int tsid) in gru_find_current_gts_nolock()
359 vdata = kmalloc(sizeof(*vdata), GFP_KERNEL); in gru_alloc_vma_data()
360 if (!vdata) in gru_alloc_vma_data()
364 INIT_LIST_HEAD(&vdata->vd_head); in gru_alloc_vma_data()
365 spin_lock_init(&vdata->vd_lock); in gru_alloc_vma_data()
367 return vdata; in gru_alloc_vma_data()
379 spin_lock(&vdata->vd_lock); in gru_find_thread_state()
381 spin_unlock(&vdata->vd_lock); in gru_find_thread_state()
397 vdata->vd_dsr_au_count, in gru_alloc_thread_state()
403 spin_lock(&vdata->vd_lock); in gru_alloc_thread_state()
[all …]
H 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/
H A Dvsyscall.h40 void __arm64_update_vsyscall(struct vdso_data *vdata, struct timekeeper *tk) in __arm64_update_vsyscall() argument
42 vdata[CS_HRES_COARSE].mask = VDSO_PRECISION_MASK; in __arm64_update_vsyscall()
43 vdata[CS_RAW].mask = VDSO_PRECISION_MASK; in __arm64_update_vsyscall()
/linux/fs/udf/
H A Dpartition.c51 struct udf_virtual_data *vdata; in udf_get_pblock_virt15() local
56 vdata = &map->s_type_specific.s_virtual; in udf_get_pblock_virt15()
58 if (block > vdata->s_num_entries) { in udf_get_pblock_virt15()
60 block, vdata->s_num_entries); in udf_get_pblock_virt15()
66 vdata->s_start_offset))[block]); in udf_get_pblock_virt15()
69 index = (sb->s_blocksize - vdata->s_start_offset) / sizeof(uint32_t); in udf_get_pblock_virt15()
76 index = vdata->s_start_offset / sizeof(uint32_t) + block; in udf_get_pblock_virt15()
/linux/drivers/net/ethernet/broadcom/bnx2x/
H 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/
H 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/
H 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/arch/loongarch/kernel/
H A Dvdso.c34 struct loongarch_vdso_data vdata; member
38 struct vdso_pcpu_data *vdso_pdata = loongarch_vdso_data.vdata.pdata;
39 struct vdso_rng_data *vdso_rng_data = &loongarch_vdso_data.vdata.rng_data;
/linux/drivers/regulator/
H 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/ethernet/amd/xgbe/
H 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/drivers/mfd/
H A Drk8xx-spi.c41 static int rk806_spi_bus_write(void *context, const void *vdata, size_t count) in rk806_spi_bus_write() argument
57 xfer[1].tx_buf = vdata; in rk806_spi_bus_write()
/linux/drivers/hid/
H A Dhid-google-hammer.c482 struct vivaldi_data *vdata; in hammer_probe() local
485 vdata = devm_kzalloc(&hdev->dev, sizeof(*vdata), GFP_KERNEL); in hammer_probe()
486 if (!vdata) in hammer_probe()
489 hid_set_drvdata(hdev, vdata); in hammer_probe()
/linux/drivers/net/wireless/ath/ath9k/
H 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/drivers/input/keyboard/
H A Dcros_ec_keyb.c63 struct vivaldi_data vdata; member
537 u32 *physmap = ckdev->vdata.function_row_physmap; in cros_ec_keyb_parse_vivaldi_physmap()
576 ckdev->vdata.num_function_row_keys = n_physmap; in cros_ec_keyb_parse_vivaldi_physmap()
661 const struct vivaldi_data *data = &ckdev->vdata; in function_row_physmap_show()
681 !ckdev->vdata.num_function_row_keys) in cros_ec_keyb_attr_is_visible()

123