Lines Matching defs:device

31  *    This module basically implements "devctl" and Attachment Point device
33 * to these device nodes are also implemented. For hotplug operations
169 int pci_dev; /* PCI device number for the slot */
203 * We process ENUM# event one device at a time ie. as soon as we detect
204 * that a device has the right ENUM# conditions, we return. If the following
528 * If the pci_dev is valid then the minor device is an
529 * AP. Otherwise it is ":devctl" minor device.
545 * Handle the open by tracking the device state.
613 * Get the PCI device number information from the devinfo
626 /* get the pci device id information */
635 * Match the node for the device number of the slot.
807 * PCI device number.
1477 * state then call the ndi_devi_online() on the device
2077 * for this slot (i.e pci device number) then we
2251 * If the AP device is in open state then return
2341 /* get the PCI device number for the slot */
2758 * HSC knows the device number of the slot where the
2791 * CLEAR_ENUM event which returns the slot device number
3003 * attachment point. If the PCI device number of the node matches
3004 * with the device number of the specified hot plug slot then
3017 * Get the PCI device number information from the devinfo
3029 /* get the pci device id information */
3038 * Match the node for the device number of the slot.
3044 /* skip this device if it is disabled or faulty */
3074 * Check the device for a 'status' property. A conforming device
3077 * Return FALSE for a conforming device that is disabled or faulted.
3097 "pcihp (%s%d): device is in disabled state",
3102 "pcihp (%s%d): device is in fault state (%s)",
3113 /* control structure used to find a device in the devinfo tree */
3115 uint_t device;
3121 pcihp_devi_find(dev_info_t *dip, uint_t device, uint_t function)
3126 ctrl.device = device;
3152 /* get the PCI device address info */
3162 if ((pci_dev == ctrl->device) && (pci_func == ctrl->function)) {
3163 /* found the match for the specified device address */
3198 * PCIHP_CLEAR_ENUM = just clear interrupt and return the PCI device no. if
3216 * First try the "favorite" pci device. This is the device
3238 * If the "favorite" pci device didn't assert ENUM#, then
3239 * try the rest. Once we find and handle a device that asserted
3294 * Read the device's HS_CSR.
3301 * we teardown our device map here, because in case of an
3309 /* If ENUM# is masked, then it is not us. Some other device */
3313 * This device supports Full Hot Swap and implements
3412 cmn_err(CE_NOTE, "%s%d: PCI device %x Failed on Unconfigure",
3417 cmn_err(CE_NOTE, "%s%d: PCI device %x Busy",
3487 cmn_err(CE_NOTE, "%s%d: PCI device %x Failed on"
3578 PCIHP_DEBUG((CE_NOTE, "No Ext Capabilities for device\n"));
3603 uint_t bus, uint_t device, uint_t func)
3609 dummy_reg.pci_phys_hi = PCIHP_MAKE_REG_HIGH(bus, device, func, 0);
3738 * Probe for a device. Possibly a non (c)PCI board could be sitting
3744 " pci device number %d", pci_dev);
3768 "device number %d", pci_dev);
3875 * Minor device name (AP) will be bus path