Home
last modified time | relevance | path

Searched refs:drv_name (Results 1 – 25 of 41) sorted by relevance

12

/titanic_50/usr/src/lib/libdevinfo/
H A Ddevinfo_dim.c76 di_dim_path_devices(di_dim_t dim, char *drv_name, int instance, in di_dim_path_devices() argument
85 if (modctl(MODGETMAJBIND, drv_name, strlen(drv_name) + 1, &major) < 0) in di_dim_path_devices()
129 di_dim_path_dev(di_dim_t dim, char *drv_name, int instance, char *minor_name) in di_dim_path_dev() argument
140 devices = di_dim_path_devices(dim, drv_name, instance, minor_name); in di_dim_path_dev()
H A Dlibdevinfo.h163 extern di_node_t di_drv_first_node(const char *drv_name, di_node_t root);
400 extern di_node_t di_init_driver(const char *drv_name, uint_t flag);
557 char *drv_name, int instance, char *minor_name);
559 char *drv_name, int instance, char *minor_name);
/titanic_50/usr/src/cmd/prtconf/
H A Dprt_xxx.c41 char *drv_name; /* parent name */ member
129 { ppd_format[0].drv_name, obio_print},
130 { ppd_format[1].drv_name, pcmcia_print},
131 { ppd_format[2].drv_name, sbus_print}
357 char *drv_name, *tmp; in match_priv_data() local
364 if ((drv_name = di_driver_name(parent)) == NULL) in match_priv_data()
368 len = strlen(drv_name); in match_priv_data()
370 tmp = pdp->drv_name; in match_priv_data()
372 if (strncmp(tmp, drv_name, len) == 0) { in match_priv_data()
376 di_node_name(node), drv_name); in match_priv_data()
/titanic_50/usr/src/cmd/picl/plugins/sun4u/snowbird/frutree/
H A Dpicllibdevinfo.c64 char drv_name[20]; member
236 "NODE", port_info->drv_name, port_info->instance, in create_port_config_info()
270 char *drv_name = NULL; in load_driver() local
276 drv_name = di_driver_name(node); in load_driver()
277 if (drv_name == NULL) { in load_driver()
282 DEVFSADM_CMD, drv_name); in load_driver()
318 char *drv_name = NULL; in probe_tree() local
355 drv_name = di_driver_name(node); in probe_tree()
357 if ((bus_addr == NULL) || (drv_name == NULL)) { in probe_tree()
372 (void) strncpy(port_info->drv_name, drv_name, in probe_tree()
[all …]
H A Dpiclscsi.c74 char *drv_name; member
362 while (scsi_drv[i].drv_name && !len) { in get_bus_addr()
363 len = strspn(ap, scsi_drv[i++].drv_name); in get_bus_addr()
364 if (len && strstr(ap, scsi_drv[i-1].drv_name)) in get_bus_addr()
687 char *drv_name = NULL; in probe_disks() local
733 drv_name = di_driver_name(node); in probe_disks()
738 if (drv_name == NULL || bus_addr == NULL) { in probe_disks()
/titanic_50/usr/src/lib/fm/topo/modules/sun4v/sun4vpi/
H A Dpi_pciexrc.c45 static char *drv_name = NULL; variable
315 drv_name = di_driver_name(dnode); in pi_enum_update()
316 if (drv_name == NULL) { in pi_enum_update()
339 _enum_name, (uint64_t)mde_node, drv_name); in pi_enum_update()
342 TOPO_PROP_IMMUTABLE, drv_name, &err); in pi_enum_update()
351 modfmri = topo_mod_modfmri(mod, FM_MOD_SCHEME_VERSION, drv_name); in pi_enum_update()
447 dnode = di_drv_first_node(drv_name, devtree); in pi_enum_pciexrc_finddev()
/titanic_50/usr/src/uts/common/io/rsm/
H A Drsmops.c107 (*(p_drv->drv.rsm_thread_entry_pt))(p_drv->drv.drv_name); in rsmops_thread_entry()
138 if (strcmp((*pp_tail)->drv.drv_name, p_registry->drv_name) in rsm_register_driver()
184 if (strcmp((*pp_tail)->drv.drv_name, p_registry->drv_name)) { in rsm_unregister_driver()
223 if (strcmp(name, p_rsmops_list->drv.drv_name) == 0) { in find_rsmpi_driver()
/titanic_50/usr/src/uts/common/os/
H A Ddacf_clnt.c100 const char *drv_name = ddi_driver_name(dip); in dacfc_match_create_minor() local
101 if (drv_name == NULL) in dacfc_match_create_minor()
102 drv_name = "???"; in dacfc_match_create_minor()
104 (void) snprintf(drv_mname, MAXPATHLEN, "%s:%s", drv_name, name); in dacfc_match_create_minor()
/titanic_50/usr/src/uts/common/io/ib/adapters/hermon/
H A Dhermon_stats.c237 char *drv_name; in hermon_kstat_picN_create() local
244 drv_name = (char *)ddi_driver_name(state->hs_dip); in hermon_kstat_picN_create()
247 picN_ksp = kstat_create(drv_name, drv_instance, pic_name, "bus", in hermon_kstat_picN_create()
290 char *drv_name; in hermon_kstat_cntr_create() local
298 drv_name = (char *)ddi_driver_name(state->hs_dip); in hermon_kstat_cntr_create()
300 cntr_ksp = kstat_create(drv_name, drv_instance, "counters", "bus", in hermon_kstat_cntr_create()
600 char *drv_name; in hermon_kstat_perfcntr64_create() local
613 drv_name = (char *)ddi_driver_name(state->hs_dip); in hermon_kstat_perfcntr64_create()
617 cntr_ksp = kstat_create(drv_name, drv_instance, kname, "ib", in hermon_kstat_perfcntr64_create()
/titanic_50/usr/src/uts/common/io/ib/adapters/tavor/
H A Dtavor_stats.c265 char *drv_name; in tavor_kstat_picN_create() local
274 drv_name = (char *)ddi_driver_name(state->ts_dip); in tavor_kstat_picN_create()
277 picN_ksp = kstat_create(drv_name, drv_instance, pic_name, "bus", in tavor_kstat_picN_create()
324 char *drv_name; in tavor_kstat_cntr_create() local
334 drv_name = (char *)ddi_driver_name(state->ts_dip); in tavor_kstat_cntr_create()
336 cntr_ksp = kstat_create(drv_name, drv_instance, "counters", "bus", in tavor_kstat_cntr_create()
529 char *drv_name; in tavor_kstat_perfcntr64_create() local
534 drv_name = (char *)ddi_driver_name(state->ts_dip); in tavor_kstat_perfcntr64_create()
538 cntr_ksp = kstat_create(drv_name, drv_instance, kname, "ib", in tavor_kstat_perfcntr64_create()
/titanic_50/usr/src/uts/common/io/ib/ibtl/
H A Dibtl_impl.c1226 char *drv_name; in ibtl_kstat_stats_create() local
1234 drv_name = (char *)ddi_driver_name(hca_devp->hd_hca_dip); in ibtl_kstat_stats_create()
1237 drv_name, drv_instance, port_num); in ibtl_kstat_stats_create()
1316 char *drv_name; in ibtl_kstat_pkeys_create() local
1324 drv_name = (char *)ddi_driver_name(hca_devp->hd_hca_dip); in ibtl_kstat_pkeys_create()
1327 drv_name, drv_instance, port_num); in ibtl_kstat_pkeys_create()
/titanic_50/usr/src/uts/sun4u/opl/io/pcicmu/
H A Dpcmu_counters.c148 char *drv_name = (char *)ddi_driver_name(dip); in pcmu_create_cntr_kstat() local
161 drv_name, drv_instance); in pcmu_create_cntr_kstat()
/titanic_50/usr/src/uts/common/io/
H A Dstrplumb.c650 const char *drv_name = ddi_driver_name(dip); in getmacaddr() local
662 "/devices/pseudo/clone@0:%s", drv_name); in getmacaddr()
681 drv_name, ppa, rc); in getmacaddr()
694 drv_name, ppa, rc); in getmacaddr()
H A Ddevinfo.c596 char *drv_name; in di_ioctl() local
633 drv_name = kmem_alloc(MAXNAMELEN, KM_SLEEP); in di_ioctl()
634 if (ddi_copyin((void *)arg, drv_name, MAXNAMELEN, mode) != 0) { in di_ioctl()
635 kmem_free(drv_name, MAXNAMELEN); in di_ioctl()
643 i = ddi_name_to_major(drv_name); in di_ioctl()
645 kmem_free(drv_name, MAXNAMELEN); in di_ioctl()
659 kmem_free(drv_name, MAXNAMELEN); in di_ioctl()
3309 char *drv_name; in di_match_drv_name() local
3333 drv_name = ddi_major_to_name(major); in di_match_drv_name()
3334 if ((drv_name == NULL) || *drv_name == '\0') { in di_match_drv_name()
[all …]
H A Dopenprom.c810 char *drv_name; in opromioctl_cb() local
833 if ((drv_name = ddi_major_to_name(maj)) == NULL) { in opromioctl_cb()
838 (void) strcpy(opp->oprom_array, drv_name); in opromioctl_cb()
839 opp->oprom_size = strlen(drv_name); in opromioctl_cb()
/titanic_50/usr/src/uts/sun4u/io/pci/
H A Dpci_counters.c164 char *drv_name = (char *)ddi_driver_name(dip); in pci_create_cntr_kstat() local
179 drv_name, drv_instance); in pci_create_cntr_kstat()
/titanic_50/usr/src/uts/common/sys/rsm/
H A Drsmpi_driver.h46 char drv_name[MAX_DRVNAME+1]; /* name of the RSMPI driver */ member
/titanic_50/usr/src/uts/i86xpv/io/psm/
H A Dmp_platform_xpv.c1174 char *name, *drv_name, *prop_val, *cptr; in apic_bind_intr() local
1185 drv_name = NULL; in apic_bind_intr()
1191 drv_name = ddi_major_to_name(major); in apic_bind_intr()
1213 name, drv_name, instance, irq, in apic_bind_intr()
1231 (void) strcpy(prop_name, drv_name); in apic_bind_intr()
1282 if (drv_name != NULL) in apic_bind_intr()
1285 psm_name, name, drv_name, instance, irq, in apic_bind_intr()
/titanic_50/usr/src/cmd/fuser/
H A Dfuser.c229 i_get_dev_path(f_user_t *f_user, char *drv_name, int major, di_node_t *di_root) in i_get_dev_path() argument
250 di_node = di_drv_first_node(drv_name, *di_root); in i_get_dev_path()
/titanic_50/usr/src/uts/i86pc/io/
H A Dmp_platform_misc.c1220 char *name, *drv_name, *prop_val, *cptr; in apic_bind_intr() local
1231 drv_name = NULL; in apic_bind_intr()
1237 drv_name = ddi_major_to_name(major); in apic_bind_intr()
1259 name, drv_name, instance, irq, in apic_bind_intr()
1277 (void) strcpy(prop_name, drv_name); in apic_bind_intr()
1328 if (drv_name != NULL) in apic_bind_intr()
1331 psm_name, name, drv_name, instance, irq, in apic_bind_intr()
/titanic_50/usr/src/uts/common/sys/scsi/impl/
H A Dservices.h74 char *drv_name, int severity, daddr_t blkno, daddr_t err_blkno,
/titanic_50/usr/src/cmd/modload/
H A Dadd_drv.c492 module_not_found(char *drv_name, char *drv_path, int drv_path_size, in module_not_found() argument
516 "%s/drv/%s/%s", next, curdir->direc, drv_name); in module_not_found()
523 drv_name); in module_not_found()
/titanic_50/usr/src/uts/common/io/sfe/
H A Dsfe.c2079 const char *drv_name; in sfeattach() local
2097 drv_name = ddi_driver_name(dip); in sfeattach()
2099 DPRINTF(3, (CE_CONT, CONS "%s%d: sfeattach: called", drv_name, unit)); in sfeattach()
2106 drv_name, unit); in sfeattach()
2130 drv_name, unit, vid, did); in sfeattach()
2152 drv_name, unit, iline, latim)); in sfeattach()
2163 drv_name, unit); in sfeattach()
2173 (void) sprintf(gcp->gc_name, "%s%d", drv_name, unit); in sfeattach()
2299 drv_name, unit, p->chip_name, rev); in sfeattach()
/titanic_50/usr/src/uts/i86pc/io/apix/
H A Dapix_utils.c731 char *name, *drv_name; in apix_dprint_vector() local
740 drv_name = ddi_major_to_name(major); in apix_dprint_vector()
743 name, drv_name, instance); in apix_dprint_vector()
1341 char *name, *drv_name, *prop_val, *cptr; in apix_bind_cpu() local
1357 drv_name = NULL; in apix_bind_cpu()
1363 drv_name = ddi_major_to_name(major); in apix_bind_cpu()
1383 (void) strcpy(prop_name, drv_name); in apix_bind_cpu()
/titanic_50/usr/src/cmd/devfsadm/
H A Ddevfsadm.h109 char *drv_name; /* eg sd, ssd */ member

12