Lines Matching refs:board
71 struct nubus_board *board = to_nubus_board(dev); in nubus_device_release() local
75 if (fres->board == board) { in nubus_device_release()
79 kfree(board); in nubus_device_release()
82 int nubus_device_register(struct nubus_board *board) in nubus_device_register() argument
84 board->dev.parent = &nubus_parent; in nubus_device_register()
85 board->dev.release = nubus_device_release; in nubus_device_register()
86 board->dev.bus = &nubus_bus_type; in nubus_device_register()
87 dev_set_name(&board->dev, "slot.%X", board->slot); in nubus_device_register()
88 board->dev.dma_mask = &board->dev.coherent_dma_mask; in nubus_device_register()
89 dma_set_mask(&board->dev, DMA_BIT_MASK(32)); in nubus_device_register()
90 return device_register(&board->dev); in nubus_device_register()
95 struct nubus_board *board = to_nubus_board(dev); in nubus_print_device_name_fn() local
98 seq_printf(m, "Slot %X: %s\n", board->slot, board->name); in nubus_print_device_name_fn()