Lines Matching defs:data
57 * struct charlcd - Private data structure
76 static irqreturn_t charlcd_interrupt(int irq, void *data)
78 struct charlcd *lcd = data;
117 u8 data;
121 /* If we can, use an IRQ to wait for the data, else poll */
137 /* Read the 4 high bits of the data */
138 data = readl(lcd->virtbase + CHAR_RD) & 0xf0;
154 /* Read the 4 low bits of the data */
155 data |= (readl(lcd->virtbase + CHAR_RD) >> 4) & 0x0f;
157 return data;