Home
last modified time | relevance | path

Searched refs:datain (Results 1 – 11 of 11) sorted by relevance

/openbsd/sys/dev/pckbc/
H A Dpckbd.c990 return datain; in pckbd_scancode_translate()
992 if (datain == KBR_BREAK) { in pckbd_scancode_translate()
1009 datain = 0; in pckbd_scancode_translate()
1011 datain = pckbd_xtbl2_ext[datain]; in pckbd_scancode_translate()
1016 datain = 0; in pckbd_scancode_translate()
1018 datain = pckbd_xtbl2[datain] & ~0x80; in pckbd_scancode_translate()
1024 datain = 0; in pckbd_scancode_translate()
1026 datain = pckbd_xtbl3[datain] & ~0x80; in pckbd_scancode_translate()
1031 if (datain == 0) { in pckbd_scancode_translate()
1060 datain &= 0x7f; in pckbd_decode()
[all …]
/openbsd/sys/dev/pci/
H A Dpcscp.c356 int datain = esc->sc_datain; in pcscp_dma_intr() local
365 DMACMD_ABORT | (datain ? DMACMD_DIR : 0)); in pcscp_dma_intr()
377 DMACMD_IDLE | (datain ? DMACMD_DIR : 0)); in pcscp_dma_intr()
409 if (!datain && in pcscp_dma_intr()
419 if (datain) { in pcscp_dma_intr()
425 (datain ? DMACMD_DIR : 0)); in pcscp_dma_intr()
498 int datain, size_t *dmasize) in pcscp_dma_setup() argument
511 esc->sc_datain = datain; in pcscp_dma_setup()
565 int datain = esc->sc_datain; in pcscp_dma_go() local
586 (datain ? DMACMD_DIR : 0)); in pcscp_dma_go()
[all …]
/openbsd/sys/dev/ic/
H A Dlsi64854.c287 int datain, size_t *dmasize) in lsi64854_setup() argument
330 datain in lsi64854_setup()
350 if (datain) in lsi64854_setup()
539 int datain, size_t *dmasize) in lsi64854_setup_pp() argument
549 (long)*sc->sc_dmalen, *sc->sc_dmaaddr, datain ? 1 : 0)); in lsi64854_setup_pp()
571 datain in lsi64854_setup_pp()
594 if (datain) in lsi64854_setup_pp()
H A Dncr53c9xvar.h408 #define NCRDMA_SETUP(sc, addr, len, datain, dmasize) \ argument
409 (*(sc)->sc_glue->gl_dma_setup)((sc), (addr), (len), (datain), (dmasize))
/openbsd/sys/dev/tc/
H A Dasc_tc.c221 asc_tc_setup(sc, addr, len, datain, dmasize) in asc_tc_setup() argument
225 int datain;
234 asc->asc.sc_flags = (datain) ? ASC_ISPULLUP : 0;
237 *asc->asc.sc_dmaaddr, datain ? "IN" : "OUT"));
/openbsd/sys/arch/luna88k/dev/
H A Dlunaws.c338 omkbd_decode(void *v, int datain, u_int *type, int *dataout) in omkbd_decode() argument
340 *type = (datain & 0x80) ? WSCONS_EVENT_KEY_UP : WSCONS_EVENT_KEY_DOWN; in omkbd_decode()
341 *dataout = datain & 0x7f; in omkbd_decode()
/openbsd/sys/arch/armv7/omap/
H A Domgpio.c153 u_int32_t datain; member
298 sc->sc_regs.datain = GPIO3_DATAIN; in omgpio_attach()
328 sc->sc_regs.datain = GPIO4_DATAIN; in omgpio_attach()
488 reg = READ4(sc, sc->sc_regs.datain); in omgpio_pin_read()
/openbsd/sys/dev/microcode/siop/
H A Dosiop.ss77 ENTRY datain
91 JUMP REL(datain), IF DATA_IN
208 datain:
H A Dsiop.ss68 ENTRY datain;
128 JUMP REL(datain), WHEN DATA_IN;
287 datain:
/openbsd/sys/dev/sbus/
H A Desp_sbus.c623 int datain, size_t *dmasize) in esp_dma_setup() argument
627 return (DMA_SETUP(esc->sc_dma, addr, len, datain, dmasize)); in esp_dma_setup()
/openbsd/usr.sbin/smtpd/
H A Dsmtp_session.c108 size_t datain; member
1142 s->tx->datain += strlen(line) + 1; in smtp_io()
1143 if (s->tx->datain > env->sc_maxsize) in smtp_io()