Home
last modified time | relevance | path

Searched refs:member_offset (Results 1 – 2 of 2) sorted by relevance

/Linux-v4.19/drivers/net/dsa/mv88e6xxx/
Dglobal1_vtu.c149 unsigned int member_offset = (i % 4) * 4; in mv88e6185_g1_vtu_data_read() local
150 unsigned int state_offset = member_offset + 2; in mv88e6185_g1_vtu_data_read()
152 entry->member[i] = (regs[i / 4] >> member_offset) & 0x3; in mv88e6185_g1_vtu_data_read()
167 unsigned int member_offset = (i % 4) * 4; in mv88e6185_g1_vtu_data_write() local
168 unsigned int state_offset = member_offset + 2; in mv88e6185_g1_vtu_data_write()
170 regs[i / 4] |= (entry->member[i] & 0x3) << member_offset; in mv88e6185_g1_vtu_data_write()
/Linux-v4.19/kernel/bpf/
Dbtf.c1660 u32 member_offset = member->offset; in btf_struct_seq_show() local
1661 u32 bytes_offset = BITS_ROUNDDOWN_BYTES(member_offset); in btf_struct_seq_show()
1662 u8 bits8_offset = BITS_PER_BYTE_MASKED(member_offset); in btf_struct_seq_show()