Searched refs:subreg (Results 1 – 5 of 5) sorted by relevance
| /linux/arch/arm/mm/ |
| H A D | pmsa-v7.c | 22 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, ®ion->subreg); in try_split_region() 180 _set_bit(PMSAv7_NR_SUBREGS - i, ®ion->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 D | leds-pca963x.c | 357 u32 color, subreg; in pca963x_parse_mc_subleds() local 362 ret = fwnode_property_read_u32(sub, "reg", &subreg); in pca963x_parse_mc_subleds() 365 if (subreg >= chipdef->n_leds) in pca963x_parse_mc_subleds() 372 led->subleds[num_colors].channel = subreg; in pca963x_parse_mc_subleds()
|
| /linux/kernel/bpf/ |
| H A D | tnum.c | 248 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 D | verifier.c | 2174 msg = "const subreg tnum out of sync with range bounds"; in reg_bounds_sanity_check() 15298 struct tnum subreg = tnum_subreg(dst_reg->var_off); in scalar32_min_max_lsh() 15301 dst_reg->var_off = tnum_subreg(tnum_lshift(subreg, umin_val)); 15316 * extend subreg by doing <<32 s>>32. smin/smax assignments are correct in __scalar64_min_max_lsh() 15354 struct tnum subreg = tnum_subreg(dst_reg->var_off); in scalar32_min_max_rsh() 15373 dst_reg->var_off = tnum_rshift(subreg, umin_val); in scalar_min_max_rsh() 15617 * cross subreg boundaries in the alu64 case. When this happens we mark in adjust_scalar_min_max_vals() 15618 * the reg unbounded in the subreg bound space and use the resulting in adjust_scalar_min_max_vals() 15290 struct tnum subreg = tnum_subreg(dst_reg->var_off); scalar32_min_max_lsh() local 15346 struct tnum subreg = tnum_subreg(dst_reg->var_off); scalar32_min_max_rsh() local
|
| /linux/include/linux/ |
| H A D | tnum.h | 125 struct tnum tnum_with_subreg(struct tnum reg, struct tnum subreg);
|