Home
last modified time | relevance | path

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

/freebsd-13.1/sys/dev/hid/
H A Dhconf.c139 hconf_set_feature_control(struct hconf_softc *sc, int ctrl_id, u_int val) in hconf_set_feature_control() argument
146 KASSERT(ctrl_id >= 0 && ctrl_id < CONTROLS_COUNT, in hconf_set_feature_control()
147 ("impossible ctrl id %d", ctrl_id)); in hconf_set_feature_control()
148 fc = &sc->feature_controls[ctrl_id]; in hconf_set_feature_control()
170 i == ctrl_id ? val : ofc->val); in hconf_set_feature_control()
191 int ctrl_id = arg2; in hconf_feature_control_handler() local
195 if (ctrl_id < 0 || ctrl_id >= CONTROLS_COUNT) in hconf_feature_control_handler()
198 fc = &sc->feature_controls[ctrl_id]; in hconf_feature_control_handler()
204 error = hconf_set_feature_control(sc, ctrl_id, value); in hconf_feature_control_handler()
207 feature_control_descrs[ctrl_id].name, error); in hconf_feature_control_handler()
/freebsd-13.1/sys/dev/cxgbe/firmware/
H A Dt4fw_interface.h2680 __be32 ctrl_id; member