Lines Matching defs:device
176 const u32 *vendor, *device;
185 device = of_get_property(np, "device-id", NULL);
186 if (vendor == NULL || device == NULL)
189 if ((*vendor == 0x106b) && (*device == 3) && (offset >= 0x10)
223 * 1 -> Skip the device but act as if the access was successful
226 * -1 -> Hide the device (unsuccessful access)
234 /* We only allow config cycles to devices that are in OF device-tree
252 * When a device in K2 is powered down, we die on config
432 /* Apple's device-tree "hides" the root complex virtual P2P bridge
456 /* read the word at offset 0 in config space for device 11 */
576 prop = of_get_property(nec, "device-id", NULL);
653 /* The bus contains a bridge from root -> device, we need to
861 * The number in the device tree (27) is bogus (correct for
868 dev->device == PCI_DEVICE_ID_DEC_TULIP_PLUS) {
908 "of device tree\n");
1059 if (dev->device == PCI_DEVICE_ID_TI_1130 ||
1060 dev->device == PCI_DEVICE_ID_TI_1131) {
1069 if (dev->device == PCI_DEVICE_ID_TI_1210 ||
1070 dev->device == PCI_DEVICE_ID_TI_1211 ||
1071 dev->device == PCI_DEVICE_ID_TI_1410 ||
1072 dev->device == PCI_DEVICE_ID_TI_1510) {
1099 switch(dev->device) {
1175 * thus changing addresses of those devices from what was in the device-tree,
1238 * since the device for the AGP bridge isn't in the tree.