Searched refs:val_written (Results 1 – 1 of 1) sorted by relevance
110 uint64_t val_written = s->pending_read; in htif_recv() local113 s->fromhost = (val_written >> 48 << 48) | (resp << 16 >> 16); in htif_recv()155 static void htif_handle_tohost_write(HTIFState *s, uint64_t val_written) in htif_handle_tohost_write() argument157 uint8_t device = val_written >> HTIF_DEV_SHIFT; in htif_handle_tohost_write()158 uint8_t cmd = val_written >> HTIF_CMD_SHIFT; in htif_handle_tohost_write()159 uint64_t payload = val_written & 0xFFFFFFFFFFFFULL; in htif_handle_tohost_write()238 s->pending_read = val_written; in htif_handle_tohost_write()267 s->fromhost = (val_written >> 48 << 48) | (resp << 16 >> 16); in htif_handle_tohost_write()