Lines Matching refs:write_buffer_in_use
451 left += drvdata->write_buffer_in_use; in hwicap_write()
474 if (drvdata->write_buffer_in_use) { in hwicap_write()
476 drvdata->write_buffer_in_use); in hwicap_write()
478 (((char *)kbuf) + drvdata->write_buffer_in_use), in hwicap_write()
480 len - (drvdata->write_buffer_in_use))) { in hwicap_write()
501 if (drvdata->write_buffer_in_use) { in hwicap_write()
502 len -= drvdata->write_buffer_in_use; in hwicap_write()
503 left -= drvdata->write_buffer_in_use; in hwicap_write()
504 drvdata->write_buffer_in_use = 0; in hwicap_write()
512 drvdata->write_buffer_in_use = left; in hwicap_write()
549 drvdata->write_buffer_in_use = 0; in hwicap_open()
568 if (drvdata->write_buffer_in_use) { in hwicap_release()
570 for (i = drvdata->write_buffer_in_use; i < 4; i++) in hwicap_release()