Searched defs:instance (Results 276 - 300 of 540) sorted by relevance

<<11121314151617181920>>

/illumos-gate/usr/src/uts/i86pc/io/amd_iommu/
H A Damd_iommu_impl.c118 int instance = ddi_get_instance(dip); local
133 "failed idx=%d", f, driver, instance, iommu->aiomt_idx);
190 int instance = ddi_get_instance(dip); local
236 "Successfully started AMD IOMMU", f, driver, instance,
240 instance, iommu->aiomt_idx);
249 int instance = ddi_get_instance(dip); local
271 "Successfully stopped AMD IOMMU", f, driver, instance,
279 int instance = ddi_get_instance(dip); local
313 "AMD IOMMU tables and buffers", f, driver, instance);
327 "to AMD IOMMU tables and buffers", f, driver, instance);
486 int instance = ddi_get_instance(dip); local
612 int instance = ddi_get_instance(dip); local
659 int instance = ddi_get_instance(dip); local
924 int instance = ddi_get_instance(dip); local
1188 int instance = ddi_get_instance(dip); local
1237 int instance = ddi_get_instance(dip); local
1345 int instance = ddi_get_instance(dip); local
1377 int instance = ddi_get_instance(rdip); local
1421 int instance = ddi_get_instance(iommu->aiomt_dip); local
1499 int instance = ddi_get_instance(iommu->aiomt_dip); local
1558 int instance = ddi_get_instance(iommu->aiomt_dip); local
1629 int instance = ddi_get_instance(rdip); local
1711 int instance = ddi_get_instance(rdip); local
1817 int instance = ddi_get_instance(rdip); local
[all...]
H A Damd_iommu_page_tables.c247 int instance = ddi_get_instance(idip); local
261 f, driver, instance, iommu->aiomt_idx);
278 f, driver, instance, iommu->aiomt_idx, (void *)rdip,
287 f, driver, instance, iommu->aiomt_idx,
298 "for PCI dip (%p). rdip path = %s", f, driver, instance,
310 f, driver, instance, iommu->aiomt_idx, (void *)pci_dip,
397 int instance; local
403 instance = ddi_get_instance(rdip);
406 instance = 0;
425 instance,
488 int instance = ddi_get_instance(idip); local
562 int instance = ddi_get_instance(iommu->aiomt_dip); local
777 int instance = ddi_get_instance(idip); local
928 int instance = ddi_get_instance(dip); local
1102 int instance = ddi_get_instance(rdip); local
1221 int instance = ddi_get_instance(rdip); local
1302 int instance = ddi_get_instance(iommu->aiomt_dip); local
1455 int instance = ddi_get_instance(iommu->aiomt_dip); local
1612 int instance = ddi_get_instance(iommu->aiomt_dip); local
[all...]
/illumos-gate/usr/src/uts/i86pc/io/apix/
H A Dapix_utils.c732 int instance, len, t_len; local
741 instance = ddi_get_instance(dip);
742 (void) snprintf(mesg + len, t_len - len, "%s (%s) instance %d ",
743 name, drv_name, instance);
1338 int instance, instno, prop_len, bind_cpu, count; local
1364 instance = ddi_get_instance(dip);
1375 * instance 0 binds to cpu a, instance 1 binds to cpu b,
1376 * instance 3 binds to cpu c...
1401 * reuse the pattern for the next instance unti
[all...]
/illumos-gate/usr/src/uts/i86pc/io/
H A Dimmu.c774 immu_alloc_name(const char *str, int instance) argument
782 (void) snprintf(s, slen, "%s%d", str, instance);
798 int instance; local
816 instance = ddi_get_instance(immu->immu_dip);
818 immu->immu_name = immu_alloc_name(nodename, instance);
863 pcachename = immu_alloc_name("immu_pgtable_cache", instance);
867 hcachename = immu_alloc_name("immu_hdl_cache", instance);
H A Dmp_platform_misc.c1079 cmn_err(CE_WARN, "No interrupt irq: %s instance %d",
1138 " instance %d and SCI",
1142 " instance %d and %s instance %d",
1150 cmn_err(CE_WARN, "No interrupt vector: %s instance %d",
1216 int instance, instno, prop_len, bind_cpu, count; local
1238 instance = ddi_get_instance(dip);
1255 "!%s: %s (%s) instance #%d "
1259 name, drv_name, instance, irq,
1269 * instance
[all...]
/illumos-gate/usr/src/uts/common/io/
H A Dgen_drv.c141 * instance. A shift left by 6 bits allows for each instance to have upto
143 * is L_MAXMIN32 (0x3ffff). This effectively limits the gen_drv instance
227 int instance = ddi_get_instance(devi); local
256 if (ddi_soft_state_zalloc(dstates, instance) !=
259 ddi_get_name(devi), instance);
264 dstatep = ddi_get_soft_state(dstates, instance);
284 INST_TO_MINOR(instance), mnodetypes[0],
287 ddi_soft_state_free(dstates, instance);
289 "node", ddi_get_name(devi), instance);
559 int instance; local
826 int instance; local
896 int instance; local
1185 int instance = ddi_get_instance(dip); local
1384 int instance = ddi_get_instance(devi); local
1397 int instance = ddi_get_instance(devi); local
1434 int instance = ddi_get_instance(devi); local
1474 int instance = ddi_get_instance(devi); local
1491 int instance = ddi_get_instance(devi); local
1508 int instance = ddi_get_instance(devi); local
1524 int instance = ddi_get_instance(devi); local
1558 int instance = ddi_get_instance(devi); local
[all...]
/illumos-gate/usr/src/uts/common/io/ib/adapters/hermon/
H A Dhermon_ioctl.c157 minor_t instance; local
164 instance = HERMON_DEV_INSTANCE(dev);
165 if (instance == (minor_t)-1) {
169 state = ddi_get_soft_state(hermon_statep, instance);
H A Dhermon_misc.c438 int instance, status; local
452 instance = state->hs_instance;
462 status = hermon_umap_db_find_nolock(instance,
/illumos-gate/usr/src/uts/common/io/ib/adapters/tavor/
H A Dtavor.c66 static int tavor_drv_init(tavor_state_t *state, dev_info_t *dip, int instance);
277 minor_t instance; local
284 instance = TAVOR_DEV_INSTANCE(dev);
285 state = ddi_get_soft_state(tavor_statep, instance);
297 instance = TAVOR_DEV_INSTANCE(dev);
298 *result = (void *)(uintptr_t)instance;
321 minor_t instance; local
329 instance = TAVOR_DEV_INSTANCE(*devp);
330 state = ddi_get_soft_state(tavor_statep, instance);
354 * instance an
490 minor_t instance; local
584 int instance; local
743 int instance, status; local
857 tavor_drv_init(tavor_state_t *state, dev_info_t *dip, int instance) argument
[all...]
/illumos-gate/usr/src/uts/common/io/ib/clients/of/sol_uverbs/
H A Dsol_uverbs.c480 int rc, instance, hca_ndx; local
494 instance = ddi_get_instance(dip);
495 if (instance != 0) {
497 "attach: bad instance number %d", instance);
501 if (ddi_soft_state_zalloc(statep, instance) != DDI_SUCCESS) {
507 mod_ctxt = ddi_get_soft_state(statep, instance);
509 ddi_soft_state_free(statep, instance);
608 ddi_soft_state_free(statep, instance);
632 int instance; local
[all...]
/illumos-gate/usr/src/uts/common/io/ib/ibnex/
H A Dibnex_ioctl.c2888 #define IBNEX_CTL_CP_HCA_INFO(x, y, driver_name, instance, device_path, \
2947 (x)->hca_driver_instance = (instance); \
2966 int instance; local
3015 driver_name, sizeof (driver_name), &instance, hca_device_path)
3027 driver_name, instance, query_hca_32->hca_device_path,
3043 driver_name, instance, device_path,
/illumos-gate/usr/src/uts/common/io/nxge/npi/
H A Dnpi.h198 uint16_t instance; member in struct:_npi_handle_function
/illumos-gate/usr/src/uts/common/io/nxge/
H A Dnxge_ndd.c154 0, 999, 1000, 0, "instance", "instance"},
157 0, 999, 1000, 0, "main-instance", "main_instance"},
602 nxgep->instance));
623 nxgep->instance));
699 * Make sure the param_instance is set to a valid device instance.
702 nxge_param_arr[param_instance].value = nxgep->instance;
705 param_arr[param_instance].value = nxgep->instance;
742 * Make sure the param_instance is set to a valid device instance.
745 nxge_param_arr[param_instance].value = nxgep->instance;
2469 int instance; local
[all...]
/illumos-gate/usr/src/uts/common/io/pcn/
H A Dpcn.c282 int instance = ddi_get_instance(dip); local
334 if (ddi_soft_state_zalloc(pcn_ssp, instance) != DDI_SUCCESS) {
340 pcnp = ddi_get_soft_state(pcn_ssp, instance);
342 pcnp->pcn_instance = instance;
347 ddi_soft_state_free(pcn_ssp, instance);
/illumos-gate/usr/src/uts/common/io/ppm/
H A Dppm.c251 int instance; local
269 instance = getminor(dev);
270 *resultp = (void *)(uintptr_t)instance;
1567 * instance may export its lowest level > 0. It is reasonable to
/illumos-gate/usr/src/uts/common/io/rge/
H A Drge_main.c286 * device instance.
1429 * ========== Per-instance setup/teardown code ==========
1572 int instance; local
1585 instance = ddi_get_instance(devinfo);
1586 RGE_GTRACE(("rge_attach($%p, %d) instance %d",
1587 (void *)devinfo, cmd, instance));
1616 RGE_DRIVER_NAME, instance);
1819 rge_init_kstats(rgep, instance);
/illumos-gate/usr/src/uts/common/io/rsm/
H A Drsmka_pathmanager.c658 rsmka_add_adapter(char *name, int instance, rsm_addr_t hwaddr) argument
672 "rsmka_add_adapter: name = %s instance = %d hwaddr = %llx \n",
673 name, instance, hwaddr));
684 adapter_is_supported = rsm_get_controller(name, instance,
701 instance, result));
702 (void) rsm_release_controller(name, instance,
718 srv_hdlr_argp->adapter_instance = instance;
740 instance));
745 adapter = init_adapter(name, instance, hwaddr,
772 rsmka_remove_adapter(char *name, uint_t instance, voi argument
945 rsmka_remove_path(char *adapter_name, int instance, rsm_node_id_t remote_node, rsm_addr_t remote_hwaddr, void *path_cookie, int flags) argument
1103 rsmka_path_down(char *adapter_devname, int instance, rsm_node_id_t remote_node, rsm_addr_t remote_hwaddr, void *path_cookie, int flags) argument
1856 rsmka_lookup_adapter(char *devname, int instance) argument
1973 init_adapter(char *name, int instance, rsm_addr_t hwaddr, rsm_controller_handle_t handle, rsm_ops_t *ops, srv_handler_arg_t *hdlr_argp) argument
[all...]
/illumos-gate/usr/src/uts/common/io/scsi/targets/
H A Dsgen.c570 int instance; local
576 instance = ddi_get_instance(dip);
581 sgen_log(NULL, SGEN_DIAG2, "sgen_do_attach: instance = %d, "
582 "device unit-address @%s", instance, ddi_get_name_addr(dip));
593 if (ddi_soft_state_zalloc(sgen_soft_state, instance) != DDI_SUCCESS) {
604 sg_state = ddi_get_soft_state(sgen_soft_state, instance);
627 "sgen_do_attach: sgen_soft_state=0x%p, instance=%d, "
629 sgen_soft_state, instance, ddi_get_name_addr(dip));
632 * For simplicity, the minor number == the instance number
635 instance, DDI_NT_SGE
784 sgen_create_errstats(sgen_state_t *sg_state, int instance) argument
832 int instance; local
867 int instance; local
935 int instance; local
970 int instance, error; local
1003 int instance; local
1058 int instance; local
1108 int instance; local
1140 int instance; local
1208 int instance; local
[all...]
/illumos-gate/usr/src/uts/common/io/tpm/
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/io/usb/clients/audio/usb_as/
H A Dusb_as.c252 int instance = USB_AS_MINOR_TO_INSTANCE( local
259 instance)) != NULL) {
269 *result = (void *)(uintptr_t)instance;
283 int instance = ddi_get_instance(dip); local
302 if (ddi_soft_state_zalloc(usb_as_statep, instance) != DDI_SUCCESS) {
310 uasp = (usb_as_state_t *)ddi_get_soft_state(usb_as_statep, instance);
320 uasp->usb_as_instance = instance;
324 ddi_driver_name(dip), instance);
368 USB_AS_CONSTRUCT_MINOR(instance),
413 int instance local
1752 int instance = ddi_get_instance(dip); local
[all...]
/illumos-gate/usr/src/uts/common/io/usb/clients/hid/
H A Dhid.c307 int instance = HID_MINOR_TO_INSTANCE(minor); local
311 if ((hidp = ddi_get_soft_state(hid_statep, instance)) != NULL) {
320 *result = (void *)(uintptr_t)instance;
343 int instance = ddi_get_instance(dip); local
357 hidp = ddi_get_soft_state(hid_statep, instance);
368 if (ddi_soft_state_zalloc(hid_statep, instance) == DDI_SUCCESS) {
369 hidp = ddi_get_soft_state(hid_statep, instance);
379 hidp->hid_instance = instance;
660 HID_CONSTRUCT_EXTERNAL_MINOR(instance),
671 HID_CONSTRUCT_INTERNAL_MINOR(instance)) !
737 int instance = ddi_get_instance(dip); local
777 int instance; local
1324 int instance = ddi_get_instance(dip); local
[all...]
/illumos-gate/usr/src/uts/common/io/usb/clients/printer/
H A Dusbprn.c255 int instance = USBPRN_MINOR_TO_INSTANCE(minor); local
260 instance)) != NULL) {
271 *result = (void *)(uintptr_t)instance;
295 int instance = ddi_get_instance(dip); local
313 if (ddi_soft_state_zalloc(usbprn_statep, instance) == DDI_SUCCESS) {
314 usbprnp = ddi_get_soft_state(usbprn_statep, instance);
321 usbprnp->usbprn_instance = instance;
393 instance << USBPRN_MINOR_INSTANCE_SHIFT,
471 * detach or suspend driver instance
476 int instance local
606 int instance = ddi_get_instance(dip); local
648 int instance = ddi_get_instance(dip); local
[all...]
/illumos-gate/usr/src/uts/common/io/usb/clients/usbecm/
H A Dusbecm.c245 int instance; local
265 instance = ddi_get_instance(dip);
267 if (ddi_soft_state_zalloc(usbecm_statep, instance) == DDI_SUCCESS) {
268 ecmp = ddi_get_soft_state(usbecm_statep, instance);
310 (void) snprintf(strbuf, sizeof (strbuf), "usbecm%d", instance);
312 instance + 1, "usb_net", 0);
336 ddi_soft_state_free(usbecm_statep, instance);
353 int instance; local
355 instance = ddi_get_instance(dip);
356 ecmp = ddi_get_soft_state(usbecm_statep, instance);
[all...]
/illumos-gate/usr/src/uts/common/io/usb/usba/
H A Dusbai.c218 int instance; local
240 * if there is label and dip, use <driver name><instance>:
244 instance = ddi_get_instance(dip);
246 "%s%d", ddi_driver_name(dip), instance);
260 (void *)curthread, label, instance);
269 "%s%d:\t", label, instance);
431 * the instance number
/illumos-gate/usr/src/uts/common/sys/rsm/
H A Drsmka_path_int.h177 int instance; member in struct:adapter
349 * A pointer to an instance of this structure type is returned by a call
396 * A pointer to an instance of this structure type is returned by a call

Completed in 144 milliseconds

<<11121314151617181920>>