Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/gpu/drm/amd/display/include/
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()
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()
487 ASSERT(LLONG_MAX - (long long)arg_value >= summand); in dc_fixpt_ceil()
489 arg_value += summand; in dc_fixpt_ceil()
492 return (int)(arg_value >> FIXED31_32_BITS_PER_FRACTIONAL_PART); in dc_fixpt_ceil()
[all …]
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/basics/
A Dfixpt31_32.c178 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-6.3-rc2/drivers/md/
A Ddm-verity-fec.c596 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()

Completed in 7 milliseconds