Searched refs:GET_BYTE (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/drivers/media/dvb-frontends/ |
H A D | mxl5xx.c | 153 GET_BYTE(reg, 0), GET_BYTE(reg, 1), in read_register_unlocked() 154 GET_BYTE(reg, 2), GET_BYTE(reg, 3), in read_register_unlocked() 226 buf[2] = GET_BYTE(reg, 0); in write_firmware_block() 227 buf[3] = GET_BYTE(reg, 1); in write_firmware_block() 228 buf[4] = GET_BYTE(reg, 2); in write_firmware_block() 229 buf[5] = GET_BYTE(reg, 3); in write_firmware_block() 245 GET_BYTE(reg, 0), GET_BYTE(reg, 1), in read_register() 246 GET_BYTE(reg, 2), GET_BYTE(reg, 3), in read_register() 273 buf[2] = GET_BYTE(reg, 0); in read_register_block() 274 buf[3] = GET_BYTE(reg, 1); in read_register_block() [all …]
|
H A D | mxl5xx_defs.h | 145 #define GET_BYTE(x, n) (((x) >> (8*(n))) & 0xFF) macro
|
/openbmc/linux/drivers/net/can/spi/ |
H A D | mcp251x.c | 192 #define GET_BYTE(val, byte) \ macro 655 buf[TXBEID8_OFF] = GET_BYTE(eid, 1); in mcp251x_hw_tx() 656 buf[TXBEID0_OFF] = GET_BYTE(eid, 0); in mcp251x_hw_tx()
|