Searched refs:FIELD_EX8 (Results 1 – 4 of 4) sorted by relevance
/openbmc/qemu/hw/char/ |
H A D | renesas_sci.c | 78 return FIELD_EX8(sci->scr, SCR, RE); in can_receive() 86 if (FIELD_EX8(sci->ssr, SSR, RDRF) || size > 1) { in receive() 88 if (FIELD_EX8(sci->scr, SCR, RIE)) { in receive() 94 if (FIELD_EX8(sci->scr, SCR, RIE)) { in receive() 109 if (FIELD_EX8(sci->scr, SCR, TIE)) { in send_byte() 117 if (!FIELD_EX8(sci->ssr, SSR, TDRE)) { in txend() 121 if (FIELD_EX8(sci->scr, SCR, TEIE)) { in txend() 130 sci->trtime = 8 - FIELD_EX8(sci->smr, SMR, CHR); in update_trtime() 131 sci->trtime += FIELD_EX8(sci->smr, SMR, PE); in update_trtime() 132 sci->trtime += FIELD_EX8(sci->smr, SMR, STOP) + 1; in update_trtime() [all …]
|
/openbmc/qemu/hw/timer/ |
H A D | renesas_tmr.c | 72 if (FIELD_EX8(tmr->tccr[ch], TCCR, CSS) == 0) { in update_events() 77 if (FIELD_EX8(tmr->tccr[0], TCCR, CSS) == CSS_CASCADING) { in update_events() 101 next_time *= clkdiv[FIELD_EX8(tmr->tccr[ch], TCCR, CKS)]; in update_events() 110 int divrate = clkdiv[FIELD_EX8(tmr->tccr[ch], TCCR, CKS)]; in elapsed_time() 135 switch (FIELD_EX8(tmr->tccr[1], TCCR, CSS)) { in read_tcnt() 152 switch (FIELD_EX8(tmr->tccr[0], TCCR, CSS)) { in read_tcnt() 185 FIELD_EX8(r, TCCR, TMRIS)); in read_tccr() 187 FIELD_EX8(r, TCCR, CSS)); in read_tccr() 189 FIELD_EX8(r, TCCR, CKS)); in read_tccr() 209 FIELD_EX8(tmr->tcr[ch], TCR, CCLR)); in tmr_read() [all …]
|
/openbmc/qemu/hw/sensor/ |
H A D | tmp105.c | 41 qemu_set_irq(s->pin, s->alarm ^ FIELD_EX8(~s->config, CONFIG, POLARITY)); in tmp105_interrupt_update() 46 if (FIELD_EX8(s->config, CONFIG, SHUTDOWN_MODE) && !one_shot) { in tmp105_alarm_update() 50 if (FIELD_EX8(s->config, CONFIG, THERMOSTAT_MODE)) { in tmp105_alarm_update() 128 if (FIELD_EX8(s->config, CONFIG, THERMOSTAT_MODE)) { in tmp105_read() 137 (0xf0 << (FIELD_EX8(~s->config, CONFIG, CONVERTER_RESOLUTION))); in tmp105_read() 167 if (FIELD_EX8(s->buf[0] & ~s->config, CONFIG, SHUTDOWN_MODE)) { in tmp105_write() 171 s->faults = tmp105_faultq[FIELD_EX8(s->config, CONFIG, FAULT_QUEUE)]; in tmp105_write() 172 tmp105_alarm_update(s, FIELD_EX8(s->buf[0], CONFIG, ONE_SHOT)); in tmp105_write() 231 s->faults = tmp105_faultq[FIELD_EX8(s->config, CONFIG, FAULT_QUEUE)]; in tmp105_post_load() 289 s->faults = tmp105_faultq[FIELD_EX8(s->config, CONFIG, FAULT_QUEUE)]; in tmp105_reset()
|
/openbmc/qemu/include/hw/ |
H A D | registerfields.h | 49 #define FIELD_EX8(storage, reg, field) \ macro
|