Searched refs:U300_PIN_BIT (Results 1 - 1 of 1) sorted by relevance
/linux-4.4.14/drivers/pinctrl/ |
H A D | pinctrl-coh901.c | 100 #define U300_PIN_BIT(pin) \ macro 224 return readl(U300_PIN_REG(offset, dir)) & U300_PIN_BIT(offset); u300_gpio_get() 237 writel(val | U300_PIN_BIT(offset), U300_PIN_REG(offset, dor)); u300_gpio_set() 239 writel(val & ~U300_PIN_BIT(offset), U300_PIN_REG(offset, dor)); u300_gpio_set() 299 biasmode = !!(readl(U300_PIN_REG(offset, per)) & U300_PIN_BIT(offset)); u300_gpio_config_get() 360 writel(val | U300_PIN_BIT(offset), U300_PIN_REG(offset, per)); u300_gpio_config_set() 364 writel(val & ~U300_PIN_BIT(offset), U300_PIN_REG(offset, per)); u300_gpio_config_set() 418 writel(val & ~U300_PIN_BIT(offset), U300_PIN_REG(offset, icr)); u300_toggle_trigger() 423 writel(val | U300_PIN_BIT(offset), U300_PIN_REG(offset, icr)); u300_toggle_trigger() 447 port->toggle_edge_mode |= U300_PIN_BIT(offset); u300_gpio_irq_type() 453 writel(val | U300_PIN_BIT(offset), U300_PIN_REG(offset, icr)); u300_gpio_irq_type() 454 port->toggle_edge_mode &= ~U300_PIN_BIT(offset); u300_gpio_irq_type() 459 writel(val & ~U300_PIN_BIT(offset), U300_PIN_REG(offset, icr)); u300_gpio_irq_type() 460 port->toggle_edge_mode &= ~U300_PIN_BIT(offset); u300_gpio_irq_type() 479 writel(val | U300_PIN_BIT(offset), U300_PIN_REG(offset, ien)); u300_gpio_irq_enable() 493 writel(val & ~U300_PIN_BIT(offset), U300_PIN_REG(offset, ien)); u300_gpio_irq_disable() 538 if (port->toggle_edge_mode & U300_PIN_BIT(offset)) u300_gpio_irq_handler()
|
Completed in 33 milliseconds