Home | History | Annotate | Download | only in broadcom

Lines Matching refs:sc_exec

135 	if ((sc->sc_exec.flags & I2C_F_POLL) == 0) {
143 if ((sc->sc_exec.flags & I2C_F_POLL) == 0) {
181 if (sc->sc_exec.addr > 0x7f) {
187 if (sc->sc_exec.cmdlen) {
193 if (sc->sc_exec.datalen == 0) {
197 if (I2C_OP_READ_P(sc->sc_exec.op)) {
222 if ((sc->sc_exec.flags & I2C_F_POLL) == 0) {
249 if ((sc->sc_exec.flags & I2C_F_POLL) == 0 &&
309 if ((sc->sc_exec.flags & I2C_F_POLL) == 0) {
342 if (sc->sc_exec.flags & I2C_F_POLL) {
359 bus_space_write_4(sc->sc_iot, sc->sc_ioh, BSC_A, sc->sc_exec.addr);
375 sc->sc_buf = __UNCONST(sc->sc_exec.cmdbuf);
377 sc->sc_buflen = sc->sc_exec.cmdlen;
379 uint32_t dlen = sc->sc_exec.cmdlen;
380 if (! I2C_OP_READ_P(sc->sc_exec.op)) {
381 dlen += sc->sc_exec.datalen;
391 sc->sc_buf = sc->sc_exec.databuf;
393 sc->sc_buflen = sc->sc_exec.datalen;
395 if (sc->sc_exec.cmdlen) {
402 uint32_t dlen = sc->sc_exec.datalen;
411 sc->sc_buf = sc->sc_exec.databuf;
413 sc->sc_buflen = sc->sc_exec.datalen;
415 uint32_t dlen = sc->sc_exec.datalen;
457 sc->sc_exec.op = op;
458 sc->sc_exec.addr = addr;
459 sc->sc_exec.cmdbuf = cmdbuf;
460 sc->sc_exec.cmdlen = cmdlen;
461 sc->sc_exec.databuf = databuf;
462 sc->sc_exec.datalen = datalen;
463 sc->sc_exec.flags = flags;
486 sc->sc_exec.flags = 0;
488 memset(&sc->sc_exec, 0, sizeof(sc->sc_exec));