Searched defs:ctrl (Results 1 - 25 of 110) sorted by relevance

12345

/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_adsp.c119 adsp_ctrl(uint8_t ctrl) argument
125 if (ctrl & AD_ACKREQ)
128 if (ctrl & AD_EOM) {
132 if (ctrl & AD_ATT) {
136 if (ctrl & AD_CTRL) {
138 adsp_ctrl_msg[ctrl & AD_CTRL_MASK]);
/illumos-gate/usr/src/uts/sun4u/opl/io/oplmsu/
H A Doplmsu_ioctl_uwp.c316 ctrl_t *ctrl; local
347 ctrl = (ctrl_t *)uwq->q_ptr;
348 if (ctrl != NULL) {
349 if (ctrl->node_type != MSU_NODE_USER) {
353 "ctrl node type = %d", ctrl->node_type);
433 if (ctrl != NULL) {
435 ctrl->wait_queue = uwq;
H A Doplmsu_ioctl_lrp.c146 ctrl_t *ctrl; local
178 ctrl = oplmsu_uinst->user_ctrl;
181 if (ctrl != NULL) {
183 (void) putq(RD(ctrl->queue), hndl_mp);
224 if (ctrl != NULL) {
228 temp_queue = WR(ctrl->queue);
480 ctrl_t *ctrl; local
485 ctrl = oplmsu_uinst->user_ctrl;
486 if (ctrl != NULL) {
487 dst_queue = RD(ctrl
617 ctrl_t *ctrl; local
[all...]
/illumos-gate/usr/src/cmd/print/printmgr/com/sun/admin/pm/client/
H A DpmHelpIndexPanel.java52 public pmHelpIndexPanel(pmHelpController ctrl) { argument
53 controller = ctrl;
H A DpmHelpSearchPanel.java52 public pmHelpSearchPanel(pmHelpController ctrl) { argument
53 controller = ctrl;
H A DpmHelpDetailPanel.java76 public pmHelpDetailPanel(pmHelpController ctrl) { argument
78 controller = ctrl;
/illumos-gate/usr/src/uts/common/io/audio/impl/
H A Daudio_ctrl.c42 * ctrl - The control who's names that will be free'd.
45 audio_control_freenames(audio_ctrl_t *ctrl) argument
49 if (ctrl->ctrl_name != NULL)
50 strfree((char *)ctrl->ctrl_name);
51 ctrl->ctrl_name = NULL;
54 if (ctrl->ctrl_enum[indx] != NULL) {
55 strfree((char *)ctrl->ctrl_enum[indx]);
56 ctrl->ctrl_enum[indx] = NULL;
86 audio_ctrl_t *ctrl; local
115 ctrl
220 audio_dev_del_control(audio_ctrl_t *ctrl) argument
283 audio_control_read(audio_ctrl_t *ctrl, uint64_t *value) argument
324 audio_control_write(audio_ctrl_t *ctrl, uint64_t value) argument
361 audio_ctrl_t *ctrl; local
389 audio_ctrl_t *ctrl; local
[all...]
/illumos-gate/usr/src/tools/cscope-fast/
H A Dmouse.c41 #define ctrl(x) (x & 037) macro
174 if (p1 == ctrl('Q') || p1 == ctrl('S')) {
177 if (p2 == ctrl('Q') || p2 == ctrl('S')) {
212 case ctrl('_'): /* click */
222 case ctrl(']'): /* sweep */
246 if (c == ctrl('A')) {
H A Dconstants.h41 #define ctrl(x) (x & 037) /* control character macro */ macro
/illumos-gate/usr/src/uts/common/io/audio/ac97/
H A Dac97_cmi.c122 ac97_ctrl_t *ctrl; local
135 ctrl = ac97_control_find(ac, AUDIO_CTRL_ID_MICBOOST);
136 if (ctrl) {
137 if (ctrl->actrl_initval) {
246 ac97_ctrl_t *ctrl; local
257 ctrl = ac97_control_find(ac, AUDIO_CTRL_ID_VOLUME);
258 if (ctrl) {
259 ac97_control_remove(ctrl);
261 ctrl = ac97_control_find(ac, AUDIO_CTRL_ID_FRONT);
262 if (ctrl) {
[all...]
H A Dac97_alc.c166 ac97_ctrl_t *ctrl; local
169 ctrl = ac97_control_find(ac, AUDIO_CTRL_ID_VOLUME);
170 if (ctrl != NULL) {
171 ctrl->actrl_write_fn = alc650_set_pcm;
/illumos-gate/usr/src/uts/i86pc/os/cpupm/
H A Dcpupm_throttle.c73 * Write the _PTC ctrl register. How it is written, depends upon the _PTC
77 write_ctrl(cpu_acpi_handle_t handle, uint32_t ctrl) argument
93 * Left shift ctrl by 1 to allign with bits 1-4 of MSR
97 reg |= ctrl;
102 ret = cpu_acpi_write_port(ptc_ctrl->cr_address, ctrl,
113 DTRACE_PROBE1(throttle_ctrl_write, uint32_t, ctrl);
163 uint32_t ctrl; local
175 ctrl = CPU_ACPI_TSTATE_CTRL(req_tstate);
176 if (write_ctrl(handle, ctrl) != 0) {
H A Dpwrnow.c85 * Write the ctrl register.
88 write_ctrl(cpu_acpi_handle_t handle, uint32_t ctrl) argument
97 reg = ctrl;
107 DTRACE_PROBE1(pwrnow_ctrl_write, uint32_t, ctrl);
120 uint32_t ctrl; local
131 ctrl = CPU_ACPI_PSTATE_CTRL(req_pstate);
132 write_ctrl(handle, ctrl);
H A Dspeedstep.c89 * Write the ctrl register. How it is written, depends upon the _PCT
93 write_ctrl(cpu_acpi_handle_t handle, uint32_t ctrl) argument
108 reg |= ctrl;
113 (void) cpu_acpi_write_port(pct_ctrl->cr_address, ctrl,
123 DTRACE_PROBE1(ess_ctrl_write, uint32_t, ctrl);
136 uint32_t ctrl; local
146 ctrl = CPU_ACPI_PSTATE_CTRL(req_pstate);
147 write_ctrl(handle, ctrl);
/illumos-gate/usr/src/uts/common/io/e1000api/
H A De1000_82540.c272 u32 ctrl, manc; local
290 ctrl = E1000_READ_REG(hw, E1000_CTRL);
296 E1000_WRITE_REG(hw, E1000_CTRL_DUP, ctrl | E1000_CTRL_RST);
304 E1000_WRITE_REG_IO(hw, E1000_CTRL, ctrl | E1000_CTRL_RST);
413 u32 ctrl; local
419 ctrl = E1000_READ_REG(hw, E1000_CTRL);
420 ctrl |= E1000_CTRL_SLU;
421 ctrl &= ~(E1000_CTRL_FRCSPD | E1000_CTRL_FRCDPX);
422 E1000_WRITE_REG(hw, E1000_CTRL, ctrl);
H A De1000_82542.c196 u32 ctrl; local
218 ctrl = E1000_READ_REG(hw, E1000_CTRL);
221 E1000_WRITE_REG(hw, E1000_CTRL, ctrl | E1000_CTRL_RST);
248 u32 ctrl; local
289 ctrl = E1000_READ_REG(hw, E1000_CTRL);
290 E1000_WRITE_REG(hw, E1000_CTRL, ctrl | E1000_CTRL_PRIOR);
375 u32 ctrl = E1000_READ_REG(hw, E1000_CTRL); local
379 ctrl |= E1000_CTRL_SWDPIN0;
380 ctrl |= E1000_CTRL_SWDPIO0;
381 E1000_WRITE_REG(hw, E1000_CTRL, ctrl);
394 u32 ctrl = E1000_READ_REG(hw, E1000_CTRL); local
[all...]
H A De1000_80003es2lan.c821 u32 ctrl; local
843 ctrl = E1000_READ_REG(hw, E1000_CTRL);
850 E1000_WRITE_REG(hw, E1000_CTRL, ctrl | E1000_CTRL_RST);
1191 u32 ctrl; local
1197 ctrl = E1000_READ_REG(hw, E1000_CTRL);
1198 ctrl |= E1000_CTRL_SLU;
1199 ctrl &= ~(E1000_CTRL_FRCSPD | E1000_CTRL_FRCDPX);
1200 E1000_WRITE_REG(hw, E1000_CTRL, ctrl);
H A De1000_82541.c298 u32 ledctl, ctrl, manc; local
315 ctrl = E1000_READ_REG(hw, E1000_CTRL);
319 E1000_WRITE_REG(hw, E1000_CTRL, (ctrl | E1000_CTRL_PHY_RST));
333 E1000_WRITE_REG_IO(hw, E1000_CTRL, ctrl | E1000_CTRL_RST);
336 E1000_WRITE_REG(hw, E1000_CTRL, ctrl | E1000_CTRL_RST);
538 u32 ctrl, ledctl; local
542 ctrl = E1000_READ_REG(hw, E1000_CTRL);
543 ctrl |= E1000_CTRL_SLU;
544 ctrl &= ~(E1000_CTRL_FRCSPD | E1000_CTRL_FRCDPX);
545 E1000_WRITE_REG(hw, E1000_CTRL, ctrl);
[all...]
H A De1000_82543.c69 static void e1000_lower_mdi_clk_82543(struct e1000_hw *hw, u32 *ctrl);
71 static void e1000_raise_mdi_clk_82543(struct e1000_hw *hw, u32 *ctrl);
585 * @ctrl: pointer to the control register
590 static void e1000_raise_mdi_clk_82543(struct e1000_hw *hw, u32 *ctrl) argument
596 E1000_WRITE_REG(hw, E1000_CTRL, (*ctrl | E1000_CTRL_MDC));
604 * @ctrl: pointer to the control register
609 static void e1000_lower_mdi_clk_82543(struct e1000_hw *hw, u32 *ctrl) argument
615 E1000_WRITE_REG(hw, E1000_CTRL, (*ctrl & ~E1000_CTRL_MDC));
633 u32 ctrl, mask; local
644 ctrl
684 u32 ctrl; local
903 u32 ctrl; local
960 u32 ctrl; local
1062 u32 ctrl; local
1150 u32 ctrl; local
1336 u32 rxcw, ctrl, status; local
1405 u32 ctrl; local
1482 u32 ctrl = E1000_READ_REG(hw, E1000_CTRL); local
1509 u32 ctrl = E1000_READ_REG(hw, E1000_CTRL); local
[all...]
H A De1000_i210.c829 u32 wuc, mdicnfg, ctrl, ctrl_ext, reg_val; local
857 ctrl = E1000_READ_REG(hw, E1000_CTRL);
858 E1000_WRITE_REG(hw, E1000_CTRL, ctrl|E1000_CTRL_PHY_RST);
H A De1000_vf.c263 u32 ctrl, msgbuf[3]; local
269 ctrl = E1000_READ_REG(hw, E1000_CTRL);
270 E1000_WRITE_REG(hw, E1000_CTRL, ctrl | E1000_CTRL_RST);
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/plugins/
H A Dpppoe.c50 static int (*old_sys_read_packet)(int retv, struct strbuf *ctrl,
306 handle_pppoe_input(const ppptun_atype *pma, struct strbuf *ctrl, argument
336 plp = (struct ppp_ls *)ctrl->buf;
339 ctrl->len = sizeof (*plp);
409 handle_action(struct ppptun_control *ptc, struct strbuf *ctrl, argument
414 return (handle_pppoe_input(&ptc->ptc_address, ctrl, data));
430 pppoe_sys_read_packet(int retv, struct strbuf *ctrl, struct strbuf *data, argument
435 if (retv >= 0 && !(retv & MORECTL) && ctrl->len >= sizeof (uint32_t)) {
437 ptc = (struct ppptun_control *)ctrl->buf;
441 if (ctrl
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/pppoe/
H A Dpppoed.c262 struct strbuf ctrl; local
290 ctrl.len = sizeof (*ptc);
291 ctrl.buf = (caddr_t)ptc;
294 if (putmsg(tunfd, &ctrl, &data, 0) < 0) {
372 ctrl.len = sizeof (*ptc);
373 ctrl.buf = (caddr_t)ptc;
376 if (putmsg(tunfd, &ctrl, &data, 0) < 0) {
388 struct strbuf ctrl; local
395 ctrl.maxlen = PKT_OCTL_LEN;
396 ctrl
[all...]
/illumos-gate/usr/src/cmd/tip/
H A Dtip.c409 (void) printf("%s", ctrl(c));
465 ctrl(char c) function
492 (void) printf("%2s", ctrl(character(value(ESCAPE))));
493 (void) printf("%-2s %c %s\r\n", ctrl(p->e_char),
/illumos-gate/usr/src/uts/common/io/usb/hcd/ehci/
H A Dehci_intr.c62 uint_t ctrl);
429 uint_t ctrl; local
454 ctrl = (uint_t)Get_QTD(qtd->qtd_ctrl);
461 if ((error = ehci_check_for_error(ehcip, pp, tw, qtd, ctrl)) !=
488 uint_t ctrl)
494 "ehci_check_for_error: qtd = 0x%p ctrl = 0x%x",
495 (void *)qtd, ctrl);
506 status = ctrl & EHCI_QTD_CTRL_XACT_STATUS & ~EHCI_QTD_CTRL_HALTED_XACT;
539 if (ctrl & EHCI_QTD_CTRL_HALTED_XACT && (ctrl
483 ehci_check_for_error( ehci_state_t *ehcip, ehci_pipe_private_t *pp, ehci_trans_wrapper_t *tw, ehci_qtd_t *qtd, uint_t ctrl) argument
[all...]

Completed in 246 milliseconds

12345