Searched refs:hw_level (Results 1 – 4 of 4) sorted by relevance
/drivers/gpu/drm/i915/ |
D | intel_panel.c | 445 u32 hw_level; in clamp_user_to_hw() local 447 hw_level = scale(user_level, 0, user_max, 0, panel->backlight.max); in clamp_user_to_hw() 448 hw_level = clamp(hw_level, panel->backlight.min, panel->backlight.max); in clamp_user_to_hw() 450 return hw_level; in clamp_user_to_hw() 455 u32 hw_level, u32 user_max) in scale_hw_to_user() argument 459 return scale(hw_level, panel->backlight.min, panel->backlight.max, in scale_hw_to_user() 630 u32 hw_level; in intel_panel_set_backlight() local 640 hw_level = scale_user_to_hw(connector, user_level, user_max); in intel_panel_set_backlight() 641 panel->backlight.level = hw_level; in intel_panel_set_backlight() 644 intel_panel_actually_set_backlight(connector, hw_level); in intel_panel_set_backlight() [all …]
|
/drivers/infiniband/hw/ehca/ |
D | ehca_main.c | 78 module_param_named(hw_level, ehca_hw_level, int, S_IRUGO); 94 MODULE_PARM_DESC(hw_level, 333 shca->hw_level = 0x10 | (revid + 1); in ehca_sense_attributes() 335 shca->hw_level = 0x14; in ehca_sense_attributes() 338 shca->hw_level = 0x21; in ehca_sense_attributes() 340 shca->hw_level = 0x22; in ehca_sense_attributes() 342 shca->hw_level = 0x23; in ehca_sense_attributes() 345 if (!shca->hw_level) { in ehca_sense_attributes() 348 shca->hw_level = 0x22; in ehca_sense_attributes() 351 shca->hw_level = ehca_hw_level; in ehca_sense_attributes() [all …]
|
D | ehca_classes.h | 117 int hw_level; member
|
D | ehca_qp.c | 1383 (shca->hw_level >= 0x22)) { in internal_modify_qp()
|