Home
last modified time | relevance | path

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

/linux/drivers/hwmon/
H A Daquacomputer_d5next.c571 int num_fans; member
798 if (priv->fan_ctrl_offsets && channel < priv->num_fans) { in aqc_is_visible()
837 if (channel < priv->num_fans + priv->num_flow_sensors) in aqc_is_visible()
841 if (channel < priv->num_fans) in aqc_is_visible()
848 if (channel == priv->num_fans) { in aqc_is_visible()
884 if (channel < priv->num_fans) in aqc_is_visible()
902 if (channel < priv->num_fans) in aqc_is_visible()
911 if (channel < priv->num_fans + 2) in aqc_is_visible()
921 if (channel < priv->num_fans) in aqc_is_visible()
1367 for (i = 0; i < priv->num_fans; i++) { in aqc_raw_event()
[all …]
/linux/drivers/gpu/drm/xe/
H A Dxe_late_bind_fw.c187 static int xe_late_bind_fw_num_fans(struct xe_late_bind *late_bind, u32 *num_fans) in xe_late_bind_fw_num_fans() argument
193 PCODE_MBOX(FAN_SPEED_CONTROL, FSC_READ_NUM_FANS, 0), num_fans, NULL); in xe_late_bind_fw_num_fans()
300 u32 num_fans; in __xe_late_bind_fw_init() local
313 ret = xe_late_bind_fw_num_fans(late_bind, &num_fans); in __xe_late_bind_fw_init()
318 drm_dbg(&xe->drm, "Number of Fans: %d\n", num_fans); in __xe_late_bind_fw_init()
319 if (!num_fans) in __xe_late_bind_fw_init()