Searched refs:member_offset (Results 1 – 1 of 1) sorted by relevance
164 unsigned int member_offset = (i % 4) * 4; in mv88e6185_g1_vtu_data_read() local165 unsigned int state_offset = member_offset + 2; in mv88e6185_g1_vtu_data_read()168 member[i] = (regs[i / 4] >> member_offset) & 0x3; in mv88e6185_g1_vtu_data_read()185 unsigned int member_offset = (i % 4) * 4; in mv88e6185_g1_vtu_data_write() local186 unsigned int state_offset = member_offset + 2; in mv88e6185_g1_vtu_data_write()189 regs[i / 4] |= (member[i] & 0x3) << member_offset; in mv88e6185_g1_vtu_data_write()