Searched refs:bytes_to_rw (Results 1 - 4 of 4) sorted by relevance

/illumos-gate/usr/src/uts/sun4u/io/i2c/clients/
H A Dseeprom.c382 int bytes_to_rw; local
410 bytes_to_rw = min(uiop->uio_resid,
428 while ((bytes_to_rw != 0) && (err == 0)) {
429 current_xfer_len = min(bytes_to_rw, unitp->seeprom_pagesize -
518 bytes_to_rw -= actual_data_xfer;
H A Dssc100.c622 int bytes_to_rw; local
656 bytes_to_rw = min(uiop->uio_resid,
658 current_xfer_len = bytes_to_rw;
/illumos-gate/usr/src/uts/sun4u/montecarlo/io/
H A Dpcf8591_nct.c300 int bytes_to_rw; local
320 if ((bytes_to_rw = uiop->uio_resid) > PCF8591_TRAN_SIZE) {
341 if (bytes_to_rw == 1)
361 unitp->i2c_tran->i2c_rlen = bytes_to_rw + 1;
381 bytes_to_rw,
H A Dpcf8574_nct.c306 uint16_t bytes_to_rw; local
321 if ((bytes_to_rw = uiop->uio_resid) > PCF8574_TRAN_SIZE) {
329 bytes_to_rw, UIO_WRITE, uiop);
332 err = pcf8574_write_chip(unitp, bytes_to_rw,
337 err = pcf8574_read_chip(unitp, bytes_to_rw);
340 bytes_to_rw, UIO_READ, uiop);

Completed in 50 milliseconds