Searched defs:device_type (Results 1 - 25 of 33) sorted by relevance

12

/illumos-gate/usr/src/cmd/hal/hald/solaris/
H A Ddevinfo_ieee1394.c36 HalDevice *devinfo_ieee1394_add(HalDevice *parent, di_node_t node, char *devfs_path, char *device_type);
49 devinfo_ieee1394_add(HalDevice *parent, di_node_t node, char *devfs_path, char *device_type) argument
H A Ddevinfo_cpu.c45 devinfo_cpu_add(HalDevice *parent, di_node_t node, char *devfs_path, char *device_type) argument
64 * device_type information which is the one passed above. If it is
65 * NULL, check if the node has a PROM entry, and check the device_type
68 if (device_type == NULL) {
71 * in sparc, the device_type entry will in the PROM node
82 "device_type", &prom_device_type) == -1) {
109 } else if (strcmp (device_type, "cpu") == 0) {
112 * has the device_type entry for cpu. The "reg" property
H A Ddevinfo_misc.c73 devinfo_computer_add(HalDevice *parent, di_node_t node, char *devfs_path, char *device_type) argument
128 char *device_type)
165 char *device_type)
199 devinfo_default_add(HalDevice *parent, di_node_t node, char *devfs_path, char *device_type) argument
127 devinfo_keyboard_add(HalDevice *parent, di_node_t node, char *devfs_path, char *device_type) argument
164 devinfo_mouse_add(HalDevice *parent, di_node_t node, char *devfs_path, char *device_type) argument
H A Ddevinfo_pci.c31 HalDevice *devinfo_pci_add (HalDevice *parent, di_node_t node, char *devfs_path, char *device_type);
42 HalDevice *devinfo_pci_add (HalDevice *parent, di_node_t node, char *devfs_path, char *device_type) argument
49 if ((device_type == NULL) ||
50 ((strcmp (device_type, "pci") != 0) &&
51 (strcmp (device_type, "pci-ide") != 0))) {
H A Ddevinfo_acpi.c39 char *devfs_path, char *device_type);
63 char *device_type)
132 char *device_type)
62 devinfo_acpi_add(HalDevice *parent, di_node_t node, char *devfs_path, char *device_type) argument
131 devinfo_power_button_add(HalDevice *parent, di_node_t node, char *devfs_path, char *device_type) argument
H A Ddevinfo.c154 char *device_type = NULL; local
160 (void) di_prop_lookup_strings (DDI_DEV_T_ANY, node, "device_type",
161 &device_type);
165 d = handler->add (parent, node, devfs_path, device_type);
H A Ddevinfo_usb.c124 devinfo_usb_add(HalDevice *parent, di_node_t node, char *devfs_path, char *device_type) argument
H A Dsysevent.c587 char *device_type = NULL; local
593 (void) di_prop_lookup_strings (DDI_DEV_T_ANY, node, "device_type",
594 &device_type);
596 dh->add (NULL, node, devfs_path, device_type);
H A Ddevinfo_storage.c58 HalDevice *devinfo_ide_add(HalDevice *parent, di_node_t node, char *devfs_path, char *device_type);
62 HalDevice *devinfo_scsi_add(HalDevice *parent, di_node_t node, char *devfs_path, char *device_type);
64 HalDevice *devinfo_blkdev_add(HalDevice *parent, di_node_t node, char *devfs_path, char *device_type);
66 HalDevice *devinfo_floppy_add(HalDevice *parent, di_node_t node, char *devfs_path, char *device_type);
68 static HalDevice *devinfo_lofi_add(HalDevice *parent, di_node_t node, char *devfs_path, char *device_type);
149 devinfo_ide_add(HalDevice *parent, di_node_t node, char *devfs_path, char *device_type) argument
153 if ((device_type != NULL) && (strcmp(device_type, "ide") == 0)) {
247 devinfo_scsi_add(HalDevice *parent, di_node_t node, char *devfs_path, char *device_type) argument
372 devinfo_blkdev_add(HalDevice *parent, di_node_t node, char *devfs_path, char *device_type) argument
440 devinfo_floppy_add(HalDevice *parent, di_node_t node, char *devfs_path, char *device_type) argument
589 devinfo_lofi_add(HalDevice *parent, di_node_t node, char *devfs_path, char *device_type) argument
595 devinfo_lofi_add_major(HalDevice *parent, di_node_t node, char *devfs_path, char *device_type, gboolean rescan, HalDevice *lofi_d) argument
[all...]
/illumos-gate/usr/src/cmd/picl/plugins/sun4v/mdesc/
H A Dcpu_prop_update.c269 char *device_type = "cpu"; local
271 add_md_prop(pnode, strlen(device_type) + 1, "device_type", device_type,
/illumos-gate/usr/src/cmd/cdrw/
H A Dmain.c71 int device_type = CD_RW; /* Default to CD/RW */ variable
/illumos-gate/usr/src/boot/sys/boot/uboot/common/
H A Dmain.c51 struct device_type { struct
145 struct device_type *dt;
/illumos-gate/usr/src/lib/efcode/engine/
H A Dproperties.c502 device_type(fcode_env_t *env) function
506 make_special_property(env, "device_type");
702 { "device_type", print_string },
791 P1275(0x11a, 0, "device-type", device_type);
/illumos-gate/usr/src/uts/sun4u/montecarlo/io/
H A Dacebus.c682 int8_t *name, *device_type; local
712 * match the name, we try and match it's device_type property.
733 "device_type", (caddr_t)&device_type, &len) == DDI_SUCCESS) {
740 device_type) == 0) {
751 kmem_free(device_type, len);
/illumos-gate/usr/src/uts/common/contract/
H A Ddevice.c373 ct_type_t *device_type; variable
732 ctmpl_init(&new->ctd_ctmpl, &ctmpl_device_ops, device_type, new);
1184 device_type = contract_type_init(CTT_DEVICE, "device",
1239 (void) contract_type_pbundle(device_type, owner);
1272 if (contract_ctor(&ctd->cond_contract, device_type, &dtmpl->ctd_ctmpl,
1345 tmpl = ctmpl_dup(lwp->lwp_ct_active[device_type->ct_type_index]);
/illumos-gate/usr/src/uts/common/sys/scsi/generic/
H A Dinquiry.h389 uchar_t device_type : 4, member in struct:vpd_hdr
393 device_type : 4;
/illumos-gate/usr/src/uts/common/io/ixgbe/core/
H A Dixgbe_phy.c602 s32 ixgbe_read_phy_reg_mdi(struct ixgbe_hw *hw, u32 reg_addr, u32 device_type, argument
609 (device_type << IXGBE_MSCA_DEV_TYPE_SHIFT) |
639 (device_type << IXGBE_MSCA_DEV_TYPE_SHIFT) |
682 u32 device_type, u16 *phy_data)
690 status = ixgbe_read_phy_reg_mdi(hw, reg_addr, device_type,
705 * @device_type: 5 bit device type
709 u32 device_type, u16 phy_data)
718 (device_type << IXGBE_MSCA_DEV_TYPE_SHIFT) |
747 (device_type << IXGBE_MSCA_DEV_TYPE_SHIFT) |
779 * @device_type
681 ixgbe_read_phy_reg_generic(struct ixgbe_hw *hw, u32 reg_addr, u32 device_type, u16 *phy_data) argument
708 ixgbe_write_phy_reg_mdi(struct ixgbe_hw *hw, u32 reg_addr, u32 device_type, u16 phy_data) argument
782 ixgbe_write_phy_reg_generic(struct ixgbe_hw *hw, u32 reg_addr, u32 device_type, u16 phy_data) argument
[all...]
H A Dixgbe_api.c530 s32 ixgbe_read_phy_reg(struct ixgbe_hw *hw, u32 reg_addr, u32 device_type, argument
537 device_type, phy_data), IXGBE_NOT_IMPLEMENTED);
548 s32 ixgbe_write_phy_reg(struct ixgbe_hw *hw, u32 reg_addr, u32 device_type, argument
555 device_type, phy_data), IXGBE_NOT_IMPLEMENTED);
1214 * @device_type: type of device you want to communicate with
1220 u32 device_type, u32 *phy_data)
1223 device_type, phy_data), IXGBE_NOT_IMPLEMENTED);
1230 * @device_type: type of device you want to communicate with
1236 u32 device_type, u32 phy_data)
1239 device_type, phy_dat
1219 ixgbe_read_iosf_sb_reg(struct ixgbe_hw *hw, u32 reg_addr, u32 device_type, u32 *phy_data) argument
1235 ixgbe_write_iosf_sb_reg(struct ixgbe_hw *hw, u32 reg_addr, u32 device_type, u32 phy_data) argument
[all...]
/illumos-gate/usr/src/lib/efcode/include/fcode/
H A Dproto.h215 FNPROTO(device_type); variable
/illumos-gate/usr/src/cmd/rmformat/
H A Drmf_misc.c1123 int device_type = 0; local
1204 device_type = DK_DVDR;
1207 device_type = DK_DVDROM;
1210 device_type = DK_CDR;
1212 device_type = DK_CDROM;
1215 device_type = ioctl(t_dev->d_fd,
1217 if (device_type < 0)
1218 device_type = 0;
1220 device_type = mediainfo.dki_media_type;
1259 switch (device_type) {
1999 int device_type; local
[all...]
/illumos-gate/usr/src/lib/storage/libg_fc/common/hdrs/
H A Dgfc.h305 uchar_t device_type; /* disk or tape (Peripheral Device Type) */ member in struct:wwn_list_struct
/illumos-gate/usr/src/uts/common/io/pciex/
H A Dpcie.c1276 char *device_type; local
1282 "device_type", &device_type) != DDI_PROP_SUCCESS)
1285 if (strcmp(device_type, "pciex") != 0 &&
1286 strcmp(device_type, "pci") != 0) {
1287 ddi_prop_free(device_type);
1291 ddi_prop_free(device_type);
2009 /* get parent device's device_type property */
2010 char *device_type; local
2015 DDI_PROP_DONTPASS, "device_type",
[all...]
H A Dpcieb.c366 char device_type[8]; local
436 * Make sure the "device_type" property exists.
439 (void) strcpy(device_type, "pciex");
441 (void) strcpy(device_type, "pci");
444 "device_type", device_type);
526 (void) ddi_prop_remove(DDI_DEV_T_NONE, devi, "device_type");
/illumos-gate/usr/src/uts/common/xen/os/
H A Dxvdi.c137 char *device_type; member in struct:xd_cfg
258 if (xdcp->device_type != NULL)
260 "device_type", xdcp->device_type);
/illumos-gate/usr/src/uts/common/io/
H A Dcmlb.c578 * device_type Peripheral device type as defined in
683 cmlb_attach(dev_info_t *devi, cmlb_tg_ops_t *tgopsp, int device_type, argument
702 cl->cl_device_type = device_type;

Completed in 129 milliseconds

12