Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/staging/media/meson/vdec/
Desparser.c146 u8 *fdata = dp + outheaderoff; in vp9_update_header() local
149 memmove(fdata + VP9_HEADER_SIZE, old_framedata, framesize); in vp9_update_header()
151 fdata[0] = (framesize_header >> 24) & 0xff; in vp9_update_header()
152 fdata[1] = (framesize_header >> 16) & 0xff; in vp9_update_header()
153 fdata[2] = (framesize_header >> 8) & 0xff; in vp9_update_header()
154 fdata[3] = (framesize_header >> 0) & 0xff; in vp9_update_header()
155 fdata[4] = ((framesize_header >> 24) & 0xff) ^ 0xff; in vp9_update_header()
156 fdata[5] = ((framesize_header >> 16) & 0xff) ^ 0xff; in vp9_update_header()
157 fdata[6] = ((framesize_header >> 8) & 0xff) ^ 0xff; in vp9_update_header()
158 fdata[7] = ((framesize_header >> 0) & 0xff) ^ 0xff; in vp9_update_header()
[all …]
/linux-6.1.9/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 …]
/linux-6.1.9/drivers/infiniband/hw/hfi1/
Duser_exp_rcv.c21 static void cacheless_tid_rb_remove(struct hfi1_filedata *fdata,
762 node->fdata = fd; in set_rcvarray_entry()
908 struct hfi1_filedata *fdata = node->fdata; in tid_rb_invalidate() local
909 struct hfi1_ctxtdata *uctxt = fdata->uctxt; in tid_rb_invalidate()
918 trace_hfi1_exp_tid_inval(uctxt->ctxt, fdata->subctxt, in tid_rb_invalidate()
923 __clear_tid_node(fdata, node); in tid_rb_invalidate()
925 spin_lock(&fdata->invalid_lock); in tid_rb_invalidate()
926 if (fdata->invalid_tid_idx < uctxt->expected_count) { in tid_rb_invalidate()
927 fdata->invalid_tids[fdata->invalid_tid_idx] = in tid_rb_invalidate()
929 fdata->invalid_tids[fdata->invalid_tid_idx] |= in tid_rb_invalidate()
[all …]
Dfile_ops.c598 struct hfi1_filedata *fdata = fp->private_data; in hfi1_file_close() local
599 struct hfi1_ctxtdata *uctxt = fdata->uctxt; in hfi1_file_close()
610 hfi1_cdbg(PROC, "closing ctxt %u:%u", uctxt->ctxt, fdata->subctxt); in hfi1_file_close()
614 hfi1_user_sdma_free_queues(fdata, uctxt); in hfi1_file_close()
617 hfi1_put_proc_affinity(fdata->rec_cpu_num); in hfi1_file_close()
620 hfi1_user_exp_rcv_free(fdata); in hfi1_file_close()
626 fdata->uctxt = NULL; in hfi1_file_close()
633 ev = dd->events + uctxt_offset(uctxt) + fdata->subctxt; in hfi1_file_close()
637 __clear_bit(fdata->subctxt, uctxt->in_use_ctxts); in hfi1_file_close()
678 cleanup_srcu_struct(&fdata->pq_srcu); in hfi1_file_close()
[all …]
Duser_exp_rcv.h31 struct hfi1_filedata *fdata; member
/linux-6.1.9/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 …]
/linux-6.1.9/drivers/s390/block/
Ddasd_ioctl.c197 dasd_format(struct dasd_block *block, struct format_data_t *fdata) in dasd_format() argument
214 fdata->start_unit, in dasd_format()
215 fdata->stop_unit, fdata->blksize, fdata->intensity); in dasd_format()
222 if (fdata->start_unit == 0) { in dasd_format()
224 blksize_bits(fdata->blksize); in dasd_format()
227 rc = base->discipline->format_device(base, fdata, 1); in dasd_format()
229 rc = base->discipline->format_device(base, fdata, 0); in dasd_format()
258 struct format_data_t fdata; in dasd_ioctl_format() local
273 if (copy_from_user(&fdata, argp, sizeof(struct format_data_t))) { in dasd_ioctl_format()
283 rc = dasd_format(base->block, &fdata); in dasd_ioctl_format()
Ddasd_eckd.c2499 dasd_eckd_build_check_tcw(struct dasd_device *base, struct format_data_t *fdata, in dasd_eckd_build_check_tcw() argument
2521 count = rpt * (fdata->stop_unit - fdata->start_unit + 1); in dasd_eckd_build_check_tcw()
2542 rc = prepare_itcw(itcw, fdata->start_unit, fdata->stop_unit, in dasd_eckd_build_check_tcw()
2585 dasd_eckd_build_check(struct dasd_device *base, struct format_data_t *fdata, in dasd_eckd_build_check() argument
2608 count = rpt * (fdata->stop_unit - fdata->start_unit + 1); in dasd_eckd_build_check()
2631 prefix_LRE(ccw++, data, fdata->start_unit, fdata->stop_unit, in dasd_eckd_build_check()
2635 define_extent(ccw++, data, fdata->start_unit, fdata->stop_unit, in dasd_eckd_build_check()
2641 locate_record(ccw++, data, fdata->start_unit, 0, count, in dasd_eckd_build_check()
2670 struct format_data_t *fdata, int enable_pav) in dasd_eckd_build_format() argument
2696 rpt = recs_per_track(&base_priv->rdc_data, 0, fdata->blksize); in dasd_eckd_build_format()
[all …]
/linux-6.1.9/drivers/soc/qcom/
Dcpr.c824 const struct fuse_corner_data *fdata, in cpr_read_fuse_uV() argument
844 uV = fdata->ref_uV + steps * step_size_uV; in cpr_read_fuse_uV()
855 struct fuse_corner_data *fdata; in cpr_fuse_corner_init() local
870 fdata = desc->cpr_fuses.fuse_corner_data; in cpr_fuse_corner_init()
872 for (i = 0; fuse <= end; fuse++, fuses++, i++, fdata++) { in cpr_fuse_corner_init()
878 fdata->min_uV = roundup(fdata->min_uV, step_volt); in cpr_fuse_corner_init()
879 fdata->max_uV = roundup(fdata->max_uV, step_volt); in cpr_fuse_corner_init()
882 uV = cpr_read_fuse_uV(desc, fdata, fuses->init_voltage, in cpr_fuse_corner_init()
887 fuse->min_uV = fdata->min_uV; in cpr_fuse_corner_init()
888 fuse->max_uV = fdata->max_uV; in cpr_fuse_corner_init()
[all …]
/linux-6.1.9/drivers/media/platform/qcom/venus/
Dhelpers.c115 struct hfi_frame_data fdata; in venus_helper_queue_dpb_bufs() local
117 memset(&fdata, 0, sizeof(fdata)); in venus_helper_queue_dpb_bufs()
118 fdata.alloc_len = buf->size; in venus_helper_queue_dpb_bufs()
119 fdata.device_addr = buf->da; in venus_helper_queue_dpb_bufs()
120 fdata.buffer_type = buf->type; in venus_helper_queue_dpb_bufs()
131 fdata.clnt_data = buf->dpb_out_tag; in venus_helper_queue_dpb_bufs()
133 ret = hfi_session_process_buf(inst, &fdata); in venus_helper_queue_dpb_bufs()
504 struct hfi_frame_data fdata; in session_process_buf() local
507 memset(&fdata, 0, sizeof(fdata)); in session_process_buf()
508 fdata.alloc_len = buf->size; in session_process_buf()
[all …]
Dvdec.c529 struct hfi_frame_data fdata = {0}; in vdec_decoder_cmd() local
546 fdata.buffer_type = HFI_BUFFER_INPUT; in vdec_decoder_cmd()
547 fdata.flags |= HFI_BUFFERFLAG_EOS; in vdec_decoder_cmd()
549 fdata.device_addr = 0; in vdec_decoder_cmd()
551 fdata.device_addr = 0xdeadb000; in vdec_decoder_cmd()
553 ret = hfi_session_process_buf(inst, &fdata); in vdec_decoder_cmd()
/linux-6.1.9/drivers/dma/
Dimx-dma.c1008 struct imxdma_filter_data *fdata = param; in imxdma_filter_fn() local
1011 if (chan->device->dev != fdata->imxdma->dev) in imxdma_filter_fn()
1014 imxdma_chan->dma_request = fdata->request; in imxdma_filter_fn()
1025 struct imxdma_filter_data fdata = { in imxdma_xlate() local
1032 fdata.request = dma_spec->args[0]; in imxdma_xlate()
1035 imxdma_filter_fn, &fdata); in imxdma_xlate()
/linux-6.1.9/drivers/net/ethernet/intel/i40e/
Di40e_txrx.c23 struct i40e_fdir_filter *fdata, bool add) in i40e_fdir() argument
38 (fdata->q_index << I40E_TXD_FLTR_QW0_QINDEX_SHIFT); in i40e_fdir()
41 (fdata->flex_off << I40E_TXD_FLTR_QW0_FLEXOFF_SHIFT); in i40e_fdir()
44 (fdata->pctype << I40E_TXD_FLTR_QW0_PCTYPE_SHIFT); in i40e_fdir()
48 ((u32)(fdata->dest_vsi ? : pf->vsi[pf->lan_vsi]->id) << in i40e_fdir()
60 (fdata->dest_ctl << I40E_TXD_FLTR_QW1_DEST_SHIFT); in i40e_fdir()
63 (fdata->fd_status << I40E_TXD_FLTR_QW1_FD_STATUS_SHIFT); in i40e_fdir()
65 if (fdata->cnt_index) { in i40e_fdir()
68 ((u32)fdata->cnt_index << in i40e_fdir()
75 fdir_desc->fd_id = cpu_to_le32(fdata->fd_id); in i40e_fdir()
/linux-6.1.9/drivers/scsi/qla2xxx/
Dqla_sup.c1251 qla24xx_erase_sector(scsi_qla_host_t *vha, uint32_t fdata) in qla24xx_erase_sector() argument
1257 start = fdata >> 2; in qla24xx_erase_sector()
1264 (fdata & 0xff00) | ((fdata << 16) & 0xff0000) | in qla24xx_erase_sector()
1265 ((fdata >> 16) & 0xff)); in qla24xx_erase_sector()
1275 uint32_t sec_mask, rest_addr, fdata; in qla24xx_write_flash_data() local
1305 fdata = (faddr & sec_mask) << 2; in qla24xx_write_flash_data()
1312 ret = qla24xx_erase_sector(vha, fdata); in qla24xx_write_flash_data()
2685 uint32_t sec_mask, rest_addr, fdata; in qla28xx_write_flash_data() local
2825 fdata = (faddr & sec_mask) << 2; in qla28xx_write_flash_data()
2831 rval = qla24xx_erase_sector(vha, fdata); in qla28xx_write_flash_data()
[all …]
/linux-6.1.9/drivers/crypto/cavium/nitrox/
Dnitrox_reqmgr.c486 sr->instr.fdata[0] = *((u64 *)&req->gph); in nitrox_process_se_request()
487 sr->instr.fdata[1] = 0; in nitrox_process_se_request()
Dnitrox_req.h407 u64 fdata[2]; member
/linux-6.1.9/drivers/video/fbdev/
Dtgafb.c1021 u32 fdata, ldata; local
1023 fdata = (2048 - 1) | align;
1028 __raw_writel(fdata, fb_base + pos + j*Bpp);
/linux-6.1.9/
DMakefile963 KBUILD_CFLAGS_KERNEL += -ffunction-sections -fdata-sections
/linux-6.1.9/init/
DKconfig1443 depends on $(cc-option,-ffunction-sections -fdata-sections)
1447 the linker by compiling with -ffunction-sections -fdata-sections,