Home
last modified time | relevance | path

Searched refs:lt (Results 1 – 25 of 73) sorted by relevance

123

/linux-6.6.21/drivers/gpu/drm/bridge/
Dlontium-lt8912b.c50 static int lt8912_write_init_config(struct lt8912 *lt) in lt8912_write_init_config() argument
87 return regmap_multi_reg_write(lt->regmap[I2C_MAIN], seq, ARRAY_SIZE(seq)); in lt8912_write_init_config()
90 static int lt8912_write_mipi_basic_config(struct lt8912 *lt) in lt8912_write_mipi_basic_config() argument
100 return regmap_multi_reg_write(lt->regmap[I2C_CEC_DSI], seq, ARRAY_SIZE(seq)); in lt8912_write_mipi_basic_config()
103 static int lt8912_write_dds_config(struct lt8912 *lt) in lt8912_write_dds_config() argument
153 return regmap_multi_reg_write(lt->regmap[I2C_CEC_DSI], seq, ARRAY_SIZE(seq)); in lt8912_write_dds_config()
156 static int lt8912_write_rxlogicres_config(struct lt8912 *lt) in lt8912_write_rxlogicres_config() argument
160 ret = regmap_write(lt->regmap[I2C_MAIN], 0x03, 0x7f); in lt8912_write_rxlogicres_config()
162 ret |= regmap_write(lt->regmap[I2C_MAIN], 0x03, 0xff); in lt8912_write_rxlogicres_config()
168 static int lt8912_write_lvds_config(struct lt8912 *lt) in lt8912_write_lvds_config() argument
[all …]
/linux-6.6.21/net/netfilter/
Dnft_set_pipapo_avx2.c45 #define NFT_PIPAPO_AVX2_BUCKET_LOAD4(reg, lt, group, v, bsize) \ argument
47 lt[((group) * NFT_PIPAPO_BUCKETS(4) + \
49 #define NFT_PIPAPO_AVX2_BUCKET_LOAD8(reg, lt, group, v, bsize) \ argument
51 lt[((group) * NFT_PIPAPO_BUCKETS(8) + \
220 unsigned long *lt = f->lt, bsize = f->bsize; in nft_pipapo_avx2_lookup_4b_2() local
222 lt += offset * NFT_PIPAPO_LONGS_PER_M256; in nft_pipapo_avx2_lookup_4b_2()
223 for (i = offset; i < m256_size; i++, lt += NFT_PIPAPO_LONGS_PER_M256) { in nft_pipapo_avx2_lookup_4b_2()
227 NFT_PIPAPO_AVX2_BUCKET_LOAD4(0, lt, 0, pg[0], bsize); in nft_pipapo_avx2_lookup_4b_2()
228 NFT_PIPAPO_AVX2_BUCKET_LOAD4(1, lt, 1, pg[1], bsize); in nft_pipapo_avx2_lookup_4b_2()
231 NFT_PIPAPO_AVX2_BUCKET_LOAD4(0, lt, 0, pg[0], bsize); in nft_pipapo_avx2_lookup_4b_2()
[all …]
Dnft_set_pipapo.h72 #define NFT_PIPAPO_LT_ALIGN(lt) (PTR_ALIGN((lt), NFT_PIPAPO_ALIGN)) argument
76 (field)->lt = (x); \
80 #define NFT_PIPAPO_LT_ALIGN(lt) (lt) argument
81 #define NFT_PIPAPO_LT_ASSIGN(field, x) ((field)->lt = (x))
129 unsigned long *lt; member
200 unsigned long *lt = NFT_PIPAPO_LT_ALIGN(f->lt); in pipapo_and_field_buckets_4bit() local
207 __bitmap_and(dst, dst, lt + v * f->bsize, in pipapo_and_field_buckets_4bit()
209 lt += f->bsize * NFT_PIPAPO_BUCKETS(4); in pipapo_and_field_buckets_4bit()
212 __bitmap_and(dst, dst, lt + v * f->bsize, in pipapo_and_field_buckets_4bit()
214 lt += f->bsize * NFT_PIPAPO_BUCKETS(4); in pipapo_and_field_buckets_4bit()
[all …]
Dnft_set_pipapo.c623 long *new_lt = NULL, *new_p, *old_lt = f->lt, *old_p; in pipapo_resize()
702 pos = NFT_PIPAPO_LT_ALIGN(f->lt); in pipapo_bucket_set()
842 sizeof(*f->lt); in pipapo_lt_bits_adjust()
850 sizeof(*f->lt); in pipapo_lt_bits_adjust()
857 sizeof(*f->lt); in pipapo_lt_bits_adjust()
875 NFT_PIPAPO_LT_ALIGN(f->lt), in pipapo_lt_bits_adjust()
879 NFT_PIPAPO_LT_ALIGN(f->lt), in pipapo_lt_bits_adjust()
887 kvfree(f->lt); in pipapo_lt_bits_adjust()
1341 memcpy(dst, src, offsetof(struct nft_pipapo_field, lt));
1344 src->bsize * sizeof(*dst->lt) +
[all …]
/linux-6.6.21/drivers/gpu/drm/nouveau/nvkm/engine/disp/
Ddp.c58 nvkm_dp_train_sense(struct lt_state *lt, bool pc, u32 delay) in nvkm_dp_train_sense() argument
60 struct nvkm_outp *outp = lt->outp; in nvkm_dp_train_sense()
66 if (lt->repeater) in nvkm_dp_train_sense()
67 addr = DPCD_LTTPR_LANE0_1_STATUS(lt->repeater); in nvkm_dp_train_sense()
71 ret = nvkm_rdaux(outp->dp.aux, addr, &lt->stat[0], 3); in nvkm_dp_train_sense()
75 if (lt->repeater) in nvkm_dp_train_sense()
76 addr = DPCD_LTTPR_LANE0_1_ADJUST(lt->repeater); in nvkm_dp_train_sense()
80 ret = nvkm_rdaux(outp->dp.aux, addr, &lt->stat[4], 2); in nvkm_dp_train_sense()
85 ret = nvkm_rdaux(outp->dp.aux, DPCD_LS0C, &lt->pc2stat, 1); in nvkm_dp_train_sense()
87 lt->pc2stat = 0x00; in nvkm_dp_train_sense()
[all …]
Duoutp.c54 if (!atomic_read(&outp->dp.lt.done)) in nvkm_uoutp_mthd_dp_retrain()
159 outp->dp.lt.nr = link_nr; in nvkm_uoutp_mthd_acquire_dp()
160 outp->dp.lt.bw = link_bw; in nvkm_uoutp_mthd_acquire_dp()
161 outp->dp.lt.mst = mst; in nvkm_uoutp_mthd_acquire_dp()
Doutp.h61 } lt; member
/linux-6.6.21/drivers/mtd/nand/raw/
Dmarvell_nand.c1040 const struct marvell_hw_ecc_layout *lt = to_marvell_nand(chip)->layout; in marvell_nfc_hw_ecc_hmg_do_read_page() local
1050 unsigned int oob_bytes = lt->spare_bytes + (raw ? lt->ecc_bytes : 0); in marvell_nfc_hw_ecc_hmg_do_read_page()
1075 lt->data_bytes + oob_bytes); in marvell_nfc_hw_ecc_hmg_do_read_page()
1076 memcpy(data_buf, nfc->dma_buf, lt->data_bytes); in marvell_nfc_hw_ecc_hmg_do_read_page()
1077 memcpy(oob_buf, nfc->dma_buf + lt->data_bytes, oob_bytes); in marvell_nfc_hw_ecc_hmg_do_read_page()
1079 marvell_nfc_xfer_data_in_pio(nfc, data_buf, lt->data_bytes); in marvell_nfc_hw_ecc_hmg_do_read_page()
1098 const struct marvell_hw_ecc_layout *lt = to_marvell_nand(chip)->layout; in marvell_nfc_hw_ecc_hmg_read_page() local
1099 unsigned int full_sz = lt->data_bytes + lt->spare_bytes + lt->ecc_bytes; in marvell_nfc_hw_ecc_hmg_read_page()
1122 lt->data_bytes, true, page); in marvell_nfc_hw_ecc_hmg_read_page()
1154 const struct marvell_hw_ecc_layout *lt = to_marvell_nand(chip)->layout; in marvell_nfc_hw_ecc_hmg_do_write_page() local
[all …]
/linux-6.6.21/drivers/media/platform/rockchip/rga/
Drga-hw.c50 struct rga_addr_offset *lt, *lb, *rt, *rb; in rga_get_addr_offset() local
54 lt = &offsets.left_top; in rga_get_addr_offset()
65 lt->y_off = y * frm->stride + x * pixel_width; in rga_get_addr_offset()
66 lt->u_off = in rga_get_addr_offset()
68 lt->v_off = lt->u_off + frm->width * frm->height / uv_factor; in rga_get_addr_offset()
70 lb->y_off = lt->y_off + (h - 1) * frm->stride; in rga_get_addr_offset()
71 lb->u_off = lt->u_off + (h / y_div - 1) * uv_stride; in rga_get_addr_offset()
72 lb->v_off = lt->v_off + (h / y_div - 1) * uv_stride; in rga_get_addr_offset()
74 rt->y_off = lt->y_off + (w - 1) * pixel_width; in rga_get_addr_offset()
75 rt->u_off = lt->u_off + w / x_div - 1; in rga_get_addr_offset()
[all …]
/linux-6.6.21/scripts/
Dunifdef.c831 Linetype lt; in eval_unary() local
837 lt = eval_unary(ops, valp, &cp); in eval_unary()
838 if (lt == LT_ERROR) in eval_unary()
840 if (lt != LT_IF) { in eval_unary()
842 lt = *valp ? LT_TRUE : LT_FALSE; in eval_unary()
847 lt = eval_table(eval_ops, valp, &cp); in eval_unary()
848 if (lt == LT_ERROR) in eval_unary()
858 lt = *valp ? LT_TRUE : LT_FALSE; in eval_unary()
871 lt = LT_IF; in eval_unary()
874 lt = *valp ? LT_TRUE : LT_FALSE; in eval_unary()
[all …]
/linux-6.6.21/drivers/media/v4l2-core/
Dv4l2-h264.c263 u8 lt, i = 0, j = 0, k = 0; in reorder_field_reflist() local
267 for (lt = 0; lt <= 1; lt++) { in reorder_field_reflist()
269 for (; i < b->num_valid && b->refs[tmplist[i].index].longterm == lt; i++) { in reorder_field_reflist()
276 for (; j < b->num_valid && b->refs[tmplist[j].index].longterm == lt; j++) { in reorder_field_reflist()
282 } while ((i < b->num_valid && b->refs[tmplist[i].index].longterm == lt) || in reorder_field_reflist()
283 (j < b->num_valid && b->refs[tmplist[j].index].longterm == lt)); in reorder_field_reflist()
/linux-6.6.21/arch/mips/pci/
Dfixup-cobalt.c71 unsigned char lt; in qube_raq_via_bmIDE_fixup() local
82 pci_read_config_byte(dev, PCI_LATENCY_TIMER, &lt); in qube_raq_via_bmIDE_fixup()
83 if (lt < 64) in qube_raq_via_bmIDE_fixup()
/linux-6.6.21/arch/arm64/lib/
Dmemset.S95 b.lt 2f
146 b.lt .Lnot_short /*count is at least 128 bytes*/
166 b.lt .Lnot_short /* Not enough to reach alignment. */
178 b.lt .Lnot_short
/linux-6.6.21/arch/mips/include/asm/
Dcpu-features.h63 #define __isa_range(ge, lt) \ argument
64 ((MIPS_ISA_REV >= (ge)) && (MIPS_ISA_REV < (lt)))
65 #define __isa_range_or_flag(ge, lt, flag) \ argument
66 (__isa_range(ge, lt) || ((MIPS_ISA_REV < (lt)) && __isa(flag)))
67 #define __isa_range_and_ase(ge, lt, ase) \ argument
68 (__isa_range(ge, lt) && __ase(ase))
/linux-6.6.21/kernel/locking/
Dlockdep_proc.c449 static void seq_lock_time(struct seq_file *m, struct lock_time *lt) in seq_lock_time() argument
451 seq_printf(m, "%14lu", lt->nr); in seq_lock_time()
452 seq_time(m, lt->min); in seq_lock_time()
453 seq_time(m, lt->max); in seq_lock_time()
454 seq_time(m, lt->total); in seq_lock_time()
455 seq_time(m, lt->nr ? div64_u64(lt->total, lt->nr) : 0); in seq_lock_time()
/linux-6.6.21/drivers/net/ethernet/marvell/octeontx2/af/
Drvu_npc_fs.c148 u64 cfg, u8 lid, u8 lt, u8 intf) in npc_set_layer_mdata() argument
158 input->layer_mdata.ltype = lt; in npc_set_layer_mdata()
193 u8 nr_bits, lid, lt, ld; in npc_check_overlap() local
205 for (lt = 0; lt < NPC_MAX_LT; lt++) { in npc_check_overlap()
209 (intf, lid, lt, ld)); in npc_check_overlap()
214 lid, lt, intf); in npc_check_overlap()
449 u8 lt, u64 cfg, u8 intf) in npc_scan_ldata() argument
477 if (lid == (hlid) && lt == (hlt)) { \ in npc_scan_ldata()
481 npc_set_layer_mdata(mcam, (name), cfg, lid, lt, intf); \ in npc_scan_ldata()
501 if (mkex_hash->lid_lt_ld_hash_en[intf][lid][lt][0]) in npc_scan_ldata()
[all …]
Drvu_npc_hash.c104 u8 intf, int lid, int lt, int ld) in npc_update_use_hash() argument
109 cfg = rvu_read64(rvu, blkaddr, NPC_AF_INTFX_LIDX_LTX_LDX_CFG(intf, lid, lt, ld)); in npc_update_use_hash()
126 int lid, lt, ld, hash_cnt = 0; in npc_program_mkex_hash_rx() local
133 for (lt = 0; lt < NPC_MAX_LT; lt++) { in npc_program_mkex_hash_rx()
135 if (mkex_hash->lid_lt_ld_hash_en[intf][lid][lt][ld]) { in npc_program_mkex_hash_rx()
142 intf, lid, lt, ld); in npc_program_mkex_hash_rx()
144 SET_KEX_LD(intf, lid, lt, ld, cfg); in npc_program_mkex_hash_rx()
166 int lid, lt, ld, hash_cnt = 0; in npc_program_mkex_hash_tx() local
173 for (lt = 0; lt < NPC_MAX_LT; lt++) { in npc_program_mkex_hash_tx()
175 if (mkex_hash->lid_lt_ld_hash_en[intf][lid][lt][ld]) { in npc_program_mkex_hash_tx()
[all …]
Drvu_npc.c1287 int lid, lt, ld, fl; in npc_program_mkex_rx() local
1297 for (lt = 0; lt < NPC_MAX_LT; lt++) { in npc_program_mkex_rx()
1299 SET_KEX_LD(intf, lid, lt, ld, in npc_program_mkex_rx()
1301 [lid][lt][ld]); in npc_program_mkex_rx()
1316 int lid, lt, ld, fl; in npc_program_mkex_tx() local
1326 for (lt = 0; lt < NPC_MAX_LT; lt++) { in npc_program_mkex_tx()
1328 SET_KEX_LD(intf, lid, lt, ld, in npc_program_mkex_tx()
1330 [lid][lt][ld]); in npc_program_mkex_tx()
3247 #define GET_KEX_LD(intf, lid, lt, ld) \ argument
3249 NPC_AF_INTFX_LIDX_LTX_LDX_CFG(intf, lid, lt, ld))
[all …]
/linux-6.6.21/arch/ia64/lib/
Dclear_page.S59 cmp.lt p8,p0=dst_fetch, dst_last
67 cmp.lt p8,p0=dst_fetch, dst_last
/linux-6.6.21/arch/arm64/include/asm/
Del2_setup.h64 b.lt .Lskip_pmu_\@ // Skip if no PMU present
68 csel x2, xzr, x0, lt // all PMU counters from EL1
167 b.lt .Lset_debug_fgt_\@
/linux-6.6.21/arch/mips/kernel/
Dptrace.c170 unsigned long lt[NUM_WATCH_REGS]; in ptrace_set_watch_regs() local
179 __get_user(lt[i], &addr->WATCH_STYLE.watchlo[i]); in ptrace_set_watch_regs()
181 if (lt[i] & __UA_LIMIT) in ptrace_set_watch_regs()
185 if (lt[i] & 0xffffffff80000000UL) in ptrace_set_watch_regs()
188 if (lt[i] & __UA_LIMIT) in ptrace_set_watch_regs()
198 if (lt[i] & MIPS_WATCHLO_IRW) in ptrace_set_watch_regs()
200 child->thread.watch.mips3264.watchlo[i] = lt[i]; in ptrace_set_watch_regs()
/linux-6.6.21/drivers/power/supply/
Dbq25890_charger.c341 struct bq25890_lookup lt; member
356 [TBL_TREG] = { .lt = {bq25890_treg_tbl, BQ25890_TREG_TBL_SIZE} },
357 [TBL_BOOSTI] = { .lt = {bq25890_boosti_tbl, BQ25890_BOOSTI_TBL_SIZE} },
358 [TBL_TSPCT] = { .lt = {bq25890_tspct_tbl, BQ25890_TSPCT_TBL_SIZE} }
385 const u32 *tbl = bq25890_tables[id].lt.tbl; in bq25890_find_idx()
386 u32 tbl_size = bq25890_tables[id].lt.size; in bq25890_find_idx()
411 return bq25890_tables[id].lt.tbl[idx]; in bq25890_find_val()
/linux-6.6.21/Documentation/devicetree/bindings/phy/
Damlogic,meson-axg-pcie.yaml10 - Remi Pommarel <repk@triplefau.lt>
Damlogic,meson-axg-mipi-pcie-analog.yaml10 - Remi Pommarel <repk@triplefau.lt>
/linux-6.6.21/arch/arm/lib/
Dclear_user.S32 strusr r2, r0, 1, lt

123