Home
last modified time | relevance | path

Searched refs:sli3 (Results 1 – 12 of 12) sorted by relevance

/titanic_41/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_sli3.c236 hba->sli.sli3.hc_copy = 0; in emlxs_sli3_online()
298 (emlxs_fm_check_acc_handle(hba, hba->sli.sli3.slim_acc_handle) in emlxs_sli3_online()
300 (emlxs_fm_check_acc_handle(hba, hba->sli.sli3.csr_acc_handle) in emlxs_sli3_online()
752 (fw->sli3 && (vpd->sli3FwRev != fw->sli3)) || in emlxs_sli3_online()
1051 hba->sli.sli3.ring_count = MAX_RINGS; in emlxs_sli3_online()
1061 cp->iopath = (void *)&hba->sli.sli3.ring[i]; in emlxs_sli3_online()
1070 for (i = 0; i < (uint32_t)hba->sli.sli3.ring_count; i++) { in emlxs_sli3_online()
1074 rp = &hba->sli.sli3.ring[i]; in emlxs_sli3_online()
1517 rp = &hba->sli.sli3.ring[FC_FCT_RING]; in emlxs_sli3_online()
1527 rp = &hba->sli.sli3.ring[FC_IP_RING]; in emlxs_sli3_online()
[all …]
H A Demlxs_fw.c99 (fw_table->sli3 == fw->sli3) && in emlxs_fw_get()
H A Demlxs_mbox.c1535 if (!(hba->sli.sli3.hc_copy & HC_LAINT_ENA)) { in emlxs_read_la_mbcmpl()
1536 hba->sli.sli3.hc_copy |= HC_LAINT_ENA; in emlxs_read_la_mbcmpl()
1538 hba->sli.sli3.hc_copy); in emlxs_read_la_mbcmpl()
1542 hba->sli.sli3.csr_acc_handle); in emlxs_read_la_mbcmpl()
1734 if (!(hba->sli.sli3.hc_copy & HC_LAINT_ENA)) { in emlxs_read_la_mbcmpl()
1735 hba->sli.sli3.hc_copy |= HC_LAINT_ENA; in emlxs_read_la_mbcmpl()
1736 WRITE_CSR_REG(hba, FC_HC_REG(hba), hba->sli.sli3.hc_copy); in emlxs_read_la_mbcmpl()
1739 EMLXS_CHK_ACC_HANDLE(hba, hba->sli.sli3.csr_acc_handle); in emlxs_read_la_mbcmpl()
1821 if (!(hba->sli.sli3.hc_copy & HC_LAINT_ENA)) { in emlxs_clear_la_mbcmpl()
1823 hba->sli.sli3.hc_copy |= HC_LAINT_ENA; in emlxs_clear_la_mbcmpl()
[all …]
H A Demlxs_mem.c113 seg->fc_memsize = hba->sli.sli3.mem_bpl_size; in emlxs_mem_alloc_buffer()
204 hba->sli.sli3.bpl_table = NULL; in emlxs_mem_alloc_buffer()
226 hba->sli.sli3.bpl_table = buf_info->virt; in emlxs_mem_alloc_buffer()
228 bpl_table = (MATCHMAP**)hba->sli.sli3.bpl_table; in emlxs_mem_alloc_buffer()
277 rp = &hba->sli.sli3.ring[j]; in emlxs_mem_free_buffer()
346 if (hba->sli.sli3.bpl_table) { in emlxs_mem_free_buffer()
348 bpl_table = (MATCHMAP**)hba->sli.sli3.bpl_table; in emlxs_mem_free_buffer()
357 buf_info->virt = hba->sli.sli3.bpl_table; in emlxs_mem_free_buffer()
359 hba->sli.sli3.bpl_table = NULL; in emlxs_mem_free_buffer()
1525 hbq = &hba->sli.sli3.hbq_table[hbq_id]; in emlxs_hbq_alloc()
H A Demlxs_ip.c316 rp = &hba->sli.sli3.ring[cp->channelno]; in emlxs_ip_handle_rcv_seq_list()
336 hbq = &hba->sli.sli3.hbq_table[hbq_id]; in emlxs_ip_handle_rcv_seq_list()
343 mp = hba->sli.sli3.hbq_table in emlxs_ip_handle_rcv_seq_list()
H A Demlxs_dfc.c6552 if (emlxs_fm_check_acc_handle(hba, hba->sli.sli3.sbus_flash_acc_handle) in emlxs_dfc_write_flash()
6629 if (emlxs_fm_check_acc_handle(hba, hba->sli.sli3.sbus_flash_acc_handle) in emlxs_dfc_read_flash()
7235 slim = (uint8_t *)hba->sli.sli3.slim2.virt + offset; in emlxs_dfc_read_mem()
7238 slim = (uint8_t *)hba->sli.sli3.slim_addr + offset; in emlxs_dfc_read_mem()
7245 if (emlxs_fm_check_acc_handle(hba, hba->sli.sli3.slim_acc_handle) in emlxs_dfc_read_mem()
7317 slim = (uint8_t *)hba->sli.sli3.slim2.virt + offset; in emlxs_dfc_write_mem()
7320 slim = (uint8_t *)hba->sli.sli3.slim_addr + offset; in emlxs_dfc_write_mem()
7327 if (emlxs_fm_check_acc_handle(hba, hba->sli.sli3.slim_acc_handle) in emlxs_dfc_write_mem()
7381 WRITE_CSR_REG(hba, (hba->sli.sli3.csr_addr + offset), value); in emlxs_dfc_write_ctlreg()
7385 if (emlxs_fm_check_acc_handle(hba, hba->sli.sli3.csr_acc_handle) in emlxs_dfc_write_ctlreg()
[all …]
H A Demlxs_download.c2254 (volatile uint32_t *)((volatile char *)hba->sli.sli3.slim_addr + in emlxs_cfl_download()
2258 if (emlxs_fm_check_acc_handle(hba, hba->sli.sli3.slim_acc_handle) in emlxs_cfl_download()
2553 ((volatile char *)hba->sli.sli3.slim_addr + in emlxs_start_abs_download()
2575 if (emlxs_fm_check_acc_handle(hba, hba->sli.sli3.slim_acc_handle) in emlxs_start_abs_download()
3232 ((volatile char *)hba->sli.sli3.slim_addr + in emlxs_start_rel_download()
3256 if (emlxs_fm_check_acc_handle(hba, hba->sli.sli3.slim_acc_handle) in emlxs_start_rel_download()
3570 if (emlxs_fm_check_acc_handle(hba, hba->sli.sli3.sbus_flash_acc_handle) in emlxs_write_fcode_flash()
3683 if (emlxs_fm_check_acc_handle(hba, hba->sli.sli3.sbus_flash_acc_handle) in emlxs_erase_fcode_flash()
5289 hba->sli.sli3.slim_addr + sizeof (MAILBOX)), in emlxs_proc_abs_2mb()
5324 if (emlxs_fm_check_acc_handle(hba, hba->sli.sli3.slim_acc_handle) in emlxs_proc_abs_2mb()
H A Demlxs_fcp.c1995 EMLXS_CHK_ACC_HANDLE(hba, hba->sli.sli3.sbus_csr_handle); in emlxs_offline()
2412 rp = &hba->sli.sli3. in emlxs_tx_channel_flush()
2663 rp = &hba->sli.sli3.ring[ch]; in emlxs_tx_node_flush()
2967 rp = &hba->sli.sli3.ring[ch]; in emlxs_tx_lun_flush()
3618 rp = &hba->sli.sli3.ring[ch]; in emlxs_tx_move()
H A Demlxs_solaris.c7225 hba->sli.sli3.mem_bpl_size = MEM_BPL_SIZE; in emlxs_hba_attach()
7232 hba->sli.sli3.mem_bpl_size = 4096; in emlxs_hba_attach()
7235 hba->sli.sli3.mem_bpl_size = 2048; in emlxs_hba_attach()
7237 hba->sli.sli3.mem_bpl_size = 1024; in emlxs_hba_attach()
7241 i = BPL_TO_SGLLEN(hba->sli.sli3.mem_bpl_size); in emlxs_hba_attach()
12223 hba->sli.sli3.slim2.dma_handle) in emlxs_check_dma()
12228 hba->sli.sli3.slim2.dma_handle); in emlxs_check_dma()
H A Demlxs_sli4.c765 hba_fw.sli3 = vpd->sli3FwRev; in emlxs_sli4_online()
779 (fw->sli3 && (hba_fw.sli3 != fw->sli3)) || in emlxs_sli4_online()
/titanic_41/usr/src/uts/common/sys/fibre-channel/fca/emlxs/
H A Demlxs_fc.h1156 ((_hba)->sli.sli3.ha_reg_addr))
1160 ((_hba)->sli.sli3.ca_reg_addr))
1164 ((_hba)->sli.sli3.hs_reg_addr))
1168 ((_hba)->sli.sli3.hc_reg_addr))
1172 ((_hba)->sli.sli3.bc_reg_addr))
1177 ((_hba)->sli.sli3.shc_reg_addr))
1181 ((_hba)->sli.sli3.shs_reg_addr))
1185 ((_hba)->sli.sli3.shu_reg_addr))
1212 #define FC_SLIM2_MAILBOX(_hba) ((MAILBOX *)(_hba)->sli.sli3.slim2.virt)
1214 #define FC_SLIM1_MAILBOX(_hba) ((MAILBOX *)(_hba)->sli.sli3.slim_addr)
[all …]
H A Demlxs_fw.h67 uint32_t sli3; member