Home
last modified time | relevance | path

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

123

/linux/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.h89 struct otx2_cptlf_info *lf);
118 iq = &lfs->lf[i].iqueue; in otx2_cpt_free_instruction_queues()
139 iq = &lfs->lf[i].iqueue; in otx2_cpt_alloc_instruction_queues()
183 otx2_cpt_write64(lf->lfs->reg_base, BLKADDR_CPT0, lf->slot, in otx2_cptlf_do_set_iqueue_size()
202 otx2_cpt_write64(lf->lfs->reg_base, BLKADDR_CPT0, lf->slot, in otx2_cptlf_do_disable_iqueue()
214 dev_err(&lf->lfs->pdev->dev, in otx2_cptlf_do_disable_iqueue()
226 otx2_cpt_write64(lf->lfs->reg_base, BLKADDR_CPT0, lf->slot, in otx2_cptlf_do_disable_iqueue()
243 lf_ctl.u = otx2_cpt_read64(lf->lfs->reg_base, BLKADDR_CPT0, lf->slot, in otx2_cptlf_set_iqueue_enq()
248 otx2_cpt_write64(lf->lfs->reg_base, BLKADDR_CPT0, lf->slot, in otx2_cptlf_set_iqueue_enq()
262 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.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()
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()
A 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()
A Dcn10k_cpt.h32 struct otx2_cptlf_info *lf);
/linux/drivers/net/ethernet/marvell/octeontx2/af/
A Drvu.c223 int lf; in rvu_get_lf() local
226 for (lf = 0; lf < block->lf.max; lf++) { in rvu_get_lf()
230 return lf; in rvu_get_lf()
344 if (lf >= block->lf.max) { in rvu_update_rsrc_map()
347 __func__, lf, block->name, block->lf.max); in rvu_update_rsrc_map()
549 int lf; in rvu_scan_block() local
551 for (lf = 0; lf < block->lf.max; lf++) { in rvu_scan_block()
558 __set_bit(lf, block->lf.bmap); in rvu_scan_block()
1385 rvu_free_rsrc(&block->lf, lf); in rvu_detach_block()
1538 lf = rvu_alloc_rsrc(&block->lf); in rvu_attach_block()
[all …]
A Drvu_debugfs.c325 int lf = 0, seq = 0, len = 0, prev_lf = block.lf.max; in get_lf_str_list() local
327 for_each_set_bit(lf, block.lf.bmap, block.lf.max) { in get_lf_str_list()
328 if (lf >= block.lf.max) in get_lf_str_list()
335 prev_lf = lf; in get_lf_str_list()
346 prev_lf = lf; in get_lf_str_list()
552 if (lf < 0 || lf >= block->lf.max) { in rvu_dbg_is_valid_lf()
554 block->lf.max - 1); in rvu_dbg_is_valid_lf()
654 int ret, lf; in rvu_dbg_qsize_write() local
2722 u32 lf; in rvu_dbg_cpt_lfs_info_display() local
2726 if (!block->lf.bmap) in rvu_dbg_cpt_lfs_info_display()
[all …]
A Drvu_cgx.c910 int pf, lf; in rvu_cgx_nix_cuml_stats() local
930 for (lf = 0; lf < block->lf.max; lf++) { in rvu_cgx_nix_cuml_stats()
932 if (!((block->fn_map[lf] & ~RVU_PFVF_FUNC_MASK) == (pcifunc & in rvu_cgx_nix_cuml_stats()
937 NIX_AF_LFX_RX_STATX(lf, index)); in rvu_cgx_nix_cuml_stats()
940 NIX_AF_LFX_TX_STATX(lf, index)); in rvu_cgx_nix_cuml_stats()
A Drvu.h46 int lf; member
89 struct rsrc_bmap lf; member
196 #define MSIX_BLKLF(blkaddr, lf) (((blkaddr) << 8) | ((lf) & 0xFF)) argument
660 int rvu_lf_reset(struct rvu *rvu, struct rvu_block *block, int lf);
818 int rvu_cpt_lf_teardown(struct rvu *rvu, u16 pcifunc, int blkaddr, int lf,
A Drvu_cpt.c577 int blkaddr, num_lfs, lf; in is_valid_offset() local
591 lf = (offset & 0xFFF) >> 3; in is_valid_offset()
595 if (lf >= num_lfs) in is_valid_offset()
600 lf = rvu_get_lf(rvu, &rvu->hw->block[blkaddr], in is_valid_offset()
601 req->hdr.pcifunc, lf); in is_valid_offset()
602 if (lf < 0) in is_valid_offset()
914 int rvu_cpt_lf_teardown(struct rvu *rvu, u16 pcifunc, int blkaddr, int lf, int slot) in rvu_cpt_lf_teardown() argument
/linux/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/fs/affs/
A Dsymlink.c19 struct slink_front *lf; in affs_symlink_readpage() local
31 lf = (struct slink_front *)bh->b_data; in affs_symlink_readpage()
34 if (strchr(lf->symname,':')) { /* Handle assign or volume name */ in affs_symlink_readpage()
42 while (i < 1023 && lf->symname[j] != ':') in affs_symlink_readpage()
43 link[i++] = lf->symname[j++]; in affs_symlink_readpage()
49 while (i < 1023 && (c = lf->symname[j])) { in affs_symlink_readpage()
/linux/tools/perf/util/
A Dprobe-finder.c1839 (lf->lno_s > lineno || lf->lno_e < lineno)) in line_range_walk_cb()
1859 ret = die_walk_lines(sp_die ?: &lf->cu_die, line_range_walk_cb, lf); 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()
1907 pr_debug("New line range: %d to %d\n", lf->lno_s, lf->lno_e); in line_range_search_cb()
1909 lr->end = lf->lno_e; in line_range_search_cb()
1940 .cu_die = &lf.cu_die, .sp_die = &lf.sp_die, .found = 0}; in debuginfo__find_line_range()
1948 if (lf.found) in debuginfo__find_line_range()
1968 lf.fname = cu_find_realpath(&lf.cu_die, lr->file); in debuginfo__find_line_range()
1970 lf.fname = 0; in debuginfo__find_line_range()
[all …]
/linux/drivers/staging/media/sunxi/cedrus/
A Dcedrus_vp8.c735 if (slice->lf.flags & V4L2_VP8_LF_ADJ_ENABLE) in cedrus_vp8_setup()
737 if (slice->lf.flags & V4L2_VP8_LF_DELTA_UPDATE) in cedrus_vp8_setup()
795 reg |= VE_VP8_LF_DELTA3(slice->lf.ref_frm_delta[3]); in cedrus_vp8_setup()
796 reg |= VE_VP8_LF_DELTA2(slice->lf.ref_frm_delta[2]); in cedrus_vp8_setup()
797 reg |= VE_VP8_LF_DELTA1(slice->lf.ref_frm_delta[1]); in cedrus_vp8_setup()
798 reg |= VE_VP8_LF_DELTA0(slice->lf.ref_frm_delta[0]); in cedrus_vp8_setup()
802 reg |= VE_VP8_LF_DELTA3(slice->lf.mb_mode_delta[3]); in cedrus_vp8_setup()
803 reg |= VE_VP8_LF_DELTA2(slice->lf.mb_mode_delta[2]); in cedrus_vp8_setup()
804 reg |= VE_VP8_LF_DELTA1(slice->lf.mb_mode_delta[1]); in cedrus_vp8_setup()
850 if (slice->lf.level) { in cedrus_vp8_setup()
[all …]
/linux/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/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/drivers/staging/media/hantro/
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()
/linux/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/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/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/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/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()
572 unsigned lf; in fwnet_incoming_packet() local
586 lf = fwnet_get_hdr_lf(&hdr); in fwnet_incoming_packet()
587 if (lf == RFC2374_HDR_UNFRAG) { in fwnet_incoming_packet()
618 if (lf == RFC2374_HDR_FIRSTFRAG) { in fwnet_incoming_packet()
684 if (lf == RFC2374_HDR_FIRSTFRAG) in fwnet_incoming_packet()
854 u16 lf; in fwnet_transmit_packet_done() local
857 lf = fwnet_get_hdr_lf(&ptask->hdr); in fwnet_transmit_packet_done()
858 switch (lf) { in fwnet_transmit_packet_done()
[all …]

Completed in 713 milliseconds

123