Searched refs:sc_cmdlen (Results 1 – 5 of 5) sorted by relevance
/netbsd/sys/dev/i2c/ |
H A D | at24cxx.c | 82 int sc_cmdlen; member 194 sc->sc_cmdlen = 1; in seeprom_attach() 203 sc->sc_cmdlen = 2; in seeprom_attach() 222 sc->sc_cmdlen = 1; in seeprom_attach() 283 if (sc->sc_cmdlen == 1) { in seeprom_read() 295 addr, cmdbuf, sc->sc_cmdlen, in seeprom_read() 334 if (sc->sc_cmdlen == 1) { in seeprom_write() 350 addr, cmdbuf, sc->sc_cmdlen, in seeprom_write() 390 sc->sc_address, cmdbuf, sc->sc_cmdlen, &dummy, 1, 0); in seeprom_wait_idle()
|
/netbsd/sys/arch/mips/ingenic/ |
H A D | jziic.c | 77 uint32_t sc_cmdlen, sc_buflen; member 438 sc->sc_cmdlen = cmdlen; in jziic_i2c_exec_intr() 448 sc->sc_cmdlen = cmdlen + buflen; in jziic_i2c_exec_intr() 479 bail = 100 * sc->sc_cmdlen; in jziic_i2c_exec_intr() 480 while ((sc->sc_cmdptr < sc->sc_cmdlen) && (bail > 0)) { in jziic_i2c_exec_intr() 491 if (sc->sc_cmdptr < sc->sc_cmdlen) { in jziic_i2c_exec_intr() 493 DPRINTF("sent %d of %d\n", sc->sc_cmdptr, sc->sc_cmdlen); in jziic_i2c_exec_intr() 570 (sc->sc_cmdptr < sc->sc_cmdlen)) { in jziic_intr() 580 if (sc->sc_cmdptr >= sc->sc_cmdlen) { in jziic_intr()
|
/netbsd/sys/arch/sparc/dev/ |
H A D | tctrl.c | 141 uint8_t sc_cmdlen; member 357 if (sc->sc_cmdoff >= sc->sc_cmdlen) { in tctrl_intr() 432 if (sc->sc_cmdlen > 0) { in tctrl_intr() 440 if ((sc->sc_cmdoff < sc->sc_cmdlen) && (v & TS102_UCTRL_STS_TXNF_STA)) { in tctrl_intr() 451 if (sc->sc_cmdoff == sc->sc_cmdlen) { in tctrl_intr() 886 sc->sc_cmdlen = req->cmdlen; in tadpole_request() 908 int timeout = 5 * (sc->sc_rsplen + sc->sc_cmdlen); in tadpole_request() 912 (sc->sc_cmdoff != sc->sc_cmdlen)) && in tadpole_request()
|
/netbsd/sys/dev/ic/ |
H A D | ncr53c9x.c | 717 sc->sc_cmdlen = clen; in ncr53c9x_select() 734 sc->sc_cmdlen = 0; in ncr53c9x_select() 776 sc->sc_cmdlen = clen; in ncr53c9x_select() 804 sc->sc_cmdlen = 0; in ncr53c9x_select() 2056 sc->sc_cmdlen = 0; in ncr53c9x_msgout() 2568 if (sc->sc_cmdlen == 0) in ncr53c9x_intr() 2595 sc->sc_cmdlen != 0) in ncr53c9x_intr() 2602 (u_long)sc->sc_cmdlen, in ncr53c9x_intr() 2746 sc->sc_cmdlen = size; in ncr53c9x_intr() 2748 NCRDMA_SETUP(sc, &sc->sc_cmdp, &sc->sc_cmdlen, in ncr53c9x_intr() [all …]
|
H A D | ncr53c9xvar.h | 329 size_t sc_cmdlen; /* Size of command in transit */ member
|