Searched refs:sli (Results 1 - 14 of 14) sorted by relevance

/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_sli4.c189 bzero((char *)&hba->sli.sli4.param, sizeof (sli_params_t));
191 hba->sli.sli4.param.ProtocolType = 0x3; /* FC/FCoE */
193 hba->sli.sli4.param.SliHint2 = 0;
194 hba->sli.sli4.param.SliHint1 = 0;
195 hba->sli.sli4.param.IfType = 0;
196 hba->sli.sli4.param.SliFamily = 0;
197 hba->sli.sli4.param.Revision = 0x4; /* SLI4 */
198 hba->sli.sli4.param.FT = 0;
200 hba->sli.sli4.param.EqeCntMethod = 0x1; /* Bit pattern */
201 hba->sli
[all...]
H A Demlxs_sli3.c236 hba->sli.sli3.hc_copy = 0;
249 /* Initialize sli mode based on configuration parameter */
298 (emlxs_fm_check_acc_handle(hba, hba->sli.sli3.slim_acc_handle)
300 (emlxs_fm_check_acc_handle(hba, hba->sli.sli3.csr_acc_handle)
471 "Firmware not available. sli-mode=%d",
1051 hba->sli.sli3.ring_count = MAX_RINGS;
1061 cp->iopath = (void *)&hba->sli.sli3.ring[i];
1070 for (i = 0; i < (uint32_t)hba->sli.sli3.ring_count; i++) {
1074 rp = &hba->sli.sli3.ring[i];
1517 rp = &hba->sli
[all...]
H A Demlxs_mbox.c247 hba->sli.sli4.flag &= ~(EMLXS_SLI4_PHON | EMLXS_SLI4_PHWQ);
377 addr = hba->sli.sli4.eq[num].addr.phys;
411 switch (hba->sli.sli4.param.CQV) {
430 (uint8_t)hba->sli.sli4.cq[num].eqid;
436 addr = hba->sli.sli4.cq[num].addr.phys;
461 qp2->params.request.CQContext.EQId = hba->sli.sli4.cq[num].eqid;
469 addr = hba->sli.sli4.cq[num].addr.phys;
741 switch (hba->sli.sli4.param.WQV) {
754 addr = hba->sli.sli4.wq[num].addr.phys;
757 qp->params.request.CQId = hba->sli
[all...]
H A Demlxs_fcf.c1923 FCFTable_t *fcftab = &hba->sli.sli4.fcftab;
1927 if (!(hba->sli.sli4.flag & EMLXS_SLI4_FCF_INIT)) {
1941 hba->sli.sli4.flag &= ~EMLXS_SLI4_FCF_INIT;
1953 kmem_free(hba->sli.sli4.VFI_table,
1954 (sizeof (VFIobj_t) * hba->sli.sli4.VFICount));
1956 hba->sli.sli4.VFI_table = NULL;
1957 hba->sli.sli4.VFICount = 0;
1974 rpip = hba->sli.sli4.RPIp;
1975 for (i = 0; i < hba->sli.sli4.RPICount; i++, rpip++) {
1983 kmem_free(hba->sli
[all...]
H A Demlxs_mem.c113 seg->fc_memsize = hba->sli.sli3.mem_bpl_size;
204 hba->sli.sli3.bpl_table = NULL;
226 hba->sli.sli3.bpl_table = buf_info->virt;
228 bpl_table = (MATCHMAP**)hba->sli.sli3.bpl_table;
277 rp = &hba->sli.sli3.ring[j];
346 if (hba->sli.sli3.bpl_table) {
348 bpl_table = (MATCHMAP**)hba->sli.sli3.bpl_table;
357 buf_info->virt = hba->sli.sli3.bpl_table;
359 hba->sli.sli3.bpl_table = NULL;
1525 hbq = &hba->sli
[all...]
H A Demlxs_ip.c316 rp = &hba->sli.sli3.ring[cp->channelno];
336 hbq = &hba->sli.sli3.hbq_table[hbq_id];
343 mp = hba->sli.sli3.hbq_table
H A Demlxs_download.c2254 (volatile uint32_t *)((volatile char *)hba->sli.sli3.slim_addr +
2258 if (emlxs_fm_check_acc_handle(hba, hba->sli.sli3.slim_acc_handle)
2419 bzero(hba->sli.sli4.dump_region.virt,
2420 hba->sli.sli4.dump_region.size);
2430 hba->sli.sli4.dump_region.size);
2432 PADDR_HI(hba->sli.sli4.dump_region.phys);
2434 PADDR_LO(hba->sli.sli4.dump_region.phys);
2553 ((volatile char *)hba->sli.sli3.slim_addr +
2575 if (emlxs_fm_check_acc_handle(hba, hba->sli.sli3.slim_acc_handle)
3232 ((volatile char *)hba->sli
[all...]
H A Demlxs_solaris.c5230 hba->sli.sli4.flag |= EMLXS_SLI4_HW_ERROR;
5325 addr = hba->sli.sli4.bar1_addr + offset;
5333 hba->sli.sli4.bar1_acc_handle);
5348 hba->sli.sli4.bar2_addr + offset);
5355 hba->sli.sli4.bar2_acc_handle);
5362 WRITE_BAR1_REG(hba, hba->sli.sli4.bar1_addr +
5367 hba->sli.sli4.bar1_acc_handle);
5374 WRITE_BAR2_REG(hba, hba->sli.sli4.bar2_addr +
5379 hba->sli.sli4.bar2_acc_handle);
5390 bcopy((caddr_t)hba->sli
[all...]
H A Demlxs_dfc.c3385 vres->vpi_max = min(hba->sli.sli4.VPICount, MAX_VPORTS) - 1;
3395 vres->rpi_max = hba->sli.sli4.RPICount;
5143 /* issue the mbox cmd to the sli */
6082 /* issue the mbox cmd to the sli */
6552 if (emlxs_fm_check_acc_handle(hba, hba->sli.sli3.sbus_flash_acc_handle)
6629 if (emlxs_fm_check_acc_handle(hba, hba->sli.sli3.sbus_flash_acc_handle)
7235 slim = (uint8_t *)hba->sli.sli3.slim2.virt + offset;
7238 slim = (uint8_t *)hba->sli.sli3.slim_addr + offset;
7245 if (emlxs_fm_check_acc_handle(hba, hba->sli.sli3.slim_acc_handle)
7317 slim = (uint8_t *)hba->sli
[all...]
H A Demlxs_hba.c1285 bcopy((uint8_t *)fcoelist, (uint8_t *)&hba->sli.sli4.cfgFCOE,
1301 bcopy((uint8_t *)fcflist, (uint8_t *)&hba->sli.sli4.cfgFCF,
1305 entry_count = (hba->sli.sli4.cfgFCF.length *
1312 flags = *(uint32_t *)&hba->sli.sli4.cfgFCF.entry[i];
1314 hba->sli.sli4.cfgFCF.entry[i].FabricName);
1316 hba->sli.sli4.cfgFCF.entry[i].SwitchName);
H A Demlxs_dump.c748 (ByteCountRem < hba->sli.sli4.dump_region.size) ?
749 ByteCountRem : hba->sli.sli4.dump_region.size;
752 bzero(hba->sli.sli4.dump_region.virt,
753 hba->sli.sli4.dump_region.size);
764 PADDR_HI(hba->sli.sli4.dump_region.phys);
766 PADDR_LO(hba->sli.sli4.dump_region.phys);
799 bcopy((uint8_t *)hba->sli.sli4.dump_region.virt,
H A Demlxs_fcp.c1995 EMLXS_CHK_ACC_HANDLE(hba, hba->sli.sli3.sbus_csr_handle);
2412 rp = &hba->sli.sli3.
2663 rp = &hba->sli.sli3.ring[ch];
2967 rp = &hba->sli.sli3.ring[ch];
3618 rp = &hba->sli.sli3.ring[ch];
/illumos-gate/usr/src/uts/common/io/comstar/lu/stmf_sbd/
H A Dsbd.c854 sbd_swap_lu_info_1_0(sbd_lu_info_1_0_t *sli) argument
856 sbd_swap_section_hdr(&sli->sli_sms_header);
857 if (sli->sli_data_order == SMS_DATA_ORDER)
859 sli->sli_sms_header.sms_chksum += SMS_DATA_ORDER - sli->sli_data_order;
860 sli->sli_data_order = SMS_DATA_ORDER;
861 sli->sli_total_store_size = BSWAP_64(sli->sli_total_store_size);
862 sli->sli_total_meta_size = BSWAP_64(sli
870 sbd_swap_lu_info_1_1(sbd_lu_info_1_1_t *sli) argument
1295 sbd_lu_info_1_1_t *sli; local
2198 sbd_lu_info_1_0_t *sli = NULL; local
2234 sbd_lu_info_1_1_t *sli = NULL; local
[all...]
/illumos-gate/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))
1189 ((_hba)->sli.sli4.MPUEPSemaphore_reg_addr))
1193 ((_hba)->sli
1903 } sli; member in struct:emlxs_hba
[all...]

Completed in 228 milliseconds