Searched refs:MAX149X6_GET_BIT (Results 1 – 3 of 3) sorted by relevance
/Zephyr-latest/drivers/gpio/ |
D | gpio_max14916.c | 35 data->glob.interrupt.reg_bits.SHT_VDD_FLT = MAX149X6_GET_BIT(rx_diag_buff[0], 5); in max14916_pars_spi_diag() 36 data->glob.interrupt.reg_bits.OW_ON_FLT = MAX149X6_GET_BIT(rx_diag_buff[0], 4); in max14916_pars_spi_diag() 37 data->glob.interrupt.reg_bits.OW_OFF_FLT = MAX149X6_GET_BIT(rx_diag_buff[0], 3); in max14916_pars_spi_diag() 38 data->glob.interrupt.reg_bits.CURR_LIM = MAX149X6_GET_BIT(rx_diag_buff[0], 2); in max14916_pars_spi_diag() 39 data->glob.interrupt.reg_bits.OVER_LD_FLT = MAX149X6_GET_BIT(rx_diag_buff[0], 1); in max14916_pars_spi_diag() 41 if (MAX149X6_GET_BIT(rx_diag_buff[0], 0)) { in max14916_pars_spi_diag() 66 MAX149X6_GET_BIT(rx_diag_buff[1], 0), MAX149X6_GET_BIT(rx_diag_buff[1], 1), in max14916_pars_spi_diag() 67 MAX149X6_GET_BIT(rx_diag_buff[1], 2), MAX149X6_GET_BIT(rx_diag_buff[1], 3), in max14916_pars_spi_diag() 68 MAX149X6_GET_BIT(rx_diag_buff[1], 4), MAX149X6_GET_BIT(rx_diag_buff[1], 5), in max14916_pars_spi_diag() 69 MAX149X6_GET_BIT(rx_diag_buff[1], 6), MAX149X6_GET_BIT(rx_diag_buff[1], 7)); in max14916_pars_spi_diag()
|
D | gpio_max14906.c | 34 data->glob.interrupt.reg_bits.SHT_VDD_FAULT = MAX149X6_GET_BIT(rx_diag_buff[0], 5); in max14906_pars_spi_diag() 36 MAX149X6_GET_BIT(rx_diag_buff[0], 4); in max14906_pars_spi_diag() 37 data->glob.interrupt.reg_bits.OW_OFF_FAULT = MAX149X6_GET_BIT(rx_diag_buff[0], 3); in max14906_pars_spi_diag() 38 data->glob.interrupt.reg_bits.CURR_LIM = MAX149X6_GET_BIT(rx_diag_buff[0], 2); in max14906_pars_spi_diag() 39 data->glob.interrupt.reg_bits.OVER_LD_FAULT = MAX149X6_GET_BIT(rx_diag_buff[0], 1); in max14906_pars_spi_diag() 41 uint8_t globlf = MAX149X6_GET_BIT(rx_diag_buff[0], 0); in max14906_pars_spi_diag() 64 MAX149X6_GET_BIT(rx_diag_buff[1], 0), MAX149X6_GET_BIT(rx_diag_buff[1], 1), in max14906_pars_spi_diag() 65 MAX149X6_GET_BIT(rx_diag_buff[1], 2), MAX149X6_GET_BIT(rx_diag_buff[1], 3)); in max14906_pars_spi_diag()
|
D | gpio_max149x6.h | 14 #define MAX149X6_GET_BIT(val, i) (0x1 & ((val) >> (i))) macro
|