Searched defs:instance (Results 301 - 325 of 540) sorted by relevance

<<11121314151617181920>>

/illumos-gate/usr/src/uts/common/sys/
H A Dbscv_impl.h165 * Hardware instance variables
172 int instance; /* instance number for the device */ member in struct:__anon7050
316 * The instance number of "an" instance of the driver. This is assigned
/illumos-gate/usr/src/uts/common/io/ipw/
H A Dipw2100.c237 int instance; local
244 instance = ddi_get_instance(dip);
245 cmn_err(level, "%s%d: %s", IPW2100_DRV_NAME, instance, buf);
260 int instance, err, i; local
280 instance = ddi_get_instance(dip);
281 err = ddi_soft_state_zalloc(ipw2100_ssp, instance);
287 sc = ddi_get_soft_state(ipw2100_ssp, instance);
469 IPW2100_DRV_NAME, instance);
471 instance + 1, DDI_NT_NET_WIFI, 0);
515 ddi_soft_state_free(ipw2100_ssp, instance);
[all...]
/illumos-gate/usr/src/uts/common/io/iwi/
H A Dipw2200.c271 int instance; local
278 instance = ddi_get_instance(dip);
279 cmn_err(level, "%s%d: %s", IPW2200_DRV_NAME, instance, buf);
335 int instance, err, i; local
372 instance = ddi_get_instance(dip);
373 err = ddi_soft_state_zalloc(ipw2200_ssp, instance);
379 sc = ddi_get_soft_state(ipw2200_ssp, instance);
538 * different instance has different WPA door
540 ieee80211_register_door(ic, ddi_driver_name(dip), instance);
601 IPW2200_DRV_NAME, instance);
[all...]
/illumos-gate/usr/src/uts/sun4u/starcat/io/
H A Daxq.c293 int instance; local
298 instance = ddi_get_instance(devi);
309 softsp = ddi_get_soft_state(axq_softp, instance);
321 if (ddi_soft_state_zalloc(axq_softp, instance) != DDI_SUCCESS)
324 softsp = ddi_get_soft_state(axq_softp, instance);
372 * Make sure that some axq instance does
396 /* update the axq array for this new instance */
409 ddi_soft_state_free(axq_softp, instance);
523 int instance; local
528 /* get the instance o
625 int instance, ret; local
1361 int instance = ddi_get_instance(dip); local
[all...]
/illumos-gate/usr/src/uts/sun4u/starcat/sys/
H A Diosramvar.h204 * IOSRAM per instance state
212 int instance; /* driver instance number */ member in struct:iosramsoft
247 #define IOSRAM_STATE_DETACH 0x0020 /* IOSRAM instance being detached */
/illumos-gate/usr/src/uts/sun4u/starfire/io/
H A Didn_dlpi.c339 int instance; local
344 instance = ddi_get_instance(sip->si_dip);
348 rv = idndl_domain_etheraddr(idn.localid, instance, eap);
418 int instance; local
454 instance = (int)eaop[IDNETHER_CHANNEL];
456 sip = IDN_INST2SIP(instance);
/illumos-gate/usr/src/uts/sun4u/sunfire/io/
H A Dac.c224 int instance; local
228 instance = AC_GETINSTANCE(getminor(dev));
229 *result = (void *)(uintptr_t)instance;
238 int instance; local
253 instance = ddi_get_instance(devi);
255 if (ddi_soft_state_zalloc(acp, instance) != DDI_SUCCESS) {
257 instance);
261 softsp = ddi_get_soft_state(acp, instance);
271 instance, OBP_BOARDNUM);
276 " softsp=0x%p\n", instance, (voi
360 int instance; local
445 int instance; local
486 int instance; local
567 int instance; local
910 int instance = ddi_get_instance(dip); local
[all...]
/illumos-gate/usr/src/uts/sun4u/sys/
H A Denvctrl_gen.h150 int instance; /* instance of this type */ member in struct:envctrl_ps
159 int instance; /* instance of this type */ member in struct:envctrl_fan
167 int instance; member in struct:envctrl_encl
/illumos-gate/usr/src/uts/sun4v/io/
H A Dvlds.c63 int instance; member in struct:vlds_state
/illumos-gate/usr/src/uts/sun4u/daktari/io/
H A Dhpc3130_dak.c272 int instance;
279 instance = MINOR_TO_INST(getminor(*devp));
282 ddi_get_soft_state(hpc3130soft_statep, instance);
314 int instance;
316 instance = MINOR_TO_INST(getminor(dev));
319 ddi_get_soft_state(hpc3130soft_statep, instance);
424 int instance = MINOR_TO_INST(getminor(dev)); local
428 ddi_get_soft_state(hpc3130soft_statep, instance);
437 * index in the per instance slot table. If it is not
448 D2CMN_ERR((CE_NOTE, "ioctl: port = %d instance
694 int instance = MINOR_TO_INST(getminor(dev)); local
719 int instance; local
768 int instance = ddi_get_instance(dip); local
1031 int instance = ddi_get_instance(dip); local
1210 int instance = ddi_get_instance(dip); local
[all...]
/illumos-gate/usr/src/uts/sun4u/io/
H A Dmc-us3i.c216 int instance, len, err; local
230 instance = ddi_get_instance(devi);
232 if (ddi_soft_state_zalloc(mcp, instance) != DDI_SUCCESS)
235 softsp = ddi_get_soft_state(mcp, instance);
243 instance, "portid"));
248 instance, softsp->portid, CPU->cpu_id));
258 instance, softsp->mcreg1));
264 instance));
293 instance));
316 if (ddi_create_minor_node(devi, "mc-us3i", S_IFCHR, instance,
344 int instance; local
[all...]
/illumos-gate/usr/src/uts/sun4u/io/pci/
H A Dsimba.c343 int instance; local
345 instance = getminor((dev_t)arg);
347 instance);
354 *result = (void *)(uintptr_t)instance;
377 int instance; local
394 instance = ddi_get_instance(devi);
395 if (ddi_soft_state_zalloc(simba_state, instance) != DDI_SUCCESS)
398 instance);
406 if (ddi_create_minor_node(devi, "devctl", S_IFCHR, instance,
409 ddi_soft_state_free(simba_state, instance);
[all...]
/illumos-gate/usr/src/uts/sun4u/lw8/io/
H A Dlw8.c357 int instance; local
363 * only allow one instance
365 instance = ddi_get_instance(dip);
366 if (instance != 0)
370 instance, DDI_PSEUDO, NULL);
424 int instance; local
429 instance = ddi_get_instance(dip);
430 if (instance != 0)
813 int instance = getminor(*dev_p); local
816 if (instance !
1079 int instance = getminor(dev); local
[all...]
H A Dntwdt.c52 * concurrent instance of open() is allowed. On the close(),
578 int instance; local
604 instance = ddi_get_instance(dip);
605 ASSERT(instance == 0);
607 if (ddi_soft_state_zalloc(ntwdt_statep, instance)
611 ntwdt_ptr = ddi_get_soft_state(ntwdt_statep, instance);
702 ddi_soft_state_free(ntwdt_statep, instance);
792 int instance = ddi_get_instance(dip); local
798 ntwdt_ptr = ddi_get_soft_state(ntwdt_statep, instance);
830 ddi_soft_state_free(ntwdt_statep, instance);
933 int instance; local
[all...]
H A Dsgenv.c488 int instance; local
494 instance = ddi_get_instance(dip);
497 err = ddi_soft_state_zalloc(sgenv_statep, instance);
500 "structure for inst %d.", instance);
504 softsp = ddi_get_soft_state(sgenv_statep, instance);
506 ddi_soft_state_free(sgenv_statep, instance);
508 "structure for inst %d.", instance);
513 softsp->instance = instance;
524 ddi_soft_state_free(sgenv_statep, instance);
589 int instance; local
[all...]
H A Dsgfru.c163 int instance; local
169 instance = ddi_get_instance(dip);
171 error = ddi_soft_state_zalloc(sgfru_statep, instance);
174 "for inst %d.", f, instance);
177 softsp = ddi_get_soft_state(sgfru_statep, instance);
179 ddi_soft_state_free(sgfru_statep, instance);
181 "structure for inst %d.", f, instance);
186 softsp->instance = instance;
189 instance, DDI_PSEUD
210 int instance; local
242 int instance = getminor(*dev_p); local
265 int instance = getminor(dev); local
284 int instance = getminor(dev); local
[all...]
/illumos-gate/usr/src/uts/sun4u/montecarlo/io/
H A Dhsc.c1496 scsb_hsc_attach(dev_info_t *dip, void *scsb_handle, int instance) argument
1537 rc = ddi_soft_state_zalloc(hsc_state, instance);
1541 hsc = (hsc_state_t *)ddi_get_soft_state(hsc_state, instance);
1544 hsc->instance = instance;
1591 ddi_soft_state_free(hsc_state, instance);
1605 ddi_soft_state_free(hsc_state, instance);
1690 ddi_soft_state_free(hsc_state, instance);
1706 ddi_soft_state_free(hsc_state, instance);
1754 ddi_soft_state_free(hsc_state, instance);
1785 scsb_hsc_detach(dev_info_t *dip, void *scsb_handle, int instance) argument
1859 int instance = ddi_get_instance(dip); local
1914 int instance = ddi_get_instance(dip); local
1968 int instance = ddi_get_instance(dip); local
1986 hsc_ac_op(int instance, int pslotnum, int op, void *arg) argument
[all...]
/illumos-gate/usr/src/uts/sun4u/montecarlo/sys/
H A Dpcf8574_nct.h297 int instance; member in struct:pcf8574_unit
/illumos-gate/usr/src/uts/sun4u/opl/io/oplmsu/
H A Doplmsu.c310 int instance; local
322 instance = ddi_get_instance(dip);
323 if (instance != 0) {
325 "Invaild instance => %d", instance);
330 meta_minor = instance | META_NODE_MASK;
332 user_minor = instance | USER_NODE_MASK;
530 * If the node which will open is User-Access-Node, and instance
1165 oplmsu_set_lpathnum(int lnk_id, int instance) argument
1176 lpath->path_no = instance; /* Se
1199 int instance; local
1314 int instance; local
1715 int instance; local
1866 int instance; local
[all...]
/illumos-gate/usr/src/uts/intel/io/amr/
H A Damr.c312 int instance; local
315 instance = ddi_get_instance(dev);
331 if (ddi_soft_state_zalloc(amr_softstatep, instance) != DDI_SUCCESS)
333 softs = ddi_get_soft_state(amr_softstatep, instance);
421 * configured for this instance.
491 ddi_soft_state_free(amr_softstatep, instance);
506 int instance; local
509 instance = ddi_get_instance(dev);
510 softs = ddi_get_soft_state(amr_softstatep, instance);
566 ddi_soft_state_free(amr_softstatep, instance);
577 int instance; local
788 int instance; local
[all...]
/illumos-gate/usr/src/uts/intel/io/dktp/dcdev/
H A Ddadk.c58 static void dadk_create_errstats(struct dadk *dadkp, int instance);
548 dadk_create_errstats(struct dadk *dadkp, int instance) argument
557 (void) sprintf(kstatname, "cmdk%d,error", instance);
558 dadkp->dad_errstats = kstat_create("cmdkerror", instance,
/illumos-gate/usr/src/uts/intel/io/dktp/drvobj/
H A Dstrategy.c102 static int fc_start_kstat(opaque_t queuep, char *devtype, int instance);
158 fc_start_kstat(opaque_t queuep, char *devtype, int instance) argument
165 if (fcdp->ds_kstat = kstat_create("cmdk", instance, NULL,
/illumos-gate/usr/src/uts/common/io/
H A Demul64.c286 int instance = getminor((dev_t)arg); local
290 foo = ddi_get_soft_state(emul64_state, instance);
300 *result = (void *)(uintptr_t)instance;
311 * Attach an instance of an emul64 host adapter. Allocate data structures,
320 int instance; local
327 instance = ddi_get_instance(dip);
344 "emul64%d: Cmd != DDI_ATTACH/DDI_RESUME", instance);
351 if (ddi_soft_state_zalloc(emul64_state, instance) != DDI_SUCCESS) {
354 instance);
358 emul64 = (struct emul64 *)ddi_get_soft_state(emul64_state, instance);
464 int instance = ddi_get_instance(dip); local
1401 int instance; local
[all...]
H A Demul64_bsd.c316 int instance = ddi_get_instance(emul64->emul64_dip); local
349 sp->cmd_addr[16] = uint_to_byte1(instance);
350 sp->cmd_addr[17] = uint_to_byte0(instance);
/illumos-gate/usr/src/uts/common/io/fcoe/
H A Dfcoe.c304 int instance; local
307 instance = ddi_get_instance(dip);
310 ret = ddi_soft_state_zalloc(fcoe_state, instance);
312 FCOE_LOG(0, "soft_state_zalloc-%x/%x", ret, instance);
316 ss = ddi_get_soft_state(fcoe_state, instance);
346 int instance; local
349 instance = ddi_get_instance(dip);
350 ss = ddi_get_soft_state(fcoe_state, instance);
410 * We need specify the dev address for client driver's instance, or we
411 * can't online client driver's instance
447 int instance; local
499 int instance; local
[all...]

Completed in 108 milliseconds

<<11121314151617181920>>