Searched refs:extract8 (Results 1 – 8 of 8) sorted by relevance
/openbmc/qemu/tests/qtest/ |
H A D | npcm7xx_smbus-test.c | 119 #define CTL2_SCLFRQ(rv) extract8((rv), 1, 6) 129 #define CTL3_SCLFRQ(rv) extract8((rv), 0, 2) 133 #define ADDR_A(rv) extract8((rv), 0, 6) 145 #define TXF_CTL_TX_THR(rv) extract8((rv), 0, 5) 149 #define TXF_STS_TX_BYTES(rv) extract8((rv), 0, 5) 154 #define RXF_CTL_RX_THR(rv) extract8((rv), 0, 5) 158 #define RXF_STS_RX_BYTES(rv) extract8((rv), 0, 5)
|
/openbmc/qemu/hw/i2c/ |
H A D | npcm7xx_smbus.c | 116 #define NPCM7XX_SMBCTL2_SCLFRQ(rv) extract8((rv), 1, 6) 126 #define NPCM7XX_SMBCTL3_SCLFRQ(rv) extract8((rv), 0, 2) 130 #define NPCM7XX_ADDR_A(rv) extract8((rv), 0, 6) 145 #define NPCM7XX_SMBTXF_CTL_TX_THR(rv) extract8((rv), 0, 5) 149 #define NPCM7XX_SMBT_OUT_CLKDIV(rv) extract8((rv), 0, 6) 152 #define NPCM7XX_SMBTXF_STS_TX_BYTES(rv) extract8((rv), 0, 5) 155 #define NPCM7XX_SMBRXF_STS_RX_BYTES(rv) extract8((rv), 0, 5) 159 #define NPCM7XX_SMBRXF_CTL_RX_THR(rv) extract8((rv), 0, 5)
|
/openbmc/qemu/hw/nvram/ |
H A D | npcm7xx_otp.c | 101 *dst++ = ecc_encode_nibble(extract8(c, 0, 4)); in npcm7xx_otp_array_write() 102 *dst++ = ecc_encode_nibble(extract8(c, 4, 4)); in npcm7xx_otp_array_write()
|
/openbmc/qemu/include/hw/ |
H A D | registerfields.h | 50 extract8((storage), R_ ## reg ## _ ## field ## _SHIFT, \ 171 extract8((storage), field ## _SHIFT, field ## _LENGTH)
|
/openbmc/qemu/hw/misc/ |
H A D | npcm7xx_mft.c | 88 #define NPCM7XX_MFT_CPCFG_GET_B(rv) extract8((rv), 4, 4) 89 #define NPCM7XX_MFT_CPCFG_GET_A(rv) extract8((rv), 0, 4)
|
/openbmc/qemu/hw/intc/ |
H A D | loongson_ipi_common.c | 180 vector = extract8(val, 0, 5); in loongson_ipi_core_writel()
|
/openbmc/qemu/include/qemu/ |
H A D | bitops.h | 534 static inline uint8_t extract8(uint8_t value, int start, int length) in extract8() function
|
/openbmc/qemu/hw/display/ |
H A D | dm163.c | 297 if (!extract8(s->redraw, row, 1)) { in dm163_update_display()
|