Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_sli3.c237 hba->sli.sli3.hc_copy = 0; in emlxs_sli3_online()
299 (emlxs_fm_check_acc_handle(hba, hba->sli.sli3.slim_acc_handle) in emlxs_sli3_online()
301 (emlxs_fm_check_acc_handle(hba, hba->sli.sli3.csr_acc_handle) in emlxs_sli3_online()
755 (fw->sli3 && (vpd->sli3FwRev != fw->sli3)) || in emlxs_sli3_online()
1054 hba->sli.sli3.ring_count = MAX_RINGS; in emlxs_sli3_online()
1064 cp->iopath = (void *)&hba->sli.sli3.ring[i]; in emlxs_sli3_online()
1073 for (i = 0; i < (uint32_t)hba->sli.sli3.ring_count; i++) { in emlxs_sli3_online()
1077 rp = &hba->sli.sli3.ring[i]; in emlxs_sli3_online()
1522 rp = &hba->sli.sli3.ring[FC_FCT_RING]; in emlxs_sli3_online()
1532 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.c1602 if (!(hba->sli.sli3.hc_copy & HC_LAINT_ENA)) { in emlxs_read_la_mbcmpl()
1603 hba->sli.sli3.hc_copy |= HC_LAINT_ENA; in emlxs_read_la_mbcmpl()
1605 hba->sli.sli3.hc_copy); in emlxs_read_la_mbcmpl()
1609 hba->sli.sli3.csr_acc_handle); in emlxs_read_la_mbcmpl()
1802 if (!(hba->sli.sli3.hc_copy & HC_LAINT_ENA)) { in emlxs_read_la_mbcmpl()
1803 hba->sli.sli3.hc_copy |= HC_LAINT_ENA; in emlxs_read_la_mbcmpl()
1804 WRITE_CSR_REG(hba, FC_HC_REG(hba), hba->sli.sli3.hc_copy); in emlxs_read_la_mbcmpl()
1807 EMLXS_CHK_ACC_HANDLE(hba, hba->sli.sli3.csr_acc_handle); in emlxs_read_la_mbcmpl()
1889 if (!(hba->sli.sli3.hc_copy & HC_LAINT_ENA)) { in emlxs_clear_la_mbcmpl()
1891 hba->sli.sli3.hc_copy |= HC_LAINT_ENA; in emlxs_clear_la_mbcmpl()
[all …]
H A Demlxs_mem.c115 seg->fc_memsize = hba->sli.sli3.mem_bpl_size; in emlxs_mem_alloc_buffer()
242 hba->sli.sli3.bpl_table = NULL; in emlxs_mem_alloc_buffer()
264 hba->sli.sli3.bpl_table = buf_info->virt; in emlxs_mem_alloc_buffer()
266 bpl_table = (MATCHMAP**)hba->sli.sli3.bpl_table; in emlxs_mem_alloc_buffer()
315 rp = &hba->sli.sli3.ring[j]; in emlxs_mem_free_buffer()
384 if (hba->sli.sli3.bpl_table) { in emlxs_mem_free_buffer()
386 bpl_table = (MATCHMAP**)hba->sli.sli3.bpl_table; in emlxs_mem_free_buffer()
395 buf_info->virt = hba->sli.sli3.bpl_table; in emlxs_mem_free_buffer()
397 hba->sli.sli3.bpl_table = NULL; in emlxs_mem_free_buffer()
1562 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.c6610 if (emlxs_fm_check_acc_handle(hba, hba->sli.sli3.sbus_flash_acc_handle) in emlxs_dfc_write_flash()
6687 if (emlxs_fm_check_acc_handle(hba, hba->sli.sli3.sbus_flash_acc_handle) in emlxs_dfc_read_flash()
7293 slim = (uint8_t *)hba->sli.sli3.slim2.virt + offset; in emlxs_dfc_read_mem()
7296 slim = (uint8_t *)hba->sli.sli3.slim_addr + offset; in emlxs_dfc_read_mem()
7303 if (emlxs_fm_check_acc_handle(hba, hba->sli.sli3.slim_acc_handle) in emlxs_dfc_read_mem()
7375 slim = (uint8_t *)hba->sli.sli3.slim2.virt + offset; in emlxs_dfc_write_mem()
7378 slim = (uint8_t *)hba->sli.sli3.slim_addr + offset; in emlxs_dfc_write_mem()
7385 if (emlxs_fm_check_acc_handle(hba, hba->sli.sli3.slim_acc_handle) in emlxs_dfc_write_mem()
7439 WRITE_CSR_REG(hba, (hba->sli.sli3.csr_addr + offset), value); in emlxs_dfc_write_ctlreg()
7443 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.c2004 EMLXS_CHK_ACC_HANDLE(hba, hba->sli.sli3.sbus_csr_handle); in emlxs_offline()
2421 rp = &hba->sli.sli3. in emlxs_tx_channel_flush()
2672 rp = &hba->sli.sli3.ring[ch]; in emlxs_tx_node_flush()
2976 rp = &hba->sli.sli3.ring[ch]; in emlxs_tx_lun_flush()
3627 rp = &hba->sli.sli3.ring[ch]; in emlxs_tx_move()
H A Demlxs_solaris.c7238 hba->sli.sli3.mem_bpl_size = MEM_BPL_SIZE; in emlxs_hba_attach()
7245 hba->sli.sli3.mem_bpl_size = 4096; in emlxs_hba_attach()
7248 hba->sli.sli3.mem_bpl_size = 2048; in emlxs_hba_attach()
7250 hba->sli.sli3.mem_bpl_size = 1024; in emlxs_hba_attach()
7254 i = BPL_TO_SGLLEN(hba->sli.sli3.mem_bpl_size); in emlxs_hba_attach()
12246 hba->sli.sli3.slim2.dma_handle) in emlxs_check_dma()
12251 hba->sli.sli3.slim2.dma_handle); in emlxs_check_dma()
H A Demlxs_sli4.c822 hba_fw.sli3 = vpd->sli3FwRev; in emlxs_sli4_online()
836 (fw->sli3 && (hba_fw.sli3 != fw->sli3)) || in emlxs_sli4_online()
/illumos-gate/usr/src/uts/common/sys/fibre-channel/fca/emlxs/
H A Demlxs_fc.h1160 ((_hba)->sli.sli3.ha_reg_addr))
1164 ((_hba)->sli.sli3.ca_reg_addr))
1168 ((_hba)->sli.sli3.hs_reg_addr))
1172 ((_hba)->sli.sli3.hc_reg_addr))
1176 ((_hba)->sli.sli3.bc_reg_addr))
1181 ((_hba)->sli.sli3.shc_reg_addr))
1185 ((_hba)->sli.sli3.shs_reg_addr))
1189 ((_hba)->sli.sli3.shu_reg_addr))
1216 #define FC_SLIM2_MAILBOX(_hba) ((MAILBOX *)(_hba)->sli.sli3.slim2.virt)
1218 #define FC_SLIM1_MAILBOX(_hba) ((MAILBOX *)(_hba)->sli.sli3.slim_addr)
[all …]
H A Demlxs_fw.h67 uint32_t sli3; member