/illumos-gate/usr/src/uts/common/io/1394/adapters/ |
H A D | hci1394_attach.c | 249 soft_state->halinfo.hal_private = soft_state; in hci1394_soft_state_phase1_init() 250 soft_state->halinfo.dip = soft_state->drvinfo.di_dip; in hci1394_soft_state_phase1_init() 282 soft_state->halinfo.acc_attr = soft_state->drvinfo.di_buf_attr; in hci1394_soft_state_phase2_init() 289 soft_state->halinfo.hw_interrupt = soft_state->drvinfo.di_iblock_cookie; in hci1394_soft_state_phase2_init() 339 status = hci1394_ohci_init(soft_state, &soft_state->drvinfo, in hci1394_hardware_init() 347 hci1394_csr_init(&soft_state->drvinfo, soft_state->ohci, in hci1394_hardware_init() 351 status = hci1394_async_init(&soft_state->drvinfo, soft_state->ohci, in hci1394_hardware_init() 352 soft_state->csr, &soft_state->async); in hci1394_hardware_init() 361 hci1394_isoch_init(&soft_state->drvinfo, soft_state->ohci, in hci1394_hardware_init() 365 status = hci1394_vendor_init(&soft_state->drvinfo, soft_state->ohci, in hci1394_hardware_init() [all …]
|
H A D | hci1394_isr.c | 65 ASSERT(soft_state != NULL); in hci1394_isr_init() 92 ASSERT(soft_state != NULL); in hci1394_isr_fini() 107 ASSERT(soft_state != NULL); in hci1394_isr_handler_init() 123 ASSERT(soft_state != NULL); in hci1394_isr_handler_fini() 139 ASSERT(soft_state != NULL); in hci1394_isr_mask_setup() 171 hci1394_state_t *soft_state; in hci1394_isr() local 180 ASSERT(soft_state != NULL); in hci1394_isr() 301 soft_state->ohci); in hci1394_isr() 320 ASSERT(soft_state != NULL); in hci1394_isr_bus_reset() 386 ASSERT(soft_state != NULL); in hci1394_isr_self_id() [all …]
|
H A D | hci1394_detach.c | 49 hci1394_state_t *soft_state; in hci1394_detach() local 52 if (soft_state == NULL) { in hci1394_detach() 97 hci1394_detach_hardware(soft_state); in hci1394_detach() 100 hci1394_isr_fini(soft_state); in hci1394_detach() 166 hci1394_state_t *soft_state; in hci1394_quiesce() local 170 if (soft_state == NULL) { in hci1394_quiesce() 201 ASSERT(soft_state != NULL); in hci1394_detach_hardware() 213 hci1394_csr_fini(&soft_state->csr); in hci1394_detach_hardware() 219 hci1394_pci_fini(soft_state); in hci1394_detach_hardware() 230 ASSERT(soft_state != NULL); in hci1394_pci_fini() [all …]
|
H A D | hci1394_s1394if.c | 125 hci1394_state_t *soft_state; in hci1394_s1394if_shutdown() local 144 hci1394_state_t *soft_state; in hci1394_s1394if_phy() local 181 hci1394_state_t *soft_state; in hci1394_s1394if_write() local 218 hci1394_state_t *soft_state; in hci1394_s1394if_read() local 257 hci1394_state_t *soft_state; in hci1394_s1394if_lock() local 294 hci1394_state_t *soft_state; in hci1394_s1394if_write_response() local 331 hci1394_state_t *soft_state; in hci1394_s1394if_read_response() local 370 hci1394_state_t *soft_state; in hci1394_s1394if_lock_response() local 411 hci1394_state_t *soft_state; in hci1394_s1394if_response_complete() local 867 soft_state->csr))); in hci1394_s1394if_csr_write() [all …]
|
H A D | hci1394_ioctl.c | 88 hci1394_state_t *soft_state; in hci1394_ioctl() local 98 if (soft_state == NULL) { in hci1394_ioctl() 164 ASSERT(soft_state != NULL); in hci1394_ioctl_wrreg() 185 ASSERT(soft_state != NULL); in hci1394_ioctl_rdreg() 211 ASSERT(soft_state != NULL); in hci1394_ioctl_wrvreg() 237 ASSERT(soft_state != NULL); in hci1394_ioctl_rdvreg() 269 ASSERT(soft_state != NULL); in hci1394_ioctl_selfid_cnt() 291 ASSERT(soft_state != NULL); in hci1394_ioctl_busgen_cnt() 313 ASSERT(soft_state != NULL); in hci1394_ioctl_wrphy() 338 ASSERT(soft_state != NULL); in hci1394_ioctl_rdphy() [all …]
|
H A D | hci1394_misc.c | 50 hci1394_state_t *soft_state; in hci1394_getinfo() local 58 soft_state = ddi_get_soft_state(hci1394_statep, instance); in hci1394_getinfo() 59 if (soft_state == NULL) { in hci1394_getinfo() 62 *result = (void *)soft_state->drvinfo.di_dip; in hci1394_getinfo() 85 hci1394_state_t *soft_state; in hci1394_open() local 88 if (soft_state == NULL) { in hci1394_open() 111 hci1394_state_t *soft_state; in hci1394_shutdown() local 124 if (soft_state == NULL) { in hci1394_shutdown() 132 hci1394_ohci_intr_master_disable(soft_state->ohci); in hci1394_shutdown() 138 (void) hci1394_ohci_soft_reset(soft_state->ohci); in hci1394_shutdown() [all …]
|
H A D | hci1394_ohci.c | 78 hci1394_ohci_init(hci1394_state_t *soft_state, hci1394_drvinfo_t *drvinfo, in hci1394_ohci_init() argument 124 ohci->soft_state = soft_state; in hci1394_ohci_init() 133 cmdreg = pci_config_get16(soft_state->pci_config, PCI_CONF_COMM); in hci1394_ohci_init() 137 pci_config_put16(soft_state->pci_config, PCI_CONF_COMM, cmdreg); in hci1394_ohci_init() 179 soft_state->halinfo.guid = hci1394_ohci_guid(ohci); in hci1394_ohci_init() 180 soft_state->halinfo.phy = ohci->ohci_phy; in hci1394_ohci_init() 181 soft_state->vendor_info.ohci_vendor_id = in hci1394_ohci_init() 184 soft_state->vendor_info.ohci_version = version; in hci1394_ohci_init() 294 if (ohci_hdl->soft_state->swap_data == B_FALSE) { in hci1394_ohci_chip_init() 1416 hci1394_isr_mask_setup(ohci_hdl->soft_state); in hci1394_ohci_startup()
|
H A D | hci1394_isoch.c | 154 hci1394_isoch_resume(hci1394_state_t *soft_state) in hci1394_isoch_resume() argument
|
/illumos-gate/usr/src/uts/common/io/1394/targets/dcam1394/ |
H A D | dcam_reg.c | 40 dcam_reg_read(dcam_state_t *soft_state, dcam1394_reg_io_t *arg) in dcam_reg_read() argument 44 if (t1394_alloc_cmd(soft_state->sl_handle, 1, &cmdp) != DDI_SUCCESS) { in dcam_reg_read() 62 if (t1394_read(soft_state->sl_handle, cmdp) != DDI_SUCCESS) { in dcam_reg_read() 63 (void) t1394_free_cmd(soft_state->sl_handle, 0, &cmdp); in dcam_reg_read() 68 (void) t1394_free_cmd(soft_state->sl_handle, 0, &cmdp); in dcam_reg_read() 76 (void) t1394_free_cmd(soft_state->sl_handle, 0, &cmdp); in dcam_reg_read() 86 dcam_reg_write(dcam_state_t *soft_state, dcam1394_reg_io_t *arg) in dcam_reg_write() argument 109 if (t1394_write(soft_state->sl_handle, cmdp) != DDI_SUCCESS) { in dcam_reg_write() 110 (void) t1394_free_cmd(soft_state->sl_handle, 0, &cmdp); in dcam_reg_write() 115 (void) t1394_free_cmd(soft_state->sl_handle, 0, &cmdp); in dcam_reg_write() [all …]
|
/illumos-gate/usr/src/uts/common/sys/1394/adapters/ |
H A D | hci1394.h | 85 void hci1394_detach_hardware(hci1394_state_t *soft_state); 86 void hci1394_pci_fini(hci1394_state_t *soft_state); 87 void hci1394_soft_state_fini(hci1394_state_t *soft_state); 104 int hci1394_isr_init(hci1394_state_t *soft_state); 105 void hci1394_isr_fini(hci1394_state_t *soft_state); 106 int hci1394_isr_handler_init(hci1394_state_t *soft_state); 107 void hci1394_isr_handler_fini(hci1394_state_t *soft_state); 108 void hci1394_isr_mask_setup(hci1394_state_t *soft_state);
|
H A D | hci1394_ohci.h | 561 hci1394_state_t *soft_state; member 575 int hci1394_ohci_init(hci1394_state_t *soft_state, hci1394_drvinfo_t *drvinfo,
|
/illumos-gate/usr/src/uts/common/sys/1394/targets/dcam1394/ |
H A D | dcam_reg.h | 165 int dcam_reg_read(dcam_state_t *soft_state, dcam1394_reg_io_t *arg); 166 int dcam_reg_write(dcam_state_t *soft_state, dcam1394_reg_io_t *arg);
|
/illumos-gate/usr/src/uts/common/io/cardbus/ |
H A D | cardbus_hp.c | 564 if (cbp->soft_state != PCIHP_SOFT_STATE_CLOSED) { in cardbus_new_slot_state() 1069 if ((cbp->soft_state == PCIHP_SOFT_STATE_OPEN_EXCL) || in cardbus_open() 1071 (cbp->soft_state != PCIHP_SOFT_STATE_CLOSED))) { in cardbus_open() 1077 cbp->soft_state = PCIHP_SOFT_STATE_OPEN_EXCL; in cardbus_open() 1079 cbp->soft_state = PCIHP_SOFT_STATE_OPEN; in cardbus_open() 1105 cbp->soft_state = PCIHP_SOFT_STATE_CLOSED; in cardbus_close()
|
H A D | cardbus.h | 70 cbhp_soft_state_t soft_state; member
|
/illumos-gate/usr/src/uts/common/io/hotplug/pcihp/ |
H A D | pcihp.c | 113 pcihp_soft_state_t soft_state; member 557 if ((pcihp_p->soft_state == PCIHP_SOFT_STATE_OPEN_EXCL) || in pcihp_open() 559 (pcihp_p->soft_state != PCIHP_SOFT_STATE_CLOSED))) { in pcihp_open() 566 pcihp_p->soft_state = PCIHP_SOFT_STATE_OPEN_EXCL; in pcihp_open() 568 pcihp_p->soft_state = PCIHP_SOFT_STATE_OPEN; in pcihp_open() 599 pcihp_p->soft_state = PCIHP_SOFT_STATE_CLOSED; in pcihp_close() 1817 pcihp_p->soft_state = PCIHP_SOFT_STATE_CLOSED; in pcihp_init() 1915 if ((pcihp_p->soft_state != PCIHP_SOFT_STATE_CLOSED) || in pcihp_uninit() 2253 if (pcihp_p->soft_state != PCIHP_SOFT_STATE_CLOSED) { in pcihp_new_slot_state()
|