Home
last modified time | relevance | path

Searched refs:field_sz (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/drivers/net/phy/
Dmicrel.c892 u16 reg, size_t field_sz, in ksz9031_of_load_skew_values() argument
917 maxval = (field_sz == 4) ? 0xf : 0x1f; in ksz9031_of_load_skew_values()
921 mask ^= maxval << (field_sz * i); in ksz9031_of_load_skew_values()
924 << (field_sz * i)); in ksz9031_of_load_skew_values()
1122 u16 reg, size_t field_sz, in ksz9131_of_load_skew_values() argument
1135 if (field_sz == 5) in ksz9131_of_load_skew_values()
1159 maxval = (field_sz == 4) ? 0xf : 0x1f; in ksz9131_of_load_skew_values()
1163 mask ^= maxval << (field_sz * i); in ksz9131_of_load_skew_values()
1166 << (field_sz * i)); in ksz9131_of_load_skew_values()
/linux-6.1.9/tools/lib/bpf/
Drelo_core.c681 __u64 *val, __u32 *field_sz, __u32 *type_id, in bpf_core_calc_field_relo() argument
692 *field_sz = 0; in bpf_core_calc_field_relo()
713 *field_sz = sz; in bpf_core_calc_field_relo()
770 *field_sz = byte_sz; in bpf_core_calc_field_relo()
/linux-6.1.9/include/linux/
Dbpf.h199 u8 field_sz[BPF_MAP_OFF_ARR_MAX]; member
318 curr_off = next_off + map->off_arr->field_sz[i]; in __copy_map_value()
347 curr_off = next_off + map->off_arr->field_sz[i]; in zero_map_value()
/linux-6.1.9/kernel/bpf/
Dsyscall.c928 sz_a = map->off_arr->field_sz + (a - off_base); in map_off_arr_swap()
929 sz_b = map->off_arr->field_sz + (b - off_base); in map_off_arr_swap()
958 off_arr->field_sz[i] = sizeof(struct bpf_spin_lock); in bpf_map_alloc_off_arr()
965 off_arr->field_sz[i] = sizeof(struct bpf_timer); in bpf_map_alloc_off_arr()
971 u8 *sz = &off_arr->field_sz[off_arr->cnt]; in bpf_map_alloc_off_arr()