Home
last modified time | relevance | path

Searched refs:driver_name (Results 1 – 25 of 74) sorted by relevance

123

/titanic_44/usr/src/cmd/modload/
H A Dupdate_drv.c46 unload_drv(char *driver_name, int force_flag, int verbose_flag) in unload_drv() argument
50 get_modid(driver_name, &modid); in unload_drv()
53 (void) fprintf(stderr, gettext(ERR_MODUN), driver_name); in unload_drv()
57 gettext(NOUPDATE), driver_name); in unload_drv()
63 driver_name); in unload_drv()
101 char *driver_name; in main() local
196 driver_name = argv[optind]; in main()
205 list_entry(minor_perm, driver_name, ":"); in main()
226 if (policy != NULL && (policy = check_plcy_entry(policy, driver_name, in main()
253 (error = update_minor_entry(driver_name, perms))) { in main()
[all …]
H A Dadd_drv.c57 char *driver_name; member
92 char driver_name[FILENAME_MAX + 1]; in main() local
93 int driver_name_size = sizeof (driver_name); in main()
193 if (strlcpy(driver_name, argv[optind], driver_name_size) >= in main()
226 slash = strchr(driver_name, '/'); in main()
228 remove_slashes(driver_name); in main()
231 slash = strrchr(driver_name, '/'); in main()
235 driver_name); in main()
241 new_drv = driver_name; in main()
285 (policy = check_plcy_entry(policy, driver_name, B_FALSE)) == NULL) { in main()
[all …]
H A Drem_drv.c59 char *basedir = NULL, *driver_name = NULL; in main() local
104 driver_name = calloc(strlen(argv[optind]) + 1, 1); in main()
105 if (driver_name == NULL) { in main()
110 (void) strcat(driver_name, argv[optind]); in main()
144 if ((found = get_major_no(driver_name, name_to_major)) == ERROR) { in main()
150 driver_name); in main()
158 get_modid(driver_name, &modid); in main()
165 driver_name); in main()
173 gettext("cannot unload %s.conf\n"), driver_name); in main()
187 if (append_to_file(driver_name, maj_num, in main()
[all …]
H A Ddrvsubr.c71 static int get_name_to_major_entry(int *major_no, char *driver_name,
125 char *driver_name, in append_to_file() argument
157 line_len = strlen(driver_name) + len + 4; in append_to_file()
182 driver_name, entry_separator, one_entry); in append_to_file()
216 char *driver_name, in append_to_minor_perm() argument
245 line_len = strlen(driver_name) + len + 4; in append_to_minor_perm()
264 driver_name, one_entry); in append_to_minor_perm()
343 char *driver_name, in delete_entry() argument
467 if (strcmp(driver_name, drv) != 0) { in delete_entry()
561 get_major_no(char *driver_name, char *file_name) in get_major_no() argument
[all …]
/titanic_44/usr/src/uts/common/avs/ns/nsctl/
H A Dnsc_trap.c38 nsc_do_sysevent(char *driver_name, char *trap_messages, int errorno, in nsc_do_sysevent() argument
64 if (strcmp(driver_name, "sdbc") == 0) in nsc_do_sysevent()
67 else if (strcmp(driver_name, "ste") == 0) in nsc_do_sysevent()
70 else if (strcmp(driver_name, "ii") == 0) in nsc_do_sysevent()
78 driver_name, errorno, trap_messages, alertlevel); in nsc_do_sysevent()
/titanic_44/usr/src/cmd/hal/hald/solaris/
H A Ddevinfo_acpi.c66 char *driver_name; in devinfo_acpi_add() local
74 driver_name = di_driver_name(node); in devinfo_acpi_add()
75 if ((driver_name == NULL) || (strcmp(driver_name, "acpi_drv") != 0)) { in devinfo_acpi_add()
135 char *driver_name; in devinfo_power_button_add() local
137 driver_name = di_driver_name(node); in devinfo_power_button_add()
138 if ((driver_name == NULL) || (strcmp(driver_name, "power") != 0)) { in devinfo_power_button_add()
H A Ddevinfo_usb.c45 static void set_usb_properties(HalDevice *d, di_node_t node, gchar *devfs_path, char *driver_name);
129 char *driver_name, *binding_name; in devinfo_usb_add() local
138 driver_name = di_driver_name (node); in devinfo_usb_add()
173 set_usb_properties (d, node, devfs_path, driver_name); in devinfo_usb_add()
176 if ((driver_name != NULL) && (strcmp (driver_name, "usb_mid") == 0)) { in devinfo_usb_add()
220 if (driver_name != NULL) { in devinfo_usb_add()
221 if (strcmp (driver_name, "scsa2usb") == 0) { in devinfo_usb_add()
223 } else if (strcmp (driver_name, "usbprn") == 0) { in devinfo_usb_add()
225 } else if (strcmp(driver_name, "hid") == 0) { in devinfo_usb_add()
230 } else if (strcmp(driver_name, "usbvc") == 0) { in devinfo_usb_add()
[all …]
H A Ddevinfo_ieee1394.c53 char *driver_name; in devinfo_ieee1394_add() local
64 if ((driver_name = di_driver_name (node)) == NULL) { in devinfo_ieee1394_add()
68 if (strcmp (driver_name, "scsa1394") == 0) { in devinfo_ieee1394_add()
H A Ddevinfo_misc.c201 char *driver_name; in devinfo_default_add() local
210 driver_name = di_driver_name (node); in devinfo_default_add()
211 if ((driver_name != NULL) && in devinfo_default_add()
212 (strcmp (driver_name, "lofi") != 0)) { in devinfo_default_add()
H A Ddevinfo_storage.c206 char *driver_name; in devinfo_ide_storage_add() local
209 if ((driver_name = di_driver_name (node)) == NULL) { in devinfo_ide_storage_add()
219 "%s/%s%d", hal_device_get_udi (parent), driver_name, di_instance (node)); in devinfo_ide_storage_add()
250 char *driver_name; in devinfo_scsi_add() local
254 driver_name = di_driver_name (node); in devinfo_scsi_add()
255 if ((driver_name == NULL) || (strcmp (driver_name, "sd") != 0)) { in devinfo_scsi_add()
375 char *driver_name; in devinfo_blkdev_add() local
379 driver_name = di_driver_name (node); in devinfo_blkdev_add()
380 if ((driver_name == NULL) || (strcmp (driver_name, "blkdev") != 0)) { in devinfo_blkdev_add()
404 char *driver_name; in devinfo_blkdev_storage_add() local
[all …]
H A Ddevinfo_cpu.c59 char *driver_name, *s; in devinfo_cpu_add() local
172 if ((driver_name = di_driver_name (node)) != NULL) { in devinfo_cpu_add()
174 driver_name); in devinfo_cpu_add()
/titanic_44/usr/src/cmd/sysdef/
H A Dsdevinfo.c72 char *driver_name; in dump_node() local
97 if (driver_name = di_driver_name(node)) { in dump_node()
99 driver_name); in dump_node()
113 if (driver_name = di_driver_name(node)) { in dump_node()
115 driver_name); in dump_node()
/titanic_44/usr/src/uts/sun4u/javelin/io/
H A Denvctrltwo.c133 static char driver_name[] = "envctrltwo"; variable
848 driver_name, unitp->instance); in envctrl_ioctl()
908 driver_name, unitp->instance); in envctrl_ioctl()
943 driver_name, unitp->instance); in envctrl_ioctl()
971 driver_name, unitp->instance); in envctrl_ioctl()
1026 driver_name, unitp->instance); in envctrl_ioctl()
1047 driver_name, unitp->instance); in envctrl_ioctl()
1112 driver_name, unitp->instance); in envctrl_ioctl()
1129 driver_name, unitp->instance); in envctrl_ioctl()
1225 driver_name, unitp->instance); in envctrl_dev_isr()
[all …]
/titanic_44/usr/src/lib/udapl/udapl_tavor/
H A DSUNWudaplt.conf26 driver_name=tavor u1.2 nonthreadsafe default udapl_tavor.so.1 SUNW.1.0 " "
27 driver_name=arbel u1.2 nonthreadsafe default udapl_tavor.so.1 SUNW.1.0 " "
28 driver_name=hermon u1.2 nonthreadsafe default udapl_tavor.so.1 SUNW.1.0 " "
/titanic_44/usr/src/common/devid/
H A Ddevid_smp.c89 char *driver_name, /* IN */ in ddi_devid_smp_encode() argument
214 if (driver_name != NULL) { in ddi_devid_smp_encode()
215 driver_name_len = strlen(driver_name); in ddi_devid_smp_encode()
218 driver_name += driver_name_len - DEVID_HINT_SIZE; in ddi_devid_smp_encode()
221 bcopy(driver_name, i_devid->did_driver, driver_name_len); in ddi_devid_smp_encode()
H A Ddevid_scsi.c114 static int devid_scsi_init(char *driver_name,
148 char *driver_name, /* IN */ in ddi_devid_scsi_encode() argument
275 rval = devid_scsi_init(driver_name, in ddi_devid_scsi_encode()
1085 char *driver_name, in devid_scsi_init() argument
1120 if (driver_name != NULL) { in devid_scsi_init()
1121 driver_name_len = strlen(driver_name); in devid_scsi_init()
1124 driver_name += driver_name_len - DEVID_HINT_SIZE; in devid_scsi_init()
1127 bcopy(driver_name, i_devid->did_driver, driver_name_len); in devid_scsi_init()
/titanic_44/usr/src/cmd/th_tools/
H A Dth_manage.c346 char *driver_name; in getnameinst() local
350 if ((driver_name = di_driver_name(node)) == NULL) { in getnameinst()
355 (void) strncpy(name, driver_name, namelen); in getnameinst()
372 char *driver_name; in walk_callback() local
375 driver_name = di_driver_name(node); in walk_callback()
376 if (driver_name != NULL) { in walk_callback()
377 if (strcmp(driver_name, warg->name) == 0 && in walk_callback()
/titanic_44/usr/src/cmd/mdb/sparc/modules/intr/
H A Dintr.c53 char driver_name[12]; member
240 (void) mdb_snprintf(info.driver_name, in intr_niumx_walk_step()
241 sizeof (info.driver_name), "%s", name); in intr_niumx_walk_step()
327 (void) mdb_snprintf(info.driver_name, in intr_pci_print_items()
328 sizeof (info.driver_name), "%s", name); in intr_pci_print_items()
411 (void) mdb_snprintf(info.driver_name, in intr_px_print_items()
412 sizeof (info.driver_name), "%s", name); in intr_px_print_items()
494 mdb_printf(" %11s#%d\t", info.driver_name, info.instance); in intr_print_elements()
511 mdb_printf("Device:\t\t%s\n", info.driver_name); in intr_print_elements()
/titanic_44/usr/src/grub/grub-0.97/netboot/
H A Dconfig.c117 static const char *driver_name[] = { variable
130 (dev->type < sizeof(driver_name)/sizeof(driver_name[0]))) { in probe()
131 type_name = driver_name[dev->type]; in probe()
/titanic_44/usr/src/lib/sun_sas/common/
H A DSun_sasGetPhyStatistics.c45 char *driver_name, kstat_name[256]; in Sun_sasGetPhyStatistics() local
163 driver_name = di_driver_name(node); in Sun_sasGetPhyStatistics()
164 if (driver_name == NULL) { in Sun_sasGetPhyStatistics()
183 driver_name, iport_wwn, instance, phy_ptr->phy.PhyIdentifier); in Sun_sasGetPhyStatistics()
/titanic_44/usr/src/lib/libdevid/
H A Dlibdevid.h45 extern int devid_scsi_encode(int version, char *driver_name, uchar_t *inq,
49 extern int devid_smp_encode(int version, char *driver_name,
/titanic_44/usr/src/cmd/mdb/common/modules/usba/
H A Dprtusb.c751 char driver_name[STRLEN] = ""; in prt_usb_tree_node() local
774 mdb_devinfo2driver(paddr, driver_name, STRLEN); in prt_usb_tree_node()
775 mdb_printf("(driver name: %s)\n", driver_name); in prt_usb_tree_node()
789 mdb_snprintf(strbuf, STRLEN, "%s_statep", driver_name); in prt_usb_tree_node()
795 mdb_snprintf(strbuf, STRLEN, "%s_errlevel", driver_name); in prt_usb_tree_node()
800 if (strcmp(driver_name, "ehci") == 0) { in prt_usb_tree_node()
808 if (strcmp(driver_name, "ohci") == 0) { in prt_usb_tree_node()
816 if (strcmp(driver_name, "uhci") == 0) { in prt_usb_tree_node()
824 if (strcmp(driver_name, "hubd") == 0) { in prt_usb_tree_node()
832 if (strcmp(driver_name, "hid") == 0) { in prt_usb_tree_node()
/titanic_44/usr/src/cmd/picl/plugins/sun4u/snowbird/frutree/
H A Dpiclkstat.c90 kstat_port_state(frutree_port_type_t port_type, char *driver_name, in kstat_port_state() argument
103 rc = port_state[port_type](kc, driver_name, driver_instance); in kstat_port_state()
115 kstat_port_cond(frutree_port_type_t port_type, char *driver_name, in kstat_port_cond() argument
127 rc = port_cond[port_type](kc, driver_name, driver_instance); in kstat_port_cond()
/titanic_44/usr/src/uts/sun4v/io/niumx/
H A Dniumx_tools.c80 char *driver_name, char *path_name, int instance);
244 niumxtool_fill_in_intr_devs(pcitool_intr_dev_t *dev, char *driver_name, in niumxtool_fill_in_intr_devs() argument
247 (void) strlcpy(dev->driver_name, driver_name, MAXMODCONFNAME); in niumxtool_fill_in_intr_devs()
/titanic_44/usr/src/uts/common/sys/fibre-channel/fca/oce/
H A Doce_ioctl.h51 uint8_t driver_name[32]; member

123