Lines Matching refs:intsel
1251 u32 intsel, value; in chv_gpio_irq_startup() local
1253 intsel = chv_readl(pctrl, hwirq, CHV_PADCTRL0); in chv_gpio_irq_startup()
1254 intsel &= CHV_PADCTRL0_INTSEL_MASK; in chv_gpio_irq_startup()
1255 intsel >>= CHV_PADCTRL0_INTSEL_SHIFT; in chv_gpio_irq_startup()
1263 if (cctx->intr_lines[intsel] == CHV_INVALID_HWIRQ) { in chv_gpio_irq_startup()
1266 intsel, hwirq); in chv_gpio_irq_startup()
1267 cctx->intr_lines[intsel] = hwirq; in chv_gpio_irq_startup()
1280 u32 value, intsel; in chv_gpio_set_intr_line() local
1284 intsel = (value & CHV_PADCTRL0_INTSEL_MASK) >> CHV_PADCTRL0_INTSEL_SHIFT; in chv_gpio_set_intr_line()
1286 if (cctx->intr_lines[intsel] == pin) in chv_gpio_set_intr_line()
1289 if (cctx->intr_lines[intsel] == CHV_INVALID_HWIRQ) { in chv_gpio_set_intr_line()
1290 dev_dbg(dev, "using interrupt line %u for pin %u\n", intsel, pin); in chv_gpio_set_intr_line()
1291 cctx->intr_lines[intsel] = pin; in chv_gpio_set_intr_line()
1302 dev_info(dev, "interrupt line %u is used by both pin %u and pin %u\n", intsel, in chv_gpio_set_intr_line()
1303 cctx->intr_lines[intsel], pin); in chv_gpio_set_intr_line()
1479 u32 intsel; in chv_init_irq_valid_mask() local
1483 intsel = chv_readl(pctrl, desc->number, CHV_PADCTRL0); in chv_init_irq_valid_mask()
1484 intsel &= CHV_PADCTRL0_INTSEL_MASK; in chv_init_irq_valid_mask()
1485 intsel >>= CHV_PADCTRL0_INTSEL_SHIFT; in chv_init_irq_valid_mask()
1487 if (intsel >= community->nirqs) in chv_init_irq_valid_mask()