Searched refs:arg_value (Results 1 – 3 of 3) sorted by relevance
/linux-5.19.10/drivers/gpu/drm/amd/display/include/ |
D | fixed31_32.h | 448 unsigned long long arg_value = arg.value > 0 ? arg.value : -arg.value; in dc_fixpt_floor() local 451 return (int)(arg_value >> FIXED31_32_BITS_PER_FRACTIONAL_PART); in dc_fixpt_floor() 453 return -(int)(arg_value >> FIXED31_32_BITS_PER_FRACTIONAL_PART); in dc_fixpt_floor() 462 unsigned long long arg_value = arg.value > 0 ? arg.value : -arg.value; in dc_fixpt_round() local 466 ASSERT(LLONG_MAX - (long long)arg_value >= summand); in dc_fixpt_round() 468 arg_value += summand; in dc_fixpt_round() 471 return (int)(arg_value >> FIXED31_32_BITS_PER_FRACTIONAL_PART); in dc_fixpt_round() 473 return -(int)(arg_value >> FIXED31_32_BITS_PER_FRACTIONAL_PART); in dc_fixpt_round() 482 unsigned long long arg_value = arg.value > 0 ? arg.value : -arg.value; in dc_fixpt_ceil() local 487 ASSERT(LLONG_MAX - (long long)arg_value >= summand); in dc_fixpt_ceil() [all …]
|
/linux-5.19.10/drivers/gpu/drm/amd/display/dc/basics/ |
D | fixpt31_32.c | 178 unsigned long long arg_value = abs_i64(arg.value); in dc_fixpt_sqr() local 180 unsigned long long arg_int = GET_INTEGER_PART(arg_value); in dc_fixpt_sqr() 182 unsigned long long arg_fra = GET_FRACTIONAL_PART(arg_value); in dc_fixpt_sqr()
|
/linux-5.19.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()
|