Searched refs:DIR_READ (Results 1 – 2 of 2) sorted by relevance
22 #define DIR_READ(a) ((a) | BIT(7)) macro43 uint8_t reg_buf[2] = { DIR_READ(reg), 0 }; in fxas21002_read_spi()59 uint8_t data[] = { DIR_READ(reg), 0}; in fxas21002_byte_read_spi()
22 #define DIR_READ(a) ((a) & 0x7f) macro44 uint8_t reg_buf[3] = { DIR_READ(reg), ADDR_7(reg), 0 }; in fxos8700_read_spi()60 uint8_t data[] = { DIR_READ(reg), ADDR_7(reg), 0}; in fxos8700_byte_read_spi()