Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/gpu/drm/amd/display/include/
Dfixed31_32.h451 unsigned long long arg_value = arg.value > 0 ? arg.value : -arg.value; in dc_fixpt_floor() local
454 return (int)(arg_value >> FIXED31_32_BITS_PER_FRACTIONAL_PART); in dc_fixpt_floor()
456 return -(int)(arg_value >> FIXED31_32_BITS_PER_FRACTIONAL_PART); in dc_fixpt_floor()
465 unsigned long long arg_value = arg.value > 0 ? arg.value : -arg.value; in dc_fixpt_round() local
469 ASSERT(LLONG_MAX - (long long)arg_value >= summand); in dc_fixpt_round()
471 arg_value += summand; in dc_fixpt_round()
474 return (int)(arg_value >> FIXED31_32_BITS_PER_FRACTIONAL_PART); in dc_fixpt_round()
476 return -(int)(arg_value >> FIXED31_32_BITS_PER_FRACTIONAL_PART); in dc_fixpt_round()
485 unsigned long long arg_value = arg.value > 0 ? arg.value : -arg.value; in dc_fixpt_ceil() local
490 ASSERT(LLONG_MAX - (long long)arg_value >= summand); in dc_fixpt_ceil()
[all …]
/Linux-v5.4/drivers/md/
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()
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/basics/
Dfixpt31_32.c174 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()