Home
last modified time | relevance | path

Searched refs:lf (Results 1 – 25 of 54) sorted by relevance

123

/linux-6.3-rc2/drivers/crypto/marvell/octeontx2/
A Dotx2_cptlf.c16 done_wait.u = otx2_cpt_read64(lf->lfs->reg_base, BLKADDR_CPT0, lf->slot, in cptlf_do_set_done_time_wait()
19 otx2_cpt_write64(lf->lfs->reg_base, BLKADDR_CPT0, lf->slot, in cptlf_do_set_done_time_wait()
30 otx2_cpt_write64(lf->lfs->reg_base, BLKADDR_CPT0, lf->slot, in cptlf_do_set_done_num_wait()
198 lf->slot); in cptlf_misc_intr_handler()
203 lf->slot); in cptlf_misc_intr_handler()
208 lf->slot); in cptlf_misc_intr_handler()
225 otx2_cpt_write64(lf->lfs->reg_base, BLKADDR_CPT0, lf->slot, in cptlf_misc_intr_handler()
243 otx2_cpt_write64(lf->lfs->reg_base, BLKADDR_CPT0, lf->slot, in cptlf_done_intr_handler()
246 otx2_cpt_write64(lf->lfs->reg_base, BLKADDR_CPT0, lf->slot, in cptlf_done_intr_handler()
250 lf->slot); in cptlf_done_intr_handler()
[all …]
A Dotx2_cptlf.h99 struct otx2_cptlf_info *lf);
128 iq = &lfs->lf[i].iqueue; in otx2_cpt_free_instruction_queues()
149 iq = &lfs->lf[i].iqueue; in otx2_cpt_alloc_instruction_queues()
194 otx2_cpt_write64(lf->lfs->reg_base, BLKADDR_CPT0, lf->slot, in otx2_cptlf_do_set_iqueue_size()
213 otx2_cpt_write64(lf->lfs->reg_base, BLKADDR_CPT0, lf->slot, in otx2_cptlf_do_disable_iqueue()
225 dev_err(&lf->lfs->pdev->dev, in otx2_cptlf_do_disable_iqueue()
237 otx2_cpt_write64(lf->lfs->reg_base, BLKADDR_CPT0, lf->slot, in otx2_cptlf_do_disable_iqueue()
254 lf_ctl.u = otx2_cpt_read64(lf->lfs->reg_base, BLKADDR_CPT0, lf->slot, in otx2_cptlf_set_iqueue_enq()
259 otx2_cpt_write64(lf->lfs->reg_base, BLKADDR_CPT0, lf->slot, in otx2_cptlf_set_iqueue_enq()
273 lf_inprog.u = otx2_cpt_read64(lf->lfs->reg_base, BLKADDR_CPT0, lf->slot, in otx2_cptlf_set_iqueue_exec()
[all …]
A Dotx2_cptvf_main.c138 if (!lfs->lf[i].wqe) in cleanup_tasklet_work()
141 tasklet_kill(&lfs->lf[i].wqe->work); in cleanup_tasklet_work()
142 kfree(lfs->lf[i].wqe); in cleanup_tasklet_work()
143 lfs->lf[i].wqe = NULL; in cleanup_tasklet_work()
162 lfs->lf[i].wqe = wqe; in init_tasklet_work()
176 kfree(lfs->lf[i].pqueue.head); in free_pending_queues()
177 lfs->lf[i].pqueue.head = NULL; in free_pending_queues()
189 lfs->lf[i].pqueue.qlen = OTX2_CPT_INST_QLEN_MSGS; in alloc_pending_queues()
190 size = lfs->lf[i].pqueue.qlen * in alloc_pending_queues()
194 if (!lfs->lf[i].pqueue.head) { in alloc_pending_queues()
[all …]
A Dcn10k_cpt.c11 struct otx2_cptlf_info *lf);
26 struct otx2_cptlf_info *lf) in cn10k_cpt_send_cmd() argument
28 void __iomem *lmtline = lf->lmtline; in cn10k_cpt_send_cmd()
29 u64 val = (lf->slot & 0x7FF); in cn10k_cpt_send_cmd()
33 tar_addr |= (__force u64)lf->ioreg | in cn10k_cpt_send_cmd()
A Dotx2_cptvf_reqmgr.c232 struct otx2_cptlf_info *lf) in process_request() argument
247 if (unlikely(!otx2_cptlf_started(lf->lfs))) in process_request()
323 lf->lfs->ops->send_cmd(&cptinst, 1, lf); in process_request()
348 return process_request(lfs->pdev, req, &lfs->lf[cpu_num].pqueue, in otx2_cpt_do_request()
349 &lfs->lf[cpu_num]); in otx2_cpt_do_request()
536 &wqe->lfs->lf[wqe->lf_num].pqueue); in otx2_cpt_post_process()
/linux-6.3-rc2/drivers/net/ethernet/marvell/octeontx2/af/
A Drvu.c228 int lf; in rvu_get_lf() local
231 for (lf = 0; lf < block->lf.max; lf++) { in rvu_get_lf()
235 return lf; in rvu_get_lf()
349 if (lf >= block->lf.max) { in rvu_update_rsrc_map()
352 __func__, lf, block->name, block->lf.max); in rvu_update_rsrc_map()
557 int lf; in rvu_scan_block() local
559 for (lf = 0; lf < block->lf.max; lf++) { in rvu_scan_block()
566 __set_bit(lf, block->lf.bmap); in rvu_scan_block()
1413 rvu_free_rsrc(&block->lf, lf); in rvu_detach_block()
1566 lf = rvu_alloc_rsrc(&block->lf); in rvu_attach_block()
[all …]
A Drvu_debugfs.c668 int lf = 0, seq = 0, len = 0, prev_lf = block.lf.max; in get_lf_str_list() local
670 for_each_set_bit(lf, block.lf.bmap, block.lf.max) { in get_lf_str_list()
671 if (lf >= block.lf.max) in get_lf_str_list()
678 prev_lf = lf; in get_lf_str_list()
689 prev_lf = lf; in get_lf_str_list()
897 if (lf < 0 || lf >= block->lf.max) { in rvu_dbg_is_valid_lf()
899 block->lf.max - 1); in rvu_dbg_is_valid_lf()
999 int ret, lf; in rvu_dbg_qsize_write() local
3264 u32 lf; in rvu_dbg_cpt_lfs_info_display() local
3268 if (!block->lf.bmap) in rvu_dbg_cpt_lfs_info_display()
[all …]
A Drvu_cgx.c1011 int pf, lf; in rvu_cgx_nix_cuml_stats() local
1031 for (lf = 0; lf < block->lf.max; lf++) { in rvu_cgx_nix_cuml_stats()
1033 if (!((block->fn_map[lf] & ~RVU_PFVF_FUNC_MASK) == (pcifunc & in rvu_cgx_nix_cuml_stats()
1038 NIX_AF_LFX_RX_STATX(lf, index)); in rvu_cgx_nix_cuml_stats()
1041 NIX_AF_LFX_TX_STATX(lf, index)); in rvu_cgx_nix_cuml_stats()
/linux-6.3-rc2/fs/affs/
A Dsymlink.c20 struct slink_front *lf; in affs_symlink_read_folio() local
32 lf = (struct slink_front *)bh->b_data; in affs_symlink_read_folio()
35 if (strchr(lf->symname,':')) { /* Handle assign or volume name */ in affs_symlink_read_folio()
43 while (i < 1023 && lf->symname[j] != ':') in affs_symlink_read_folio()
44 link[i++] = lf->symname[j++]; in affs_symlink_read_folio()
50 while (i < 1023 && (c = lf->symname[j])) { in affs_symlink_read_folio()
/linux-6.3-rc2/fs/qnx6/
A Ddir.c67 struct qnx6_long_filename *lf; in qnx6_dir_longfilename() local
79 lf = qnx6_longname(s, de, &page); in qnx6_dir_longfilename()
80 if (IS_ERR(lf)) { in qnx6_dir_longfilename()
85 lf_size = fs16_to_cpu(sbi, lf->lf_size); in qnx6_dir_longfilename()
88 pr_debug("file %s\n", lf->lf_fname); in qnx6_dir_longfilename()
97 qnx6_lfile_checksum(lf->lf_fname, lf_size)) in qnx6_dir_longfilename()
101 lf_size, lf->lf_fname, de_inode); in qnx6_dir_longfilename()
182 struct qnx6_long_filename *lf = qnx6_longname(s, de, &page); in qnx6_long_match() local
184 if (IS_ERR(lf)) in qnx6_long_match()
187 thislen = fs16_to_cpu(sbi, lf->lf_size); in qnx6_long_match()
[all …]
/linux-6.3-rc2/drivers/media/test-drivers/visl/
A Dvisl-trace-vp8.h91 __print_array(__entry->f.lf.ref_frm_delta,
92 ARRAY_SIZE(__entry->f.lf.ref_frm_delta),
93 sizeof(__entry->f.lf.ref_frm_delta[0])),
94 __print_array(__entry->f.lf.mb_mode_delta,
95 ARRAY_SIZE(__entry->f.lf.mb_mode_delta),
96 sizeof(__entry->f.lf.mb_mode_delta[0])),
97 __entry->f.lf.sharpness_level,
98 __entry->f.lf.level,
99 __print_flags(__entry->f.lf.flags, "|",
A Dvisl-trace-vp9.h49 __print_array(__entry->f.lf.ref_deltas,
50 ARRAY_SIZE(__entry->f.lf.ref_deltas),
51 sizeof(__entry->f.lf.ref_deltas[0])),
52 __print_array(__entry->f.lf.mode_deltas,
53 ARRAY_SIZE(__entry->f.lf.mode_deltas),
54 sizeof(__entry->f.lf.mode_deltas[0])),
55 __entry->f.lf.level,
56 __entry->f.lf.sharpness,
57 __print_flags(__entry->f.lf.flags, "|",
/linux-6.3-rc2/drivers/staging/media/sunxi/cedrus/
A Dcedrus_vp8.c733 if (slice->lf.flags & V4L2_VP8_LF_ADJ_ENABLE) in cedrus_vp8_setup()
735 if (slice->lf.flags & V4L2_VP8_LF_DELTA_UPDATE) in cedrus_vp8_setup()
793 reg |= VE_VP8_LF_DELTA3(slice->lf.ref_frm_delta[3]); in cedrus_vp8_setup()
794 reg |= VE_VP8_LF_DELTA2(slice->lf.ref_frm_delta[2]); in cedrus_vp8_setup()
795 reg |= VE_VP8_LF_DELTA1(slice->lf.ref_frm_delta[1]); in cedrus_vp8_setup()
796 reg |= VE_VP8_LF_DELTA0(slice->lf.ref_frm_delta[0]); in cedrus_vp8_setup()
800 reg |= VE_VP8_LF_DELTA3(slice->lf.mb_mode_delta[3]); in cedrus_vp8_setup()
801 reg |= VE_VP8_LF_DELTA2(slice->lf.mb_mode_delta[2]); in cedrus_vp8_setup()
802 reg |= VE_VP8_LF_DELTA1(slice->lf.mb_mode_delta[1]); in cedrus_vp8_setup()
822 if (slice->lf.level) { in cedrus_vp8_setup()
[all …]
/linux-6.3-rc2/tools/perf/util/
A Dprobe-finder.c1848 (lf->lno_s > lineno || lf->lno_e < lineno)) in line_range_walk_cb()
1868 ret = die_walk_lines(sp_die ?: &lf->cu_die, line_range_walk_cb, lf); in find_line_range_by_line()
1873 ret = lf->found = 1; in find_line_range_by_line()
1877 zfree(&lf->lr->path); in find_line_range_by_line()
1920 pr_debug("New line range: %d to %d\n", lf->lno_s, lf->lno_e); in line_range_search_cb()
1922 lr->end = lf->lno_e; in line_range_search_cb()
1953 .cu_die = &lf.cu_die, .sp_die = &lf.sp_die, .found = 0}; in debuginfo__find_line_range()
1961 if (lf.found) in debuginfo__find_line_range()
1981 lf.fname = cu_find_realpath(&lf.cu_die, lr->file); in debuginfo__find_line_range()
1983 lf.fname = 0; in debuginfo__find_line_range()
[all …]
/linux-6.3-rc2/net/ax25/
A Dax25_iface.c83 void ax25_linkfail_register(struct ax25_linkfail *lf) in ax25_linkfail_register() argument
86 hlist_add_head(&lf->lf_node, &ax25_linkfail_list); in ax25_linkfail_register()
92 void ax25_linkfail_release(struct ax25_linkfail *lf) in ax25_linkfail_release() argument
95 hlist_del_init(&lf->lf_node); in ax25_linkfail_release()
192 struct ax25_linkfail *lf; in ax25_link_failed() local
195 hlist_for_each_entry(lf, &ax25_linkfail_list, lf_node) in ax25_link_failed()
196 lf->func(ax25, reason); in ax25_link_failed()
/linux-6.3-rc2/tools/memory-model/
A Dlock.cat80 let rfi-lf = ([LKW] ; po-loc ; [LF]) \ ([LKW] ; po-loc ; [UL] ; po-loc)
83 let all-possible-rfe-lf =
89 let possible-rfe-lf r =
92 (* Do this for each LF event r that isn't in rfi-lf *)
93 in map possible-rfe-lf (LF \ range(rfi-lf))
96 with rfe-lf from cross(all-possible-rfe-lf)
97 let rf-lf = rfe-lf | rfi-lf
120 let rf = rf | rf-lf | rf-ru
/linux-6.3-rc2/drivers/media/platform/verisilicon/
A Dhantro_g1_vp8_dec.c138 const struct v4l2_vp8_loop_filter *lf = &hdr->lf; in cfg_lf() local
144 hantro_reg_write(vpu, &vp8_dec_lf_level[0], lf->level); in cfg_lf()
147 u32 lf_level = clamp(lf->level + seg->lf_update[i], in cfg_lf()
158 reg = G1_REG_REF_PIC_FILT_SHARPNESS(lf->sharpness_level); in cfg_lf()
159 if (lf->flags & V4L2_VP8_LF_FILTER_TYPE_SIMPLE) in cfg_lf()
163 if (lf->flags & V4L2_VP8_LF_ADJ_ENABLE) { in cfg_lf()
166 lf->mb_mode_delta[i]); in cfg_lf()
168 lf->ref_frm_delta[i]); in cfg_lf()
472 if (hdr->lf.level == 0) in hantro_g1_vp8_dec_run()
A Drockchip_vpu2_hw_vp8_dec.c279 const struct v4l2_vp8_loop_filter *lf = &hdr->lf; in cfg_lf() local
285 hantro_reg_write(vpu, &vp8_dec_lf_level[0], lf->level); in cfg_lf()
288 u32 lf_level = clamp(lf->level + seg->lf_update[i], in cfg_lf()
299 reg = VDPU_REG_REF_PIC_FILT_SHARPNESS(lf->sharpness_level); in cfg_lf()
300 if (lf->flags & V4L2_VP8_LF_FILTER_TYPE_SIMPLE) in cfg_lf()
304 if (lf->flags & V4L2_VP8_LF_ADJ_ENABLE) { in cfg_lf()
307 lf->mb_mode_delta[i]); in cfg_lf()
309 lf->ref_frm_delta[i]); in cfg_lf()
563 if (hdr->lf.level == 0) in rockchip_vpu2_vp8_dec_run()
A Dhantro_g2_vp9_dec.c450 feat_val = dec_params->lf.level; in config_segment()
488 bool d = dec_params->lf.flags & V4L2_VP9_LOOP_FILTER_FLAG_DELTA_ENABLED; in config_loop_filter()
490 hantro_reg_write(ctx->dev, &vp9_filt_level, dec_params->lf.level); in config_loop_filter()
491 hantro_reg_write(ctx->dev, &g2_out_filtering_dis, dec_params->lf.level == 0); in config_loop_filter()
492 hantro_reg_write(ctx->dev, &vp9_filt_sharpness, dec_params->lf.sharpness); in config_loop_filter()
494 hantro_reg_write(ctx->dev, &vp9_filt_ref_adj_0, d ? dec_params->lf.ref_deltas[0] : 0); in config_loop_filter()
495 hantro_reg_write(ctx->dev, &vp9_filt_ref_adj_1, d ? dec_params->lf.ref_deltas[1] : 0); in config_loop_filter()
496 hantro_reg_write(ctx->dev, &vp9_filt_ref_adj_2, d ? dec_params->lf.ref_deltas[2] : 0); in config_loop_filter()
497 hantro_reg_write(ctx->dev, &vp9_filt_ref_adj_3, d ? dec_params->lf.ref_deltas[3] : 0); in config_loop_filter()
498 hantro_reg_write(ctx->dev, &vp9_filt_mb_adj_0, d ? dec_params->lf.mode_deltas[0] : 0); in config_loop_filter()
[all …]
/linux-6.3-rc2/drivers/media/i2c/
A Dtda7432.c276 u8 lf, lr, rf, rr; in tda7432_s_ctrl() local
283 lr = lf = TDA7432_ATTEN_0DB; in tda7432_s_ctrl()
287 lr = lf = t->balance->val; in tda7432_s_ctrl()
291 lr = lf = TDA7432_ATTEN_0DB; in tda7432_s_ctrl()
294 lf |= TDA7432_MUTE; in tda7432_s_ctrl()
300 tda7432_write(sd, TDA7432_LF, lf); in tda7432_s_ctrl()
/linux-6.3-rc2/drivers/gpu/drm/nouveau/nvkm/subdev/fb/
A Dgddr5.c37 int pd, lf, xd, vh, vr, vo, l3; in nvkm_gddr5_calc() local
46 lf = ram->next->bios.ramcfg_11_01_40; in nvkm_gddr5_calc()
115 ram->mr[7] |= (lf & 0x01) << 3; in nvkm_gddr5_calc()
/linux-6.3-rc2/drivers/usb/serial/
A Dconsole.c221 unsigned int lf; in usb_console_write() local
223 for (i = 0, lf = 0 ; i < count ; i++) { in usb_console_write()
225 lf = 1; in usb_console_write()
234 if (lf) { in usb_console_write()
/linux-6.3-rc2/drivers/staging/media/meson/vdec/
A Dcodec_vp9.c476 struct loopfilter lf; member
538 struct loopfilter *lf = &vp9->lf; in vp9_loop_filter_init() local
543 memset(lf, 0, sizeof(struct loopfilter)); in vp9_loop_filter_init()
545 lf->sharpness_level = 0; in vp9_loop_filter_init()
547 lf->last_sharpness_level = lf->sharpness_level; in vp9_loop_filter_init()
590 if (lf->last_sharpness_level != lf->sharpness_level) { in vp9_loop_filter_frame_init()
592 lf->last_sharpness_level = lf->sharpness_level; in vp9_loop_filter_frame_init()
620 if (!lf->mode_ref_delta_enabled) { in vp9_loop_filter_frame_init()
640 lf->ref_deltas[ref] * scale + in vp9_loop_filter_frame_init()
641 lf->mode_deltas[mode] * scale; in vp9_loop_filter_frame_init()
[all …]
/linux-6.3-rc2/drivers/staging/media/rkvdec/
A Drkvdec-vp9.c154 struct v4l2_vp9_loop_filter lf; member
509 vp9_ctx->cur.lf = dec_params->lf; in update_ctx_cur_info()
602 const struct v4l2_vp9_loop_filter *lf; in config_registers() local
606 lf = &vp9_ctx->last.lf; in config_registers()
608 lf = &vp9_ctx->cur.lf; in config_registers()
611 for (i = 0; i < ARRAY_SIZE(lf->ref_deltas); i++) { in config_registers()
612 delta = lf->ref_deltas[i]; in config_registers()
619 for (i = 0; i < ARRAY_SIZE(lf->mode_deltas); i++) { in config_registers()
620 delta = lf->mode_deltas[i]; in config_registers()
/linux-6.3-rc2/drivers/firewire/
A Dnet.c81 #define fwnet_set_hdr_lf(lf) ((lf) << 30) argument
107 hdr->w0 = fwnet_set_hdr_lf(lf) in fwnet_make_sf_hdr()
563 unsigned lf; in fwnet_incoming_packet() local
577 lf = fwnet_get_hdr_lf(&hdr); in fwnet_incoming_packet()
578 if (lf == RFC2374_HDR_UNFRAG) { in fwnet_incoming_packet()
609 if (lf == RFC2374_HDR_FIRSTFRAG) { in fwnet_incoming_packet()
675 if (lf == RFC2374_HDR_FIRSTFRAG) in fwnet_incoming_packet()
845 u16 lf; in fwnet_transmit_packet_done() local
848 lf = fwnet_get_hdr_lf(&ptask->hdr); in fwnet_transmit_packet_done()
849 switch (lf) { in fwnet_transmit_packet_done()
[all …]

Completed in 71 milliseconds

123