Lines Matching refs:board
38 static unsigned int sun4d_encode_irq(int board, int lvl, int slot) in sun4d_encode_irq() argument
40 return (board + 1) << 5 | (lvl << 2) | slot; in sun4d_encode_irq()
260 int board = of_getintprop_default(dp, "board#", 0); in sun4d_distribute_irqs() local
261 board_to_cpu[board] = cpuid; in sun4d_distribute_irqs()
291 unsigned int board) in _sun4d_build_device_irq() argument
299 real_irq, pil, board); in _sun4d_build_device_irq()
312 handler_data->cpuid = board_to_cpu[board]; in _sun4d_build_device_irq()
333 int board, slot; in sun4d_build_device_irq() local
369 board = of_getintprop_default(board_parent, "board#", -1); in sun4d_build_device_irq()
370 if (board == -1) { in sun4d_build_device_irq()
378 pil = sun4d_encode_irq(board, sbusl, slot); in sun4d_build_device_irq()
382 irq = _sun4d_build_device_irq(real_irq, pil, board); in sun4d_build_device_irq()
387 static unsigned int sun4d_build_timer_irq(unsigned int board, in sun4d_build_timer_irq() argument
390 return _sun4d_build_device_irq(real_irq, real_irq, board); in sun4d_build_timer_irq()
425 int board; in sun4d_init_timers() local
443 board = of_getintprop_default(dp, "board#", -1); in sun4d_init_timers()
444 if (board == -1) { in sun4d_init_timers()
473 irq = sun4d_build_timer_irq(board, SUN4D_TIMER_IRQ); in sun4d_init_timers()
492 int board = of_getintprop_default(dp, "board#", 0); in sun4d_init_sbi_irq() local
496 board_to_cpu[board] = target_cpu; in sun4d_init_sbi_irq()
502 mask, board); in sun4d_init_sbi_irq()