Lines Matching refs:value
155 uint64_t value, unsigned size) in strongarm_pic_mem_write() argument
161 s->enabled = value; in strongarm_pic_mem_write()
164 s->is_fiq = value; in strongarm_pic_mem_write()
167 s->int_idle = (value & 1) ? 0 : ~0; in strongarm_pic_mem_write()
339 uint64_t value, unsigned size) in strongarm_rtc_write() argument
347 s->rttr = value; in strongarm_rtc_write()
353 s->rtsr = (value & (RTSR_ALE | RTSR_HZE)) | in strongarm_rtc_write()
354 (s->rtsr & ~(value & (RTSR_AL | RTSR_HZ))); in strongarm_rtc_write()
364 s->rtar = value; in strongarm_rtc_write()
370 s->last_rcnr = value; in strongarm_rtc_write()
592 uint64_t value, unsigned size) in strongarm_gpio_write() argument
598 s->dir = value & 0x0fffffff; in strongarm_gpio_write()
603 s->olevel |= value & 0x0fffffff; in strongarm_gpio_write()
608 s->olevel &= ~value; in strongarm_gpio_write()
613 s->rising = value; in strongarm_gpio_write()
617 s->falling = value; in strongarm_gpio_write()
621 s->gafr = value; in strongarm_gpio_write()
625 s->status &= ~value; in strongarm_gpio_write()
797 uint64_t value, unsigned size) in strongarm_ppc_write() argument
803 s->dir = value & 0x3fffff; in strongarm_ppc_write()
808 s->olevel = value & s->dir & 0x3fffff; in strongarm_ppc_write()
813 s->ppar = value & 0x41000; in strongarm_ppc_write()
817 s->psdr = value & 0x3fffff; in strongarm_ppc_write()
821 s->ppfr = value & 0x7f001; in strongarm_ppc_write()
1187 uint64_t value, unsigned size) in strongarm_uart_write() argument
1193 s->utcr0 = value & 0x7f; in strongarm_uart_write()
1198 s->brd = (s->brd & 0xff) | ((value & 0xf) << 8); in strongarm_uart_write()
1203 s->brd = (s->brd & 0xf00) | (value & 0xff); in strongarm_uart_write()
1208 s->utcr3 = value & 0x3f; in strongarm_uart_write()
1221 s->tx_fifo[(s->tx_start + s->tx_len) % 8] = value; in strongarm_uart_write()
1232 s->utsr0 = s->utsr0 & ~(value & in strongarm_uart_write()
1471 uint64_t value, unsigned size) in strongarm_ssp_write() argument
1477 s->sscr[0] = value & 0xffbf; in strongarm_ssp_write()
1478 if ((s->sscr[0] & SSCR0_SSE) && SSCR0_DSS(value) < 4) { in strongarm_ssp_write()
1480 __func__, (int)SSCR0_DSS(value)); in strongarm_ssp_write()
1482 if (!(value & SSCR0_SSE)) { in strongarm_ssp_write()
1490 s->sscr[1] = value & 0x2f; in strongarm_ssp_write()
1491 if (value & SSCR1_LBM) { in strongarm_ssp_write()
1500 s->sssr &= ~(value & SSSR_RW); in strongarm_ssp_write()
1506 value &= 0xff; in strongarm_ssp_write()
1509 value &= (1 << SSCR0_DSS(s->sscr[0])) - 1; in strongarm_ssp_write()
1517 readval = value; in strongarm_ssp_write()
1519 readval = ssi_transfer(s->bus, value); in strongarm_ssp_write()