Home
last modified time | relevance | path

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

/openbmc/linux/drivers/macintosh/
H A Dwindfarm_fcu_controls.c86 static int wf_fcu_read_reg(struct wf_fcu_priv *pv, int reg, in wf_fcu_read_reg() function
175 rc = wf_fcu_read_reg(pv, 0xb, &failure, 1); in wf_fcu_fan_get_rpm()
180 rc = wf_fcu_read_reg(pv, 0xd, &active, 1); in wf_fcu_fan_get_rpm()
192 rc = wf_fcu_read_reg(pv, reg_base + (fan->id * 2), buf, 2); in wf_fcu_fan_get_rpm()
232 rc = wf_fcu_read_reg(pv, 0x2b, &failure, 1); in wf_fcu_fan_get_pwm()
237 rc = wf_fcu_read_reg(pv, 0x2d, &active, 1); in wf_fcu_fan_get_pwm()
243 rc = wf_fcu_read_reg(pv, 0x30 + (fan->id * 2), buf, 1); in wf_fcu_fan_get_pwm()
506 rc = wf_fcu_read_reg(pv, 0, &buf, 1); in wf_fcu_init_chip()