Searched refs:start_left (Results 1 – 2 of 2) sorted by relevance
584 unsigned long start_left = 0; in stride_pg_count() local591 start_left = do_div(start, st_len); in stride_pg_count()592 if (start_left < st_pgs) in stride_pg_count()593 start_left = st_pgs - start_left; in stride_pg_count()595 start_left = 0; in stride_pg_count()602 start, end, start_left, end_left); in stride_pg_count()605 pg_count = end_left - (st_pgs - start_left); in stride_pg_count()607 pg_count = start_left + st_pgs * (end - start - 1) + end_left; in stride_pg_count()
463 int start_left, start_right, full_range; in hid_lg4ff_set_range_dfp() local501 start_left = (((full_range - range + 1) * 2047) / full_range); in hid_lg4ff_set_range_dfp()502 start_right = 0xfff - start_left; in hid_lg4ff_set_range_dfp()504 value[2] = start_left >> 4; in hid_lg4ff_set_range_dfp()507 value[5] = (start_right & 0xe) << 4 | (start_left & 0xe); in hid_lg4ff_set_range_dfp()