Lines Matching defs:args

1006 	struct pci_probe_table_args *args;
1012 args = (struct pci_probe_table_args *)arg;
1013 KASSERT(args->bus <= mptable_maxbusid,
1014 ("bus %d is too big", args->bus));
1015 KASSERT(busses[args->bus].bus_type == PCI, ("probing for non-PCI bus"));
1016 if (intr->src_bus_id == args->bus)
1017 args->found = 1;
1023 struct pci_probe_table_args args;
1031 args.bus = pci0 + bus;
1032 args.found = 0;
1033 mptable_walk_table(mptable_pci_probe_table_handler, &args);
1034 if (args.found == 0)
1042 struct pci_route_interrupt_args *args;
1049 args = (struct pci_route_interrupt_args *)arg;
1050 if (intr->src_bus_id != args->bus || intr->src_bus_irq != args->irq)
1065 if (args->vector == vector)
1067 KASSERT(args->vector == -1,
1069 args->bus, args->irq >> 2, 'A' + (args->irq & 0x3), args->vector,
1071 args->vector = vector;
1077 struct pci_route_interrupt_args args;
1083 args.bus = pci_get_bus(dev) + pci0;
1092 args.irq = slot << 2 | pin;
1093 args.vector = -1;
1094 mptable_walk_table(mptable_pci_route_interrupt_handler, &args);
1095 if (args.vector < 0) {
1102 'A' + pin, args.vector);
1103 return (args.vector);
1121 struct host_res_args *args;
1128 args = arg;
1132 if (sas->bus_id != args->bus)
1157 device_printf(args->dev,
1163 device_printf(args->dev,
1169 error = pcib_host_res_decodes(&args->sc->sc_host_res, type,
1177 if (cbasm->bus_id != args->bus)
1181 flagp = &args->sc->sc_decodes_isa_io;
1185 flagp = &args->sc->sc_decodes_vga_io;
1202 device_printf(args->dev, "decoding %s ports\n",
1208 device_printf(args->dev,
1224 struct host_res_args args;
1227 args.bus = pci_get_bus(pcib) + pci0;
1228 args.dev = pcib;
1229 args.sc = device_get_softc(pcib);
1230 if (pcib_host_res_init(pcib, &args.sc->sc_host_res) != 0)
1232 mptable_walk_extended_table(mptable_host_res_handler, &args);