Lines Matching refs:data_buffer
47 char *data_buffer, *buffer_begin, *buffer_end;
68 chip->buffer_begin = chip->buffer_end = chip->data_buffer;
107 chip->buffer_begin = chip->buffer_end = chip->data_buffer;
134 memset(chip->data_buffer, 0, chip->pdata->buffer_size);
148 chip->buffer_begin = chip->buffer_end = chip->data_buffer;
167 if (copy_from_user_toio(chip->data_buffer + pos, src, count))
169 chip->buffer_end = chip->data_buffer + pos + count;
186 memcpy_toio(chip->data_buffer + pos, src, count);
187 chip->buffer_end = chip->data_buffer + pos + count;
204 memset_io(chip->data_buffer + pos, 0, count);
205 chip->buffer_end = chip->data_buffer + pos + count;
219 int pointer = chip->buffer_begin - chip->data_buffer;
271 kfree(chip->data_buffer);
301 if (chip->buffer_begin == (chip->data_buffer +
303 chip->buffer_begin = chip->data_buffer;
346 chip->data_buffer = kmalloc(chip->pdata->buffer_size, GFP_KERNEL);
347 if (chip->data_buffer == NULL) {