Home
last modified time | relevance | path

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

/linux/drivers/hwmon/
H A Daxi-fan-control.c123 u32 new_width; in axi_fan_control_set_pwm_duty() local
126 new_width = DIV_ROUND_CLOSEST(__val * pwm_period, SYSFS_PWM_MAX); in axi_fan_control_set_pwm_duty()
128 axi_iowrite(new_width, ADI_REG_PWM_WIDTH, ctl); in axi_fan_control_set_pwm_duty()
/linux/tools/perf/util/
H A Dsvghelper.c87 int new_width; in open_svg() local
102 new_width = (last_time - first_time) / 5000000; in open_svg()
104 if (new_width > svg_page_width) in open_svg()
105 svg_page_width = new_width; in open_svg()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn20/
H A Ddcn20_resource.c1514 int new_width; in dcn20_split_stream_for_odm() local
1522 new_width = sd->h_active - sd->recout.x; in dcn20_split_stream_for_odm()
1524 sd->ratios.horz, sd->recout.width - new_width)); in dcn20_split_stream_for_odm()
1526 sd->ratios.horz_c, sd->recout.width - new_width)); in dcn20_split_stream_for_odm()
1527 sd->recout.width = new_width; in dcn20_split_stream_for_odm()
1534 if (new_width <= 16) in dcn20_split_stream_for_odm()
1536 new_width = sd->recout.width + sd->recout.x - sd->h_active; in dcn20_split_stream_for_odm()
1538 sd->ratios.horz, sd->recout.width - new_width)); in dcn20_split_stream_for_odm()
1540 sd->ratios.horz_c, sd->recout.width - new_width)); in dcn20_split_stream_for_odm()
1541 sd->recout.width = new_width; in dcn20_split_stream_for_odm()