Lines Matching refs:value
170 static void pl041_fifo1_write(PL041State *s, uint32_t value) in pl041_fifo1_write() argument
183 value = (value << 8) & 0xFFFFF; in pl041_fifo1_write()
186 value = (value << 4) & 0xFFFFF; in pl041_fifo1_write()
189 value = (value << 2) & 0xFFFFF; in pl041_fifo1_write()
197 fifo->data[fifo->level++] = value; in pl041_fifo1_write()
212 sample = value & 0xFFFF; in pl041_fifo1_write()
213 value = value >> 16; in pl041_fifo1_write()
345 int value; in pl041_read() local
349 value = pl041_compute_periphid3(s); in pl041_read()
351 value = pl041_default_id[(offset - PL041_periphid0) >> 2]; in pl041_read()
354 DBG_L1("pl041_read [0x%08x] => 0x%08x\n", offset, value); in pl041_read()
355 return value; in pl041_read()
357 value = *((uint32_t *)&s->regs + (offset >> 2)); in pl041_read()
365 value = s->regs.isr1 & 0x7F; in pl041_read()
370 get_reg_name(offset), value); in pl041_read()
372 return value; in pl041_read()
376 uint64_t value, unsigned size) in pl041_write() argument
383 get_reg_name(offset), (unsigned int)value); in pl041_write()
387 *((uint32_t *)&s->regs + (offset >> 2)) = value; in pl041_write()
466 s->regs.sl2tx = value; in pl041_write()
483 if (!(value & AACIFE)) { in pl041_write()
486 if (!(value & SL1RXEN)) { in pl041_write()
489 if (!(value & SL1TXEN)) { in pl041_write()
505 pl041_fifo1_write(s, value); in pl041_write()