/drivers/pps/ |
D | pps.c | 146 struct pps_fdata fdata; in pps_cdev_ioctl() local 151 err = copy_from_user(&fdata, uarg, sizeof(struct pps_fdata)); in pps_cdev_ioctl() 158 if (fdata.timeout.flags & PPS_TIME_INVALID) in pps_cdev_ioctl() 165 (long long) fdata.timeout.sec, in pps_cdev_ioctl() 166 fdata.timeout.nsec); in pps_cdev_ioctl() 167 ticks = fdata.timeout.sec * HZ; in pps_cdev_ioctl() 168 ticks += fdata.timeout.nsec / (NSEC_PER_SEC / HZ); in pps_cdev_ioctl() 189 fdata.info.assert_sequence = pps->assert_sequence; in pps_cdev_ioctl() 190 fdata.info.clear_sequence = pps->clear_sequence; in pps_cdev_ioctl() 191 fdata.info.assert_tu = pps->assert_tu; in pps_cdev_ioctl() [all …]
|
/drivers/infiniband/hw/hfi1/ |
D | user_exp_rcv.c | 90 static void cacheless_tid_rb_remove(struct hfi1_filedata *fdata, 992 struct hfi1_filedata *fdata = arg; in tid_rb_invalidate() local 993 struct hfi1_ctxtdata *uctxt = fdata->uctxt; in tid_rb_invalidate() 1000 trace_hfi1_exp_tid_inval(uctxt->ctxt, fdata->subctxt, node->mmu.addr, in tid_rb_invalidate() 1004 spin_lock(&fdata->invalid_lock); in tid_rb_invalidate() 1005 if (fdata->invalid_tid_idx < uctxt->expected_count) { in tid_rb_invalidate() 1006 fdata->invalid_tids[fdata->invalid_tid_idx] = in tid_rb_invalidate() 1008 fdata->invalid_tids[fdata->invalid_tid_idx] |= in tid_rb_invalidate() 1010 if (!fdata->invalid_tid_idx) { in tid_rb_invalidate() 1024 HFI1_MAX_SHARED_CTXTS) + fdata->subctxt); in tid_rb_invalidate() [all …]
|
D | file_ops.c | 732 struct hfi1_filedata *fdata = fp->private_data; in hfi1_file_close() local 733 struct hfi1_ctxtdata *uctxt = fdata->uctxt; in hfi1_file_close() 744 hfi1_cdbg(PROC, "freeing ctxt %u:%u", uctxt->ctxt, fdata->subctxt); in hfi1_file_close() 749 hfi1_user_sdma_free_queues(fdata); in hfi1_file_close() 752 hfi1_put_proc_affinity(fdata->rec_cpu_num); in hfi1_file_close() 755 hfi1_user_exp_rcv_free(fdata); in hfi1_file_close() 762 HFI1_MAX_SHARED_CTXTS) + fdata->subctxt; in hfi1_file_close() 766 uctxt->active_slaves &= ~(1 << fdata->subctxt); in hfi1_file_close() 811 mmdrop(fdata->mm); in hfi1_file_close() 817 kfree(fdata); in hfi1_file_close()
|
/drivers/s390/block/ |
D | dasd_ioctl.c | 203 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()
|
D | dasd_eckd.c | 2116 dasd_eckd_build_check_tcw(struct dasd_device *base, struct format_data_t *fdata, in dasd_eckd_build_check_tcw() argument 2138 count = rpt * (fdata->stop_unit - fdata->start_unit + 1); in dasd_eckd_build_check_tcw() 2159 rc = prepare_itcw(itcw, fdata->start_unit, fdata->stop_unit, in dasd_eckd_build_check_tcw() 2202 dasd_eckd_build_check(struct dasd_device *base, struct format_data_t *fdata, in dasd_eckd_build_check() argument 2225 count = rpt * (fdata->stop_unit - fdata->start_unit + 1); in dasd_eckd_build_check() 2249 prefix_LRE(ccw++, data, fdata->start_unit, fdata->stop_unit, in dasd_eckd_build_check() 2253 define_extent(ccw++, data, fdata->start_unit, fdata->stop_unit, in dasd_eckd_build_check() 2259 locate_record(ccw++, data, fdata->start_unit, 0, count, in dasd_eckd_build_check() 2288 struct format_data_t *fdata, in dasd_eckd_build_format() argument 2316 rpt = recs_per_track(&base_priv->rdc_data, 0, fdata->blksize); in dasd_eckd_build_format() [all …]
|
/drivers/gpu/drm/msm/hdmi/ |
D | hdmi_phy_8996.c | 151 static inline u32 pll_get_pll_cmp(u64 fdata, unsigned long ref_clk) in pll_get_pll_cmp() argument 153 u64 dividend = HDMI_PLL_CMP_CNT * fdata; in pll_get_pll_cmp() 166 u64 fdata = ((u64)pll_cmp) * ref_clk * 10; in pll_cmp_to_fdata() local 168 do_div(fdata, HDMI_PLL_CMP_CNT); in pll_cmp_to_fdata() 170 return fdata; in pll_cmp_to_fdata() 233 u64 fdata; in pll_calculate() local 272 fdata = pd.vco_freq; in pll_calculate() 273 do_div(fdata, pd.vco_ratio); in pll_calculate() 275 pll_cmp = pll_get_pll_cmp(fdata, ref_clk); in pll_calculate() 278 DBG("fdata: %llu", fdata); in pll_calculate() [all …]
|
/drivers/scsi/qla2xxx/ |
D | qla_sup.c | 1220 qla24xx_erase_sector(scsi_qla_host_t *vha, uint32_t fdata) in qla24xx_erase_sector() argument 1226 start = fdata >> 2; in qla24xx_erase_sector() 1233 (fdata & 0xff00) | ((fdata << 16) & 0xff0000) | in qla24xx_erase_sector() 1234 ((fdata >> 16) & 0xff)); in qla24xx_erase_sector() 1244 uint32_t fdata; in qla24xx_write_flash_data() local 1274 fdata = (faddr & sec_mask) << 2; in qla24xx_write_flash_data() 1282 (fdata & 0xff00) | ((fdata << 16) & in qla24xx_write_flash_data() 1283 0xff0000) | ((fdata >> 16) & 0xff)); in qla24xx_write_flash_data() 1284 ret = qla24xx_erase_sector(vha, fdata); in qla24xx_write_flash_data() 1335 (fdata & 0xff00) | ((fdata << 16) & in qla24xx_write_flash_data() [all …]
|
/drivers/dma/ |
D | imx-dma.c | 1022 struct imxdma_filter_data *fdata = param; in imxdma_filter_fn() local 1025 if (chan->device->dev != fdata->imxdma->dev) in imxdma_filter_fn() 1028 imxdma_chan->dma_request = fdata->request; in imxdma_filter_fn() 1039 struct imxdma_filter_data fdata = { in imxdma_xlate() local 1046 fdata.request = dma_spec->args[0]; in imxdma_xlate() 1049 imxdma_filter_fn, &fdata); in imxdma_xlate()
|
/drivers/net/ethernet/intel/i40e/ |
D | i40e_txrx.c | 51 struct i40e_fdir_filter *fdata, bool add) in i40e_fdir() argument 66 (fdata->q_index << I40E_TXD_FLTR_QW0_QINDEX_SHIFT); in i40e_fdir() 69 (fdata->flex_off << I40E_TXD_FLTR_QW0_FLEXOFF_SHIFT); in i40e_fdir() 72 (fdata->pctype << I40E_TXD_FLTR_QW0_PCTYPE_SHIFT); in i40e_fdir() 76 ((u32)(fdata->dest_vsi ? : pf->vsi[pf->lan_vsi]->id) << in i40e_fdir() 88 (fdata->dest_ctl << I40E_TXD_FLTR_QW1_DEST_SHIFT); in i40e_fdir() 91 (fdata->fd_status << I40E_TXD_FLTR_QW1_FD_STATUS_SHIFT); in i40e_fdir() 93 if (fdata->cnt_index) { in i40e_fdir() 96 ((u32)fdata->cnt_index << in i40e_fdir() 103 fdir_desc->fd_id = cpu_to_le32(fdata->fd_id); in i40e_fdir()
|
/drivers/video/fbdev/ |
D | tgafb.c | 1013 u32 fdata, ldata; local 1015 fdata = (2048 - 1) | align; 1020 __raw_writel(fdata, fb_base + pos + j*Bpp);
|