Lines Matching refs:intsel
1273 u32 intsel, value; in chv_gpio_irq_startup() local
1276 intsel = chv_readl(pctrl, hwirq, CHV_PADCTRL0); in chv_gpio_irq_startup()
1277 intsel &= CHV_PADCTRL0_INTSEL_MASK; in chv_gpio_irq_startup()
1278 intsel >>= CHV_PADCTRL0_INTSEL_SHIFT; in chv_gpio_irq_startup()
1286 if (cctx->intr_lines[intsel] == CHV_INVALID_HWIRQ) { in chv_gpio_irq_startup()
1289 intsel, hwirq); in chv_gpio_irq_startup()
1290 cctx->intr_lines[intsel] = hwirq; in chv_gpio_irq_startup()
1304 u32 value, intsel; in chv_gpio_set_intr_line() local
1308 intsel = (value & CHV_PADCTRL0_INTSEL_MASK) >> CHV_PADCTRL0_INTSEL_SHIFT; in chv_gpio_set_intr_line()
1310 if (cctx->intr_lines[intsel] == pin) in chv_gpio_set_intr_line()
1313 if (cctx->intr_lines[intsel] == CHV_INVALID_HWIRQ) { in chv_gpio_set_intr_line()
1314 dev_dbg(dev, "using interrupt line %u for pin %u\n", intsel, pin); in chv_gpio_set_intr_line()
1315 cctx->intr_lines[intsel] = pin; in chv_gpio_set_intr_line()
1326 dev_info(dev, "interrupt line %u is used by both pin %u and pin %u\n", intsel, in chv_gpio_set_intr_line()
1327 cctx->intr_lines[intsel], pin); in chv_gpio_set_intr_line()
1510 u32 intsel; in chv_init_irq_valid_mask() local
1514 intsel = chv_readl(pctrl, desc->number, CHV_PADCTRL0); in chv_init_irq_valid_mask()
1515 intsel &= CHV_PADCTRL0_INTSEL_MASK; in chv_init_irq_valid_mask()
1516 intsel >>= CHV_PADCTRL0_INTSEL_SHIFT; in chv_init_irq_valid_mask()
1518 if (intsel >= community->nirqs) in chv_init_irq_valid_mask()