Lines Matching defs:buffer
64 unsigned char *buffer;
87 * static unsigned int rds_buf - the number of RDS buffer blocks used.
93 MODULE_PARM_DESC(rds_buf, "Number of RDS buffer entries. Default = 100");
166 /* copy all four RDS blocks to internal buffer */
193 /* copy RDS block to internal buffer */
194 memcpy(&radio->buffer[radio->wr_index], &rds, RDS_BLOCK_SIZE);
588 /* rds buffer configuration */
1235 /* copy RDS blocks from the internal buffer and to user buffer */
1241 if (copy_to_user(buf, &radio->buffer[radio->rd_index],
2016 /* RDS buffer allocation */
2018 radio->buffer = devm_kzalloc(&pdev->dev, radio->buf_size, GFP_KERNEL);
2019 if (!radio->buffer) {
2020 pr_err("Cannot allocate memory for RDS buffer.\n");