Home
last modified time | relevance | path

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

12

/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()
32 vdata->vclock_mode = tk->tkr_mono.clock->archdata.vclock_mode; in update_vsyscall()
33 vdata->clock.cycle_last = tk->tkr_mono.cycle_last; in update_vsyscall()
34 vdata->clock.mask = tk->tkr_mono.mask; in update_vsyscall()
35 vdata->clock.mult = tk->tkr_mono.mult; in update_vsyscall()
36 vdata->clock.shift = tk->tkr_mono.shift; in update_vsyscall()
38 vdata->wall_time_sec = tk->xtime_sec; in update_vsyscall()
39 vdata->wall_time_snsec = tk->tkr_mono.xtime_nsec; in update_vsyscall()
[all …]
/linux/kernel/time/
H A Dvsyscall.c29 static inline void update_vdso_time_data(struct vdso_time_data *vdata, struct timekeeper *tk) in update_vdso_time_data() argument
31 struct vdso_clock *vc = vdata->clock_data; in update_vdso_time_data()
79 struct vdso_time_data *vdata = vdso_k_time_data; in update_vsyscall() local
80 struct vdso_clock *vc = vdata->clock_data; in update_vsyscall()
86 vdso_write_begin(vdata); in update_vsyscall()
112 WRITE_ONCE(vdata->hrtimer_res, hrtimer_resolution); in update_vsyscall()
119 update_vdso_time_data(vdata, tk); in update_vsyscall()
124 vdso_write_end(vdata); in update_vsyscall()
126 __arch_sync_vdso_time_data(vdata); in update_vsyscall()
131 struct vdso_time_data *vdata = vdso_k_time_data; in update_vsyscall_tz() local
[all …]
H A Dnamespace.c221 struct vdso_time_data *vdata; in timens_set_vvar_page() local
238 vdata = page_address(ns->vvar_page); in timens_set_vvar_page()
239 vc = vdata->clock_data; in timens_set_vvar_page()
245 for (i = 0; i < ARRAY_SIZE(vdata->aux_clock_data); i++) in timens_set_vvar_page()
246 timens_setup_vdso_clock_data(&vdata->aux_clock_data[i], ns); in timens_set_vvar_page()
/linux/drivers/crypto/ccp/
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.c207 tee->vdata = (struct tee_vdata *)psp->vdata->tee; in tee_dev_init()
208 if (!tee->vdata) { in tee_dev_init()
259 rptr = ioread32(tee->io_regs + tee->vdata->ring_rptr_reg); in tee_submit_cmd()
310 iowrite32(tee->rb_mgr.wptr, tee->io_regs + tee->vdata->ring_wptr_reg); in tee_submit_cmd()
H A Dccp-ops.c57 #define CCP_NEW_JOBID(ccp) ((ccp->vdata->version == CCP_VERSION(3, 0)) ? \
459 return cmd_q->ccp->vdata->perform->passthru(&op); in ccp_copy_to_from_sb()
597 ret = cmd_q->ccp->vdata->perform->aes(&op); in ccp_run_aes_cmac_cmd()
771 ret = cmd_q->ccp->vdata->perform->aes(&wa->op); in ccp_run_aes_gcm_cmd()
819 ret = cmd_q->ccp->vdata->perform->aes(&wa->op); in ccp_run_aes_gcm_cmd()
877 ret = cmd_q->ccp->vdata->perform->aes(&wa->op); in ccp_run_aes_gcm_cmd()
1061 ret = cmd_q->ccp->vdata->perform->aes(&op); in ccp_run_aes_cmd()
1170 if (cmd_q->ccp->vdata->version == CCP_VERSION(3, 0)) in ccp_run_xts_aes_cmd()
1180 if (cmd_q->ccp->vdata->version == CCP_VERSION(3, 0)) { in ccp_run_xts_aes_cmd()
1263 ret = cmd_q->ccp->vdata->perform->xts_aes(&op); in ccp_run_xts_aes_cmd()
[all …]
H A Dplatform-access.h24 struct platform_access_vdata *vdata; member
H A Dsev-dev.c162 reg = ioread32(sev->io_regs + sev->vdata->cmdresp_reg); in sev_irq_handler()
184 *reg = ioread32(sev->io_regs + sev->vdata->cmdresp_reg); in sev_wait_cmd_ioc()
198 *reg = ioread32(sev->io_regs + sev->vdata->cmdresp_reg); in sev_wait_cmd_ioc()
926 iowrite32(phys_lsb, sev->io_regs + sev->vdata->cmdbuff_addr_lo_reg); in __sev_do_cmd_locked()
927 iowrite32(phys_msb, sev->io_regs + sev->vdata->cmdbuff_addr_hi_reg); in __sev_do_cmd_locked()
943 iowrite32(reg, sev->io_regs + sev->vdata->cmdresp_reg); in __sev_do_cmd_locked()
971 cmdbuff_hi = ioread32(sev->io_regs + sev->vdata->cmdbuff_addr_hi_reg); in __sev_do_cmd_locked()
972 cmdbuff_lo = ioread32(sev->io_regs + sev->vdata->cmdbuff_addr_lo_reg); in __sev_do_cmd_locked()
2710 sev->vdata = (struct sev_vdata *)psp->vdata->sev; in sev_dev_init()
2711 if (!sev->vdata) { in sev_dev_init()
H A Dsev-dev.h45 struct sev_vdata *vdata; member
/linux/drivers/misc/sgi-gru/
H A Dgrumain.c293 *vdata, int tsid) in gru_find_current_gts_nolock()
297 list_for_each_entry(gts, &vdata->vd_head, ts_next) in gru_find_current_gts_nolock()
357 struct gru_vma_data *vdata = NULL; in gru_alloc_vma_data() local
359 vdata = kmalloc_obj(*vdata); 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()
366 gru_dbg(grudev, "alloc vdata %p\n", vdata); in gru_alloc_vma_data()
367 return vdata; in gru_alloc_vma_data()
376 struct gru_vma_data *vdata = vma->vm_private_data; in gru_find_thread_state() local
[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/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/arch/arm/include/asm/vdso/
H A Dvsyscall.h11 void __arch_sync_vdso_time_data(struct vdso_time_data *vdata) in __arch_sync_vdso_time_data() argument
13 flush_dcache_page(virt_to_page(vdata)); in __arch_sync_vdso_time_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.c121 pdata->vdata = (struct xgbe_version_data *)id->driver_data; in xgbe_pci_probe()
180 pdata->vdata->an_cdr_workaround = 0; in xgbe_pci_probe()
183 pdata->vdata->enable_rrc = 0; in xgbe_pci_probe()
201 if (pdata->vdata->xpcs_access == XGBE_XPCS_ACCESS_V3) { in xgbe_pci_probe()
305 pdata->vdata->tx_max_fifo_size); in xgbe_pci_probe()
310 pdata->vdata->rx_max_fifo_size); in xgbe_pci_probe()
H A Dxgbe-main.c60 pdata->vdata->init_function_ptrs_phy_impl(&pdata->phy_if); in xgbe_init_all_fptrs()
222 pdata->debugfs_an_cdr_workaround = pdata->vdata->an_cdr_workaround; in xgbe_config_netdev()
/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()
H A Dhid-picolcd_fb.c146 u8 *vdata = vbitmap + (tile * 4 + chip) * 64; in picolcd_fb_update_tile() local
171 if (tdata[i] != vdata[i]) { in picolcd_fb_update_tile()
173 vdata[i] = tdata[i]; in picolcd_fb_update_tile()
/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/net/wireless/ath/ath9k/
H A Dcommon-spectral.c476 u8 num_bins, *vdata = (u8 *)hdr; in ath_cmn_process_fft() local
501 radar_info = ((struct ath_radar_info *)&vdata[len]) - 1; in ath_cmn_process_fft()
539 sample_start = vdata; in ath_cmn_process_fft()
561 if (vdata[i] <= 0x7 && sample_bytes >= sample_len - 1) { in ath_cmn_process_fft()
591 if (!fft_idx_validator(&vdata[i], i)) { in ath_cmn_process_fft()
601 (vdata[i + 1] <= 0x7)) in ath_cmn_process_fft()
606 (vdata[i + 1] <= 0x7)) in ath_cmn_process_fft()
662 sample_start = &vdata[i + 1]; in ath_cmn_process_fft()
/linux/include/asm-generic/vdso/
H A Dvsyscall.h28 static __always_inline void __arch_sync_vdso_time_data(struct vdso_time_data *vdata) in __arch_sync_vdso_time_data() argument
/linux/tools/perf/util/
H A Dprint-events.c254 void *vdata) in metricgroup__add_to_mep_groups_callback() argument
256 struct rblist *groups = vdata; in metricgroup__add_to_mep_groups_callback()
H A Ds390-sample-raw.c141 static int get_counter_name_callback(void *vdata, struct pmu_event_info *info) in get_counter_name_callback() argument
143 struct get_counter_name_data *data = vdata; in get_counter_name_callback()
H A Dmetricgroup.c707 void *vdata) in metricgroup__find_metric_callback() argument
709 struct pmu_metric *copied_pm = vdata; in metricgroup__find_metric_callback()
1038 void *vdata) in metricgroup__add_metric_callback() argument
1040 struct metricgroup__add_metric_data *data = vdata; in metricgroup__add_metric_callback()
1593 void *vdata) in metricgroup__has_metric_or_groups_callback() argument
1595 struct metricgroup__has_metric_data *data = vdata; in metricgroup__has_metric_or_groups_callback()

12