| /drivers/gpu/drm/amd/display/dc/basics/ |
| A D | custom_float.c | 31 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 D | spl_custom_float.c | 10 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 D | spl_fixpt31_32.h | 208 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 D | spl_custom_float.h | 21 bool negative; member
|
| /drivers/net/dsa/hirschmann/ |
| A D | hellcreek_ptp.c | 135 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 D | radeon_backlight.c | 22 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 D | fixed31_32.h | 226 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 D | tsnep_ptp.c | 80 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 D | i915_pci.c | 888 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 D | zl6100.c | 86 bool negative = false; in zl6100_d2l() local 93 negative = true; in zl6100_d2l() 116 if (negative) in zl6100_d2l()
|
| A D | mp2856.c | 79 bool negative = false; in val2linear11() local 85 negative = true; in val2linear11() 104 if (negative) in val2linear11()
|
| /drivers/gpu/drm/xe/ |
| A D | xe_pci.c | 375 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 D | mediatek-mt8173-skips.txt | 23 kms_display_modes@mst-extended-mode-negative
|
| A D | mediatek-mt8183-skips.txt | 23 kms_display_modes@mst-extended-mode-negative
|
| A D | rockchip-rk3399-skips.txt | 26 kms_display_modes@mst-extended-mode-negative
|
| A D | msm-sc7180-trogdor-kingoftown-fails.txt | 6 kms_color@ctm-negative,Fail
|
| A D | msm-sc7180-trogdor-lazor-limozeen-fails.txt | 6 kms_color@ctm-negative,Fail
|
| A D | virtio_gpu-none-skips.txt | 31 kms_display_modes@mst-extended-mode-negative
|
| A D | msm-sc7180-trogdor-lazor-limozeen-skips.txt | 25 kms_display_modes@mst-extended-mode-negative
|
| A D | msm-sc7180-trogdor-kingoftown-skips.txt | 31 kms_display_modes@mst-extended-mode-negative
|
| A D | amdgpu-stoney-skips.txt | 40 kms_display_modes@mst-extended-mode-negative
|
| /drivers/hwmon/ |
| A D | lochnagar-hwmon.c | 74 bool negative = data & 0x80000000; in float_to_long() local 86 return negative ? -result : result; in float_to_long()
|
| /drivers/gpu/drm/ |
| A D | drm_color_mgmt.c | 139 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 D | radeon_legacy_encoders.c | 336 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 D | opp.h | 155 bool negative; member
|