Lines Matching refs:t
46 irq_node_t *t; in hp300_int_handler() local
50 for(t = hp300_irq_list[irq]; t; t=t->next) in hp300_int_handler()
51 t->handler(irq, t->dev_id, fp); in hp300_int_handler()
75 irq_node_t *t, *n = new_irq_node(); in hp300_request_irq() local
92 for(t = hp300_irq_list[irq]; t->next; t = t->next) in hp300_request_irq()
95 t->next = n; in hp300_request_irq()
109 irq_node_t *t; in hp300_free_irq() local
114 t = hp300_irq_list[irq]; in hp300_free_irq()
115 if (!t) /* no handlers at all for that IRQ */ in hp300_free_irq()
122 if (t->dev_id == dev_id) in hp300_free_irq()
124 t->flags = IRQ_FLG_STD; /* we probably don't really need these */ in hp300_free_irq()
125 t->dev_id = NULL; in hp300_free_irq()
126 t->devname = NULL; in hp300_free_irq()
127 t->handler = NULL; /* frees this irq_node_t */ in hp300_free_irq()
128 hp300_irq_list[irq] = t->next; in hp300_free_irq()
135 for (t = hp300_irq_list[irq]; t->next && t->next->dev_id != dev_id; t = t->next) in hp300_free_irq()
137 if (!t->next) in hp300_free_irq()
144 t->next->flags = IRQ_FLG_STD; in hp300_free_irq()
145 t->next->dev_id = NULL; in hp300_free_irq()
146 t->next->devname = NULL; in hp300_free_irq()
147 t->next->handler = NULL; in hp300_free_irq()
148 t->next = t->next->next; in hp300_free_irq()