Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/hwmon/
A Dg760a.c47 u8 set_cnt; /* PWM (period) count number; 0xff stops fan */ member
93 data->set_cnt = g760a_read_value(client, G760A_REG_SET_CNT); in g760a_update_client()
135 return sprintf(buf, "%d\n", PWM_FROM_CNT(data->set_cnt)); in pwm1_show()
149 data->set_cnt = PWM_TO_CNT(clamp_val(val, 0, 255)); in pwm1_store()
150 g760a_write_value(client, G760A_REG_SET_CNT, data->set_cnt); in pwm1_store()
A Dg762.c131 u8 set_cnt; /* controls fan rotation speed in closed-loop mode */ member
210 data->set_cnt = ret; in g762_update_client()
429 if (data->set_cnt == 0xff) in do_set_pwm_enable()
511 data->set_cnt = cnt_from_rpm(val, data->clk_freq, in do_set_fan_target()
516 data->set_cnt); in do_set_fan_target()
937 rpm = rpm_from_cnt(data->set_cnt, data->clk_freq, in fan1_target_show()
/linux-6.3-rc2/kernel/bpf/
A Dbtf.c7589 u32 set_cnt; in BTF_ID_LIST_GLOBAL() local
7633 set_cnt = set ? set->cnt : 0; in BTF_ID_LIST_GLOBAL()
7635 if (set_cnt > U32_MAX - add_set->cnt) { in BTF_ID_LIST_GLOBAL()
7640 if (set_cnt + add_set->cnt > BTF_KFUNC_SET_MAX_CNT) { in BTF_ID_LIST_GLOBAL()
7647 offsetof(struct btf_id_set8, pairs[set_cnt + add_set->cnt]), in BTF_ID_LIST_GLOBAL()

Completed in 21 milliseconds