Searched refs:int_idx (Results 1 – 2 of 2) sorted by relevance
257 int ret, new_int_time, int_idx; in veml6030_set_intgrn_tm() local266 int_idx = 5; in veml6030_set_intgrn_tm()270 int_idx = 4; in veml6030_set_intgrn_tm()274 int_idx = 3; in veml6030_set_intgrn_tm()278 int_idx = 2; in veml6030_set_intgrn_tm()282 int_idx = 1; in veml6030_set_intgrn_tm()286 int_idx = 0; in veml6030_set_intgrn_tm()305 if (data->cur_integration_time < int_idx) in veml6030_set_intgrn_tm()306 data->cur_resolution <<= int_idx - data->cur_integration_time; in veml6030_set_intgrn_tm()307 else if (data->cur_integration_time > int_idx) in veml6030_set_intgrn_tm()[all …]
3575 int rc, int_idx; in hl_interrupt_wait_ioctl() local3602 int_idx = interrupt_id - first_interrupt + prop->user_dec_intr_count; in hl_interrupt_wait_ioctl()3603 interrupt = &hdev->user_interrupt[int_idx]; in hl_interrupt_wait_ioctl()