Lines Matching refs:write_buffer_in_use
452 left += drvdata->write_buffer_in_use; in hwicap_write()
475 if (drvdata->write_buffer_in_use) { in hwicap_write()
477 drvdata->write_buffer_in_use); in hwicap_write()
479 (((char *)kbuf) + drvdata->write_buffer_in_use), in hwicap_write()
481 len - (drvdata->write_buffer_in_use))) { in hwicap_write()
502 if (drvdata->write_buffer_in_use) { in hwicap_write()
503 len -= drvdata->write_buffer_in_use; in hwicap_write()
504 left -= drvdata->write_buffer_in_use; in hwicap_write()
505 drvdata->write_buffer_in_use = 0; in hwicap_write()
513 drvdata->write_buffer_in_use = left; in hwicap_write()
550 drvdata->write_buffer_in_use = 0; in hwicap_open()
569 if (drvdata->write_buffer_in_use) { in hwicap_release()
571 for (i = drvdata->write_buffer_in_use; i < 4; i++) in hwicap_release()