Lines Matching refs:setup
92 void __init vr41xx_pciu_setup(struct pci_controller_unit_setup *setup)
94 vr41xx_pci_controller_unit_setup = *setup;
99 struct pci_controller_unit_setup *setup;
107 setup = &vr41xx_pci_controller_unit_setup;
128 if (setup->pci_clock_max != 0)
129 pci_clock_max = setup->pci_clock_max;
151 if (setup->master_memory1 != NULL) {
152 master = setup->master_memory1;
164 if (setup->master_memory2 != NULL) {
165 master = setup->master_memory2;
177 if (setup->target_memory1 != NULL) {
178 target = setup->target_memory1;
189 if (setup->target_memory2 != NULL) {
190 target = setup->target_memory2;
201 if (setup->master_io != NULL) {
202 master = setup->master_io;
214 if (setup->exclusive_access == CANNOT_LOCK_FROM_DEVICE)
220 pciu_write(PCITRDYVREG, TRDYV(setup->wait_time_limit_from_irdy_to_trdy));
222 pciu_write(LATTIMEREG, MLTIM(setup->master_latency_timer));
224 if (setup->mailbox != NULL) {
225 mailbox = setup->mailbox;
231 if (setup->target_window1) {
232 window = setup->target_window1;
238 if (setup->target_window2) {
239 window = setup->target_window2;
247 val |= RTYVAL(setup->retry_limit);
253 switch (setup->arbiter_priority_control) {
265 if (setup->take_away_gnt_mode == PCI_TAKE_AWAY_GNT_ENABLE)
279 if (setup->mem_resource != NULL)
280 vr41xx_pci_controller.mem_resource = setup->mem_resource;
282 if (setup->io_resource != NULL) {
283 vr41xx_pci_controller.io_resource = setup->io_resource;
290 if (setup->master_io) {
293 master = setup->master_io;