Home
last modified time | relevance | path

Searched refs:hirq (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.4/arch/mips/pmcs-msp71xx/
Dmsp_hwbutton.c115 struct hwbutton_interrupt *hirq = data; in hwbutton_handler() local
118 if (CIC_EXT_IS_ACTIVE_HI(cic_ext, hirq->eirq)) { in hwbutton_handler()
120 CIC_EXT_SET_ACTIVE_LO(cic_ext, hirq->eirq); in hwbutton_handler()
121 hirq->handle_hi(hirq->data); in hwbutton_handler()
124 CIC_EXT_SET_ACTIVE_HI(cic_ext, hirq->eirq); in hwbutton_handler()
125 hirq->handle_lo(hirq->data); in hwbutton_handler()
137 static int msp_hwbutton_register(struct hwbutton_interrupt *hirq) in msp_hwbutton_register() argument
141 if (hirq->handle_hi == NULL || hirq->handle_lo == NULL) in msp_hwbutton_register()
145 CIC_EXT_SET_TRIGGER_LEVEL(cic_ext, hirq->eirq); in msp_hwbutton_register()
146 if (hirq->initial_state == HWBUTTON_HI) in msp_hwbutton_register()
[all …]
/Linux-v5.4/arch/powerpc/kvm/
Dbook3s_xive_template.c115 u32 hirq = 0; in GLUE() local
119 while ((xc->mfrr != 0xff || pending != 0) && hirq == 0) { in GLUE()
134 hirq = XICS_IPI; in GLUE()
157 hirq = __xive_read_eq(qpage, q->msk, &idx, &toggle); in GLUE()
173 if (hirq == XICS_IPI || (prio == 0 && !qpage)) { in GLUE()
182 WARN_ON(hirq && hirq != XICS_IPI); in GLUE()
184 if (hirq) in GLUE()
189 if (hirq == XICS_DUMMY) in GLUE()
193 if (!hirq) { in GLUE()
218 hirq = XICS_IPI; in GLUE()
[all …]
/Linux-v5.4/drivers/usb/host/
Dmax3421-hcd.c1229 u8 hirq; in max3421_handle_irqs() local
1236 hirq = spi_rd8(hcd, MAX3421_REG_HIRQ); in max3421_handle_irqs()
1237 hirq &= max3421_hcd->hien; in max3421_handle_irqs()
1238 if (!hirq) in max3421_handle_irqs()
1242 hirq & ~(BIT(MAX3421_HI_SNDBAV_BIT) | in max3421_handle_irqs()
1245 if (hirq & BIT(MAX3421_HI_FRAME_BIT)) { in max3421_handle_irqs()
1251 if (hirq & BIT(MAX3421_HI_RCVDAV_BIT)) in max3421_handle_irqs()
1254 if (hirq & BIT(MAX3421_HI_HXFRDN_BIT)) in max3421_handle_irqs()
1257 if (hirq & BIT(MAX3421_HI_CONDET_BIT)) in max3421_handle_irqs()
1267 if (hirq & BIT(MAX3421_HI_BUSEVENT_BIT)) { in max3421_handle_irqs()
[all …]