Lines Matching defs:device

32  *	in the device tree.
153 * Mapping of the device "type" to names acceptable to
175 * in some cases there will need to be device class dependent names.
398 ddi_report_dev(dip); /* directory/device naming */
589 * pseudo device form. It is acceptable to have
1421 * is present. It would also be the time where a device information
1554 * follows so we match same class of device (modem == modem) and don't
1909 * device information structures.
1924 cmn_err(CE_CONT, "CSInitDev: initialize device\n");
2649 cistpl_device_t device;
2657 * attribute memory. device for common. Then config
2668 bzero(&device, sizeof (device));
2672 &device);
2675 &device);
2679 for (ret = 0; ret < device.num_devices; ret++) {
2681 if (device.devnode[ret].type !=
2692 len = device.devnode[ret].size_in_bytes;
2698 * NULL device is a "hole"
2701 device.devnode[ret].size_in_bytes;
3000 * either find or create the device information structure
3016 cmn_err(CE_CONT, "create dev_info_t for device in socket %d\n",
3023 * place in the device tree.
3147 * if there isn't a device info structure, create one
3168 * device. We don't want to create a new one unnecessarily
3179 cmn_err(CE_CONT, "\tfound existing device node (%s)\n",
3219 "pcmcia: unable to create device [%s](%d)\n",
3224 * construct the "compatible" property if the device
3238 * socket number the device has been inserted in, along
3239 * with the function # if the device is part of a
3240 * multi-function device.
3271 /* init the device type */
3316 * to the device tree.
3356 * entry point to allow finding the device info structure
3894 * The device type string is encoded here to match
3904 struct pcm_make_dev device;
3912 bzero(&device, sizeof (device));
3933 (void) ddi_pathname(init->dip, device.path);
3936 (void) sprintf(device.path + strlen(device.path), ":%s",
3939 (void) strcpy(device.driver, ddi_binding_name(init->dip));
3945 device.path, init->name, device.driver);
3947 device.dev =
3949 device.flags |= (init->flags & SS_CSINITDEV_MORE_DEVICES) ?
3951 device.type = init->spec_type;
3952 device.op = SS_CSINITDEV_CREATE_DEVICE;
3953 device.socket = ddi_getprop(DDI_DEV_T_ANY, init->dip,
3957 device.op = SS_CSINITDEV_REMOVE_DEVICE;
3958 device.socket = ddi_getprop(DDI_DEV_T_ANY, init->dip,
3962 (void) strcpy(device.path, init->name);
3963 device.dev = makedevice(ddi_driver_major(init->dip), 0);
3973 * be visible to a PCMCIA device driver.
3975 pcm_event_manager(PCE_INIT_DEV, device.socket, &device);
4536 * device tree to find the resource.
4627 * when the low level device configuration does resource assignment