Home
last modified time | relevance | path

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

/openbmc/qemu/hw/char/
H A Driscv_htif.c111 uint64_t val_written = s->pending_read; in htif_recv() local
114 s->fromhost = (val_written >> 48 << 48) | (resp << 16 >> 16); in htif_recv()
156 static void htif_handle_tohost_write(HTIFState *s, uint64_t val_written) in htif_handle_tohost_write() argument
158 uint8_t device = val_written >> HTIF_DEV_SHIFT; in htif_handle_tohost_write()
159 uint8_t cmd = val_written >> HTIF_CMD_SHIFT; in htif_handle_tohost_write()
160 uint64_t payload = val_written & 0xFFFFFFFFFFFFULL; in htif_handle_tohost_write()
235 s->pending_read = val_written; in htif_handle_tohost_write()
260 s->fromhost = (val_written >> 48 << 48) | (resp << 16 >> 16); in htif_handle_tohost_write()