Searched defs:instance (Results 401 - 425 of 540) sorted by relevance

<<11121314151617181920>>

/illumos-gate/usr/src/uts/sun4v/sys/
H A Dvdc.h117 * Scheme to store the instance number and the slice number in the minor number.
120 #define VD_MAKE_DEV(instance, minor) ((instance << VDCUNIT_SHIFT) | minor)
211 * The states that the vdc instance can be in.
302 vdc_lc_state_t lifecycle; /* Current state of the vdc instance */
333 int instance; /* driver instance number */ member in struct:vdc
420 (vdc_matchinst & (1ull << (_vdc)->instance))) \
422 (_vdc)->instance, (void *)curthread, \
H A Dvnet.h130 /* An instance specific DDS structure */
268 * vnet instance state information
271 int instance; /* instance # */ member in struct:vnet
H A Dvnet_gen.h413 /* vgen instance information */
415 vnet_t *vnetp; /* associated vnet instance */
416 int instance; /* vnet instance */ member in struct:vgen
/illumos-gate/usr/src/uts/sun4/io/
H A Dsu_driver.c344 int instance; local
372 instance = ddi_get_instance(devi);
373 if (max_asy_instance < instance)
374 max_asy_instance = instance;
383 register int instance; local
388 instance = ddi_get_instance(devi); /* find out which unit */
390 asy = (struct asycom *)ddi_get_soft_state(su_asycom, instance);
391 async = (struct asyncline *)ddi_get_soft_state(su_asyncline, instance);
429 cmn_err(CE_NOTE, "su%d: ASY%s shutdown.", instance,
450 (void) sprintf(name, "%c", (instance
474 register int instance; local
883 register int instance, error; local
[all...]
/illumos-gate/usr/src/uts/sun4u/io/
H A Dmc-us3.c229 int instance, len, err; local
231 /* get the instance of this devi */
232 instance = ddi_get_instance(devi);
240 softsp = ddi_get_soft_state(mcp, instance);
242 instance));
259 instance);
267 if (ddi_soft_state_zalloc(mcp, instance) != DDI_SUCCESS)
270 softsp = ddi_get_soft_state(mcp, instance);
278 instance, "portid"));
283 instance, softs
394 int instance; local
[all...]
H A Dsbd.c490 int rv = 0, instance; local
518 instance = SBD_GET_MINOR2INST(getminor(dev));
519 if ((softsp = (sbd_softstate_t *)GET_SOFTC(instance)) == NULL) {
522 f, instance);
606 sbd_setup_instance(int instance, dev_info_t *root, int max_boards, int wnode, argument
621 if (ALLOC_SOFTC(instance) != DDI_SUCCESS) {
624 f, instance);
630 softsp = (sbd_softstate_t *)GET_SOFTC(instance);
634 "sbd:%s:%d: failed to get soft-state instance",
635 f, instance);
667 sbd_teardown_instance(int instance, caddr_t sbdp_arg) argument
[all...]
H A Dsysiosbus.c445 int instance, error; local
455 instance = ddi_get_instance(devi);
462 softsp = ddi_get_soft_state(sbusp, instance);
476 cpr_softsp = ddi_get_soft_state(sbus_cprp, instance);
481 ddi_soft_state_free(sbus_cprp, instance);
490 if (ddi_soft_state_zalloc(sbusp, instance) != DDI_SUCCESS)
493 softsp = ddi_get_soft_state(sbusp, instance);
596 ddi_soft_state_free(sbusp, instance);
604 int instance; local
616 instance
640 int instance, pic; local
2427 int instance = ddi_get_instance(dip); local
[all...]
/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...]
H A Dpci_pci.c335 int instance = PCI_MINOR_NUM_TO_INSTANCE(minor); local
337 instance);
348 *result = (void *)(uintptr_t)instance;
371 int instance; local
389 instance = ddi_get_instance(devi);
390 if (ddi_soft_state_zalloc(ppb_state, instance) != DDI_SUCCESS)
392 ppb = (ppb_devstate_t *)ddi_get_soft_state(ppb_state, instance);
398 ddi_soft_state_free(ppb_state, instance);
740 * Pseudo nodes indicate a prototype node with per-instance
807 * Pseudo nodes indicate a prototype node with per-instance
1549 int instance = PCI_MINOR_NUM_TO_INSTANCE(getminor(*devp)); local
1606 int instance = PCI_MINOR_NUM_TO_INSTANCE(getminor(dev)); local
1647 int instance = PCI_MINOR_NUM_TO_INSTANCE(getminor(dev)); local
1727 int instance = PCI_MINOR_NUM_TO_INSTANCE(getminor(dev)); local
[all...]
H A Dpcipsy.c804 int instance = ddi_get_instance(dip); local
805 uint32_t mask = 1 << instance;
910 ddi_driver_name(dip), instance);
1551 * (if captured) to a device instance. pbm_afsr_report() calls a chip specific
1994 int instance; local
2006 instance = ddi_get_instance(pdip);
2007 pci_p = get_pci_soft_state(instance);
/illumos-gate/usr/src/uts/sun4u/io/px/
H A Dpx_lib4u.c1894 * code will clear this flag after one instance of LDN. Since
2512 int instance = DIP_TO_INST(dip); local
2513 px_t *px_p = INST_TO_STATE(instance);
/illumos-gate/usr/src/uts/sun4u/javelin/io/
H A Denvctrltwo.c271 register int instance; local
288 instance = ddi_get_instance(dip);
294 if (!(unitp = ddi_get_soft_state(envctrlsoft_statep, instance)))
329 if (ddi_soft_state_zalloc(envctrlsoft_statep, instance) != 0) {
331 ddi_get_name(dip), instance);
335 unitp = ddi_get_soft_state(envctrlsoft_statep, instance);
341 ddi_get_name(dip), instance);
361 ddi_get_name(dip), instance);
372 ddi_get_name(dip), instance);
380 ddi_get_name(dip), instance);
611 int instance; local
688 int instance, ret; local
727 register int instance; local
761 register int instance; local
789 register int instance; local
2818 int instance; local
[all...]
/illumos-gate/usr/src/uts/sun4u/ngdr/io/
H A Ddr.c127 * Per instance soft-state structure.
490 int instance; local
496 instance = DR_MINOR2INST(getminor(*dev));
497 softsp = ddi_get_soft_state(dr_g.softsp, instance);
562 int instance; local
570 instance = DR_MINOR2INST(getminor(dev));
571 softsp = ddi_get_soft_state(dr_g.softsp, instance);
573 cmn_err(CE_WARN, "dr%d: module not yet attached", instance);
709 int instance; local
713 instance
809 int instance; local
854 int instance, error; local
[all...]
/illumos-gate/usr/src/uts/sun4u/opl/io/pcicmu/
H A Dpcicmu.c85 * PBM basis are bit fields where the PBM device instance number maps
328 int instance = getminor((dev_t)arg) >> 8; local
329 pcmu_t *pcmu_p = get_pcmu_soft_state(instance);
333 *result = (void *)(uintptr_t)instance;
356 int instance = ddi_get_instance(dip); local
365 if (alloc_pcmu_soft_state(instance) != DDI_SUCCESS) {
367 ddi_driver_name(dip), instance);
370 pcmu_p = get_pcmu_soft_state(instance);
394 (uint_t)instance<<8 | 0xff,
420 free_pcmu_soft_state(instance);
465 int instance = ddi_get_instance(dip); local
2189 int instance = ddi_get_instance(dip); local
[all...]
/illumos-gate/usr/src/uts/intel/io/agpgart/
H A Dagpgart.c62 #define AGP_INST2MINOR(instance) ((instance) << 4)
247 int instance; local
252 instance = AGP_DEV2INST(dev);
253 softstate = ddi_get_soft_state(agpgart_glob_soft_handle, instance);
321 * We check all possible driver instance from 0
323 * at any instance number. Only one AGP master is supported.
343 * Search all possible instance numbers for the agp master device.
353 "master device found: instance number=%d", i));
372 * We check driver instance fro
2444 int instance; local
2513 int instance; local
2575 int instance, rval = DDI_FAILURE; local
2630 int instance = AGP_DEV2INST(*dev); local
2788 int instance = AGP_DEV2INST(dev); local
3270 int instance; local
3339 int instance; local
3366 int instance, status; local
[all...]
/illumos-gate/usr/src/uts/intel/io/dktp/controller/ata/
H A Data_common.c227 int instance; local
235 instance = ddi_get_instance(dip);
236 ata_ctlp = ddi_get_soft_state(ata_state, instance);
565 int instance = ddi_get_instance(dip); local
566 if (ddi_create_minor_node(dip, "control", S_IFCHR, instance,
602 int instance; local
617 instance = ddi_get_instance(dip);
618 ata_ctlp = ddi_get_soft_state(ata_state, instance);
768 int instance = ddi_get_instance(d); local
769 ata_ctl_t *ata_ctlp = ddi_get_soft_state(ata_state, instance);
984 int instance; local
1132 int instance; local
3509 int instance; local
3590 int instance; local
3624 int instance; local
3654 int instance; local
3697 int instance; local
[all...]
/illumos-gate/usr/src/uts/intel/io/dktp/disk/
H A Dcmdk.c291 int instance; local
295 instance = ddi_get_instance(dip);
298 if (ddi_get_soft_state(cmdk_state, instance))
301 if (ddi_soft_state_zalloc(cmdk_state, instance) != DDI_SUCCESS)
305 if ((dkp = ddi_get_soft_state(cmdk_state, instance)) == NULL)
322 ddi_soft_state_free(cmdk_state, instance);
334 ddi_soft_state_free(cmdk_state, instance);
342 PRF("cmdkprobe: instance= %d name= `%s`\n",
343 instance, ddi_get_name_addr(dip));
351 int instance; local
468 int instance; local
545 int instance; local
618 int instance; local
654 int instance; local
684 int instance; local
738 int instance; local
869 int instance; local
1066 int instance; local
1131 int instance; local
1265 int instance; local
1284 int instance; local
1306 int instance; local
[all...]
/illumos-gate/usr/src/uts/common/io/mr_sas/
H A Dmr_sas_tbolt.c58 extern int mrsas_complete_pending_cmds(struct mrsas_instance *instance);
84 destroy_mfi_mpi_frame_pool(struct mrsas_instance *instance) argument
92 cmd = instance->cmd_list[i];
94 (void) mrsas_free_dma_obj(instance,
105 destroy_mpi2_frame_pool(struct mrsas_instance *instance) argument
108 if (instance->mpi2_frame_pool_dma_obj.status == DMA_OBJ_ALLOCATED) {
109 (void) mrsas_free_dma_obj(instance,
110 instance->mpi2_frame_pool_dma_obj);
111 instance->mpi2_frame_pool_dma_obj.status |= DMA_OBJ_FREED;
120 mrsas_tbolt_free_additional_dma_buffer(struct mrsas_instance *instance) argument
149 free_req_rep_desc_pool(struct mrsas_instance *instance) argument
171 create_mpi2_frame_pool(struct mrsas_instance *instance) argument
299 mrsas_tbolt_alloc_additional_dma_buffer(struct mrsas_instance *instance) argument
400 mr_sas_get_request_descriptor(struct mrsas_instance *instance, uint16_t index) argument
431 alloc_req_rep_desc(struct mrsas_instance *instance) argument
562 mrsas_alloc_cmd_pool_tbolt(struct mrsas_instance *instance) argument
641 free_space_for_mpi2(struct mrsas_instance *instance) argument
670 alloc_space_for_mpi2(struct mrsas_instance *instance) argument
772 mrsas_init_adapter_tbolt(struct mrsas_instance *instance) argument
826 mrsas_issue_init_mpi2(struct mrsas_instance *instance) argument
890 mrsas_tbolt_ioc_init(struct mrsas_instance *instance, dma_obj_t *mpi2_dma_obj) argument
1102 wait_for_outstanding_poll_io(struct mrsas_instance *instance) argument
1132 struct mrsas_instance *instance = ADDR2MR(ap); local
1241 mr_sas_tbolt_build_sgl(struct mrsas_instance *instance, struct scsa_cmd *acmd, struct mrsas_cmd *cmd, Mpi2RaidSCSIIORequest_t *scsi_raid_io, uint32_t *datalen) argument
1438 mrsas_tbolt_build_cmd(struct mrsas_instance *instance, struct scsi_address *ap, struct scsi_pkt *pkt, uchar_t *cmd_done) argument
1900 tbolt_read_fw_status_reg(struct mrsas_instance *instance) argument
1906 tbolt_issue_cmd(struct mrsas_cmd *cmd, struct mrsas_instance *instance) argument
1956 tbolt_issue_cmd_in_sync_mode(struct mrsas_instance *instance, struct mrsas_cmd *cmd) argument
2030 tbolt_issue_cmd_in_poll_mode(struct mrsas_instance *instance, struct mrsas_cmd *cmd) argument
2082 tbolt_enable_intr(struct mrsas_instance *instance) argument
2088 WR_OB_INTR_MASK(~(MFI_FUSION_ENABLE_INTERRUPT_MASK), instance); local
2096 tbolt_disable_intr(struct mrsas_instance *instance) argument
2109 tbolt_intr_ack(struct mrsas_instance *instance) argument
2148 get_raid_msg_pkt(struct mrsas_instance *instance) argument
2175 get_raid_msg_mfi_pkt(struct mrsas_instance *instance) argument
2209 return_raid_msg_pkt(struct mrsas_instance *instance, struct mrsas_cmd *cmd) argument
2221 return_raid_msg_mfi_pkt(struct mrsas_instance *instance, struct mrsas_cmd *cmd) argument
2233 mr_sas_tbolt_build_mfi_cmd(struct mrsas_instance *instance, struct mrsas_cmd *cmd) argument
2316 tbolt_complete_cmd(struct mrsas_instance *instance, struct mrsas_cmd *cmd) argument
2636 mr_sas_tbolt_process_outstanding_cmd(struct mrsas_instance *instance) argument
2782 tbolt_complete_cmd_in_sync_mode(struct mrsas_instance *instance, struct mrsas_cmd *cmd) argument
2809 mrsas_tbolt_get_ld_map_info(struct mrsas_instance *instance) argument
2876 mrsas_dump_reply_desc(struct mrsas_instance *instance) argument
2900 mrsas_tbolt_prepare_cdb(struct mrsas_instance *instance, U8 cdb[], struct IO_REQUEST_INFO *io_info, Mpi2RaidSCSIIORequest_t *scsi_io_request, U32 ref_tag) argument
3130 mrsas_tbolt_check_map_info(struct mrsas_instance *instance) argument
3172 mrsas_tbolt_kill_adapter(struct mrsas_instance *instance) argument
3194 mrsas_reset_reply_desc(struct mrsas_instance *instance) argument
3210 mrsas_tbolt_reset_ppc(struct mrsas_instance *instance) argument
3418 mrsas_tbolt_sync_map_info(struct mrsas_instance *instance) argument
3516 abort_syncmap_cmd(struct mrsas_instance *instance, struct mrsas_cmd *cmd_to_abort) argument
3583 mrsas_tbolt_config_pd(struct mrsas_instance *instance, uint16_t tgt, uint8_t lun, dev_info_t **ldip) argument
3658 mrsas_tbolt_get_pd_info(struct mrsas_instance *instance, struct mrsas_tbolt_pd_info *pds, int tgt) argument
[all...]
/illumos-gate/usr/src/uts/common/io/skd/
H A Dskd.c2943 * instance - DDI instance number.
2951 skd_construct(skd_device_t *skdev, int instance) argument
4054 skdev->instance, skdev->flags);
4078 skdev->instance, skdev->flags);
4131 Dcmn_err(CE_CONT, "(%s%d): setup_intr", DRV_NAME, skdev->instance);
4298 DRV_NAME, skdev->instance);
4354 * instance - device instance.
4362 uint32_t seq, int instance)
4361 skd_dealloc_resources(dev_info_t *dip, skd_device_t *skdev, uint32_t seq, int instance) argument
4658 int instance; local
4957 int instance; local
[all...]
/illumos-gate/usr/src/uts/common/io/usb/usba/
H A Dusba_ugen.c200 /* Initialize state structure for this instance */
258 "usb_ugen_get_hdl: instance shift=%d instance limit=%d",
1606 "instance number too high (%d)", ugenp->ug_instance);
3999 /* Create devstat minor node for this instance */
4179 "instance number too high (%d)", ugenp->ug_instance);
4701 * the ugen_state pointer. Since we don't know instance mask, we can't
4783 int instance = ddi_get_instance(ugenp->ug_dip); local
4795 if ((i == instance) && (m == major)) {
/illumos-gate/usr/src/uts/common/avs/ns/sv/
H A Dsv.c577 * We only have a single instance.
2082 int instance = ddi_get_instance(sv_dip); local
2083 cmn_err(CE_WARN, "!%s%d: %s", ddi_get_name(sv_dip), instance, str);
/illumos-gate/usr/src/uts/common/io/usb/clients/usbser/
H A Dusbser.c286 int instance; local
290 instance = USBSER_MINOR2INST(getminor((dev_t)arg));
295 usbserp = ddi_get_soft_state(statep, instance);
305 *result = (void *)(uintptr_t)instance;
388 int instance; local
391 instance = ddi_get_instance(dip);
407 if (ddi_soft_state_zalloc(statep, instance) != DDI_SUCCESS) {
411 if ((usp = ddi_get_soft_state(statep, instance)) == NULL) {
412 ddi_soft_state_free(statep, instance);
419 usp->us_instance = instance;
439 int instance = ddi_get_instance(dip); local
479 int instance; local
893 int instance = usp->us_instance; local
[all...]
/illumos-gate/usr/src/uts/common/sys/
H A Decppvar.h112 int instance; /* instance number */ member in struct:ecppunit
147 boolean_t oflag; /* instance open flag */
244 _NOTE(DATA_READABLE_WITHOUT_LOCK(ecppunit::instance))
/illumos-gate/usr/src/uts/common/io/comstar/port/iscsit/
H A Discsit.c325 ulong_t instance = getminor((dev_t)arg); local
333 *result = (void *)instance;
351 /* we only allow instance 0 to attach */
1889 * for one particular instance. If the state of the task
/illumos-gate/usr/src/uts/intel/io/vgatext/
H A Dvgatext.c58 * Each instance of this driver has 2 minor nodes:
323 #define getsoftc(instance) ((struct vgatext_softc *) \
324 ddi_get_soft_state(vgatext_softc_head, (instance)))
621 int instance = ddi_get_instance(devi); local
622 struct vgatext_softc *softc = getsoftc(instance);
638 (void) ddi_soft_state_free(vgatext_softc_head, instance);
675 int instance; local
681 instance = DEV2INST(dev);
682 softc = getsoftc(instance);
694 *result = (void *)(uintptr_t)instance;
[all...]

Completed in 194 milliseconds

<<11121314151617181920>>