Lines Matching refs:ctrl
319 struct clockmod_dom_ctrl *ctrl = in clockmod_dom_create() local
328 ksnprintf(ctrl->ctl_name, sizeof(ctrl->ctl_name), in clockmod_dom_create()
330 ctrl->ctl_value = (((nctrl - i) << shift) & 0xf); in clockmod_dom_create()
332 ctrl->ctl_value |= 1 << 4; in clockmod_dom_create()
336 (uintmax_t)ctrl->ctl_value, in clockmod_dom_create()
337 ctrl->ctl_name); in clockmod_dom_create()
422 const struct clockmod_dom_ctrl *ctrl = NULL; in clockmod_dom_sysctl_select() local
444 ctrl = &clockmod_dom_controls[i]; in clockmod_dom_sysctl_select()
445 if (strcmp(duty, ctrl->ctl_name) == 0) in clockmod_dom_sysctl_select()
455 clockmod_select(sc, ctrl); in clockmod_dom_sysctl_select()
478 const struct clockmod_dom_ctrl *ctrl) in clockmod_select() argument
483 clockmod_select_handler, __DECONST(void *, &ctrl->ctl_value), in clockmod_select()