Lines Matching defs:value
67 unsigned long value)
70 iowrite32(value, p->base0 + offs);
72 iowrite32(value, p->base1 + (offs - GIO_IDT0));
124 unsigned char value = em_gio_sense_table[type & IRQ_TYPE_SENSE_MASK];
130 if (!value)
135 pr_debug("gio: sense irq = %d, mode = %d\n", offset, value);
151 tmp |= value << shift;
200 unsigned shift, int value)
202 /* upper 16 bits contains mask and lower 16 actual value */
204 (BIT(shift + 16)) | (value << shift));
207 static void em_gio_set(struct gpio_chip *chip, unsigned offset, int value)
211 __em_gio_set(chip, GIO_OL, offset, value);
213 __em_gio_set(chip, GIO_OH, offset - 16, value);
217 int value)
219 /* write GPIO value to output before selecting output mode of pin */
220 em_gio_set(chip, offset, value);