Home
last modified time | relevance | path

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

12

/drivers/gpu/drm/amd/display/dc/basics/
A Dcustom_float.c31 bool *negative, in build_custom_float() argument
44 *negative = false; in build_custom_float()
51 *negative = format->sign; in build_custom_float()
54 *negative = false; in build_custom_float()
101 bool negative, in setup_custom_float() argument
150 if (negative && format->sign) in setup_custom_float()
164 bool negative; in convert_to_custom_float_format() local
166 return build_custom_float(value, format, &negative, &mantissa, &exponenta) && in convert_to_custom_float_format()
168 negative, in convert_to_custom_float_format()
/drivers/gpu/drm/amd/display/dc/sspl/
A Dspl_custom_float.c10 bool *negative, in spl_build_custom_float() argument
23 *negative = false; in spl_build_custom_float()
30 *negative = format->sign; in spl_build_custom_float()
33 *negative = false; in spl_build_custom_float()
80 bool negative, in spl_setup_custom_float() argument
129 if (negative && format->sign) in spl_setup_custom_float()
143 bool negative; in spl_convert_to_custom_float_format() local
145 return spl_build_custom_float(value, format, &negative, &mantissa, &exponenta) && in spl_convert_to_custom_float_format()
147 negative, in spl_convert_to_custom_float_format()
A Dspl_fixpt31_32.h208 bool negative = arg.value < 0; in spl_fixpt_shr() local
210 if (negative) in spl_fixpt_shr()
213 if (negative) in spl_fixpt_shr()
501 bool negative = arg.value < 0; in spl_fixpt_truncate() local
508 if (negative) in spl_fixpt_truncate()
511 if (negative) in spl_fixpt_truncate()
A Dspl_custom_float.h21 bool negative; member
/drivers/net/dsa/hirschmann/
A Dhellcreek_ptp.c135 u16 negative = 0, addendh, addendl; in hellcreek_ptp_adjfine() local
140 negative = 1; in hellcreek_ptp_adjfine()
163 negative = (negative << 15) & 0x8000; in hellcreek_ptp_adjfine()
168 hellcreek_ptp_write(hellcreek, negative, PR_CLOCK_DRIFT_C); in hellcreek_ptp_adjfine()
182 u16 negative = 0, counth, countl; in hellcreek_ptp_adjtime() local
200 negative = 1; in hellcreek_ptp_adjtime()
210 negative = (negative << 15) & 0x8000; in hellcreek_ptp_adjtime()
215 hellcreek_ptp_write(hellcreek, negative, PR_CLOCK_OFFSET_C); in hellcreek_ptp_adjtime()
/drivers/video/fbdev/aty/
A Dradeon_backlight.c22 uint8_t negative; member
40 if (pdata->negative) in radeon_bl_get_level_brightness()
163 pdata->negative = in radeonfb_bl_init()
170 pdata->negative = pdata->negative || in radeonfb_bl_init()
/drivers/gpu/drm/amd/display/include/
A 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/net/ethernet/engleder/
A Dtsnep_ptp.c80 bool negative = false; in tsnep_ptp_adjfine() local
85 negative = true; in tsnep_ptp_adjfine()
97 if (negative) in tsnep_ptp_adjfine()
/drivers/gpu/drm/i915/
A Di915_pci.c888 static bool device_id_in_list(u16 device_id, const char *devices, bool negative) in device_id_in_list() argument
897 if (negative && strcmp(devices, "!*") == 0) in device_id_in_list()
899 if (!negative && strcmp(devices, "*") == 0) in device_id_in_list()
909 if (negative && tok[0] == '!') in device_id_in_list()
911 else if ((negative && tok[0] != '!') || in device_id_in_list()
912 (!negative && tok[0] == '!')) in device_id_in_list()
/drivers/hwmon/pmbus/
A Dzl6100.c86 bool negative = false; in zl6100_d2l() local
93 negative = true; in zl6100_d2l()
116 if (negative) in zl6100_d2l()
A Dmp2856.c79 bool negative = false; in val2linear11() local
85 negative = true; in val2linear11()
104 if (negative) in val2linear11()
/drivers/gpu/drm/xe/
A Dxe_pci.c375 static bool device_id_in_list(u16 device_id, const char *devices, bool negative) in device_id_in_list() argument
384 if (negative && strcmp(devices, "!*") == 0) in device_id_in_list()
386 if (!negative && strcmp(devices, "*") == 0) in device_id_in_list()
396 if (negative && tok[0] == '!') in device_id_in_list()
398 else if ((negative && tok[0] != '!') || in device_id_in_list()
399 (!negative && tok[0] == '!')) in device_id_in_list()
/drivers/gpu/drm/ci/xfails/
A Dmediatek-mt8173-skips.txt23 kms_display_modes@mst-extended-mode-negative
A Dmediatek-mt8183-skips.txt23 kms_display_modes@mst-extended-mode-negative
A Drockchip-rk3399-skips.txt26 kms_display_modes@mst-extended-mode-negative
A Dmsm-sc7180-trogdor-kingoftown-fails.txt6 kms_color@ctm-negative,Fail
A Dmsm-sc7180-trogdor-lazor-limozeen-fails.txt6 kms_color@ctm-negative,Fail
A Dvirtio_gpu-none-skips.txt31 kms_display_modes@mst-extended-mode-negative
A Dmsm-sc7180-trogdor-lazor-limozeen-skips.txt25 kms_display_modes@mst-extended-mode-negative
A Dmsm-sc7180-trogdor-kingoftown-skips.txt31 kms_display_modes@mst-extended-mode-negative
A Damdgpu-stoney-skips.txt40 kms_display_modes@mst-extended-mode-negative
/drivers/hwmon/
A Dlochnagar-hwmon.c74 bool negative = data & 0x80000000; in float_to_long() local
86 return negative ? -result : result; in float_to_long()
/drivers/gpu/drm/
A Ddrm_color_mgmt.c139 bool negative = !!(user_input & BIT_ULL(63)); in drm_color_ctm_s31_32_to_qm_n() local
144 val = clamp_val(mag, 0, negative ? in drm_color_ctm_s31_32_to_qm_n()
147 return negative ? -val : val; in drm_color_ctm_s31_32_to_qm_n()
/drivers/gpu/drm/radeon/
A 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()
424 pdata->negative = true; in radeon_legacy_backlight_init()
426 pdata->negative = false; in radeon_legacy_backlight_init()
431 pdata->negative = (rdev->family != CHIP_RV200 && in radeon_legacy_backlight_init()
437 pdata->negative = (pdata->negative || in radeon_legacy_backlight_init()
/drivers/gpu/drm/amd/display/dc/inc/hw/
A Dopp.h155 bool negative; member

Completed in 32 milliseconds

12