Searched refs:extract16 (Results 1 – 8 of 8) sorted by relevance
/openbmc/qemu/target/riscv/ |
H A D | instmap.h | 357 #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 D | npcm_pspi.c | 80 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 D | dm163.c | 118 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 D | registerfields.h | 53 extract16((storage), R_ ## reg ## _ ## field ## _SHIFT, \ 174 extract16((storage), field ## _SHIFT, field ## _LENGTH)
|
/openbmc/qemu/hw/char/ |
H A D | serial.c | 479 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 D | bitops.h | 553 static inline uint16_t extract16(uint16_t value, int start, int length) in extract16() function
|
/openbmc/qemu/hw/net/ |
H A D | npcm_gmac.c | 91 #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 D | vmx-impl.c.inc | 2145 hi = extract16(a->b, 8, 8); 2146 lo = extract16(a->b, 0, 8);
|