Searched refs:atmel_pioctrl (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/pinctrl/ |
H A D | pinctrl-at91-pio4.c | 129 struct atmel_pioctrl { struct 161 static unsigned int atmel_gpio_read(struct atmel_pioctrl *atmel_pioctrl, in atmel_gpio_read() argument 164 return readl_relaxed(atmel_pioctrl->reg_base in atmel_gpio_read() 168 static void atmel_gpio_write(struct atmel_pioctrl *atmel_pioctrl, in atmel_gpio_write() argument 172 writel_relaxed(val, atmel_pioctrl->reg_base in atmel_gpio_write() 186 struct atmel_pioctrl *atmel_pioctrl = irq_data_get_irq_chip_data(d); in atmel_gpio_irq_set_type() local 187 struct atmel_pin *pin = atmel_pioctrl->pins[d->hwirq]; in atmel_gpio_irq_set_type() 190 atmel_gpio_write(atmel_pioctrl, pin->bank, ATMEL_PIO_MSKR, in atmel_gpio_irq_set_type() 192 reg = atmel_gpio_read(atmel_pioctrl, pin->bank, ATMEL_PIO_CFGR); in atmel_gpio_irq_set_type() 221 atmel_gpio_write(atmel_pioctrl, pin->bank, ATMEL_PIO_CFGR, reg); in atmel_gpio_irq_set_type() [all …]
|