Home
last modified time | relevance | path

Searched refs:arg_value (Results 1 – 5 of 5) sorted by relevance

/linux/drivers/gpu/drm/amd/display/include/
H A Dfixed31_32.h448 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/drivers/gpu/drm/amd/display/dc/spl/
H A Dspl_fixpt31_32.h430 unsigned long long arg_value = arg.value > 0 ? arg.value : -arg.value; in spl_fixpt_floor() local
433 return (int)(arg_value >> FIXED31_32_BITS_PER_FRACTIONAL_PART); in spl_fixpt_floor()
435 return -(int)(arg_value >> FIXED31_32_BITS_PER_FRACTIONAL_PART); in spl_fixpt_floor()
444 unsigned long long arg_value = arg.value > 0 ? arg.value : -arg.value; in spl_fixpt_round() local
448 SPL_ASSERT(LLONG_MAX - (long long)arg_value >= summand); in spl_fixpt_round()
450 arg_value += summand; in spl_fixpt_round()
453 return (int)(arg_value >> FIXED31_32_BITS_PER_FRACTIONAL_PART); in spl_fixpt_round()
455 return -(int)(arg_value >> FIXED31_32_BITS_PER_FRACTIONAL_PART); in spl_fixpt_round()
464 unsigned long long arg_value = arg.value > 0 ? arg.value : -arg.value; in spl_fixpt_ceil() local
469 SPL_ASSERT(LLONG_MAX - (long long)arg_value >= summand); in spl_fixpt_ceil()
[all …]
H A Dspl_fixpt31_32.c156 unsigned long long arg_value = abs_i64(arg.value); in spl_fixpt_sqr() local
158 unsigned long long arg_int = GET_INTEGER_PART(arg_value); in spl_fixpt_sqr()
160 unsigned long long arg_fra = GET_FRACTIONAL_PART(arg_value); in spl_fixpt_sqr()
/linux/drivers/md/
H A Ddm-verity-fec.c582 const char *arg_value; in verity_fec_parse_opt_args() local
592 arg_value = dm_shift_arg(as); in verity_fec_parse_opt_args()
596 r = dm_get_device(ti, arg_value, BLK_OPEN_READ, &v->fec->dev); in verity_fec_parse_opt_args()
603 if (sscanf(arg_value, "%llu%c", &num_ll, &dummy) != 1 || in verity_fec_parse_opt_args()
612 if (sscanf(arg_value, "%llu%c", &num_ll, &dummy) != 1 || in verity_fec_parse_opt_args()
621 if (sscanf(arg_value, "%hhu%c", &num_c, &dummy) != 1 || !num_c || in verity_fec_parse_opt_args()
/linux/drivers/gpu/drm/amd/display/dc/basics/
H A Dfixpt31_32.c176 unsigned long long arg_value = abs_i64(arg.value); in dc_fixpt_sqr() local
178 unsigned long long arg_int = GET_INTEGER_PART(arg_value); in dc_fixpt_sqr()
180 unsigned long long arg_fra = GET_FRACTIONAL_PART(arg_value); in dc_fixpt_sqr()