Lines Matching refs:nbytes
286 for (i = 0; i < req->nbytes - 1; ++i) in pmu_send_request()
288 --req->nbytes; in pmu_send_request()
299 if (req->nbytes != 2) in pmu_send_request()
302 req->nbytes = 1; in pmu_send_request()
310 if (req->nbytes != 6) in pmu_send_request()
313 req->nbytes = 5; in pmu_send_request()
323 if (req->nbytes != 4) in pmu_send_request()
328 req->nbytes = 3; in pmu_send_request()
336 if (req->nbytes != 5) in pmu_send_request()
342 req->nbytes = 4; in pmu_send_request()
352 for (i = req->nbytes - 1; i > 1; --i) in pmu_send_request()
354 req->data[3] = req->nbytes - 2; in pmu_send_request()
358 req->nbytes += 2; in pmu_send_request()
413 req.nbytes = 5; in pmu_reset_bus()
448 int nbytes, ...) in pmu_request() argument
453 if (nbytes < 0 || nbytes > 32) { in pmu_request()
454 printk(KERN_ERR "pmu_request: bad nbytes (%d)\n", nbytes); in pmu_request()
458 req->nbytes = nbytes; in pmu_request()
460 va_start(list, nbytes); in pmu_request()
461 for (i = 0; i < nbytes; ++i) in pmu_request()
479 if (req->nbytes <= 0) { in pmu_queue_request()
484 if (nsend >= 0 && req->nbytes != nsend + 1) { in pmu_queue_request()
604 data_len = req->nbytes - 1; in pmu_interrupt()