Lines Matching refs:value
112 unsigned device, uint32_t value) in scc_cfg_write() argument
114 trace_mps2_scc_cfg_write(function, device, value); in scc_cfg_write()
123 s->oscclk[device] = value; in scc_cfg_write()
132 unsigned device, uint32_t *value) in scc_cfg_read() argument
141 *value = s->oscclk[device]; in scc_cfg_read()
143 trace_mps2_scc_cfg_read(function, device, *value); in scc_cfg_read()
236 static void mps2_scc_write(void *opaque, hwaddr offset, uint64_t value, in mps2_scc_write() argument
241 trace_mps2_scc_write(offset, value, size); in mps2_scc_write()
255 s->cfg0 = value; in mps2_scc_write()
261 s->cfg1 = value; in mps2_scc_write()
271 led_set_state(s->led[i], extract32(value, i, 1)); in mps2_scc_write()
280 s->cfg2 = value; in mps2_scc_write()
287 s->cfg5 = value; in mps2_scc_write()
295 s->cfg6 = value; in mps2_scc_write()
302 s->cfg6 = value; in mps2_scc_write()
305 s->cfgdata_out = value; in mps2_scc_write()
310 s->cfgctrl = value & ~(R_CFGCTRL_RES1_MASK | in mps2_scc_write()
314 if (value & R_CFGCTRL_START_MASK) { in mps2_scc_write()
344 s->dll = deposit32(s->dll, 24, 8, extract32(value, 24, 8)); in mps2_scc_write()