Home
last modified time | relevance | path

Searched refs:negative (Results 1 – 18 of 18) sorted by relevance

/drivers/gpu/drm/amd/display/dc/calcs/
Dcustom_float.c32 bool *negative, in build_custom_float() argument
48 *negative = false; in build_custom_float()
57 *negative = format->sign; in build_custom_float()
60 *negative = false; in build_custom_float()
124 bool negative, in setup_custom_float() argument
174 if (negative && format->sign) in setup_custom_float()
189 bool negative; in convert_to_custom_float_format() local
192 value, format, &negative, &mantissa, &exponenta) && in convert_to_custom_float_format()
194 format, negative, mantissa, exponenta, result); in convert_to_custom_float_format()
/drivers/net/dsa/hirschmann/
Dhellcreek_ptp.c129 u16 negative = 0, addendh, addendl; in hellcreek_ptp_adjfine() local
134 negative = 1; in hellcreek_ptp_adjfine()
157 negative = (negative << 15) & 0x8000; in hellcreek_ptp_adjfine()
162 hellcreek_ptp_write(hellcreek, negative, PR_CLOCK_DRIFT_C); in hellcreek_ptp_adjfine()
176 u16 negative = 0, counth, countl; in hellcreek_ptp_adjtime() local
194 negative = 1; in hellcreek_ptp_adjtime()
204 negative = (negative << 15) & 0x8000; in hellcreek_ptp_adjtime()
209 hellcreek_ptp_write(hellcreek, negative, PR_CLOCK_OFFSET_C); in hellcreek_ptp_adjtime()
/drivers/video/fbdev/aty/
Dradeon_backlight.c22 uint8_t negative; member
40 if (pdata->negative) in radeon_bl_get_level_brightness()
167 pdata->negative = in radeonfb_bl_init()
174 pdata->negative = pdata->negative || in radeonfb_bl_init()
/drivers/gpu/drm/amd/display/include/
Dfixed31_32.h226 bool negative = arg.value < 0; in dc_fixpt_shr() local
228 if (negative) in dc_fixpt_shr()
231 if (negative) in dc_fixpt_shr()
519 bool negative = arg.value < 0; in dc_fixpt_truncate() local
526 if (negative) in dc_fixpt_truncate()
529 if (negative) in dc_fixpt_truncate()
/drivers/hwmon/pmbus/
Dzl6100.c88 bool negative = false; in zl6100_d2l() local
95 negative = true; in zl6100_d2l()
118 if (negative) in zl6100_d2l()
Dpmbus_core.c739 bool negative = false; in pmbus_data2reg_linear() local
763 negative = true; in pmbus_data2reg_linear()
793 if (negative) in pmbus_data2reg_linear()
/drivers/gpu/drm/
Ddrm_color_mgmt.c133 bool negative = !!(user_input & BIT_ULL(63)); in drm_color_ctm_s31_32_to_qm_n() local
138 val = clamp_val(mag, 0, negative ? in drm_color_ctm_s31_32_to_qm_n()
141 return negative ? -val : val; in drm_color_ctm_s31_32_to_qm_n()
/drivers/staging/iio/resolver/
Dad2s1210.c466 u16 negative; in ad2s1210_read_raw() local
502 negative = st->rx[0] & 0x80; in ad2s1210_read_raw()
506 negative = (0xffff >> st->resolution) << st->resolution; in ad2s1210_read_raw()
507 vel |= negative; in ad2s1210_read_raw()
/drivers/hwmon/
Dlochnagar-hwmon.c76 bool negative = data & 0x80000000; in float_to_long() local
88 return negative ? -result : result; in float_to_long()
/drivers/gpu/drm/radeon/
Dradeon_legacy_encoders.c336 if (pdata->negative) in radeon_legacy_lvds_level()
364 return pdata->negative ? RADEON_MAX_BL_LEVEL - backlight_level : backlight_level; in radeon_legacy_backlight_get_brightness()
419 pdata->negative = true; in radeon_legacy_backlight_init()
421 pdata->negative = false; in radeon_legacy_backlight_init()
426 pdata->negative = (rdev->family != CHIP_RV200 && in radeon_legacy_backlight_init()
432 pdata->negative = (pdata->negative || in radeon_legacy_backlight_init()
Dradeon_mode.h288 uint8_t negative; member
/drivers/gpu/drm/amd/display/dc/inc/hw/
Dopp.h139 bool negative; member
/drivers/net/wireless/ath/ath9k/
Dar9003_phy.c242 int cur_bb_spur, negative = 0, cck_spur_freq; in ar9003_hw_spur_mitigate_mrc_cck() local
278 negative = 0; in ar9003_hw_spur_mitigate_mrc_cck()
288 negative = 1; in ar9003_hw_spur_mitigate_mrc_cck()
294 if (negative == 1) in ar9003_hw_spur_mitigate_mrc_cck()
/drivers/iio/
Dindustrialio-core.c894 bool integer_part = true, negative = false; in __iio_str_to_fixpoint() local
903 negative = true; in __iio_str_to_fixpoint()
938 if (negative) { in __iio_str_to_fixpoint()
/drivers/gpu/drm/amd/amdgpu/
Damdgpu_mode.h366 uint8_t negative; member
/drivers/mtd/parsers/
DKconfig163 erase block number. A negative value specifies a number of
/drivers/regulator/
DKconfig1423 boost regulator and IBB can be used as a negative boost regulator
/drivers/video/fbdev/
DKconfig1437 framebuffer to avoid negative impact on the OpenChrome X server.