Lines Matching defs:device

52 	u16 vendor, device;
62 int (*probe)(struct irq_router *r, struct pci_dev *router, u16 device);
117 * have no information as to the router device to use, but we can handle
118 * it by matching PCI device IDs actually seen on the bus against ones
919 dev->vendor, dev->device, pirq, irq);
927 dev->vendor, dev->device, pirq, irq);
964 static __init int intel_router_probe(struct irq_router *r, struct pci_dev *router, u16 device)
976 switch (device) {
1034 if ((device >= PCI_DEVICE_ID_INTEL_5_3400_SERIES_LPC_MIN &&
1035 device <= PCI_DEVICE_ID_INTEL_5_3400_SERIES_LPC_MAX)
1036 || (device >= PCI_DEVICE_ID_INTEL_COUGARPOINT_LPC_MIN &&
1037 device <= PCI_DEVICE_ID_INTEL_COUGARPOINT_LPC_MAX)
1038 || (device >= PCI_DEVICE_ID_INTEL_DH89XXCC_LPC_MIN &&
1039 device <= PCI_DEVICE_ID_INTEL_DH89XXCC_LPC_MAX)
1040 || (device >= PCI_DEVICE_ID_INTEL_PANTHERPOINT_LPC_MIN &&
1041 device <= PCI_DEVICE_ID_INTEL_PANTHERPOINT_LPC_MAX)) {
1052 struct pci_dev *router, u16 device)
1059 if (device == PCI_DEVICE_ID_VIA_82C586_0) {
1060 switch (router->device) {
1066 device = PCI_DEVICE_ID_VIA_82C686;
1073 device = PCI_DEVICE_ID_VIA_8235;
1080 device = PCI_DEVICE_ID_VIA_8237;
1085 switch (device) {
1106 static __init int vlsi_router_probe(struct irq_router *r, struct pci_dev *router, u16 device)
1108 switch (device) {
1120 struct pci_dev *router, u16 device)
1122 switch (device) {
1133 static __init int sis_router_probe(struct irq_router *r, struct pci_dev *router, u16 device)
1135 switch (device) {
1150 static __init int cyrix_router_probe(struct irq_router *r, struct pci_dev *router, u16 device)
1152 switch (device) {
1162 static __init int opti_router_probe(struct irq_router *r, struct pci_dev *router, u16 device)
1164 switch (device) {
1174 static __init int ite_router_probe(struct irq_router *r, struct pci_dev *router, u16 device)
1176 switch (device) {
1186 static __init int ali_router_probe(struct irq_router *r, struct pci_dev *router, u16 device)
1188 switch (device) {
1205 static __init int amd_router_probe(struct irq_router *r, struct pci_dev *router, u16 device)
1207 switch (device) {
1225 static __init int pico_router_probe(struct irq_router *r, struct pci_dev *router, u16 device)
1227 switch (device) {
1274 dev->vendor, dev->device);
1281 /* Fall back to a device match */
1283 h->probe(r, dev, dev->device))
1311 /* Use any vendor:device provided by the routing table or try all. */
1330 pirq_router_dev->vendor, pirq_router_dev->device);
1335 /* The device remains referenced for the kernel lifetime */
1339 * We're supposed to match on the PCI device only and not the function,
1366 * pin number accordingly on the way until the originating root bus device
1457 * reported by the device if possible.
1565 * If the IRQ is already assigned to a PCI device,
1698 * If any ISAPnP device reports an IRQ in its list of possible
1790 bool mp_should_keep_irq(struct device *dev)