Home
last modified time | relevance | path

Searched refs:fdata (Results 1 – 15 of 15) sorted by relevance

/drivers/pps/
Dpps.c53 static int pps_cdev_pps_fetch(struct pps_device *pps, struct pps_fdata *fdata) in pps_cdev_pps_fetch() argument
59 if (fdata->timeout.flags & PPS_TIME_INVALID) in pps_cdev_pps_fetch()
66 (long long) fdata->timeout.sec, in pps_cdev_pps_fetch()
67 fdata->timeout.nsec); in pps_cdev_pps_fetch()
68 ticks = fdata->timeout.sec * HZ; in pps_cdev_pps_fetch()
69 ticks += fdata->timeout.nsec / (NSEC_PER_SEC / HZ); in pps_cdev_pps_fetch()
177 struct pps_fdata fdata; in pps_cdev_ioctl() local
181 err = copy_from_user(&fdata, uarg, sizeof(struct pps_fdata)); in pps_cdev_ioctl()
185 err = pps_cdev_pps_fetch(pps, &fdata); in pps_cdev_ioctl()
192 fdata.info.assert_sequence = pps->assert_sequence; in pps_cdev_ioctl()
[all …]
/drivers/infiniband/hw/hfi1/
Duser_exp_rcv.c63 static void cacheless_tid_rb_remove(struct hfi1_filedata *fdata,
912 struct hfi1_filedata *fdata = arg; in tid_rb_invalidate() local
913 struct hfi1_ctxtdata *uctxt = fdata->uctxt; in tid_rb_invalidate()
920 trace_hfi1_exp_tid_inval(uctxt->ctxt, fdata->subctxt, node->mmu.addr, in tid_rb_invalidate()
924 spin_lock(&fdata->invalid_lock); in tid_rb_invalidate()
925 if (fdata->invalid_tid_idx < uctxt->expected_count) { in tid_rb_invalidate()
926 fdata->invalid_tids[fdata->invalid_tid_idx] = in tid_rb_invalidate()
928 fdata->invalid_tids[fdata->invalid_tid_idx] |= in tid_rb_invalidate()
930 if (!fdata->invalid_tid_idx) { in tid_rb_invalidate()
943 (uctxt_offset(uctxt) + fdata->subctxt); in tid_rb_invalidate()
[all …]
Dfile_ops.c628 struct hfi1_filedata *fdata = fp->private_data; in hfi1_file_close() local
629 struct hfi1_ctxtdata *uctxt = fdata->uctxt; in hfi1_file_close()
640 hfi1_cdbg(PROC, "closing ctxt %u:%u", uctxt->ctxt, fdata->subctxt); in hfi1_file_close()
644 hfi1_user_sdma_free_queues(fdata, uctxt); in hfi1_file_close()
647 hfi1_put_proc_affinity(fdata->rec_cpu_num); in hfi1_file_close()
650 hfi1_user_exp_rcv_free(fdata); in hfi1_file_close()
656 fdata->uctxt = NULL; in hfi1_file_close()
663 ev = dd->events + uctxt_offset(uctxt) + fdata->subctxt; in hfi1_file_close()
667 __clear_bit(fdata->subctxt, uctxt->in_use_ctxts); in hfi1_file_close()
704 mmdrop(fdata->mm); in hfi1_file_close()
[all …]
/drivers/media/platform/qcom/venus/
Dhelpers.c88 struct hfi_frame_data fdata; in venus_helper_queue_dpb_bufs() local
90 memset(&fdata, 0, sizeof(fdata)); in venus_helper_queue_dpb_bufs()
91 fdata.alloc_len = buf->size; in venus_helper_queue_dpb_bufs()
92 fdata.device_addr = buf->da; in venus_helper_queue_dpb_bufs()
93 fdata.buffer_type = buf->type; in venus_helper_queue_dpb_bufs()
95 ret = hfi_session_process_buf(inst, &fdata); in venus_helper_queue_dpb_bufs()
523 struct hfi_frame_data fdata; in session_process_buf() local
526 memset(&fdata, 0, sizeof(fdata)); in session_process_buf()
527 fdata.alloc_len = buf->size; in session_process_buf()
528 fdata.device_addr = buf->dma_addr; in session_process_buf()
[all …]
Dvdec.c487 struct hfi_frame_data fdata = {0}; in vdec_decoder_cmd() local
504 fdata.buffer_type = HFI_BUFFER_INPUT; in vdec_decoder_cmd()
505 fdata.flags |= HFI_BUFFERFLAG_EOS; in vdec_decoder_cmd()
506 fdata.device_addr = 0xdeadb000; in vdec_decoder_cmd()
508 ret = hfi_session_process_buf(inst, &fdata); in vdec_decoder_cmd()
/drivers/gpu/drm/msm/hdmi/
Dhdmi_phy_8996.c144 static inline u32 pll_get_pll_cmp(u64 fdata, unsigned long ref_clk) in pll_get_pll_cmp() argument
146 u64 dividend = HDMI_PLL_CMP_CNT * fdata; in pll_get_pll_cmp()
159 u64 fdata = ((u64)pll_cmp) * ref_clk * 10; in pll_cmp_to_fdata() local
161 do_div(fdata, HDMI_PLL_CMP_CNT); in pll_cmp_to_fdata()
163 return fdata; in pll_cmp_to_fdata()
226 u64 fdata; in pll_calculate() local
265 fdata = pd.vco_freq; in pll_calculate()
266 do_div(fdata, pd.vco_ratio); in pll_calculate()
268 pll_cmp = pll_get_pll_cmp(fdata, ref_clk); in pll_calculate()
271 DBG("fdata: %llu", fdata); in pll_calculate()
[all …]
/drivers/s390/block/
Ddasd_ioctl.c203 dasd_format(struct dasd_block *block, struct format_data_t *fdata) in dasd_format() argument
220 fdata->start_unit, in dasd_format()
221 fdata->stop_unit, fdata->blksize, fdata->intensity); in dasd_format()
228 if (fdata->start_unit == 0) { in dasd_format()
230 bdev->bd_inode->i_blkbits = blksize_bits(fdata->blksize); in dasd_format()
234 rc = base->discipline->format_device(base, fdata, 1); in dasd_format()
236 rc = base->discipline->format_device(base, fdata, 0); in dasd_format()
265 struct format_data_t fdata; in dasd_ioctl_format() local
280 if (copy_from_user(&fdata, argp, sizeof(struct format_data_t))) { in dasd_ioctl_format()
290 rc = dasd_format(base->block, &fdata); in dasd_ioctl_format()
Ddasd_eckd.c2365 dasd_eckd_build_check_tcw(struct dasd_device *base, struct format_data_t *fdata, in dasd_eckd_build_check_tcw() argument
2387 count = rpt * (fdata->stop_unit - fdata->start_unit + 1); in dasd_eckd_build_check_tcw()
2408 rc = prepare_itcw(itcw, fdata->start_unit, fdata->stop_unit, in dasd_eckd_build_check_tcw()
2451 dasd_eckd_build_check(struct dasd_device *base, struct format_data_t *fdata, in dasd_eckd_build_check() argument
2474 count = rpt * (fdata->stop_unit - fdata->start_unit + 1); in dasd_eckd_build_check()
2497 prefix_LRE(ccw++, data, fdata->start_unit, fdata->stop_unit, in dasd_eckd_build_check()
2501 define_extent(ccw++, data, fdata->start_unit, fdata->stop_unit, in dasd_eckd_build_check()
2507 locate_record(ccw++, data, fdata->start_unit, 0, count, in dasd_eckd_build_check()
2536 struct format_data_t *fdata, int enable_pav) in dasd_eckd_build_format() argument
2562 rpt = recs_per_track(&base_priv->rdc_data, 0, fdata->blksize); in dasd_eckd_build_format()
[all …]
/drivers/dma/
Dimx-dma.c1026 struct imxdma_filter_data *fdata = param; in imxdma_filter_fn() local
1029 if (chan->device->dev != fdata->imxdma->dev) in imxdma_filter_fn()
1032 imxdma_chan->dma_request = fdata->request; in imxdma_filter_fn()
1043 struct imxdma_filter_data fdata = { in imxdma_xlate() local
1050 fdata.request = dma_spec->args[0]; in imxdma_xlate()
1053 imxdma_filter_fn, &fdata); in imxdma_xlate()
/drivers/net/ethernet/intel/i40e/
Di40e_txrx.c22 struct i40e_fdir_filter *fdata, bool add) in i40e_fdir() argument
37 (fdata->q_index << I40E_TXD_FLTR_QW0_QINDEX_SHIFT); in i40e_fdir()
40 (fdata->flex_off << I40E_TXD_FLTR_QW0_FLEXOFF_SHIFT); in i40e_fdir()
43 (fdata->pctype << I40E_TXD_FLTR_QW0_PCTYPE_SHIFT); in i40e_fdir()
46 (fdata->flex_offset << I40E_TXD_FLTR_QW0_FLEXOFF_SHIFT); in i40e_fdir()
50 ((u32)(fdata->dest_vsi ? : pf->vsi[pf->lan_vsi]->id) << in i40e_fdir()
62 (fdata->dest_ctl << I40E_TXD_FLTR_QW1_DEST_SHIFT); in i40e_fdir()
65 (fdata->fd_status << I40E_TXD_FLTR_QW1_FD_STATUS_SHIFT); in i40e_fdir()
67 if (fdata->cnt_index) { in i40e_fdir()
70 ((u32)fdata->cnt_index << in i40e_fdir()
[all …]
/drivers/scsi/qla2xxx/
Dqla_sup.c1250 qla24xx_erase_sector(scsi_qla_host_t *vha, uint32_t fdata) in qla24xx_erase_sector() argument
1256 start = fdata >> 2; in qla24xx_erase_sector()
1263 (fdata & 0xff00) | ((fdata << 16) & 0xff0000) | in qla24xx_erase_sector()
1264 ((fdata >> 16) & 0xff)); in qla24xx_erase_sector()
1274 uint32_t sec_mask, rest_addr, fdata; in qla24xx_write_flash_data() local
1304 fdata = (faddr & sec_mask) << 2; in qla24xx_write_flash_data()
1311 ret = qla24xx_erase_sector(vha, fdata); in qla24xx_write_flash_data()
2686 uint32_t sec_mask, rest_addr, fdata; in qla28xx_write_flash_data() local
2826 fdata = (faddr & sec_mask) << 2; in qla28xx_write_flash_data()
2832 rval = qla24xx_erase_sector(vha, fdata); in qla28xx_write_flash_data()
[all …]
/drivers/crypto/cavium/nitrox/
Dnitrox_reqmgr.c481 sr->instr.fdata[0] = *((u64 *)&req->gph); in nitrox_process_se_request()
482 sr->instr.fdata[1] = 0; in nitrox_process_se_request()
Dnitrox_req.h399 u64 fdata[2]; member
/drivers/video/fbdev/
Dtgafb.c1013 u32 fdata, ldata; local
1015 fdata = (2048 - 1) | align;
1020 __raw_writel(fdata, fb_base + pos + j*Bpp);
/drivers/gpu/drm/msm/dsi/pll/
Ddsi_pll_14nm.c46 u32 fdata; /* bit clock rate */ member
217 pll->in.fdata = 0; in dsi_pll_14nm_input_init()