Searched refs:instance (Results 351 - 375 of 843) sorted by relevance

<<11121314151617181920>>

/illumos-gate/usr/src/uts/common/io/xge/drv/
H A Dxgell.c327 XGELL_IFNAME, lldev->instance);
337 XGELL_IFNAME, lldev->instance);
344 XGELL_IFNAME, lldev->instance);
352 XGELL_IFNAME, lldev->instance);
358 XGELL_IFNAME, lldev->instance);
431 XGELL_IFNAME, lldev->instance);
736 lldev->instance, (uint64_t)(uintptr_t)dtr, t_code);
751 XGELL_IFNAME, lldev->instance);
785 XGELL_IFNAME, lldev->instance);
908 lldev->instance, (uint64_
2328 int instance = ddi_get_instance(dev_info); local
[all...]
/illumos-gate/usr/src/lib/fm/topo/modules/i86pc/x86pi/
H A Dx86pi_bay.c261 int instance)
297 hcfmri.instance = instance;
307 f, BAY, instance);
260 x86pi_gen_bay(topo_mod_t *mod, tnode_t *t_parent, smbios_port_ext_t *eport, int instance) argument
/illumos-gate/usr/src/cmd/svr4pkg/hdrs/
H A Dinstall.h87 char *instance; member in struct:admin
/illumos-gate/usr/src/lib/sun_sas/common/
H A DSun_sasGetPhyStatistics.c47 int instance = 0; local
150 * Then we could fetch the instance number and driver name of this
153 instance = di_instance(node);
154 if (instance == -1) {
157 "An instance number has not been assigned to the "
183 driver_name, iport_wwn, instance, phy_ptr->phy.PhyIdentifier);
/illumos-gate/usr/src/uts/common/io/chxge/com/
H A Dvsc7326.c411 int port = mac->instance->index;
434 int port = mac->instance->index;
451 int index = mac->instance->index;
462 int port = mac->instance->index;
478 int port = mac->instance->index;
492 int enable, port = mac->instance->index;
560 int port = mac->instance->index;
574 int i, port = mac->instance->index;
614 int port = mac->instance->index;
663 mac->instance
[all...]
H A Dpm3393.c366 if (cmac->instance->fc & PAUSE_RX)
368 if (cmac->instance->fc & PAUSE_TX)
373 cmac->instance->enabled |= which;
413 cmac->instance->enabled &= ~which;
431 int enabled = cmac->instance->enabled;
479 int enabled = cmac->instance->enabled & MAC_DIRECTION_RX;
534 *fc = cmac->instance->fc;
548 if (fc != cmac->instance->fc) {
549 cmac->instance->fc = (u8) fc;
550 if (cmac->instance
[all...]
/illumos-gate/usr/src/uts/common/io/comstar/port/fcoet/
H A Dfcoet.c243 int instance; local
246 instance = ddi_get_instance(dip);
247 FCOET_LOG("fcoet_attach", "get instance %d", instance);
251 ret = ddi_soft_state_zalloc(fcoet_state, instance);
256 ss = ddi_get_soft_state(fcoet_state, instance);
257 ss->ss_instance = instance;
262 ddi_soft_state_free(fcoet_state, instance);
286 int instance; local
289 instance
324 int instance; local
375 int instance; local
[all...]
/illumos-gate/usr/src/uts/i86pc/io/ioat/
H A Dioat_ioctl.c65 int instance; local
73 instance = getminor(dev);
74 if (instance == -1) {
77 state = ddi_get_soft_state(ioat_statep, instance);
/illumos-gate/usr/src/uts/common/io/rge/
H A Drge_kstats.c95 rge_setup_named_kstat(rge_t *rgep, int instance, char *name, argument
104 ksp = kstat_create(RGE_DRIVER_NAME, instance, name, "net",
137 rge_init_kstats(rge_t *rgep, int instance) argument
140 instance, "driverinfo", rge_driverinfo,
/illumos-gate/usr/src/uts/common/io/tpm/
H A Dtpm_ddi.h69 int instance; member in struct:tpm_state
H A Dtpm.c1383 int instance; local
1392 instance = ddi_get_instance(dip);
1393 if (instance < 0)
1399 if (ddi_soft_state_zalloc(statep, instance) == DDI_SUCCESS) {
1400 tpm = ddi_get_soft_state(statep, instance);
1420 tpm = ddi_get_soft_state(statep, instance);
1461 * the 1st set of registers, for instance.
1554 ddi_soft_state_free(statep, instance);
1633 int instance; local
1638 instance
1678 int instance; local
1715 int instance; local
1759 int instance; local
1796 int instance; local
1880 int instance; local
[all...]
/illumos-gate/usr/src/uts/common/sys/
H A Dinstance.h72 int ind_instance; /* current instance number */
75 * The following field is used to link instance numbers for the
86 #define IN_PROVISIONAL 0x1 /* provisional instance number assigned */
87 #define IN_PERMANENT 0x2 /* instance number has been confirmed */
88 #define IN_UNKNOWN 0x3 /* instance number not yet assigned */
89 #define IN_BORROWED 0x4 /* instance number from alias */
93 * Guard for path to instance file
111 uint_t instance, char *path);
119 /* Platform instance override functions */
124 /* walk the instance tre
[all...]
H A Dbofi_impl.h88 int instance; /* as returned by ddi_get_instance() */ member in struct:bofi_shadow
/illumos-gate/usr/src/uts/sun4u/serengeti/sys/
H A Dssm.h42 * instance-minor no
52 int initialized; /* instance has been initialized */
59 int instance; /* instance for this wildcat node */ member in struct:__anon9970
/illumos-gate/usr/src/uts/sun4u/snowbird/sys/
H A Dtodds1307.h74 /* per instance based */
83 int instance; member in struct:ds1307_state
/illumos-gate/usr/src/uts/sun4u/sys/
H A Dtodds1337.h104 /* per instance based */
113 int instance; member in struct:ds1337_state
/illumos-gate/usr/src/uts/sun4/io/px/
H A Dpx.c194 int instance = PCI_MINOR_NUM_TO_INSTANCE(minor); local
195 px_t *px_p = INST_TO_STATE(instance);
200 *result = (void *)(intptr_t)instance;
227 int instance = DIP_TO_INST(dip); local
243 if (ddi_soft_state_zalloc(px_state_p, instance)
246 ddi_driver_name(dip), instance);
249 px_p = INST_TO_STATE(instance);
411 ddi_soft_state_free(px_state_p, instance);
419 px_p = INST_TO_STATE(instance);
426 "instance NO
455 int instance = ddi_get_instance(dip); local
613 int instance = ddi_get_instance(dip); local
687 int instance = ddi_get_instance(dip); local
[all...]
/illumos-gate/usr/src/uts/sun4u/montecarlo/sys/
H A Dhscimpl.h76 int instance; member in struct:hsc_state
/illumos-gate/usr/src/uts/intel/io/pci/
H A Dpci_pci.c281 int instance; local
300 instance = ddi_get_instance(devi);
301 if (ddi_soft_state_zalloc(ppb_state, instance) != DDI_SUCCESS)
303 ppb = ddi_get_soft_state(ppb_state, instance);
337 ddi_soft_state_free(ppb_state, instance);
643 * Pseudo nodes indicate a prototype node with per-instance
929 int instance = PCI_MINOR_NUM_TO_INSTANCE(getminor(*devp)); local
930 ppb_devstate_t *ppb_p = ddi_get_soft_state(ppb_state, instance);
954 int instance = PCI_MINOR_NUM_TO_INSTANCE(getminor(dev)); local
955 ppb_devstate_t *ppb_p = ddi_get_soft_state(ppb_state, instance);
984 int instance = PCI_MINOR_NUM_TO_INSTANCE(getminor(dev)); local
1006 int instance = PCI_MINOR_NUM_TO_INSTANCE(getminor(dev)); local
1024 int instance = PCI_MINOR_NUM_TO_INSTANCE(minor); local
[all...]
/illumos-gate/usr/src/uts/sun4v/io/iospc/
H A Diospc.c149 * Per-instance initialization. Suspend/resume not supported.
155 int instance = ddi_get_instance(dip); local
186 if (ddi_soft_state_zalloc(iospc_state_p, instance) !=
192 instance);
206 (void) ddi_soft_state_free(iospc_state_p, instance);
221 * Per-instance cleanup. Suspend/resume not supported.
226 int instance = ddi_get_instance(dip); local
230 iospc_state_p, instance);
236 (void) ddi_soft_state_free(iospc_state_p, instance);
286 * Per-instance initializatio
[all...]
/illumos-gate/usr/src/uts/common/io/mr_sas/
H A Dld_pd_map.c202 MR_GetPhyParams(struct mrsas_instance *instance, U32 ld, U64 stripRow, argument
215 U16 devid = instance->device_id;
294 MR_BuildRaidContext(struct mrsas_instance *instance, argument
406 if ((instance->device_id == PCI_DEVICE_ID_LSI_INVADER) ||
407 (instance->device_id == PCI_DEVICE_ID_LSI_FURY)) {
426 retval = MR_GetPhyParams(instance, ld, start_strip,
440 if (!MR_GetPhyParams(instance, ld,
/illumos-gate/usr/src/uts/sun4u/io/pci/
H A Ddb21554.c93 uint32_t instance; member in struct:db_pci_data
314 int instance);
482 int instance = PCIHP_AP_MINOR_NUM_TO_INSTANCE(minor); local
491 instance)) != NULL) {
499 *result = (void *)(uintptr_t)instance;
515 int instance = ddi_get_instance(dip); local
531 if (ddi_soft_state_zalloc(db_state, instance) != DDI_SUCCESS) {
536 dbp = (db_ctrl_t *)ddi_get_soft_state(db_state, instance);
557 ddi_soft_state_free(db_state, instance);
571 ddi_soft_state_free(db_state, instance);
714 int instance = ddi_get_instance(dip); local
1381 int instance = PCIHP_AP_MINOR_NUM_TO_INSTANCE(minor); local
1422 int instance = PCIHP_AP_MINOR_NUM_TO_INSTANCE(minor); local
1456 int instance = PCIHP_AP_MINOR_NUM_TO_INSTANCE(minor); local
1585 db_lookup_child_name(db_ctrl_t *dbp, char *name, int instance) argument
1729 int instance = ddi_get_instance(dip); local
3039 int instance = PCIHP_AP_MINOR_NUM_TO_INSTANCE(minor); local
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/mdnsd/
H A Duds_daemon.c806 mDNSlocal void external_start_advertising_helper(service_instance *const instance) argument
808 AuthRecord *st = instance->subtypes;
812 if (mDNSIPPortIsZero(instance->request->u.servicereg.port))
818 if (instance->external_advertise) LogMsg("external_start_advertising_helper: external_advertise already set!");
820 for ( i = 0; i < instance->request->u.servicereg.num_subtypes; i++)
821 external_start_advertising_service(&st[i].resrec, instance->request->flags);
823 external_start_advertising_service(&instance->srs.RR_PTR.resrec, instance->request->flags);
824 external_start_advertising_service(&instance->srs.RR_SRV.resrec, instance
833 external_stop_advertising_helper(service_instance *const instance) argument
949 service_instance *instance = srs->ServiceContext; local
961 service_instance *instance; local
1349 add_record_to_service(request_state *request, service_instance *instance, mDNSu16 rrtype, mDNSu16 rdlen, const char *rdata, mDNSu32 ttl) argument
1777 service_instance **ptr, *instance; local
4025 domainname instance; local
[all...]
/illumos-gate/usr/src/uts/i86pc/io/pciex/
H A Dnpe.c249 int instance = PCI_MINOR_NUM_TO_INSTANCE(minor); local
250 pci_state_t *pcip = ddi_get_soft_state(npe_statep, instance);
255 *result = (void *)(intptr_t)instance;
277 int instance = ddi_get_instance(devi); local
306 if (ddi_soft_state_zalloc(npe_statep, instance) == DDI_SUCCESS)
307 pcip = ddi_get_soft_state(npe_statep, instance);
343 ddi_soft_state_free(npe_statep, instance);
352 int instance = ddi_get_instance(devi); local
374 ddi_soft_state_free(npe_statep, instance);
864 * Pseudo nodes indicate a prototype node with per-instance
986 int instance = PCI_MINOR_NUM_TO_INSTANCE(minor); local
1036 int instance = PCI_MINOR_NUM_TO_INSTANCE(minor); local
1066 int instance = PCI_MINOR_NUM_TO_INSTANCE(minor); local
[all...]
/illumos-gate/usr/src/uts/common/io/usb/clients/usbskel/
H A Dusbskel.c296 int instance = ddi_get_instance(dip); local
322 if (ddi_soft_state_zalloc(usbskel_statep, instance) == DDI_SUCCESS) {
323 usbskelp = ddi_get_soft_state(usbskel_statep, instance);
334 ddi_driver_name(dip), instance);
420 if (ddi_create_minor_node(dip, name, S_IFCHR, instance,
460 * detach or suspend driver instance
467 int instance = ddi_get_instance(dip); local
469 ddi_get_soft_state(usbskel_statep, instance);
949 int instance = ddi_get_instance(dip); local
951 ddi_get_soft_state(usbskel_statep, instance);
979 int instance = ddi_get_instance(dip); local
1087 int instance = ddi_get_instance(dip); local
1156 int instance = ddi_get_instance(dip); local
[all...]

Completed in 112 milliseconds

<<11121314151617181920>>