/linux-6.1.9/arch/sparc/kernel/ |
D | vdso.c | 26 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-6.1.9/kernel/time/ |
D | vsyscall.c | 18 static inline void update_vdso_data(struct vdso_data *vdata, in update_vdso_data() argument 24 vdata[CS_HRES_COARSE].cycle_last = tk->tkr_mono.cycle_last; in update_vdso_data() 25 vdata[CS_HRES_COARSE].mask = tk->tkr_mono.mask; in update_vdso_data() 26 vdata[CS_HRES_COARSE].mult = tk->tkr_mono.mult; in update_vdso_data() 27 vdata[CS_HRES_COARSE].shift = tk->tkr_mono.shift; in update_vdso_data() 28 vdata[CS_RAW].cycle_last = tk->tkr_raw.cycle_last; in update_vdso_data() 29 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() 31 vdata[CS_RAW].shift = tk->tkr_raw.shift; in update_vdso_data() 34 vdso_ts = &vdata[CS_HRES_COARSE].basetime[CLOCK_MONOTONIC]; in update_vdso_data() [all …]
|
D | namespace.c | 179 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-6.1.9/drivers/char/ |
D | mspec.c | 90 struct vma_data *vdata; in mspec_open() local 92 vdata = vma->vm_private_data; in mspec_open() 93 refcount_inc(&vdata->refcnt); in mspec_open() 105 struct vma_data *vdata; in mspec_close() local 109 vdata = vma->vm_private_data; in mspec_close() 111 if (!refcount_dec_and_test(&vdata->refcnt)) in mspec_close() 114 last_index = (vdata->vm_end - vdata->vm_start) >> PAGE_SHIFT; in mspec_close() 116 if (vdata->maddr[index] == 0) in mspec_close() 122 my_page = vdata->maddr[index]; in mspec_close() 123 vdata->maddr[index] = 0; in mspec_close() [all …]
|
/linux-6.1.9/drivers/crypto/ccp/ |
D | psp-dev.c | 43 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()
|
D | tee-dev.c | 71 *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()
|
D | ccp-dev.c | 260 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()
|
D | ccp-ops.c | 56 #define CCP_NEW_JOBID(ccp) ((ccp->vdata->version == CCP_VERSION(3, 0)) ? \ 455 return cmd_q->ccp->vdata->perform->passthru(&op); in ccp_copy_to_from_sb() 593 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() 1157 if (cmd_q->ccp->vdata->version == CCP_VERSION(3, 0)) in ccp_run_xts_aes_cmd() 1167 if (cmd_q->ccp->vdata->version == CCP_VERSION(3, 0)) { in ccp_run_xts_aes_cmd() 1250 ret = cmd_q->ccp->vdata->perform->xts_aes(&op); in ccp_run_xts_aes_cmd() [all …]
|
D | sev-dev.c | 102 reg = ioread32(sev->io_regs + sev->vdata->cmdresp_reg); in sev_irq_handler() 119 *reg = ioread32(sev->io_regs + sev->vdata->cmdresp_reg); in sev_wait_cmd_ioc() 342 iowrite32(phys_lsb, sev->io_regs + sev->vdata->cmdbuff_addr_lo_reg); in __sev_do_cmd_locked() 343 iowrite32(phys_msb, sev->io_regs + sev->vdata->cmdbuff_addr_hi_reg); in __sev_do_cmd_locked() 350 iowrite32(reg, sev->io_regs + sev->vdata->cmdresp_reg); in __sev_do_cmd_locked() 1224 sev->vdata = (struct sev_vdata *)psp->vdata->sev; in sev_dev_init() 1225 if (!sev->vdata) { in sev_dev_init()
|
D | sev-dev.h | 43 struct sev_vdata *vdata; member
|
D | tee-dev.h | 68 struct tee_vdata *vdata; member
|
/linux-6.1.9/drivers/misc/sgi-gru/ |
D | grumain.c | 297 *vdata, int tsid) in gru_find_current_gts_nolock() 301 list_for_each_entry(gts, &vdata->vd_head, ts_next) in gru_find_current_gts_nolock() 361 struct gru_vma_data *vdata = NULL; in gru_alloc_vma_data() local 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() 370 gru_dbg(grudev, "alloc vdata %p\n", vdata); in gru_alloc_vma_data() 371 return vdata; in gru_alloc_vma_data() 380 struct gru_vma_data *vdata = vma->vm_private_data; in gru_find_thread_state() local [all …]
|
D | grufile.c | 63 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.1.9/arch/arm64/include/asm/vdso/ |
D | vsyscall.h | 25 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.1.9/fs/udf/ |
D | partition.c | 55 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-6.1.9/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_init.h | 337 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.1.9/include/asm-generic/vdso/ |
D | vsyscall.h | 15 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.1.9/arch/arm/include/asm/vdso/ |
D | vsyscall.h | 25 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.1.9/arch/loongarch/kernel/ |
D | vdso.c | 30 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.1.9/drivers/regulator/ |
D | tps6586x-regulator.c | 109 #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.1.9/drivers/net/ethernet/amd/xgbe/ |
D | xgbe-pci.c | 229 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.1.9/drivers/hid/ |
D | hid-google-hammer.c | 506 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.1.9/drivers/net/wireless/ath/ath9k/ |
D | common-spectral.c | 475 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.1.9/drivers/input/keyboard/ |
D | cros_ec_keyb.c | 65 struct vivaldi_data vdata; member 524 u32 *physmap = ckdev->vdata.function_row_physmap; in cros_ec_keyb_parse_vivaldi_physmap() 563 ckdev->vdata.num_function_row_keys = n_physmap; in cros_ec_keyb_parse_vivaldi_physmap() 648 const struct vivaldi_data *data = &ckdev->vdata; in function_row_physmap_show() 668 !ckdev->vdata.num_function_row_keys) in cros_ec_keyb_attr_is_visible()
|
/linux-6.1.9/tools/perf/util/ |
D | s390-sample-raw.c | 139 void *vdata) in get_counter_name_callback() argument 141 struct get_counter_name_data *data = vdata; in get_counter_name_callback()
|