Home
last modified time | relevance | path

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

/openbmc/qemu/target/riscv/
H A Dinstmap.h357 #define GET_C_LD_IMM(inst) ((extract16(inst, 10, 3) << 3) \
358 | (extract16(inst, 5, 2) << 6))
378 #define GET_C_RS1S(inst) (8 + extract16(inst, 7, 3))
379 #define GET_C_RS2S(inst) (8 + extract16(inst, 2, 3))
/openbmc/qemu/hw/ssi/
H A Dnpcm_pspi.c80 value = ssi_transfer(s->spi, extract16(data, 8, 8)) << 8; in npcm_pspi_write_data()
82 value |= ssi_transfer(s->spi, extract16(data, 0, 8)); in npcm_pspi_write_data()
/openbmc/qemu/hw/display/
H A Ddm163.c118 const uint16_t b = extract16(s->outputs[3 * x + 0], 6, 8); in dm163_propagate_outputs()
119 const uint16_t g = extract16(s->outputs[3 * x + 1], 6, 8); in dm163_propagate_outputs()
120 const uint16_t r = extract16(s->outputs[3 * x + 2], 6, 8); in dm163_propagate_outputs()
/openbmc/qemu/include/hw/
H A Dregisterfields.h53 extract16((storage), R_ ## reg ## _ ## field ## _SHIFT, \
174 extract16((storage), field ## _SHIFT, field ## _LENGTH)
/openbmc/qemu/hw/char/
H A Dserial.c479 ret = extract16(s->divider, 8 * addr, 8); in serial_ioport_read()
503 ret = extract16(s->divider, 8 * addr, 8); in serial_ioport_read()
/openbmc/qemu/include/qemu/
H A Dbitops.h553 static inline uint16_t extract16(uint16_t value, int start, int length) in extract16() function
/openbmc/qemu/hw/net/
H A Dnpcm_gmac.c91 #define NPCM_GMAC_MII_ADDR_GR(rv) extract16((rv), 6, 5)
92 #define NPCM_GMAC_MII_ADDR_PA(rv) extract16((rv), 11, 5)
/openbmc/qemu/target/ppc/translate/
H A Dvmx-impl.c.inc2145 hi = extract16(a->b, 8, 8);
2146 lo = extract16(a->b, 0, 8);