Lines Matching defs:device
177 const u32 *vendor, *device;
186 device = of_get_property(np, "device-id", NULL);
187 if (vendor == NULL || device == NULL)
190 if ((*vendor == 0x106b) && (*device == 3) && (offset >= 0x10)
224 * 1 -> Skip the device but act as if the access was successful
227 * -1 -> Hide the device (unsuccessful access)
235 /* We only allow config cycles to devices that are in OF device-tree
253 * When a device in K2 is powered down, we die on config
433 /* Apple's device-tree "hides" the root complex virtual P2P bridge
457 /* read the word at offset 0 in config space for device 11 */
577 prop = of_get_property(nec, "device-id", NULL);
654 /* The bus contains a bridge from root -> device, we need to
866 * The number in the device tree (27) is bogus (correct for
873 dev->device == PCI_DEVICE_ID_DEC_TULIP_PLUS) {
913 "of device tree\n");
1064 if (dev->device == PCI_DEVICE_ID_TI_1130 ||
1065 dev->device == PCI_DEVICE_ID_TI_1131) {
1074 if (dev->device == PCI_DEVICE_ID_TI_1210 ||
1075 dev->device == PCI_DEVICE_ID_TI_1211 ||
1076 dev->device == PCI_DEVICE_ID_TI_1410 ||
1077 dev->device == PCI_DEVICE_ID_TI_1510) {
1104 switch(dev->device) {
1180 * thus changing addresses of those devices from what was in the device-tree,
1243 * since the device for the AGP bridge isn't in the tree.