Home
last modified time | relevance | path

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

/freebsd/sys/dev/hid/
H A Dhconf.c135 hconf_set_feature_control(struct hconf_softc *sc, int ctrl_id, u_int val) in hconf_set_feature_control() argument
142 KASSERT(ctrl_id >= 0 && ctrl_id < CONTROLS_COUNT, in hconf_set_feature_control()
143 ("impossible ctrl id %d", ctrl_id)); in hconf_set_feature_control()
144 fc = &sc->feature_controls[ctrl_id]; in hconf_set_feature_control()
166 i == ctrl_id ? val : ofc->val); in hconf_set_feature_control()
187 int ctrl_id = arg2; in hconf_feature_control_handler() local
191 if (ctrl_id < 0 || ctrl_id >= CONTROLS_COUNT) in hconf_feature_control_handler()
194 fc = &sc->feature_controls[ctrl_id]; in hconf_feature_control_handler()
200 error = hconf_set_feature_control(sc, ctrl_id, value); in hconf_feature_control_handler()
203 feature_control_descrs[ctrl_id].name, error); in hconf_feature_control_handler()
/freebsd/sys/contrib/dev/mediatek/mt76/mt7915/
H A Dmcu.h17 u8 ctrl_id; member
H A Dmcu.c260 if (t->ctrl.ctrl_id != THERMAL_PROTECT_ENABLE) in mt7915_mcu_rx_thermal_notify()
3086 u8 ctrl_id; in mt7915_mcu_get_temperature() member
3091 .ctrl_id = THERMAL_SENSOR_TEMP_QUERY, in mt7915_mcu_get_temperature()
3104 .ctrl_id = THERMAL_PROTECT_DUTY_CONFIG, in mt7915_mcu_set_thermal_throttling()
3141 req.ctrl.ctrl_id = THERMAL_PROTECT_DISABLE; in mt7915_mcu_set_thermal_protect()
3149 req.ctrl.ctrl_id = THERMAL_PROTECT_ENABLE; in mt7915_mcu_set_thermal_protect()
/freebsd/sys/contrib/dev/mediatek/mt76/mt7921/
H A Dmcu.c1218 u8 ctrl_id; in mt7921_mcu_get_temperature() member
1223 .ctrl_id = THERMAL_SENSOR_TEMP_QUERY, in mt7921_mcu_get_temperature()
/freebsd/sys/dev/cxgbe/firmware/
H A Dt4fw_interface.h2678 __be32 ctrl_id; member