Home
last modified time | relevance | path

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

/Linux-v5.15/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-v5.15/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-v5.15/drivers/infiniband/hw/hfi1/
Duser_exp_rcv.c21 static void cacheless_tid_rb_remove(struct hfi1_filedata *fdata,
709 node->fdata = fd; in set_rcvarray_entry()
852 struct hfi1_filedata *fdata = node->fdata; in tid_rb_invalidate() local
853 struct hfi1_ctxtdata *uctxt = fdata->uctxt; in tid_rb_invalidate()
858 trace_hfi1_exp_tid_inval(uctxt->ctxt, fdata->subctxt, in tid_rb_invalidate()
863 spin_lock(&fdata->invalid_lock); in tid_rb_invalidate()
864 if (fdata->invalid_tid_idx < uctxt->expected_count) { in tid_rb_invalidate()
865 fdata->invalid_tids[fdata->invalid_tid_idx] = in tid_rb_invalidate()
867 fdata->invalid_tids[fdata->invalid_tid_idx] |= in tid_rb_invalidate()
869 if (!fdata->invalid_tid_idx) { in tid_rb_invalidate()
[all …]
Dfile_ops.c596 struct hfi1_filedata *fdata = fp->private_data; in hfi1_file_close() local
597 struct hfi1_ctxtdata *uctxt = fdata->uctxt; in hfi1_file_close()
608 hfi1_cdbg(PROC, "closing ctxt %u:%u", uctxt->ctxt, fdata->subctxt); in hfi1_file_close()
612 hfi1_user_sdma_free_queues(fdata, uctxt); in hfi1_file_close()
615 hfi1_put_proc_affinity(fdata->rec_cpu_num); in hfi1_file_close()
618 hfi1_user_exp_rcv_free(fdata); in hfi1_file_close()
624 fdata->uctxt = NULL; in hfi1_file_close()
631 ev = dd->events + uctxt_offset(uctxt) + fdata->subctxt; in hfi1_file_close()
635 __clear_bit(fdata->subctxt, uctxt->in_use_ctxts); in hfi1_file_close()
676 cleanup_srcu_struct(&fdata->pq_srcu); in hfi1_file_close()
[all …]
Duser_exp_rcv.h29 struct hfi1_filedata *fdata; member
/Linux-v5.15/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.c2473 dasd_eckd_build_check_tcw(struct dasd_device *base, struct format_data_t *fdata, in dasd_eckd_build_check_tcw() argument
2495 count = rpt * (fdata->stop_unit - fdata->start_unit + 1); in dasd_eckd_build_check_tcw()
2516 rc = prepare_itcw(itcw, fdata->start_unit, fdata->stop_unit, in dasd_eckd_build_check_tcw()
2559 dasd_eckd_build_check(struct dasd_device *base, struct format_data_t *fdata, in dasd_eckd_build_check() argument
2582 count = rpt * (fdata->stop_unit - fdata->start_unit + 1); in dasd_eckd_build_check()
2605 prefix_LRE(ccw++, data, fdata->start_unit, fdata->stop_unit, in dasd_eckd_build_check()
2609 define_extent(ccw++, data, fdata->start_unit, fdata->stop_unit, in dasd_eckd_build_check()
2615 locate_record(ccw++, data, fdata->start_unit, 0, count, in dasd_eckd_build_check()
2644 struct format_data_t *fdata, int enable_pav) in dasd_eckd_build_format() argument
2670 rpt = recs_per_track(&base_priv->rdc_data, 0, fdata->blksize); in dasd_eckd_build_format()
[all …]
/Linux-v5.15/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-v5.15/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-v5.15/drivers/media/platform/qcom/venus/
Dhelpers.c91 struct hfi_frame_data fdata; in venus_helper_queue_dpb_bufs() local
93 memset(&fdata, 0, sizeof(fdata)); in venus_helper_queue_dpb_bufs()
94 fdata.alloc_len = buf->size; in venus_helper_queue_dpb_bufs()
95 fdata.device_addr = buf->da; in venus_helper_queue_dpb_bufs()
96 fdata.buffer_type = buf->type; in venus_helper_queue_dpb_bufs()
98 ret = hfi_session_process_buf(inst, &fdata); in venus_helper_queue_dpb_bufs()
457 struct hfi_frame_data fdata; in session_process_buf() local
460 memset(&fdata, 0, sizeof(fdata)); in session_process_buf()
461 fdata.alloc_len = buf->size; in session_process_buf()
462 fdata.device_addr = buf->dma_addr; in session_process_buf()
[all …]
Dvdec.c499 struct hfi_frame_data fdata = {0}; in vdec_decoder_cmd() local
516 fdata.buffer_type = HFI_BUFFER_INPUT; in vdec_decoder_cmd()
517 fdata.flags |= HFI_BUFFERFLAG_EOS; in vdec_decoder_cmd()
519 fdata.device_addr = 0; in vdec_decoder_cmd()
521 fdata.device_addr = 0xdeadb000; in vdec_decoder_cmd()
523 ret = hfi_session_process_buf(inst, &fdata); in vdec_decoder_cmd()
/Linux-v5.15/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-v5.15/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()
47 ((u32)(fdata->dest_vsi ? : pf->vsi[pf->lan_vsi]->id) << in i40e_fdir()
59 (fdata->dest_ctl << I40E_TXD_FLTR_QW1_DEST_SHIFT); in i40e_fdir()
62 (fdata->fd_status << I40E_TXD_FLTR_QW1_FD_STATUS_SHIFT); in i40e_fdir()
64 if (fdata->cnt_index) { in i40e_fdir()
67 ((u32)fdata->cnt_index << in i40e_fdir()
74 fdir_desc->fd_id = cpu_to_le32(fdata->fd_id); in i40e_fdir()
/Linux-v5.15/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-v5.15/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-v5.15/drivers/video/fbdev/
Dtgafb.c1014 u32 fdata, ldata; local
1016 fdata = (2048 - 1) | align;
1021 __raw_writel(fdata, fb_base + pos + j*Bpp);
/Linux-v5.15/
DMakefile925 KBUILD_CFLAGS_KERNEL += -ffunction-sections -fdata-sections
/Linux-v5.15/init/
DKconfig1395 depends on $(cc-option,-ffunction-sections -fdata-sections)
1399 the linker by compiling with -ffunction-sections -fdata-sections,