Searched refs:dwapb_read (Results 1 – 1 of 1) sorted by relevance
/linux-6.12.1/drivers/gpio/ |
D | gpio-dwapb.c | 149 static inline u32 dwapb_read(struct dwapb_gpio *gpio, unsigned int offset) in dwapb_read() function 191 pol = dwapb_read(gpio, GPIO_INT_POLARITY); in dwapb_toggle_trigger() 208 irq_status = dwapb_read(gpio, GPIO_INTSTATUS); in dwapb_do_irq() 258 val = dwapb_read(gpio, GPIO_INTMASK) | BIT(hwirq); in dwapb_irq_mask() 276 val = dwapb_read(gpio, GPIO_INTMASK) & ~BIT(hwirq); in dwapb_irq_unmask() 290 val = dwapb_read(gpio, GPIO_INTEN) | BIT(hwirq); in dwapb_irq_enable() 292 val = dwapb_read(gpio, GPIO_INTMASK) & ~BIT(hwirq); in dwapb_irq_enable() 306 val = dwapb_read(gpio, GPIO_INTMASK) | BIT(hwirq); in dwapb_irq_disable() 308 val = dwapb_read(gpio, GPIO_INTEN) & ~BIT(hwirq); in dwapb_irq_disable() 321 level = dwapb_read(gpio, GPIO_INTTYPE_LEVEL); in dwapb_irq_set_type() [all …]
|