Home
last modified time | relevance | path

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

123

/linux-6.6.21/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, lf->lfs->blkaddr, in cptlf_do_set_done_time_wait()
17 lf->slot, OTX2_CPT_LF_DONE_WAIT); in cptlf_do_set_done_time_wait()
19 otx2_cpt_write64(lf->lfs->reg_base, lf->lfs->blkaddr, 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, lf->lfs->blkaddr, in cptlf_do_set_done_num_wait()
28 lf->slot, OTX2_CPT_LF_DONE_WAIT); in cptlf_do_set_done_num_wait()
30 otx2_cpt_write64(lf->lfs->reg_base, lf->lfs->blkaddr, 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()
[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, lf->lfs->blkaddr, 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
210 u8 blkaddr = lf->lfs->blkaddr; 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.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()
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.6.21/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.c669 int lf = 0, seq = 0, len = 0, prev_lf = block.lf.max; in get_lf_str_list() local
671 for_each_set_bit(lf, block.lf.bmap, block.lf.max) { in get_lf_str_list()
672 if (lf >= block.lf.max) in get_lf_str_list()
675 if (block.fn_map[lf] != pcifunc) in get_lf_str_list()
678 if (lf == prev_lf + 1) { in get_lf_str_list()
679 prev_lf = lf; in get_lf_str_list()
685 len += sprintf(lfs + len, "-%d,%d", prev_lf, lf); in get_lf_str_list()
687 len += (len ? sprintf(lfs + len, ",%d", lf) : in get_lf_str_list()
688 sprintf(lfs + len, "%d", lf)); in get_lf_str_list()
690 prev_lf = lf; in get_lf_str_list()
[all …]
/linux-6.6.21/fs/affs/
Dsymlink.c19 struct slink_front *lf; in affs_symlink_read_folio() local
31 lf = (struct slink_front *)bh->b_data; in affs_symlink_read_folio()
34 if (strchr(lf->symname,':')) { /* Handle assign or volume name */ in affs_symlink_read_folio()
42 while (i < 1023 && lf->symname[j] != ':') in affs_symlink_read_folio()
43 link[i++] = lf->symname[j++]; in affs_symlink_read_folio()
49 while (i < 1023 && (c = lf->symname[j])) { in affs_symlink_read_folio()
/linux-6.6.21/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.6.21/drivers/media/test-drivers/visl/
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, "|",
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.6.21/tools/perf/util/
Dprobe-finder.c1842 struct line_finder *lf = data; in line_range_walk_cb() local
1847 if ((strtailcmp(fname, lf->fname) != 0) || in line_range_walk_cb()
1848 (lf->lno_s > lineno || lf->lno_e < lineno)) in line_range_walk_cb()
1852 if (cu_find_lineinfo(&lf->cu_die, addr, &__fname, &__lineno) > 0 in line_range_walk_cb()
1856 err = line_range_add_line(fname, lineno, lf->lr); in line_range_walk_cb()
1864 static int find_line_range_by_line(Dwarf_Die *sp_die, struct line_finder *lf) in find_line_range_by_line() argument
1868 ret = die_walk_lines(sp_die ?: &lf->cu_die, line_range_walk_cb, lf); in find_line_range_by_line()
1872 if (!intlist__empty(lf->lr->line_list)) 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()
[all …]
/linux-6.6.21/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.6.21/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.6.21/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.6.21/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()
/linux-6.6.21/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.6.21/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.6.21/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.6.21/lib/
Dseq_buf.c107 const char *start, *lf; in seq_buf_do_printk() local
115 while ((lf = strchr(start, '\n'))) { in seq_buf_do_printk()
116 int len = lf - start + 1; in seq_buf_do_printk()
119 start = ++lf; in seq_buf_do_printk()
/linux-6.6.21/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.6.21/drivers/media/v4l2-core/
Dv4l2-ctrls-core.c407 validate_vp9_lf_params(struct v4l2_vp9_loop_filter *lf) in validate_vp9_lf_params() argument
411 if (lf->flags & ~(V4L2_VP9_LOOP_FILTER_FLAG_DELTA_ENABLED | in validate_vp9_lf_params()
416 if (lf->level > GENMASK(5, 0)) in validate_vp9_lf_params()
419 if (lf->sharpness > GENMASK(2, 0)) in validate_vp9_lf_params()
422 for (i = 0; i < ARRAY_SIZE(lf->ref_deltas); i++) in validate_vp9_lf_params()
423 if (lf->ref_deltas[i] < -63 || lf->ref_deltas[i] > 63) in validate_vp9_lf_params()
426 for (i = 0; i < ARRAY_SIZE(lf->mode_deltas); i++) in validate_vp9_lf_params()
427 if (lf->mode_deltas[i] < -63 || lf->mode_deltas[i] > 63) in validate_vp9_lf_params()
430 zero_reserved(*lf); in validate_vp9_lf_params()
552 ret = validate_vp9_lf_params(&frame->lf); in validate_vp9_frame()
[all …]
/linux-6.6.21/drivers/staging/media/rkvdec/
Drkvdec-vp9.c154 struct v4l2_vp9_loop_filter lf; member
508 vp9_ctx->cur.lf = dec_params->lf; in update_ctx_cur_info()
601 const struct v4l2_vp9_loop_filter *lf; in config_registers() local
605 lf = &vp9_ctx->last.lf; in config_registers()
607 lf = &vp9_ctx->cur.lf; in config_registers()
610 for (i = 0; i < ARRAY_SIZE(lf->ref_deltas); i++) { in config_registers()
611 delta = lf->ref_deltas[i]; in config_registers()
618 for (i = 0; i < ARRAY_SIZE(lf->mode_deltas); i++) { in config_registers()
619 delta = lf->mode_deltas[i]; in config_registers()
/linux-6.6.21/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()
565 unsigned lf; in fwnet_incoming_packet() local
579 lf = fwnet_get_hdr_lf(&hdr); in fwnet_incoming_packet()
580 if (lf == RFC2374_HDR_UNFRAG) { in fwnet_incoming_packet()
611 if (lf == RFC2374_HDR_FIRSTFRAG) { in fwnet_incoming_packet()
677 if (lf == RFC2374_HDR_FIRSTFRAG) in fwnet_incoming_packet()
848 u16 lf; in fwnet_transmit_packet_done() local
851 lf = fwnet_get_hdr_lf(&ptask->hdr); in fwnet_transmit_packet_done()
[all …]

123