Home
last modified time | relevance | path

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

/drivers/char/
Dmspec.c144 struct vma_data *vdata; in mspec_open() local
146 vdata = vma->vm_private_data; in mspec_open()
147 atomic_inc(&vdata->refcnt); in mspec_open()
159 struct vma_data *vdata; in mspec_close() local
163 vdata = vma->vm_private_data; in mspec_close()
165 if (!atomic_dec_and_test(&vdata->refcnt)) in mspec_close()
168 last_index = (vdata->vm_end - vdata->vm_start) >> PAGE_SHIFT; in mspec_close()
170 if (vdata->maddr[index] == 0) in mspec_close()
176 my_page = vdata->maddr[index]; in mspec_close()
177 vdata->maddr[index] = 0; in mspec_close()
[all …]
/drivers/crypto/ccp/
Dccp-pci.c64 ccp->vdata->perform->irqhandler, in ccp_get_msix_irqs()
98 ret = request_irq(ccp->irq, ccp->vdata->perform->irqhandler, 0, in ccp_get_msi_irq()
160 io_flags = pci_resource_flags(pdev, ccp->vdata->bar); in ccp_find_mmio_area()
161 io_len = pci_resource_len(pdev, ccp->vdata->bar); in ccp_find_mmio_area()
163 (io_len >= (ccp->vdata->offset + 0x800))) in ccp_find_mmio_area()
164 return ccp->vdata->bar; in ccp_find_mmio_area()
187 ccp->vdata = (struct ccp_vdata *)id->driver_data; in ccp_pci_probe()
188 if (!ccp->vdata || !ccp->vdata->version) { in ccp_pci_probe()
221 ccp->io_regs = ccp->io_map + ccp->vdata->offset; in ccp_pci_probe()
235 if (ccp->vdata->setup) in ccp_pci_probe()
[all …]
Dccp-platform.c73 ret = request_irq(ccp->irq, ccp->vdata->perform->irqhandler, 0, in ccp_get_irq()
137 ccp->vdata = pdev->dev.of_node ? ccp_get_of_version(pdev) in ccp_platform_probe()
139 if (!ccp->vdata || !ccp->vdata->version) { in ccp_platform_probe()
175 ret = ccp->vdata->perform->init(ccp); in ccp_platform_probe()
193 ccp->vdata->perform->destroy(ccp); in ccp_platform_remove()
Dccp-ops.c44 #define CCP_NEW_JOBID(ccp) ((ccp->vdata->version == CCP_VERSION(3, 0)) ? \
438 return cmd_q->ccp->vdata->perform->passthru(&op); in ccp_copy_to_from_sb()
570 ret = cmd_q->ccp->vdata->perform->aes(&op); in ccp_run_aes_cmac_cmd()
740 ret = cmd_q->ccp->vdata->perform->aes(&op); in ccp_run_aes_cmd()
847 if (cmd_q->ccp->vdata->version == CCP_VERSION(3, 0)) in ccp_run_xts_aes_cmd()
857 if (cmd_q->ccp->vdata->version == CCP_VERSION(3, 0)) { in ccp_run_xts_aes_cmd()
930 ret = cmd_q->ccp->vdata->perform->xts_aes(&op); in ccp_run_xts_aes_cmd()
1010 if (cmd_q->ccp->vdata->version == CCP_VERSION(3, 0)) { in ccp_run_sha_cmd()
1063 if (cmd_q->ccp->vdata->version != CCP_VERSION(3, 0)) in ccp_run_sha_cmd()
1074 if (cmd_q->ccp->vdata->version != CCP_VERSION(3, 0)) in ccp_run_sha_cmd()
[all …]
Dccp-dev.h324 struct ccp_vdata *vdata; member
Dccp-dev.c255 ret = dp->vdata->version; in ccp_version()
/drivers/misc/sgi-gru/
Dgrumain.c310 *vdata, int tsid) in gru_find_current_gts_nolock()
314 list_for_each_entry(gts, &vdata->vd_head, ts_next) in gru_find_current_gts_nolock()
374 struct gru_vma_data *vdata = NULL; in gru_alloc_vma_data() local
376 vdata = kmalloc(sizeof(*vdata), GFP_KERNEL); in gru_alloc_vma_data()
377 if (!vdata) in gru_alloc_vma_data()
381 INIT_LIST_HEAD(&vdata->vd_head); in gru_alloc_vma_data()
382 spin_lock_init(&vdata->vd_lock); in gru_alloc_vma_data()
383 gru_dbg(grudev, "alloc vdata %p\n", vdata); in gru_alloc_vma_data()
384 return vdata; in gru_alloc_vma_data()
393 struct gru_vma_data *vdata = vma->vm_private_data; in gru_find_thread_state() local
[all …]
Dgrufile.c75 struct gru_vma_data *vdata; in gru_vma_close() local
82 vdata = vma->vm_private_data; in gru_vma_close()
85 vdata); in gru_vma_close()
86 list_for_each_safe(entry, next, &vdata->vd_head) { in gru_vma_close()
96 kfree(vdata); in gru_vma_close()
137 struct gru_vma_data *vdata; in gru_create_new_context() local
154 vdata = vma->vm_private_data; in gru_create_new_context()
155 vdata->vd_user_options = req.options; in gru_create_new_context()
156 vdata->vd_dsr_au_count = in gru_create_new_context()
158 vdata->vd_cbr_au_count = GRU_CB_COUNT_TO_AU(req.control_blocks); in gru_create_new_context()
[all …]
/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_init.h338 struct cmng_vnic *vdata = &ram_data->vnic; in bnx2x_init_max() local
358 vdata->vnic_max_rate[vnic].vn_counter.rate = in bnx2x_init_max()
364 vdata->vnic_max_rate[vnic].vn_counter.quota = in bnx2x_init_max()
366 (u32)vdata->vnic_max_rate[vnic].vn_counter.rate / 8; in bnx2x_init_max()
375 struct cmng_vnic *vdata = &ram_data->vnic; in bnx2x_init_min() local
412 vdata->vnic_min_rate[vnic].vn_credit_delta = in bnx2x_init_min()
415 if (vdata->vnic_min_rate[vnic].vn_credit_delta < in bnx2x_init_min()
418 vdata->vnic_min_rate[vnic].vn_credit_delta = in bnx2x_init_min()
431 struct cmng_vnic *vdata = &ram_data->vnic; in bnx2x_init_fw_wrr() local
443 u32 *ccd = vdata->vnic_min_rate[vnic].cos_credit_delta; in bnx2x_init_fw_wrr()
/drivers/regulator/
Dtps6586x-regulator.c112 #define TPS6586X_REGULATOR(_id, _ops, _pin_name, vdata, vreg, shift, nbits, \ argument
120 .n_voltages = ARRAY_SIZE(vdata##_voltages), \
121 .volt_table = vdata##_voltages, \
160 #define TPS6586X_LDO(_id, _pname, vdata, vreg, shift, nbits, \ argument
163 TPS6586X_REGULATOR(_id, rw, _pname, vdata, vreg, shift, nbits, \
175 #define TPS6586X_FIXED_LDO(_id, _pname, vdata, vreg, shift, nbits, \ argument
178 TPS6586X_REGULATOR(_id, ro, _pname, vdata, vreg, shift, nbits, \
/drivers/net/wireless/ath/ath9k/
Dcommon-spectral.c502 u8 num_bins, *vdata = (u8 *)hdr; in ath_cmn_process_fft() local
527 radar_info = ((struct ath_radar_info *)&vdata[len]) - 1; in ath_cmn_process_fft()
565 sample_start = vdata; in ath_cmn_process_fft()
587 if (vdata[i] <= 0x7 && sample_bytes >= sample_len - 1) { in ath_cmn_process_fft()
617 if (!fft_idx_validator(&vdata[i], i)) { in ath_cmn_process_fft()
627 (vdata[i + 1] <= 0x7)) in ath_cmn_process_fft()
632 (vdata[i + 1] <= 0x7)) in ath_cmn_process_fft()
678 sample_start = &vdata[i + 1]; in ath_cmn_process_fft()
/drivers/hid/
Dhid-picolcd_fb.c156 u8 *vdata = vbitmap + (tile * 4 + chip) * 64; in picolcd_fb_update_tile() local
181 if (tdata[i] != vdata[i]) { in picolcd_fb_update_tile()
183 vdata[i] = tdata[i]; in picolcd_fb_update_tile()
/drivers/net/ethernet/cavium/liquidio/
Dlio_main.c3693 struct lio_version *vdata; in setup_nic_devices() local
3721 vdata = (struct lio_version *)sc->virtdptr; in setup_nic_devices()
3723 *((u64 *)vdata) = 0; in setup_nic_devices()
3724 vdata->major = cpu_to_be16(LIQUIDIO_BASE_MAJOR_VERSION); in setup_nic_devices()
3725 vdata->minor = cpu_to_be16(LIQUIDIO_BASE_MINOR_VERSION); in setup_nic_devices()
3726 vdata->micro = cpu_to_be16(LIQUIDIO_BASE_MICRO_VERSION); in setup_nic_devices()