Home
last modified time | relevance | path

Searched refs:subreg (Results 1 – 6 of 6) sorted by relevance

/linux/arch/arm/mm/
H A Dpmsa-v7.c22 unsigned long subreg; member
148 unsigned long subreg, bslots, sslots; in try_split_region() local
159 subreg = p2size / PMSAv7_NR_SUBREGS; in try_split_region()
161 if ((bdiff % subreg) || (sdiff % subreg)) in try_split_region()
164 bslots = bdiff / subreg; in try_split_region()
165 sslots = sdiff / subreg; in try_split_region()
170 if (subreg < PMSAv7_MIN_SUBREG_SIZE) in try_split_region()
177 _set_bit(i, &region->subreg); in try_split_region()
180 _set_bit(PMSAv7_NR_SUBREGS - i, &region->subreg); in try_split_region()
297 unsigned long subreg = mem[i].size / PMSAv7_NR_SUBREGS; in pmsav7_adjust_lowmem_bounds() local
[all …]
/linux/drivers/leds/
H A Dleds-pca963x.c354 u32 color, subreg; in pca963x_parse_mc_subleds()
359 ret = fwnode_property_read_u32(sub, "reg", &subreg); in pca963x_parse_mc_subleds()
362 if (subreg >= chipdef->n_leds) in pca963x_parse_mc_subleds()
369 led->subleds[num_colors].channel = subreg; in pca963x_parse_mc_subleds()
357 u32 color, subreg; pca963x_parse_mc_subleds() local
/linux/kernel/bpf/
H A Dtnum.c248 struct tnum tnum_with_subreg(struct tnum reg, struct tnum subreg) in tnum_with_subreg() argument
250 return tnum_or(tnum_clear_subreg(reg), tnum_subreg(subreg)); in tnum_with_subreg()
H A Dverifier.c2440 msg = "const subreg tnum out of sync with range bounds"; in bpf_find_exception_callback_insn_off()
17144 struct tnum subreg = tnum_subreg(dst_reg->var_off); in check_cond_jmp_op()
17147 dst_reg->var_off = tnum_subreg(tnum_lshift(subreg, umin_val)); in check_cond_jmp_op()
17162 * extend subreg by doing <<32 s>>32. smin/smax assignments are correct in check_cond_jmp_op()
17200 struct tnum subreg = tnum_subreg(dst_reg->var_off); in check_cond_jmp_op()
17219 dst_reg->var_off = tnum_rshift(subreg, umin_val); in check_ld_imm()
17473 * cross subreg boundaries in the alu64 case. When this happens we mark in return_retval_range()
17474 * the reg unbounded in the subreg bound space and use the resulting in return_retval_range()
15298 struct tnum subreg = tnum_subreg(dst_reg->var_off); scalar32_min_max_lsh() local
15354 struct tnum subreg = tnum_subreg(dst_reg->var_off); scalar32_min_max_rsh() local
/linux/include/linux/
H A Dtnum.h118 /* Returns the 32-bit subreg */
120 /* Returns the tnum with the lower 32-bit subreg cleared */
122 /* Returns the tnum with the lower 32-bit subreg in *reg* set to the lower
123 * 32-bit subreg in *subreg*
125 struct tnum tnum_with_subreg(struct tnum reg, struct tnum subreg);
126 /* Returns the tnum with the lower 32-bit subreg set to value */
128 /* Returns true if 32-bit subreg @a is a known constant*/
/linux/drivers/base/regmap/
H A Dregmap-irq.c334 const struct regmap_irq_sub_irq_map *subreg; in read_sub_irq_data() local
345 * in 'subreg' are *not* interchangeable with indices. in read_sub_irq_data()
347 subreg = &chip->sub_reg_offsets[b]; in read_sub_irq_data()
348 for (i = 0; i < subreg->num_regs; i++) { in read_sub_irq_data()
349 unsigned int offset = subreg->offset[i]; in read_sub_irq_data()