Lines Matching refs:irq_data
117 struct sabre_irq_data *irq_data = _arg2; in sabre_wsync_handler() local
118 unsigned long controller_regs = irq_data->controller_regs; in sabre_wsync_handler()
225 struct sabre_irq_data *irq_data = _data; in sabre_irq_build() local
226 unsigned long controller_regs = irq_data->controller_regs; in sabre_irq_build()
263 (void *) irq_data); in sabre_irq_build()
272 struct sabre_irq_data *irq_data; in sabre_irq_trans_init() local
278 irq_data = prom_early_alloc(sizeof(struct sabre_irq_data)); in sabre_irq_trans_init()
281 irq_data->controller_regs = regs[0].phys_addr; in sabre_irq_trans_init()
284 irq_data->pci_first_busno = busrange[0]; in sabre_irq_trans_init()
286 dp->irq_trans->data = irq_data; in sabre_irq_trans_init()
382 struct schizo_irq_data *irq_data = _data; in schizo_irq_build() local
383 unsigned long pbm_regs = irq_data->pbm_regs; in schizo_irq_build()
406 is_tomatillo = (irq_data->sync_reg != 0UL); in schizo_irq_build()
409 if (irq_data->portid & 1) in schizo_irq_build()
418 ((irq_data->chip_version <= 4) ? in schizo_irq_build()
420 (void *) irq_data->sync_reg); in schizo_irq_build()
430 struct schizo_irq_data *irq_data; in __schizo_irq_trans_init() local
435 irq_data = prom_early_alloc(sizeof(struct schizo_irq_data)); in __schizo_irq_trans_init()
438 dp->irq_trans->data = irq_data; in __schizo_irq_trans_init()
440 irq_data->pbm_regs = regs[0].phys_addr; in __schizo_irq_trans_init()
442 irq_data->sync_reg = regs[3].phys_addr + 0x1a18UL; in __schizo_irq_trans_init()
444 irq_data->sync_reg = 0UL; in __schizo_irq_trans_init()
445 irq_data->portid = of_getintprop_default(dp, "portid", 0); in __schizo_irq_trans_init()
446 irq_data->chip_version = of_getintprop_default(dp, "version#", 0); in __schizo_irq_trans_init()
514 struct fire_irq_data *irq_data = _data; in fire_irq_build() local
515 unsigned long pbm_regs = irq_data->pbm_regs; in fire_irq_build()
537 ino |= (irq_data->portid << 6); in fire_irq_build()
545 struct fire_irq_data *irq_data; in fire_irq_trans_init() local
550 irq_data = prom_early_alloc(sizeof(struct fire_irq_data)); in fire_irq_trans_init()
553 dp->irq_trans->data = irq_data; in fire_irq_trans_init()
555 irq_data->pbm_regs = regs[0].phys_addr; in fire_irq_trans_init()
556 irq_data->portid = of_getintprop_default(dp, "portid", 0); in fire_irq_trans_init()