Home
last modified time | relevance | path

Searched refs:cb_instance (Results 1 – 3 of 3) sorted by relevance

/illumos-gate/usr/src/uts/common/io/cardbus/
H A Dcardbus_hp.c117 ddi_driver_name(cbp->cb_dip), cbp->cb_instance); in cardbus_init_hotplug()
121 (void) sprintf(cbp->ap_id, "slot%d", cbp->cb_instance); in cardbus_init_hotplug()
156 "cbp%d Unable to Register Slot %s", cbp->cb_instance, in cardbus_init_hotplug()
177 int cb_instance; in cardbus_event_handler() local
180 cb_instance = AP_MINOR_NUM_TO_CB_INSTANCE(ap_minor); in cardbus_event_handler()
182 ASSERT(cb_instance >= 0); in cardbus_event_handler()
183 cbp = (cbus_t *)ddi_get_soft_state(cardbus_state, cb_instance); in cardbus_event_handler()
195 ddi_driver_name(cbp->cb_dip), cbp->cb_instance); in cardbus_event_handler()
214 ddi_driver_name(cbp->cb_dip), cbp->cb_instance, in cardbus_event_handler()
222 ddi_driver_name(cbp->cb_dip), cbp->cb_instance); in cardbus_event_handler()
[all …]
H A Dcardbus.c415 int cb_instance; in cardbus_attach() local
437 cb_instance = cardbus_next_instance++; in cardbus_attach()
439 if (ddi_soft_state_zalloc(cardbus_state, cb_instance) != DDI_SUCCESS) { in cardbus_attach()
446 cbp = (cbus_t *)ddi_get_soft_state(cardbus_state, cb_instance); in cardbus_attach()
447 cbp->cb_instance = cb_instance; in cardbus_attach()
456 "cbus-instance", (caddr_t)&cb_instance, in cardbus_attach()
457 sizeof (cb_instance)) != DDI_SUCCESS) { in cardbus_attach()
461 ddi_soft_state_free(cardbus_state, cb_instance); in cardbus_attach()
494 ddi_soft_state_free(cardbus_state, cb_instance); in cardbus_attach()
519 int cb_instance; in cardbus_detach() local
[all …]
H A Dcardbus.h54 int cb_instance; member