Searched refs:arg_value (Results 1 – 3 of 3) sorted by relevance
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/include/ |
D | fixed31_32.h | 454 unsigned long long arg_value = arg.value > 0 ? arg.value : -arg.value; in dc_fixpt_floor() local 457 return (int)(arg_value >> FIXED31_32_BITS_PER_FRACTIONAL_PART); in dc_fixpt_floor() 459 return -(int)(arg_value >> FIXED31_32_BITS_PER_FRACTIONAL_PART); in dc_fixpt_floor() 468 unsigned long long arg_value = arg.value > 0 ? arg.value : -arg.value; in dc_fixpt_round() local 472 ASSERT(LLONG_MAX - (long long)arg_value >= summand); in dc_fixpt_round() 474 arg_value += summand; in dc_fixpt_round() 477 return (int)(arg_value >> FIXED31_32_BITS_PER_FRACTIONAL_PART); in dc_fixpt_round() 479 return -(int)(arg_value >> FIXED31_32_BITS_PER_FRACTIONAL_PART); in dc_fixpt_round() 488 unsigned long long arg_value = arg.value > 0 ? arg.value : -arg.value; in dc_fixpt_ceil() local 493 ASSERT(LLONG_MAX - (long long)arg_value >= summand); in dc_fixpt_ceil() [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/basics/ |
D | fixpt31_32.c | 174 unsigned long long arg_value = abs_i64(arg.value); in dc_fixpt_sqr() local 176 unsigned long long arg_int = GET_INTEGER_PART(arg_value); in dc_fixpt_sqr() 178 unsigned long long arg_fra = GET_FRACTIONAL_PART(arg_value); in dc_fixpt_sqr()
|
/kernel/linux/linux-5.10/drivers/md/ |
D | dm-verity-fec.c | 596 const char *arg_value; in verity_fec_parse_opt_args() local 606 arg_value = dm_shift_arg(as); in verity_fec_parse_opt_args() 610 r = dm_get_device(ti, arg_value, FMODE_READ, &v->fec->dev); in verity_fec_parse_opt_args() 617 if (sscanf(arg_value, "%llu%c", &num_ll, &dummy) != 1 || in verity_fec_parse_opt_args() 626 if (sscanf(arg_value, "%llu%c", &num_ll, &dummy) != 1 || in verity_fec_parse_opt_args() 635 if (sscanf(arg_value, "%hhu%c", &num_c, &dummy) != 1 || !num_c || in verity_fec_parse_opt_args()
|