Home
last modified time | relevance | path

Searched refs:new_width (Results 1 – 2 of 2) sorted by relevance

/drivers/hwmon/
Daxi-fan-control.c122 u32 new_width; in axi_fan_control_set_pwm_duty() local
125 new_width = DIV_ROUND_CLOSEST(__val * pwm_period, SYSFS_PWM_MAX); in axi_fan_control_set_pwm_duty()
127 axi_iowrite(new_width, ADI_REG_PWM_WIDTH, ctl); in axi_fan_control_set_pwm_duty()
/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_resource.c1893 int new_width; in dcn20_split_stream_for_odm() local
1901 new_width = sd->h_active - sd->recout.x; in dcn20_split_stream_for_odm()
1903 sd->ratios.horz, sd->recout.width - new_width)); in dcn20_split_stream_for_odm()
1905 sd->ratios.horz_c, sd->recout.width - new_width)); in dcn20_split_stream_for_odm()
1906 sd->recout.width = new_width; in dcn20_split_stream_for_odm()
1913 if (new_width <= 16) in dcn20_split_stream_for_odm()
1915 new_width = sd->recout.width + sd->recout.x - sd->h_active; in dcn20_split_stream_for_odm()
1917 sd->ratios.horz, sd->recout.width - new_width)); in dcn20_split_stream_for_odm()
1919 sd->ratios.horz_c, sd->recout.width - new_width)); in dcn20_split_stream_for_odm()
1920 sd->recout.width = new_width; in dcn20_split_stream_for_odm()