Searched refs:lsb_idx (Results 1 – 2 of 2) sorted by relevance
508 u32 data, lsb_idx; in max31827_init_client() local562 lsb_idx = __ffs(data); in max31827_init_client()564 if (hweight32(data) != 1 || lsb_idx > 4) { in max31827_init_client()569 res |= FIELD_PREP(MAX31827_CONFIGURATION_FLT_Q_MASK, lsb_idx); in max31827_init_client()
1483 u8 lsb_idx; in show_in() local1494 lsb_idx = IN_LSB_SHIFT_IDX[index][IN_LSB_IDX]; in show_in()1496 val |= (data->in_lsb[lsb_idx][nr] >> in show_in()1520 u8 lsb_idx; in store_in() local1532 lsb_idx = IN_LSB_SHIFT_IDX[index][IN_LSB_IDX]; in store_in()1533 tmp = w83795_read(client, IN_LSB_REG(lsb_idx, nr)); in store_in()1536 w83795_write(client, IN_LSB_REG(lsb_idx, nr), tmp); in store_in()1537 data->in_lsb[lsb_idx][nr] = tmp; in store_in()