/src/sys/arch/ia64/stand/common/ |
console.c | 53 int cons; local in function:cons_probe 58 for (cons = 0; consoles[cons] != NULL; cons++) { 59 consoles[cons]->c_flags = 0; 60 consoles[cons]->c_probe(consoles[cons]); 64 for (cons = 0; consoles[cons] != NULL && active == -1; cons++) 97 int cons; local in function:getchar 111 int cons; local in function:ischar 123 int cons; local in function:putchar 137 int cons; local in function:cons_find 155 int cons, active; local in function:cons_set [all...] |
/src/sys/arch/ews4800mips/ews4800mips/ |
cons_machdep.c | 40 #include <dev/cons.h> 48 struct cons cons; variable in typeref:struct:cons 81 cons.type = CONS_ROM; 101 cons.x = X_INIT; 103 cons.y = Y_INIT; 105 cons.y = 20; /* XXX no way to get the previous cursor position */ 120 ROM_PUTC(cons.x * ROM_FONT_WIDTH, cons.y * ROM_FONT_HEIGHT, c); 121 if (++cons.x == CONS_WIDTH) [all...] |
cons_machdep.h | 50 struct cons { struct 56 extern struct cons cons;
|
/src/sys/arch/ews4800mips/stand/common/ |
console.c | 47 struct cons cons; variable in typeref:struct:cons 57 cons.cursor = nullcursor; 58 cons.scroll = nullscroll; 59 cons.cursor_enable = false; 60 cons.erace_previous_cursor = false; 69 cons.type = CONS_FB_KSEG2; 72 cons.init(); 76 cons.type = CONS_SIO1; 78 cons.init() [all...] |
console.h | 68 struct cons { struct 133 extern struct cons cons;
|
/src/sys/external/mit/xen-include-public/dist/xen/include/public/io/ |
libxenvchan.h | 54 uint32_t cons, prod; member in struct:ring_shared
|
/src/usr.sbin/npf/npfctl/ |
npf_extmod.c | 48 npfext_consfunc_t cons; member in struct:npf_extmod 85 ext->cons = npf_extmod_sym(handle, name, "construct"); 106 (*extcall = extmod->cons(name)) != NULL) { 113 if (extmod && (*extcall = extmod->cons(name)) != NULL) {
|
/src/sys/arch/xen/xenbus/ |
xenbus_comms.c | 92 check_indexes(XENSTORE_RING_IDX cons, XENSTORE_RING_IDX prod) 94 return ((prod - cons) <= XENSTORE_RING_SIZE); 98 get_output_chunk(XENSTORE_RING_IDX cons, 103 if ((XENSTORE_RING_SIZE - (prod - cons)) < *len) 104 *len = XENSTORE_RING_SIZE - (prod - cons); 109 get_input_chunk(XENSTORE_RING_IDX cons, 113 *len = XENSTORE_RING_SIZE - MASK_XENSTORE_IDX(cons); 114 if ((prod - cons) < *len) 115 *len = prod - cons; 116 return buf + MASK_XENSTORE_IDX(cons); 123 XENSTORE_RING_IDX cons, prod; local in function:xb_write 170 XENSTORE_RING_IDX cons, prod; local in function:xb_read [all...] |
/src/sys/arch/mips/cavium/ |
mainbus.c | 114 const struct fdt_console *cons = fdtbus_get_console(); local in function:mainbus_attach_devicetree 135 if (cons != NULL) { 146 cons->consinit(&faa, uart_freq);
|
/src/sys/arch/newsmips/dev/ |
kb_hb.c | 110 int intr, cons; local in function:kb_hb_attach 125 cons = 0; 127 cons = 1; 134 aa.console = cons;
|
/src/sys/external/bsd/drm2/dist/drm/xen/ |
xen_drm_front_evtchnl.c | 91 u32 cons, prod; local in function:evtchnl_interrupt_evt 105 for (cons = page->in_cons; cons != prod; cons++) { 108 event = &XENDISPL_IN_RING_REF(page, cons); 119 page->in_cons = cons;
|
/src/games/robots/ |
auto.c | 264 float slope, cons; local in function:move_between 290 cons = slope * rob->y; 298 dy = sign(((slope * ((float) hp->x)) + cons) - 302 dx = sign(((slope * ((float) hp->x)) + cons) -
|
/src/sys/arch/newsmips/apbus/ |
kb_ap.c | 125 int cons = 0; local in function:kb_ap_attach 134 cons = 1; 150 waa.console = cons;
|
/src/usr.sbin/eeprom/ |
eehandlers.c | 421 u_char cons; local in function:ee_constype 430 cons = svp->sv_val; 431 if (doio(ktent, &cons, sizeof(cons), IO_WRITE)) 434 if (doio(ktent, &cons, sizeof(cons), IO_READ)) 438 if (svp->sv_val == cons) 441 warnx("unknown type 0x%x for %s", cons,
|
/src/sys/arch/xen/xen/ |
xencons.c | 78 #include <dev/cons.h> 400 XENCONS_RING_IDX cons, prod, len; local in function:xencons_start 403 cons = xencons_interface->out_cons; 406 while (prod != cons + sizeof(xencons_interface->out)) { 408 MASK_XENCONS_IDX(cons, XNC_OUT)) { 409 len = MASK_XENCONS_IDX(cons, XNC_OUT) - 449 XENCONS_RING_IDX cons, prod, len; local in function:xencons_handler 460 cons = xencons_interface->in_cons; 463 while (cons != prod) { 464 if (MASK_XENCONS_IDX(cons, XNC_IN) 548 XENCONS_RING_IDX cons, prod; local in function:xenconscn_getc 596 XENCONS_RING_IDX cons, prod; local in function:xenconscn_putc [all...] |
/src/sys/arch/evbarm/fdt/ |
fdt_machdep.c | 76 #include <dev/cons.h> 437 const struct fdt_console *cons = fdtbus_get_console(); local in function:consinit 441 if (initialized || cons == NULL) 450 cons->consinit(&faa, uart_freq);
|
/src/sys/dev/pci/ |
if_age.c | 1339 int cons, prog; local in function:age_txintr 1352 cons = sc->age_cdata.age_tx_cons; 1353 for (prog = 0; cons != tpd_cons; AGE_DESC_INC(cons, AGE_TX_RING_CNT)) { 1359 txd = &sc->age_cdata.age_txdesc[cons]; 1365 cons * sizeof(struct tx_desc), sizeof(struct tx_desc), 1380 sc->age_cdata.age_tx_cons = cons;
|
if_ale.c | 1332 uint32_t cons, prod; local in function:ale_txeof 1347 cons = sc->ale_cdata.ale_tx_cons; 1352 for (prog = 0; cons != prod; prog++, 1353 ALE_DESC_INC(cons, ALE_TX_RING_CNT)) { 1359 txd = &sc->ale_cdata.ale_txdesc[cons]; 1369 sc->ale_cdata.ale_tx_cons = cons; 1387 rx_page->cons += roundup(length + sizeof(struct rx_rs), 1389 if (rx_page->cons >= ALE_RX_PAGE_SZ) { 1394 rx_page->cons = 0; 1480 if (rx_page->cons >= prod [all...] |
if_vte.c | 1007 int cons, prog; local in function:vte_txeof 1017 cons = sc->vte_cdata.vte_tx_cons; 1023 txd = &sc->vte_cdata.vte_txdesc[cons]; 1039 VTE_DESC_INC(cons, VTE_TX_RING_CNT); 1043 sc->vte_cdata.vte_tx_cons = cons; 1104 int cons, prog; local in function:vte_rxeof 1110 cons = sc->vte_cdata.vte_rx_cons; 1114 VTE_DESC_INC(cons, VTE_RX_RING_CNT)) { 1115 rxd = &sc->vte_cdata.vte_rxdesc[cons]; 1118 cons, rxd, rxd->rx_m, status [all...] |
if_cas.c | 2121 uint32_t cons, comp; local in function:cas_tint 2124 cons = sc->sc_tx_cons; 2125 while (cons != comp) { 2126 sd = &sc->sc_txd[cons]; 2136 if (++cons == CAS_NTXDESC) 2137 cons = 0; 2139 sc->sc_tx_cons = cons;
|
if_txp.c | 911 uint32_t cons = r->r_cons, cnt = r->r_cnt; local in function:txp_tx_reclaim 912 struct txp_tx_desc *txd = r->r_desc + cons; 916 while (cons != idx) { 921 cons * sizeof(struct txp_tx_desc), 944 if (++cons == TX_ENTRIES) { 946 cons = 0; 953 r->r_cons = cons;
|
if_jme.c | 1523 int cons, cons0, nsegs, seg; local in function:jme_txeof 1528 printf("jme_txeof cons %d prod %d\n", 1541 for (cons = sc->jme_tx_cons; cons != sc->jme_tx_prod; ) { 1542 desc = &sc->jme_txring[cons]; 1543 printf("ring[%d] 0x%x 0x%x 0x%x 0x%x\n", cons, 1545 JME_DESC_INC(cons, JME_NBUFS); 1549 cons = sc->jme_tx_cons; 1550 if (cons == sc->jme_tx_prod) 1557 for (; cons != sc->jme_tx_prod;) [all...] |
if_rge.c | 1410 int cons, idx, prod; local in function:rge_txeof 1414 cons = sc->rge_ldata.rge_txq_considx; 1416 while (prod != cons) { 1417 txq = &sc->rge_ldata.rge_txq[cons]; 1452 cons = RGE_NEXT_TX_DESC(idx); 1459 sc->rge_ldata.rge_txq_considx = cons;
|
/src/sys/arch/riscv/riscv/ |
riscv_machdep.c | 59 #include <dev/cons.h> 1039 const struct fdt_console *cons = fdtbus_get_console(); local in function:consinit 1042 if (initialized || cons == NULL) 1055 cons->consinit(&faa, uart_freq);
|
/src/sys/arch/sparc64/dev/ |
vnet.c | 766 u_int cons; local in function:vnet_rx_vio_desc_data 816 cons = sc->sc_tx_cons & (sc->sc_vd->vd_nentries - 1); 818 map->lm_slot[sc->sc_vsd[cons].vsd_map_idx].entry = 0; 821 pool_put(&sc->sc_pool, sc->sc_vsd[cons].vsd_buf); 822 sc->sc_vsd[cons].vsd_buf = NULL; 931 u_int cons, count; local in function:vnet_rx_vio_dring_data 935 cons = sc->sc_tx_cons & (sc->sc_vd->vd_nentries - 1); 936 while (sc->sc_vd->vd_desc[cons].hdr.dstate == VIO_DESC_DONE) { 937 map->lm_slot[sc->sc_vsd[cons].vsd_map_idx].entry = 0; 940 pool_put(&sc->sc_pool, sc->sc_vsd[cons].vsd_buf) [all...] |