Home
last modified time | relevance | path

Searched refs:state_offset (Results 1 – 3 of 3) sorted by relevance

/drivers/gpu/drm/etnaviv/
Detnaviv_cmd_parser.c106 u32 *ptr, unsigned int state_offset, unsigned int num) in etnaviv_validate_load_state() argument
108 unsigned int size = min(ETNAVIV_STATES_SIZE, state_offset + num); in etnaviv_validate_load_state()
109 unsigned int st_offset = state_offset, buf_offset; in etnaviv_validate_load_state()
113 st_offset - state_offset) * 4; in etnaviv_validate_load_state()
/drivers/net/dsa/mv88e6xxx/
Dglobal1_vtu.c180 unsigned int state_offset = (i % 4) * 4 + 2; in mv88e6185_g1_stu_data_read() local
182 entry->state[i] = (regs[i / 4] >> state_offset) & 0x3; in mv88e6185_g1_stu_data_read()
197 unsigned int state_offset = member_offset + 2; in mv88e6185_g1_vtu_data_write() local
200 regs[i / 4] |= (entry->state[i] & 0x3) << state_offset; in mv88e6185_g1_vtu_data_write()
/drivers/gpu/drm/i915/gvt/
Dscheduler.c106 u32 state_offset = ctx_flexeu0 + i * 2; in sr_oa_regs() local
108 workload->flex_mmio[i] = reg_state[state_offset + 1]; in sr_oa_regs()
116 u32 state_offset = ctx_flexeu0 + i * 2; in sr_oa_regs() local
119 reg_state[state_offset] = mmio; in sr_oa_regs()
120 reg_state[state_offset + 1] = workload->flex_mmio[i]; in sr_oa_regs()