Searched refs:set_cnt (Results 1 – 1 of 1) sorted by relevance
58 u8 set_cnt; /* PWM (period) count number; 0xff stops fan */ member118 data->set_cnt = g760a_read_value(client, G760A_REG_SET_CNT); in g760a_update_client()160 return sprintf(buf, "%d\n", PWM_FROM_CNT(data->set_cnt)); in get_pwm()174 data->set_cnt = PWM_TO_CNT(clamp_val(val, 0, 255)); in set_pwm()175 g760a_write_value(client, G760A_REG_SET_CNT, data->set_cnt); in set_pwm()