Lines Matching refs:device
112 * Find the PCI device number of this PCI device. If no device number can
129 * Find the PCI device number of this PCI device. If no device number can
243 * Find the sbus slot number of this Sbus device. If no slot number can
435 char device[MAXSTRLEN];
442 /* Find the device node using upa-portid/portid */
450 (void) sprintf(device, "%s@%x", type,
456 if (strstr(direntp->d_name, device) != NULL) {
457 (void) sprintf(device, "/devices/%s",
459 fd = open(device, O_RDWR, 0666);
479 fmt_manf_id(fsi.dac_version, device), 0);
481 fmt_manf_id(fsi.fbram_version, device), 0);
806 * in the device tree. To get back to that level,
823 D_PRINTF("\n\n------->Looking at device [%s][%d] - [%s]\n",
836 * Each PSYCHO device has a slot-names property that can be
838 * device under this node. We get this array now and use
866 D_PRINTF("device no [%d] - ", card.dev_no);
974 * on_board device so set the slot to 'On-Board'