Lines Matching refs:sm_ssp

90 sm_ss_t		*sm_ssp = 0;
122 (void) strlog(ddi_driver_major(sm_ssp->sm_dip), sm_instance, 1,
133 (void) strlog(ddi_driver_major(sm_ssp->sm_dip),
138 (void) strlog(ddi_driver_major(sm_ssp->sm_dip), sm_instance,
155 (void) strlog(ddi_driver_major(sm_ssp->sm_dip), sm_instance, 1,
166 (void) strlog(ddi_driver_major(sm_ssp->sm_dip),
171 (void) strlog(ddi_driver_major(sm_ssp->sm_dip), sm_instance,
244 lqi = &sm_ssp->sm_lqs[i];
272 lqi = &sm_ssp->sm_lqs[i];
293 lqi = &sm_ssp->sm_lqs[i];
485 (uqi = get_uqi(sm_ssp, unit)) == 0) {
602 (uqi = get_uqi(sm_ssp, unit)) == 0) {
919 plqi->sm_nachar = sm_ssp->sm_abs;
1264 ASSERT(uqi != 0 && sm_ssp != 0);
1704 lqi->sm_nachar = sm_ssp->sm_abs;
1708 lqi->sm_nachar = (*rxc == *sm_ssp->
1710 sm_ssp->
1712 sm_ssp->sm_abs;
1776 if (sm_ssp == NULL) {
2119 if (sm_ssp == NULL)
2132 uqi = get_uqi(sm_ssp, unit);
2205 if (unit == 0 && sm_ssp->sm_ms == 0)
2206 sm_ssp->sm_ms = (sm_mux_state_t *)
2208 if (sm_ssp->sm_ms) {
2209 if (sm_ssp->sm_ms->sm_cons_stdin.sm_dev == *devp ||
2210 sm_ssp->sm_ms->sm_cons_stdout.sm_dev == *devp)
2211 sm_ssp->sm_lconsole = uqi;
2331 if (sm_ssp == NULL)
2394 if (sm_ssp->sm_lconsole == uqi) {
2396 sm_ssp->sm_lconsole = 0;
2426 if (ddi_prop_op(DDI_DEV_T_ANY, sm_ssp->sm_dip, PROP_LEN_AND_VAL_BUF, 0,
2449 (void) strcpy(sm_ssp->sm_abs, ds);
2451 (void) strcpy(sm_ssp->sm_abs, as);
2476 if (sm_ssp) { /* only one instance allowed */
2509 sm_ssp = (sm_ss_t *)kmem_zalloc(sizeof (sm_ss_t), KM_SLEEP);
2514 sm_ssp->sm_dip = dip;
2519 sm_ssp->sm_trflag = ddi_prop_get_int(DDI_DEV_T_ANY, dip,
2530 sm_ssp->sm_ctrla_abort_on = ddi_prop_get_int(DDI_DEV_T_ANY, dip,
2532 sm_ssp->sm_break_abort_on = ddi_prop_get_int(DDI_DEV_T_ANY, dip,
2537 sm_ssp->sm_lqs = (sm_lqi_t *)kmem_zalloc(sizeof (sm_lqi_t) * MAX_LQS,
2539 sm_ssp->sm_uqs = (sm_uqi_t *)kmem_zalloc(sizeof (sm_uqi_t) * NLUNITS,
2570 uqi = get_uqi(sm_ssp, unit);
2583 lqip = get_lqi(sm_ssp, unit);
2586 lqip->sm_nachar = sm_ssp->sm_abs;
2588 lqip->sm_ctrla_abort_on = sm_ssp->sm_ctrla_abort_on;
2589 lqip->sm_break_abort_on = sm_ssp->sm_break_abort_on;
2616 if (sm_ssp == NULL)
2627 lu = &sm_ssp->sm_uqs[unit];
2634 pu = &sm_ssp->sm_lqs[unit];
2643 lu = &sm_ssp->sm_uqs[unit];
2649 pu = &sm_ssp->sm_lqs[unit];
2658 kmem_free(sm_ssp->sm_lqs, sizeof (sm_lqi_t) * MAX_LQS);
2659 kmem_free(sm_ssp->sm_uqs, sizeof (sm_uqi_t) * NLUNITS);
2660 kmem_free(sm_ssp, sizeof (sm_ss_t));
2662 sm_ssp = 0;
2691 if (sm_ssp == NULL)
2694 *result = (void *)sm_ssp->sm_dip;