Home
last modified time | relevance | path

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

/openbmc/qemu/hw/char/
H A Driscv_htif.c236 s->tohost = 0; /* clear to indicate we read */ in htif_handle_tohost_write()
261 s->tohost = 0; /* clear to indicate we read */ in htif_handle_tohost_write()
274 return s->tohost & 0xFFFFFFFF; in htif_mm_read()
276 return (s->tohost >> 32) & 0xFFFFFFFF; in htif_mm_read()
294 if (s->tohost == 0x0) { in htif_mm_write()
296 s->tohost = value & 0xFFFFFFFF; in htif_mm_write()
302 s->tohost |= value << 32; in htif_mm_write()
303 htif_handle_tohost_write(s, s->tohost); in htif_mm_write()
/openbmc/linux/drivers/usb/mtu3/
H A Dmtu3_dr.c30 int version, bool tohost) in ssusb_port0_switch() argument
36 version, tohost ? "host" : "device"); in ssusb_port0_switch()
47 value = tohost ? (value | SSUSB_U2_PORT_HOST_SEL) : in ssusb_port0_switch()
59 value = tohost ? (value | SSUSB_U3_PORT_HOST_SEL) : in ssusb_port0_switch()
/openbmc/qemu/include/hw/char/
H A Driscv_htif.h33 uint64_t tohost; member