Lines Matching refs:instance

601 	int instance;
605 instance = ddi_get_instance(devi); /* find out which unit */
607 asy = ddi_get_soft_state(asy_soft_state, instance);
615 instance, asy_hw_name(asy));
635 instance);
739 int instance;
753 instance = ddi_get_instance(devi); /* find out which unit */
766 asy = ddi_get_soft_state(asy_soft_state, instance);
820 ret = ddi_soft_state_zalloc(asy_soft_state, instance);
823 asy = ddi_get_soft_state(asy_soft_state, instance);
825 asy->asy_unit = instance;
827 if (instance > max_asy_instance)
828 max_asy_instance = instance;
838 instance, (void *)asy->asy_ioaddr);
845 instance, (void *)asy->asy_ioaddr);
909 "asy%dattach: clear ASY_IGNORE_CD\n", instance);
922 instance);
935 instance);
948 instance);
969 instance, (void *)asy->asy_ioaddr);
1022 * Install per instance software interrupt handler.
1074 * port gets a numeric name based on instance
1076 (void) snprintf(name, ASY_MINOR_LEN, "%d", instance);
1078 status = ddi_create_minor_node(devi, name, S_IFCHR, instance,
1083 OUTLINE | instance,
1115 DEBUGCONT1(ASY_DEBUG_INIT, "asy%dattach: done\n", instance);
1125 int instance, error;
1128 instance = UNIT(dev);
1132 asy = ddi_get_soft_state(asy_soft_state, instance);
1141 *result = (void *)(intptr_t)instance;
1777 int instance;
1783 instance = UNIT(async->async_dev);
1784 DEBUGCONT1(ASY_DEBUG_CLOSE, "asy%dclose\n", instance);
1882 instance);
1888 instance,
1898 instance,
1906 "asy%dclose: Dropping DTR and RTS\n", instance);
1947 DEBUGCONT1(ASY_DEBUG_CLOSE, "asy%dclose: done\n", instance);
2029 int instance;
2037 instance = UNIT(async->async_dev);
2039 "asy%d_program: mode = 0x%08X, enter\n", instance, mode);
2184 instance, c_flag & CLOCAL,
2200 DEBUGCONT1(ASY_DEBUG_PROCS, "asy%d_program: done\n", instance);
2567 int instance = UNIT(async->async_dev);
2577 instance,
2681 int instance = UNIT(async->async_dev);
2683 DEBUGCONT1(ASY_DEBUG_PROCS, "async%d_softint\n", instance);
2717 instance, asy->asy_msr & DCD, tp->t_flags & TS_SOFTCAR);
2724 instance);
2744 instance);
2774 instance);
2854 instance, cc);
2877 instance);
2922 instance,
2950 asyerror(CE_NOTE, "asy%d: silo overflow", instance);
2961 instance);
2974 DEBUGCONT1(ASY_DEBUG_PROCS, "async%d_softint: done\n", instance);
2991 int instance = UNIT(async->async_dev);
2993 DEBUGCONT1(ASY_DEBUG_PROCS, "async%d_restart\n", instance);
3039 int instance = UNIT(async->async_dev);
3041 DEBUGCONT1(ASY_DEBUG_PROCS, "async%d_nstart\n", instance);
3059 instance,
3078 "async%d_nstart: start ASYNC_DELAY.\n", instance);
3084 "async%d_nstart: start writeq is null.\n", instance);
3205 instance, async->async_ocnt);
3218 int instance;
3223 instance = UNIT(async->async_dev);
3224 DEBUGCONT1(ASY_DEBUG_PROCS, "async%d_resume\n", instance);
3321 int instance = UNIT(async->async_dev);
3323 DEBUGCONT1(ASY_DEBUG_PROCS, "async%d_ioctl\n", instance);
3349 instance,
3586 instance);
3592 instance);
3637 "non-transparent\n", instance);
3652 "transparent\n", instance);
3670 "transparent\n", instance);
3674 "non-transparent\n", instance);
3742 DEBUGCONT1(ASY_DEBUG_PROCS, "async%d_ioctl: done\n", instance);
3786 int instance;
3793 instance = UNIT(async->async_dev);
3846 instance);
3920 instance);
4095 int instance = (uintptr_t)unit;
4101 asy = ddi_get_soft_state(asy_soft_state, instance);
4131 int instance = UNIT(async->async_dev);
4147 instance,
4244 int instance = asy->asy_unit;
4256 "asy%dmctl: TIOCMSET, bits = %x\n", instance, bits);
4262 instance, bits);
4268 instance, bits);
4283 instance, msr_r);
4289 instance, msr_r);
4292 instance, asytodm(mcr_r, msr_r));
4595 int instance = UNIT(async->async_dev);
4622 "type = %x\n", instance, async->async_inflow_source);
4630 "input sflow start\n", instance);
4669 int instance = UNIT(async->async_dev);
4681 instance);
4688 instance);
4716 int instance = UNIT(async->async_dev);
4730 "type = %x\n", instance, async->async_inflow_source);
4737 "input hflow start\n", instance);
4769 int instance = UNIT(async->async_dev);
4781 instance);
4788 instance);
4809 int instance;
4812 instance = ddi_get_instance(devi); /* find out which unit */
4814 asy = ddi_get_soft_state(asy_soft_state, instance);