Home
last modified time | relevance | path

Searched refs:ctrl (Results 1 – 25 of 82) sorted by relevance

1234

/mirbsd/src/usr.sbin/isdn/isdnd/
Dcontroller.c106 struct isdn_ctrl_state *ctrl; in init_controller_state() local
109 ctrl = malloc(sizeof *ctrl); in init_controller_state()
110 if (ctrl == NULL) { in init_controller_state()
117 memset(ctrl, 0, sizeof *ctrl); in init_controller_state()
118 strncpy(ctrl->device_name, in init_controller_state()
120 sizeof(ctrl->device_name)-1); in init_controller_state()
121 strncpy(ctrl->controller, in init_controller_state()
123 sizeof(ctrl->controller)-1); in init_controller_state()
124 ctrl->isdnif = controller; in init_controller_state()
125 ctrl->protocol = PROTOCOL_DSS1; in init_controller_state()
[all …]
Dsupport.c234 struct isdn_ctrl_state *ctrl; in setup_dialout() local
239 for (ctrl = get_first_ctrl_state(); ctrl; ctrl = NEXT_CTRL(ctrl)) { in setup_dialout()
240 if (get_controller_state(ctrl) != CTRL_UP) in setup_dialout()
244 for (i = 0; i < ctrl->nbch; i++) in setup_dialout()
246 if (ret_channel_state(ctrl, i) in setup_dialout()
250 if (i == ctrl->nbch) in setup_dialout()
254 if (ret_channel_state(ctrl, cep->isdnchannel) in setup_dialout()
264 ctrl = find_ctrl_state(cep->isdncontroller); in setup_dialout()
267 if (ctrl == NULL) in setup_dialout()
272 if (get_controller_state(ctrl) != CTRL_UP) in setup_dialout()
[all …]
Dcurses.c60 struct isdn_ctrl_state *ctrl; in init_screen() local
131 for (ctrl = get_first_ctrl_state(), i=j=0; ctrl; ctrl = NEXT_CTRL(ctrl), i++, j+=2) in init_screen()
133 if (ctrl->tei == -1) in init_screen()
136 mvwprintw(upper_w, j, H_CNTL, "%d %3d 1 ", i, ctrl->tei); in init_screen()
549 struct isdn_ctrl_state *ctrl; in display_chans() local
557 for (ctrl = get_first_ctrl_state(); ctrl; ctrl = NEXT_CTRL(ctrl)) { in display_chans()
558 if ((get_controller_state(ctrl)) != CTRL_UP) in display_chans()
560 for (j = 0; j < ctrl->nbch; j++) in display_chans()
561 if ((ret_channel_state(ctrl, j)) == CHAN_RUN) in display_chans()
620 for (ctrl = get_first_ctrl_state(), i = 0; ctrl; ctrl = NEXT_CTRL(ctrl), i++) { in display_chans()
[all …]
Dmonitor.c537 struct isdn_ctrl_state *ctrl; in monitor_handle_connect() local
642 for (ctrl = get_first_ctrl_state(); ctrl; ctrl = NEXT_CTRL(ctrl)) { in monitor_handle_connect()
647 ctrl->device_name, ctrl->controller); in monitor_handle_connect()
651 I4B_PUT_2B(ictrl, I4B_MON_ICTRL_BUSID, ctrl->isdnif); in monitor_handle_connect()
685 for (ctrl = get_first_ctrl_state(); ctrl; ctrl = NEXT_CTRL(ctrl)) { in monitor_handle_connect()
686 monitor_evnt_tei(ctrl->isdnif, ctrl->tei); in monitor_handle_connect()
687 monitor_evnt_l12stat(ctrl->isdnif, LAYER_ONE, ctrl->l1stat); in monitor_handle_connect()
688 monitor_evnt_l12stat(ctrl->isdnif, LAYER_TWO, ctrl->l2stat); in monitor_handle_connect()
759 int ctrl = I4B_GET_4B(cmd, I4B_MON_HANGUP_CTRL); in cmd_hangup() local
761 hangup_channel(ctrl, channel, source); in cmd_hangup()
[all …]
Dmsghdl.c381 struct isdn_ctrl_state * ctrl = find_ctrl_state(ml->controller); in msg_l12stat_ind() local
382 if (ctrl == NULL) { in msg_l12stat_ind()
402 ctrl->l2stat = ml->state; in msg_l12stat_ind()
403 ctrl->l1stat = ml->state; in msg_l12stat_ind()
408 ctrl->l1stat = ml->state; in msg_l12stat_ind()
409 ctrl->l2stat = ml->state; in msg_l12stat_ind()
423 struct isdn_ctrl_state *ctrl = find_ctrl_state(mt->controller); in msg_teiasg_ind() local
425 if (ctrl == NULL) { in msg_teiasg_ind()
442 ctrl->tei = mt->tei; in msg_teiasg_ind()
453 struct isdn_ctrl_state * ctrl = find_ctrl_state(isdnif); in msg_pdeact_ind() local
[all …]
/mirbsd/src/usr.sbin/httpd/src/modules/proxy/
Dproxy_ftp.c191 static int ftp_getrc(BUFF *ctrl) in ftp_getrc() argument
196 len = ap_bgets(linebuff, sizeof linebuff, ctrl); in ftp_getrc()
209 (void)ap_bskiplf(ctrl); in ftp_getrc()
217 len = ap_bgets(linebuff, sizeof linebuff, ctrl); in ftp_getrc()
221 (void)ap_bskiplf(ctrl); in ftp_getrc()
233 static int ftp_getrc_msg(BUFF *ctrl, char *msgbuf, int msglen) in ftp_getrc_msg() argument
239 len = ap_bgets(linebuff, sizeof linebuff, ctrl); in ftp_getrc_msg()
253 (void)ap_bskiplf(ctrl); in ftp_getrc_msg()
259 len = ap_bgets(linebuff, sizeof linebuff, ctrl); in ftp_getrc_msg()
263 (void)ap_bskiplf(ctrl); in ftp_getrc_msg()
[all …]
/mirbsd/src/usr.bin/window/
Dcmd.c76 case ctrl('y'): in docmd()
77 case ctrl('e'): in docmd()
78 case ctrl('u'): in docmd()
79 case ctrl('d'): in docmd()
80 case ctrl('b'): in docmd()
81 case ctrl('f'): in docmd()
82 case ctrl('s'): in docmd()
83 case ctrl('q'): in docmd()
84 case ctrl('['): in docmd()
105 case ctrl('^'): in docmd()
[all …]
Dwwwrite.c186 case ctrl('g'):
187 ttputc(ctrl('g'));
189 case ctrl('['):
Dlocal.h43 #define ESCAPEC ctrl('p')
/mirbsd/src/lib/libssl/src/crypto/evp/
Devp_locl.h107 set_asn1, get_asn1, ctrl) \ argument
116 ctrl, \
123 get_asn1, ctrl) \ argument
125 iv_len, flags, init_key, cleanup, set_asn1, get_asn1, ctrl)
129 set_asn1, get_asn1, ctrl) \ argument
132 get_asn1, ctrl)
136 set_asn1, get_asn1, ctrl) \ argument
139 get_asn1, ctrl)
143 get_asn1, ctrl) \ argument
145 iv_len, flags, init_key, cleanup, set_asn1, get_asn1, ctrl)
[all …]
/mirbsd/src/sys/dev/pci/
Dif_em_hw.c92 static void em_raise_mdi_clk(struct em_hw *hw, uint32_t *ctrl);
93 static void em_lower_mdi_clk(struct em_hw *hw, uint32_t *ctrl);
367 uint32_t ctrl; in em_reset_hw() local
401 ctrl = E1000_READ_REG(hw, CTRL); in em_reset_hw()
405 E1000_WRITE_REG_IO(hw, CTRL, (ctrl | E1000_CTRL_PHY_RST)); in em_reset_hw()
425 E1000_WRITE_REG_IO(hw, CTRL, (ctrl | E1000_CTRL_RST)); in em_reset_hw()
430 E1000_WRITE_REG(hw, CTRL_DUP, (ctrl | E1000_CTRL_RST)); in em_reset_hw()
433 E1000_WRITE_REG(hw, CTRL, (ctrl | E1000_CTRL_RST)); in em_reset_hw()
515 uint32_t ctrl; in em_init_hw() local
573 ctrl = E1000_READ_REG(hw, CTRL); in em_init_hw()
[all …]
Dautri.c1258 u_int32_t delta, dch[2], ctrl; local
1265 ctrl = AUTRI_CTRL_LOOPMODE;
1269 ctrl |= AUTRI_CTRL_SIGNED;
1275 ctrl |= AUTRI_CTRL_16BIT;
1280 ctrl |= AUTRI_CTRL_STEREO;
1296 ctrl |= AUTRI_CTRL_WAVEVOL;
1305 ctrl |= AUTRI_CTRL_MUTE_SIS;
1310 ctrl |= AUTRI_CTRL_MUTE;
1326 ctrl |= AUTRI_CTRL_MUTE_SIS;
1328 ctrl |= AUTRI_CTRL_MUTE;
[all …]
Dif_bce.c84 u_int32_t ctrl; member
156 __bced->ctrl = htole32(BCE_RXBUF_LEN); \
158 __bced->ctrl = htole32(BCE_RXBUF_LEN | CTRL_EOT); \
616 u_int32_t ctrl; local
618 ctrl = dmamap->dm_segs[seg].ds_len & CTRL_BC_MASK;
620 ctrl |= CTRL_SOF;
622 ctrl |= CTRL_EOF;
624 ctrl |= CTRL_EOT;
625 ctrl |= CTRL_IOC;
626 sc->bce_tx_ring[sc->bce_txsnext].ctrl = htole32(ctrl);
/mirbsd/src/sys/dev/raidframe/
Drf_reconstruct.c1095 RF_PerDiskReconCtrl_t *ctrl = in rf_IssueNextReadRequest() local
1098 RF_ReconBuffer_t *rbuf = ctrl->rbuf; in rf_IssueNextReadRequest()
1109 if (ctrl->headSepCounter <= in rf_IssueNextReadRequest()
1115 ctrl->ru_count++; in rf_IssueNextReadRequest()
1116 if (ctrl->ru_count < RUsPerPU) { in rf_IssueNextReadRequest()
1117 ctrl->diskOffset += sectorsPerRU; in rf_IssueNextReadRequest()
1120 ctrl->curPSID++; in rf_IssueNextReadRequest()
1121 ctrl->ru_count = 0; in rf_IssueNextReadRequest()
1124 if (ctrl->curPSID >= in rf_IssueNextReadRequest()
1127 ++(ctrl->headSepCounter)); in rf_IssueNextReadRequest()
[all …]
/mirbsd/src/sys/arch/i386/i386/
Ddkcsum.c200 int type, ctrl, adap, part, unit; in dkcsumattach() local
204 ctrl = B_CONTROLLER(bootdev); in dkcsumattach()
208 pribootdev = MAKEBOOTDEV(type, ctrl, adap, unit, part); in dkcsumattach()
216 int type, ctrl, adap, part, unit; in dkcsumattach() local
220 ctrl = B_CONTROLLER(bootdev); in dkcsumattach()
224 altbootdev = MAKEBOOTDEV(type, ctrl, adap, unit, part); in dkcsumattach()
/mirbsd/src/distrib/special/more/
Dmore.help8 d or ctrl-D Scroll k lines [current scroll size, initially 11]*
12 b or ctrl-B Skip backwards k screenfuls of text [1]
19 ctrl-L Redraw screen
/mirbsd/src/usr.sbin/inetd/
Dinetd.c437 int n, ctrl = -1; in main() local
497 ctrl = gettcp(sep); in main()
498 if (ctrl == -1) in main()
501 ctrl = sep->se_fd; in main()
503 spawn(sep, ctrl); /* spawn will unblock */ in main()
512 int ctrl; in gettcp() local
514 ctrl = accept(sep->se_fd, NULL, NULL); in gettcp()
516 fprintf(stderr, "accept, ctrl %d\n", ctrl); in gettcp()
517 if (ctrl < 0) { in gettcp()
529 if (getpeername(ctrl, (struct sockaddr *)&peer, &plen) < 0) { in gettcp()
[all …]
/mirbsd/src/sys/dev/sbus/
Dcgthree.c191 u_int8_t ctrl; member
523 u_int8_t sts, ctrl; in cgthree_reset() local
526 ctrl = FBC_READ(sc, CG3_FBC_CTRL); in cgthree_reset()
528 if (ctrl & FBC_CTRL_TIME) { in cgthree_reset()
540 ctrl &= ~(FBC_CTRL_XTAL | FBC_CTRL_DIV); in cgthree_reset()
541 ctrl |= cg3_videoctrl[i].ctrl | in cgthree_reset()
543 FBC_WRITE(sc, CG3_FBC_CTRL, ctrl); in cgthree_reset()
/mirbsd/src/sbin/atactl/
Datactl.c930 pwd.ctrl |= SEC_PASSWORD_USER; in device_sec_setpass()
932 pwd.ctrl |= SEC_PASSWORD_MASTER; in device_sec_setpass()
937 pwd.ctrl |= SEC_LEVEL_HIGH; in device_sec_setpass()
939 pwd.ctrl |= SEC_LEVEL_MAX; in device_sec_setpass()
967 pass = sec_getpass(pwd.ctrl & SEC_PASSWORD_MASTER, 1); in device_sec_setpass()
1004 pwd.ctrl |= SEC_PASSWORD_USER; in device_sec_unlock()
1006 pwd.ctrl |= SEC_PASSWORD_MASTER; in device_sec_unlock()
1010 pass = sec_getpass(pwd.ctrl & SEC_PASSWORD_MASTER, 0); in device_sec_unlock()
1046 pwd.ctrl |= SEC_PASSWORD_USER; in device_sec_erase()
1048 pwd.ctrl |= SEC_PASSWORD_MASTER; in device_sec_erase()
[all …]
Datasec.h43 u_int16_t ctrl; /* Control word */ member
/mirbsd/src/lib/libssl/src/crypto/engine/
Deng_ctrl.c195 ctrl_exists = ((e->ctrl == NULL) ? 0 : 1); in ENGINE_ctrl()
234 return e->ctrl(e, cmd, i, p, f); in ENGINE_ctrl()
264 if((e->ctrl == NULL) || ((num = ENGINE_ctrl(e, in ENGINE_ctrl_cmd()
302 if((e->ctrl == NULL) || ((num = ENGINE_ctrl(e, in ENGINE_ctrl_cmd_string()
Deng_lib.c100 e->ctrl = NULL; in engine_set_all_null()
267 e->ctrl = ctrl_f; in ENGINE_set_ctrl_function()
310 return e->ctrl; in ENGINE_get_ctrl_function()
/mirbsd/src/gnu/usr.bin/perl/ext/Encode/ucm/
Dctrl.ucm2 # $Id: ctrl.ucm,v 2.0 2004/05/16 20:55:23 dankogai Exp $
4 <code_set_name> "ascii-ctrl"
/mirbsd/src/sys/arch/sparc/dev/
Dqec.c276 qr->ctrl = QEC_CTRL_RESET;
278 if ((qr->ctrl & QEC_CTRL_RESET) == 0)
304 qr->ctrl = (qr->ctrl & QEC_CTRL_MODEMASK) | i;
/mirbsd/src/usr.bin/tip/
Dtip.c438 printf("%s", ctrl(c)); in escape()
498 ctrl(c) in ctrl() function
527 printf("%2s", ctrl(character(value(ESCAPE))));
528 printf("%-2s %c %s\r\n", ctrl(p->e_char),

1234