Home
last modified time | relevance | path

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

123

/linux-6.1.9/drivers/crypto/marvell/octeontx2/
Dotx2_cptlf.c11 static void cptlf_do_set_done_time_wait(struct otx2_cptlf_info *lf, in cptlf_do_set_done_time_wait() argument
16 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()
23 static void cptlf_do_set_done_num_wait(struct otx2_cptlf_info *lf, int num_wait) in cptlf_do_set_done_num_wait() argument
27 done_wait.u = otx2_cpt_read64(lf->lfs->reg_base, BLKADDR_CPT0, lf->slot, in cptlf_do_set_done_num_wait()
30 otx2_cpt_write64(lf->lfs->reg_base, BLKADDR_CPT0, lf->slot, in cptlf_do_set_done_num_wait()
40 cptlf_do_set_done_time_wait(&lfs->lf[slot], time_wait); in cptlf_set_done_time_wait()
48 cptlf_do_set_done_num_wait(&lfs->lf[slot], num_wait); in cptlf_set_done_num_wait()
51 static int cptlf_set_pri(struct otx2_cptlf_info *lf, int pri) in cptlf_set_pri() argument
53 struct otx2_cptlfs_info *lfs = lf->lfs; in cptlf_set_pri()
[all …]
Dotx2_cptlf.h99 struct otx2_cptlf_info *lf);
110 struct otx2_cptlf_info lf[OTX2_CPT_MAX_LFS_NUM]; member
128 iq = &lfs->lf[i].iqueue; in otx2_cpt_free_instruction_queues()
149 iq = &lfs->lf[i].iqueue; in otx2_cpt_alloc_instruction_queues()
182 lf_q_base.u = lfs->lf[slot].iqueue.dma_addr; in otx2_cptlf_set_iqueues_base_addr()
188 static inline void otx2_cptlf_do_set_iqueue_size(struct otx2_cptlf_info *lf) in otx2_cptlf_do_set_iqueue_size() argument
194 otx2_cpt_write64(lf->lfs->reg_base, BLKADDR_CPT0, lf->slot, in otx2_cptlf_do_set_iqueue_size()
203 otx2_cptlf_do_set_iqueue_size(&lfs->lf[slot]); in otx2_cptlf_set_iqueues_size()
206 static inline void otx2_cptlf_do_disable_iqueue(struct otx2_cptlf_info *lf) in otx2_cptlf_do_disable_iqueue() argument
213 otx2_cpt_write64(lf->lfs->reg_base, BLKADDR_CPT0, lf->slot, in otx2_cptlf_do_disable_iqueue()
[all …]
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()
193 lfs->lf[i].pqueue.head = kzalloc(size, GFP_KERNEL); in alloc_pending_queues()
[all …]
Dcn10k_cpt.c23 struct otx2_cptlf_info *lf) in cn10k_cpt_send_cmd() argument
25 void __iomem *lmtline = lf->lmtline; in cn10k_cpt_send_cmd()
26 u64 val = (lf->slot & 0x7FF); in cn10k_cpt_send_cmd()
30 tar_addr |= (__force u64)lf->ioreg | in cn10k_cpt_send_cmd()
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()
Dcn10k_cpt.h32 struct otx2_cptlf_info *lf);
Dotx2_cpt_mbox_common.c196 if (lfs->lf[i].msix_offset == MSIX_VECTOR_INVALID) { in otx2_cpt_msix_offset_msg()
199 lfs->lf[i].msix_offset, i); in otx2_cpt_msix_offset_msg()
/linux-6.1.9/drivers/net/ethernet/marvell/octeontx2/af/
Drvu.c28 struct rvu_block *block, int lf);
30 struct rvu_block *block, int lf);
228 int lf; in rvu_get_lf() local
231 for (lf = 0; lf < block->lf.max; lf++) { in rvu_get_lf()
232 if (block->fn_map[lf] == pcifunc) { in rvu_get_lf()
235 return lf; in rvu_get_lf()
343 u16 lf, bool attach) in rvu_update_rsrc_map() argument
349 if (lf >= block->lf.max) { in rvu_update_rsrc_map()
352 __func__, lf, block->name, block->lf.max); in rvu_update_rsrc_map()
365 block->fn_map[lf] = attach ? pcifunc : 0; in rvu_update_rsrc_map()
[all …]
Drvu_debugfs.c671 int lf = 0, seq = 0, len = 0, prev_lf = block.lf.max; in get_lf_str_list() local
673 for_each_set_bit(lf, block.lf.bmap, block.lf.max) { in get_lf_str_list()
674 if (lf >= block.lf.max) in get_lf_str_list()
677 if (block.fn_map[lf] != pcifunc) in get_lf_str_list()
680 if (lf == prev_lf + 1) { in get_lf_str_list()
681 prev_lf = lf; in get_lf_str_list()
687 len += sprintf(lfs + len, "-%d,%d", prev_lf, lf); in get_lf_str_list()
689 len += (len ? sprintf(lfs + len, ",%d", lf) : in get_lf_str_list()
690 sprintf(lfs + len, "%d", lf)); in get_lf_str_list()
692 prev_lf = lf; in get_lf_str_list()
[all …]
Drvu_cgx.c999 int pf, lf; in rvu_cgx_nix_cuml_stats() local
1019 for (lf = 0; lf < block->lf.max; lf++) { in rvu_cgx_nix_cuml_stats()
1021 if (!((block->fn_map[lf] & ~RVU_PFVF_FUNC_MASK) == (pcifunc & in rvu_cgx_nix_cuml_stats()
1026 NIX_AF_LFX_RX_STATX(lf, index)); in rvu_cgx_nix_cuml_stats()
1029 NIX_AF_LFX_TX_STATX(lf, index)); in rvu_cgx_nix_cuml_stats()
/linux-6.1.9/fs/affs/
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.1.9/fs/qnx6/
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()
102 if (!dir_emit(ctx, lf->lf_fname, lf_size, de_inode, DT_UNKNOWN)) { 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()
[all …]
/linux-6.1.9/drivers/staging/media/sunxi/cedrus/
Dcedrus_vp8.c729 reg |= VE_VP8_PPS_SHARPNESS_LEVEL(slice->lf.sharpness_level); in cedrus_vp8_setup()
730 if (slice->lf.flags & V4L2_VP8_LF_FILTER_TYPE_SIMPLE) in cedrus_vp8_setup()
732 reg |= VE_VP8_PPS_LOOP_FILTER_LEVEL(slice->lf.level); in cedrus_vp8_setup()
733 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()
[all …]
/linux-6.1.9/tools/perf/util/
Dprobe-finder.c1833 struct line_finder *lf = data; in line_range_walk_cb() local
1838 if ((strtailcmp(fname, lf->fname) != 0) || in line_range_walk_cb()
1839 (lf->lno_s > lineno || lf->lno_e < lineno)) in line_range_walk_cb()
1843 if (cu_find_lineinfo(&lf->cu_die, addr, &__fname, &__lineno) > 0 in line_range_walk_cb()
1847 err = line_range_add_line(fname, lineno, lf->lr); in line_range_walk_cb()
1855 static int find_line_range_by_line(Dwarf_Die *sp_die, struct line_finder *lf) in find_line_range_by_line() argument
1859 ret = die_walk_lines(sp_die ?: &lf->cu_die, line_range_walk_cb, lf); in find_line_range_by_line()
1863 if (!intlist__empty(lf->lr->line_list)) in find_line_range_by_line()
1864 ret = lf->found = 1; in find_line_range_by_line()
1868 zfree(&lf->lr->path); in find_line_range_by_line()
[all …]
/linux-6.1.9/net/ax25/
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.1.9/tools/memory-model/
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.1.9/drivers/media/platform/verisilicon/
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()
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()
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.1.9/drivers/media/i2c/
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.1.9/drivers/gpu/drm/nouveau/nvkm/subdev/fb/
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.1.9/drivers/usb/serial/
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.1.9/drivers/staging/media/meson/vdec/
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()
546 vp9_update_sharpness(lfi, lf->sharpness_level); in vp9_loop_filter_init()
547 lf->last_sharpness_level = lf->sharpness_level; in vp9_loop_filter_init()
576 struct loopfilter *lf, int default_filt_lvl) in vp9_loop_filter_frame_init() argument
590 if (lf->last_sharpness_level != lf->sharpness_level) { in vp9_loop_filter_frame_init()
591 vp9_update_sharpness(lfi, lf->sharpness_level); in vp9_loop_filter_frame_init()
592 lf->last_sharpness_level = lf->sharpness_level; in vp9_loop_filter_frame_init()
[all …]
/linux-6.1.9/drivers/staging/media/rkvdec/
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.1.9/drivers/firewire/
Dnet.c81 #define fwnet_set_hdr_lf(lf) ((lf) << 30) argument
105 unsigned lf, unsigned dg_size, unsigned fg_off, unsigned dgl) in fwnet_make_sf_hdr() 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()
[all …]

123