Searched defs:instance (Results 151 - 175 of 540) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/uts/common/io/1394/
H A Ds1394_misc.c663 int instance; local
670 instance = ddi_get_instance(hal->halinfo.dip);
672 hal->hal_ksp = kstat_create("s1394", instance, "stats", "misc",
/illumos-gate/usr/src/uts/common/io/1394/targets/av1394/
H A Dav1394.c196 int instance = ddi_get_instance(dip); local
205 if ((avp = AV1394_INST2STATE(instance)) == NULL) {
214 if (ddi_soft_state_zalloc(av1394_statep, instance) != 0) {
220 avp = AV1394_INST2STATE(instance);
233 avp->av_instance = instance;
267 int instance = ddi_get_instance(dip); local
272 if ((avp = AV1394_INST2STATE(instance)) == NULL) {
/illumos-gate/usr/src/uts/common/io/1394/targets/dcam1394/
H A Ddcam.c214 int instance; local
220 instance = ddi_get_instance(dip);
222 if (ddi_soft_state_zalloc(dcam_state_p, instance) !=
227 if ((softc_p = ddi_get_soft_state(dcam_state_p, instance)) ==
229 ddi_soft_state_free(dcam_state_p, instance);
237 softc_p->instance = instance;
252 (void) sprintf(tmp_str, "dcam%d", instance);
254 if (ddi_create_minor_node(dip, tmp_str, S_IFCHR, instance,
256 ddi_soft_state_free(dcam_state_p, instance);
387 int instance; local
412 int instance; local
452 int instance; local
526 int instance; local
618 int instance; local
690 int index, instance; local
861 int instance, is_ctrl_file, rc, i; local
1052 int instance, ring_buff_has_data, read_ptr_id; local
[all...]
/illumos-gate/usr/src/uts/common/io/cpqary3/
H A Dcpqary3.c281 uint32_t instance; local
294 instance = ddi_get_instance(dip);
296 /* Allocate the per-device-instance soft state structure */
298 retvalue = ddi_soft_state_zalloc(cpqary3_state, instance);
304 cpqary3p = ddi_get_soft_state(cpqary3_state, instance);
313 cpqary3p->instance = instance;
383 * of each instance of the HBA device.
395 * the current driver instance in the system.
396 * for e.g.: for 0th instance
533 int instance; local
[all...]
/illumos-gate/usr/src/uts/common/io/
H A Dcpudrv.c241 int instance; local
244 instance = ddi_get_instance(dip);
248 DPRINTF(D_ATTACH, ("cpudrv_attach: instance %d: "
249 "DDI_ATTACH called\n", instance));
252 if (ddi_soft_state_zalloc(cpudrv_state, instance) !=
254 cmn_err(CE_WARN, "cpudrv_attach: instance %d: "
255 "can't allocate state", instance);
259 if ((cpudsp = ddi_get_soft_state(cpudrv_state, instance)) ==
261 cmn_err(CE_WARN, "cpudrv_attach: instance %d: "
262 "can't get state", instance);
393 int instance; local
530 int instance; local
[all...]
H A Dstrplumb.c230 int instance; local
260 instance = ddi_get_instance(dip);
275 instance = ndev_unit;
281 driver, instance);
282 rootfs.bo_ppa = instance;
H A Dsysmsg.c252 minor_t instance; local
254 instance = getminor((dev_t)arg);
259 (instance == SYS_SYSMIN || instance == SYS_MSGMIN)) {
266 if (instance == SYS_SYSMIN || instance == SYS_MSGMIN) {
370 minor_t instance; local
373 instance = getminor(*dev);
375 if (state != OTYP_CHR || (instance != 0 && instance !
428 minor_t instance; local
[all...]
H A Dzcons.c31 * for system zones. Its implementation is straightforward. Each instance
119 * 1. While booting the zone, zoneadmd creates an instance of zcons.
188 * The instance number is encoded in the dev_t in the minor number; the lowest
190 * virtual console. The rest of the bits in the minor number are the instance.
287 * List of STREAMS modules that should be pushed onto every slave instance.
336 int instance; local
341 instance = ddi_get_instance(dip);
342 if (ddi_soft_state_zalloc(zc_soft_state, instance) != DDI_SUCCESS)
349 instance << 1 | ZC_SLAVE_MINOR, DDI_PSEUDO, 0) == DDI_FAILURE) ||
351 instance <<
366 int instance; local
396 int instance = ZC_INSTANCE((dev_t)arg); local
596 int instance = ZC_INSTANCE(*devp); local
[all...]
H A Dmouse8042.c79 * We only support one instance. Yes, it's theoretically possible to
263 int instance = ddi_get_instance(dip); local
322 * external node minor num == instance * 2
323 * internal node minor num == instance * 2 + 1
325 rc = ddi_create_minor_node(dip, "mouse", S_IFCHR, instance * 2,
332 instance * 2 + 1) != DDI_SUCCESS) {
422 int instance = MOUSE8042_MINOR_TO_INSTANCE(minor); local
432 *result = (void *)(uintptr_t)instance;
H A Dneti_impl.c609 net_kstat_create(netid_t netid, char *module, int instance, char *name, argument
617 return (kstat_create_netstack(module, instance, name, class, type,
/illumos-gate/usr/src/uts/common/io/chxge/com/
H A Dgmac.h111 cmac_instance *instance; member in struct:cmac
/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/i86hvm/io/
H A Dpv_cmdk.c512 int instance = ddi_get_instance(xsp->xdfss_dip); local
530 info.dki_unit = instance;
/illumos-gate/usr/src/uts/i86pc/io/pci/
H A Dpci_tools.c96 int instance = ddi_get_instance(dip); local
101 PCI_MINOR_NUM(instance, PCI_TOOL_REG_MINOR_NUM),
107 PCI_MINOR_NUM(instance, PCI_TOOL_INTR_MINOR_NUM),
415 * Loop thru list of dips and extract driver, name and instance.
/illumos-gate/usr/src/uts/i86pc/io/tzmon/
H A Dtzmon.c54 * plus a two-digit instance number plus a NULL. If the taskq name is changed
400 int instance; local
415 * It is exceedingly unlikely that instance will exceed 99.
419 instance = zone_count;
510 "AcpiThermalMonitor%02d", instance);
576 * checks particular objects in the thermal zone. One instance per
/illumos-gate/usr/src/uts/common/io/hxge/
H A Dhpi.h148 uint16_t instance; member in struct:_hpi_handle_function
/illumos-gate/usr/src/uts/common/io/ib/clients/eoib/
H A Deib_main.c201 int instance; local
208 * Allocate softstate for this instance
210 instance = ddi_get_instance(dip);
211 if (ddi_soft_state_zalloc(eib_state, instance) == DDI_FAILURE)
216 ss = ddi_get_soft_state(eib_state, instance);
218 ss->ei_instance = (uint_t)instance;
222 * for this instance
283 int instance; local
288 instance = ddi_get_instance(dip);
289 ss = ddi_get_soft_state(eib_state, instance);
855 int instance; local
[all...]
/illumos-gate/usr/src/uts/common/io/usb/hcd/ehci/
H A Dehci.c198 * Allocates resources for each EHCI host controller instance.
207 int instance; local
222 /* Get the instance and create soft state */
223 instance = ddi_get_instance(dip);
225 if (ddi_soft_state_zalloc(ehci_statep, instance) != 0) {
230 ehcip = ddi_get_soft_state(ehci_statep, instance);
249 /* Save the dip and instance */
251 ehcip->ehci_instance = instance;
314 * Make this HCD instance known to USBA
543 int instance; local
581 int instance = EHCI_UNIT(dev); local
[all...]
/illumos-gate/usr/src/uts/common/io/usb/usb_ia/
H A Dusb_ia.c262 int instance = getminor((dev_t)arg); local
268 instance)) != NULL) {
279 *result = (void *)(intptr_t)instance;
518 int instance = ddi_get_instance(dip); local
528 usb_ia = ddi_get_soft_state(usb_ia_statep, instance);
542 if (ddi_soft_state_zalloc(usb_ia_statep, instance) != DDI_SUCCESS) {
546 usb_ia = ddi_get_soft_state(usb_ia_statep, instance);
559 usb_ia->ia_instance = instance;
593 if (ddi_create_minor_node(dip, "usb_ia", S_IFCHR, instance,
646 instance);
1229 int instance = ddi_get_instance(dip); local
[all...]
/illumos-gate/usr/src/uts/common/io/usb/usba/
H A Dusbai_pipe_mgmt.c436 int instance = ddi_get_instance(dip); local
437 unsigned int def_instance = instance;
458 if (instance != -1) {
461 ddi_driver_name(dip), ep->bEndpointAddress, instance);
489 if (instance != -1) {
493 instance);
/illumos-gate/usr/src/uts/common/sys/
H A Dpshot.h104 int instance; member in struct:pshot
H A Dbofi.h112 int instance; /* as returned by ddi_get_instance() */ member in struct:bofi_errdef
135 int instance; /* as returned by ddi_get_instance() */ member in struct:bofi_errdef32
158 int instance; /* as returned by ddi_get_instance() */ member in struct:bofi_errctl
164 int instance; /* as returned by ddi_get_instance() */ member in struct:bofi_get_handles
172 int instance; /* as returned by ddi_get_instance() */ member in struct:bofi_get_handles32
179 int instance; member in struct:handle_info
/illumos-gate/usr/src/uts/common/sys/1394/targets/dcam1394/
H A Ddcam.h100 int instance; member in struct:dcam_state_s
/illumos-gate/usr/src/uts/sun4u/serengeti/io/
H A Dsgsbbc_iosram.c788 * Switch master tunnel away from the specified instance.
831 * called with the instance of the SBBC to switch
837 iosram_switch_tunnel(int instance) argument
858 if (!(to_softsp = sbbc_get_soft_state(instance)))
/illumos-gate/usr/src/uts/sun4u/sys/
H A Drmc_comm.h151 int instance; member in struct:rmc_comm_state

Completed in 119 milliseconds

1234567891011>>