Lines Matching refs:data_buffer
46 char *data_buffer, *buffer_begin, *buffer_end;
67 chip->buffer_begin = chip->buffer_end = chip->data_buffer;
106 chip->buffer_begin = chip->buffer_end = chip->data_buffer;
133 memset(chip->data_buffer, 0, chip->pdata->buffer_size);
147 chip->buffer_begin = chip->buffer_end = chip->data_buffer;
166 if (copy_from_iter_toio(chip->data_buffer + pos, src, count))
168 chip->buffer_end = chip->data_buffer + pos + count;
185 memset_io(chip->data_buffer + pos, 0, count);
186 chip->buffer_end = chip->data_buffer + pos + count;
200 int pointer = chip->buffer_begin - chip->data_buffer;
250 kfree(chip->data_buffer);
280 if (chip->buffer_begin == (chip->data_buffer +
282 chip->buffer_begin = chip->data_buffer;
325 chip->data_buffer = kmalloc(chip->pdata->buffer_size, GFP_KERNEL);
326 if (chip->data_buffer == NULL) {