Lines Matching defs:device
132 * The PROM device tree is read to obtain this information.
234 * thruogh the device tree, this routine will be silent.
445 * in the device tree. To get back to that level,
708 char device[MAXSTRLEN];
715 /* Find the device node using upa address */
720 (void) sprintf(device, "%s@%x", FFB_NAME,
726 if (strstr(direntp->d_name, device) != NULL) {
727 (void) sprintf(device, "/devices/%s",
729 fd = open(device, O_RDWR, 0666);
749 fmt_manf_id(fsi.dac_version, device), 0);
751 fmt_manf_id(fsi.fbram_version, device), 0);
821 * Walk the PROM device tree and build the system tree and root tree.
947 * device drivers via kstats. The kstat names are defined in
1249 * physical device path to the controller. The presence of the controller
1250 * is determined by trying to open the controller device and reading
1251 * some information from the device. Currently only supported on Tazmo.
1298 * PROM node to a physical device path name. For example if the
1300 * the equivalent physical device path will be
1326 * Returns 0 if the device at devpath is not *physically* present. If it is,
1327 * then info on that device is placed in the dkinfop buffer, and 1 is returned.
1345 * Must be a character device
1478 tazmo_physical_slot(Prom_node *slotd, Prom_node *parent, int device, char *str)
1517 *upa_id, offset, device);
1546 * on the chassis for the smallest device number, and so on.
1563 * bit corresponding to "device" is set. If so, copy
1567 if (shift == device) {