Lines Matching full:misc

77 	txgbe->gpio_irq = irq_find_mapping(txgbe->misc.domain, TXGBE_IRQ_GPIO);  in txgbe_request_gpio_irq()
85 txgbe->link_irq = irq_find_mapping(txgbe->misc.domain, TXGBE_IRQ_LINK); in txgbe_request_link_irq()
92 .name = "txgbe-misc-irq",
102 irq_set_chip(irq, &txgbe->misc.chip); in txgbe_misc_irq_domain_map()
153 sub_irq = irq_find_mapping(txgbe->misc.domain, TXGBE_IRQ_GPIO); in txgbe_misc_irq_thread_fn()
159 sub_irq = irq_find_mapping(txgbe->misc.domain, TXGBE_IRQ_LINK); in txgbe_misc_irq_thread_fn()
172 for (hwirq = 0; hwirq < txgbe->misc.nirqs; hwirq++) { in txgbe_del_irq_domain()
173 virq = irq_find_mapping(txgbe->misc.domain, hwirq); in txgbe_del_irq_domain()
177 irq_domain_remove(txgbe->misc.domain); in txgbe_del_irq_domain()
184 free_irq(txgbe->misc.irq, txgbe); in txgbe_free_misc_irq()
194 txgbe->misc.nirqs = 2; in txgbe_setup_misc_irq()
195 txgbe->misc.domain = irq_domain_add_simple(NULL, txgbe->misc.nirqs, 0, in txgbe_setup_misc_irq()
197 if (!txgbe->misc.domain) in txgbe_setup_misc_irq()
200 for (hwirq = 0; hwirq < txgbe->misc.nirqs; hwirq++) in txgbe_setup_misc_irq()
201 irq_create_mapping(txgbe->misc.domain, hwirq); in txgbe_setup_misc_irq()
203 txgbe->misc.chip = txgbe_irq_chip; in txgbe_setup_misc_irq()
205 txgbe->misc.irq = wx->msix_entry->vector; in txgbe_setup_misc_irq()
207 txgbe->misc.irq = wx->pdev->irq; in txgbe_setup_misc_irq()
212 err = request_threaded_irq(txgbe->misc.irq, txgbe_misc_irq_handle, in txgbe_setup_misc_irq()
234 free_irq(txgbe->misc.irq, txgbe); in txgbe_setup_misc_irq()