Home | History | Annotate | Download | only in onewire

Lines Matching refs:databuf

221     const void *cmdbuf, size_t cmdlen, void *databuf, size_t datalen, int flags)
244 if (databuf != NULL &&
252 databuf == NULL)
260 * cmdbuf and databuf which can use the chip's ability to add to a
262 * cmdbuf or the databuf, in which case, just figure out if a stop
267 databuf != NULL) {
293 dcmd, 0xff, datalen, databuf, 0, crc16, &i2c_status);
311 /* Either the cmdbuf or databuf has something, figure out which
318 buf = databuf;
358 void *databuf, size_t datalen, int flags)
370 if (databuf != NULL &&
376 if (databuf == NULL)
399 onewire_read_block(sc->sc_onewire, databuf, datalen);
419 const void *cmdbuf, size_t cmdlen, void *databuf, size_t datalen, int flags)
439 if (databuf != NULL &&
446 databuf == NULL)
481 onewire_read_block(sc->sc_onewire, databuf, datalen);
500 size_t cmdlen, void *databuf, size_t datalen, int flags)
522 /* A write may include the cmdbuf and/or the databuf */
523 err = ds28e17iic_i2c_write(sc, op, addr, cmdbuf, cmdlen, databuf, datalen, flags);
529 err = ds28e17iic_i2c_write_read(sc, op, addr, cmdbuf, cmdlen, databuf, datalen, flags);
531 err = ds28e17iic_i2c_read(sc, op, addr, databuf, datalen, flags);