/titanic_41/usr/src/uts/common/io/fibre-channel/fca/qlc/ |
H A D | ql_init.c | 207 WRT16_IO_REG(ha, ictrl, ISP_EN_INT + ISP_EN_RISC); in ql_initialize_adapter() 289 WRT16_IO_REG(ha, hccr, HC_PAUSE_RISC); in ql_pci_sbus_config() 300 WRT16_IO_REG(ha, ctrl_status, 0x20); in ql_pci_sbus_config() 308 WRT16_IO_REG(ha, ctrl_status, 0x0); in ql_pci_sbus_config() 311 WRT16_IO_REG(ha, hccr, HC_RELEASE_RISC); in ql_pci_sbus_config() 848 WRT16_IO_REG(ha, nvram, NV_SELECT+NV_CLOCK); in ql_nvram_request() 855 WRT16_IO_REG(ha, nvram, NV_SELECT); in ql_nvram_request() 861 WRT16_IO_REG(ha, nvram, NV_DESELECT); in ql_nvram_request() 870 WRT16_IO_REG(ha, nvram, (uint16_t)(data | NV_SELECT)); in ql_nv_write() 872 WRT16_IO_REG(ha, nvram, (uint16_t)(data | NV_SELECT | NV_CLOCK)); in ql_nv_write() [all …]
|
H A D | ql_ioctl.c | 460 WRT16_IO_REG(ha, nvram, NV_SELECT | NV_CLOCK); in ql_get_feature_bits() 469 WRT16_IO_REG(ha, nvram, NV_SELECT); in ql_get_feature_bits() 476 WRT16_IO_REG(ha, nvram, NV_DESELECT); in ql_get_feature_bits() 785 WRT16_IO_REG(ha, nvram, NV_DESELECT); in ql_load_nvram() 805 WRT16_IO_REG(ha, nvram, NV_DESELECT); in ql_load_nvram() 807 WRT16_IO_REG(ha, nvram, NV_SELECT); in ql_load_nvram() 813 WRT16_IO_REG(ha, nvram, NV_DESELECT); in ql_load_nvram() 834 WRT16_IO_REG(ha, nvram, NV_DESELECT); in ql_load_nvram() 836 WRT16_IO_REG(ha, nvram, NV_SELECT); in ql_load_nvram() 842 WRT16_IO_REG(ha, nvram, NV_DESELECT); in ql_load_nvram() [all …]
|
H A D | ql_api.c | 2270 WRT16_IO_REG(ha, mailbox_in[0], MBC_STOP_FIRMWARE); in ql_quiesce() 2291 WRT16_IO_REG(ha, ictrl, 0); in ql_quiesce() 2293 WRT16_IO_REG(ha, ctrl_status, 0); in ql_quiesce() 2295 WRT16_IO_REG(ha, semaphore, 0); in ql_quiesce() 2297 WRT16_IO_REG(ha, hccr, HC_RESET_RISC); in ql_quiesce() 2299 WRT16_IO_REG(ha, hccr, HC_RELEASE_RISC); in ql_quiesce() 11058 WRT16_IO_REG(ha, ctrl_status, data); in ql_flash_enable() 11102 WRT16_IO_REG(ha, ctrl_status, data); in ql_flash_disable() 11143 WRT16_IO_REG(ha, ctrl_status, bank_select); in ql_write_flash_byte() 11149 WRT16_IO_REG(ha, ctrl_status, bank_select); in ql_write_flash_byte() [all …]
|
H A D | ql_isr.c | 210 WRT16_IO_REG(ha, semaphore, 0); in ql_isr_aif() 213 WRT16_IO_REG(ha, hccr, in ql_isr_aif() 276 WRT16_IO_REG(ha, semaphore, 0); in ql_isr_aif() 324 WRT16_IO_REG(ha, hccr, HC_CLR_RISC_INT); in ql_isr_aif() 374 WRT16_IO_REG(ha, semaphore, 0); in ql_isr_aif() 382 WRT16_IO_REG(ha, semaphore, 0); in ql_isr_aif() 391 WRT16_IO_REG(ha, semaphore, 0); in ql_isr_aif() 492 WRT16_IO_REG(ha, hccr, HC_CLR_RISC_INT); in ql_isr_aif() 606 WRT16_IO_REG(ha, ictrl, 0); in ql_handle_uncommon_risc_intr() 635 WRT16_IO_REG(ha, ictrl, 0); in ql_spurious_intr() [all …]
|
H A D | ql_iocb.c | 231 WRT16_IO_REG(ha, req_in, ha->req_ring_index); in ql_start_iocb() 404 WRT16_IO_REG(ha, req_in, ha->req_ring_index); in ql_isp_cmd() 1401 WRT16_IO_REG(ha, mailbox_in[8], ha->rcvbuf_ring_index); in ql_isp_rcvbuf()
|
H A D | ql_mbx.c | 149 WRT16_IO_REG(ha, mailbox_in[cnt], mcp->mb[cnt]); in ql_mailbox_command() 161 WRT16_IO_REG(ha, hccr, HC_SET_HOST_INT); in ql_mailbox_command() 258 WRT16_IO_REG(ha, mailbox_in[cnt], (uint16_t)0); in ql_mailbox_command() 3372 WRT16_IO_REG(ha, req_in, 0); in ql_init_firmware() 3373 WRT16_IO_REG(ha, resp_out, 0); in ql_init_firmware()
|
H A D | ql_xioctl.c | 6072 WRT16_IO_REG(ha, gpioe, gpio_enable); in ql_drive_led() 6082 WRT16_IO_REG(ha, gpiod, gpio_data); in ql_drive_led()
|
/titanic_41/usr/src/uts/common/sys/fibre-channel/fca/qlc/ |
H A D | ql_api.h | 234 #define WRT16_IO_REG(ha, regname, data) \ macro
|