Home
last modified time | relevance | path

Searched refs:subtrahend (Results 1 – 8 of 8) sorted by relevance

/linux/include/linux/
H A Doverflow.h306 static inline size_t __must_check size_sub(size_t minuend, size_t subtrahend) in size_sub() argument
310 if (minuend == SIZE_MAX || subtrahend == SIZE_MAX || in size_sub()
311 check_sub_overflow(minuend, subtrahend, &bytes)) in size_sub()
/linux/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/
H A Ddml2_core_utils.h27 unsigned int dml2_core_utils_log_and_substract_if_non_zero(unsigned int a, unsigned int subtrahend);
H A Ddml2_core_utils.c412 unsigned int dml2_core_utils_log_and_substract_if_non_zero(unsigned int a, unsigned int subtrahend) in dml2_core_utils_log_and_substract_if_non_zero() argument
417 return (math_log2_approx(a) - subtrahend); in dml2_core_utils_log_and_substract_if_non_zero()
H A Ddml2_core_shared.c734 static unsigned int log_and_substract_if_non_zero(unsigned int a, unsigned int subtrahend);
11438 static unsigned int log_and_substract_if_non_zero(unsigned int a, unsigned int subtrahend) in log_and_substract_if_non_zero() argument
11443 return (math_log2_approx(a) - subtrahend); in log_and_substract_if_non_zero()
H A Ddml2_core_dcn4_calcs.c11750 static unsigned int log_and_substract_if_non_zero(unsigned int a, unsigned int subtrahend) in log_and_substract_if_non_zero() argument
11755 return (math_log2_approx(a) - subtrahend); in log_and_substract_if_non_zero()
/linux/drivers/md/dm-vdo/
H A Dvdo.c1448 struct bio_stats subtrahend) in subtract_bio_stats() argument
1451 .read = minuend.read - subtrahend.read, in subtract_bio_stats()
1452 .write = minuend.write - subtrahend.write, in subtract_bio_stats()
1453 .discard = minuend.discard - subtrahend.discard, in subtract_bio_stats()
1454 .flush = minuend.flush - subtrahend.flush, in subtract_bio_stats()
1455 .empty_flush = minuend.empty_flush - subtrahend.empty_flush, in subtract_bio_stats()
1456 .fua = minuend.fua - subtrahend.fua, in subtract_bio_stats()
/linux/sound/firewire/
H A Damdtp-stream.c905 static inline u32 decrement_ohci_cycle_count(u32 minuend, u32 subtrahend) in decrement_ohci_cycle_count() argument
907 if (minuend < subtrahend) in decrement_ohci_cycle_count()
910 return minuend - subtrahend; in decrement_ohci_cycle_count()
/linux/drivers/media/platform/allegro-dvt/
H A Dallegro-core.c1174 static s16 get_qp_delta(int minuend, int subtrahend) in get_qp_delta() argument
1176 if (minuend == subtrahend) in get_qp_delta()
1179 return minuend - subtrahend; in get_qp_delta()