Home
last modified time | relevance | path

Searched refs:ir_set (Results 1 – 8 of 8) sorted by relevance

/linux-6.12.1/drivers/usb/cdns3/
Dcdnsp-mem.c1109 temp = cdnsp_read_64(&pdev->ir_set->erst_dequeue); in cdnsp_set_event_deq()
1119 &pdev->ir_set->erst_dequeue); in cdnsp_set_event_deq()
1277 pdev->ir_set = &pdev->run_regs->ir_set[0]; in cdnsp_mem_init()
1293 val = readl(&pdev->ir_set->erst_size); in cdnsp_mem_init()
1296 writel(val, &pdev->ir_set->erst_size); in cdnsp_mem_init()
1299 val_64 = cdnsp_read_64(&pdev->ir_set->erst_base); in cdnsp_mem_init()
1302 cdnsp_write_64(val_64, &pdev->ir_set->erst_base); in cdnsp_mem_init()
Dcdnsp-gadget.c1246 temp = readl(&pdev->ir_set->irq_control); in cdnsp_run()
1249 writel(temp, &pdev->ir_set->irq_control); in cdnsp_run()
1300 temp = readl(&pdev->ir_set->irq_pending); in cdnsp_run()
1301 writel(IMAN_IE_SET(temp), &pdev->ir_set->irq_pending); in cdnsp_run()
1342 temp_64 = cdnsp_read_64(&pdev->ir_set->erst_dequeue); in cdnsp_update_erst_dequeue()
1358 cdnsp_write_64(temp_64, &pdev->ir_set->erst_dequeue); in cdnsp_update_erst_dequeue()
1441 temp = readl(&pdev->ir_set->irq_pending); in cdnsp_stop()
1442 writel(IMAN_IE_CLEAR(temp), &pdev->ir_set->irq_pending); in cdnsp_stop()
1448 temp = readl(&pdev->ir_set->irq_pending); in cdnsp_stop()
1450 writel(temp, &pdev->ir_set->irq_pending); in cdnsp_stop()
Dcdnsp-gadget.h426 struct cdnsp_intr_reg ir_set[128]; member
1405 struct cdnsp_intr_reg __iomem *ir_set; member
Dcdnsp-ring.c1586 irq_pending = readl(&pdev->ir_set->irq_pending); in cdnsp_irq_handler()
1588 writel(irq_pending, &pdev->ir_set->irq_pending); in cdnsp_irq_handler()
/linux-6.12.1/drivers/usb/host/
Dxhci.c301 ARRAY_SIZE(xhci->run_regs->ir_set)); in xhci_zero_64b_regs()
306 ir = &xhci->run_regs->ir_set[i]; in xhci_zero_64b_regs()
327 if (!ir || !ir->ir_set) in xhci_enable_interrupter()
330 iman = readl(&ir->ir_set->irq_pending); in xhci_enable_interrupter()
331 writel(ER_IRQ_ENABLE(iman), &ir->ir_set->irq_pending); in xhci_enable_interrupter()
340 if (!ir || !ir->ir_set) in xhci_disable_interrupter()
343 iman = readl(&ir->ir_set->irq_pending); in xhci_disable_interrupter()
344 writel(ER_IRQ_DISABLE(iman), &ir->ir_set->irq_pending); in xhci_disable_interrupter()
355 if (!ir || !ir->ir_set || imod_interval > U16_MAX * 250) in xhci_set_interrupter_moderation()
358 imod = readl(&ir->ir_set->irq_control); in xhci_set_interrupter_moderation()
[all …]
Dxhci-mem.c1809 if (ir->ir_set) { in xhci_remove_interrupter()
1810 tmp = readl(&ir->ir_set->erst_size); in xhci_remove_interrupter()
1812 writel(tmp, &ir->ir_set->erst_size); in xhci_remove_interrupter()
1814 xhci_write_64(xhci, ERST_EHB, &ir->ir_set->erst_dequeue); in xhci_remove_interrupter()
1981 xhci_write_64(xhci, deq & ERST_PTR_MASK, &ir->ir_set->erst_dequeue); in xhci_set_hc_event_deq()
2312 ir->ir_set = &xhci->run_regs->ir_set[intr_num]; in xhci_add_interrupter()
2315 erst_size = readl(&ir->ir_set->erst_size); in xhci_add_interrupter()
2318 writel(erst_size, &ir->ir_set->erst_size); in xhci_add_interrupter()
2320 erst_base = xhci_read_64(xhci, &ir->ir_set->erst_base); in xhci_add_interrupter()
2324 hi_lo_writeq(erst_base, &ir->ir_set->erst_base); in xhci_add_interrupter()
[all …]
Dxhci-ring.c2994 temp_64 = xhci_read_64(xhci, &ir->ir_set->erst_dequeue); in xhci_update_erst_dequeue()
3013 xhci_write_64(xhci, temp_64, &ir->ir_set->erst_dequeue); in xhci_update_erst_dequeue()
3022 irq_pending = readl(&ir->ir_set->irq_pending); in xhci_clear_interrupt_pending()
3024 writel(irq_pending, &ir->ir_set->irq_pending); in xhci_clear_interrupt_pending()
3051 temp = xhci_read_64(xhci, &ir->ir_set->erst_dequeue); in xhci_handle_events()
3052 xhci_write_64(xhci, temp | ERST_EHB, &ir->ir_set->erst_dequeue); in xhci_handle_events()
Dxhci.h287 struct xhci_intr_reg ir_set[128]; member
1430 struct xhci_intr_reg __iomem *ir_set; member