Lines Matching defs:cb_instance

413 	int cb_instance;
435 cb_instance = cardbus_next_instance++;
437 if (ddi_soft_state_zalloc(cardbus_state, cb_instance) != DDI_SUCCESS) {
444 cbp = (cbus_t *)ddi_get_soft_state(cardbus_state, cb_instance);
445 cbp->cb_instance = cb_instance;
454 "cbus-instance", (caddr_t)&cb_instance,
455 sizeof (cb_instance)) != DDI_SUCCESS) {
459 ddi_soft_state_free(cardbus_state, cb_instance);
492 ddi_soft_state_free(cardbus_state, cb_instance);
517 int cb_instance;
522 cb_instance = ddi_prop_get_int(DDI_DEV_T_ANY, dip,
524 if (cb_instance < 0) {
529 cbp = (cbus_t *)ddi_get_soft_state(cardbus_state, cb_instance);
561 ddi_soft_state_free(cardbus_state, cb_instance);
581 int cb_instance;
591 cb_instance = ddi_prop_get_int(DDI_DEV_T_ANY, dip,
593 ASSERT(cb_instance >= 0);
594 cbp = (cbus_t *)ddi_get_soft_state(cardbus_state, cb_instance);
671 int cb_instance;
680 cb_instance = ddi_prop_get_int(DDI_DEV_T_ANY, dip,
682 ASSERT(cb_instance >= 0);
683 cbp = (cbus_t *)ddi_get_soft_state(cardbus_state, cb_instance);
2065 int cb_instance;
2071 cb_instance = ddi_prop_get_int(DDI_DEV_T_ANY, dip,
2073 ASSERT(cb_instance >= 0);
2074 cbp = (cbus_t *)ddi_get_soft_state(cardbus_state, cb_instance);
2113 int cb_instance;
2119 cb_instance = ddi_prop_get_int(DDI_DEV_T_ANY, dip,
2121 ASSERT(cb_instance >= 0);
2122 cbp = (cbus_t *)ddi_get_soft_state(cardbus_state, cb_instance);
2158 int cb_instance;
2163 cb_instance = ddi_prop_get_int(DDI_DEV_T_ANY, dip,
2165 ASSERT(cb_instance >= 0);
2166 cbp = (cbus_t *)ddi_get_soft_state(cardbus_state, cb_instance);