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

/linux-4.1.27/drivers/scsi/lpfc/
H A Dlpfc_hbadisc.c1234 * @new_fcf_record: pointer to fcf record.
1241 lpfc_fab_name_match(uint8_t *fab_name, struct fcf_record *new_fcf_record) lpfc_fab_name_match() argument
1243 if (fab_name[0] != bf_get(lpfc_fcf_record_fab_name_0, new_fcf_record)) lpfc_fab_name_match()
1245 if (fab_name[1] != bf_get(lpfc_fcf_record_fab_name_1, new_fcf_record)) lpfc_fab_name_match()
1247 if (fab_name[2] != bf_get(lpfc_fcf_record_fab_name_2, new_fcf_record)) lpfc_fab_name_match()
1249 if (fab_name[3] != bf_get(lpfc_fcf_record_fab_name_3, new_fcf_record)) lpfc_fab_name_match()
1251 if (fab_name[4] != bf_get(lpfc_fcf_record_fab_name_4, new_fcf_record)) lpfc_fab_name_match()
1253 if (fab_name[5] != bf_get(lpfc_fcf_record_fab_name_5, new_fcf_record)) lpfc_fab_name_match()
1255 if (fab_name[6] != bf_get(lpfc_fcf_record_fab_name_6, new_fcf_record)) lpfc_fab_name_match()
1257 if (fab_name[7] != bf_get(lpfc_fcf_record_fab_name_7, new_fcf_record)) lpfc_fab_name_match()
1265 * @new_fcf_record: pointer to fcf record.
1272 lpfc_sw_name_match(uint8_t *sw_name, struct fcf_record *new_fcf_record) lpfc_sw_name_match() argument
1274 if (sw_name[0] != bf_get(lpfc_fcf_record_switch_name_0, new_fcf_record)) lpfc_sw_name_match()
1276 if (sw_name[1] != bf_get(lpfc_fcf_record_switch_name_1, new_fcf_record)) lpfc_sw_name_match()
1278 if (sw_name[2] != bf_get(lpfc_fcf_record_switch_name_2, new_fcf_record)) lpfc_sw_name_match()
1280 if (sw_name[3] != bf_get(lpfc_fcf_record_switch_name_3, new_fcf_record)) lpfc_sw_name_match()
1282 if (sw_name[4] != bf_get(lpfc_fcf_record_switch_name_4, new_fcf_record)) lpfc_sw_name_match()
1284 if (sw_name[5] != bf_get(lpfc_fcf_record_switch_name_5, new_fcf_record)) lpfc_sw_name_match()
1286 if (sw_name[6] != bf_get(lpfc_fcf_record_switch_name_6, new_fcf_record)) lpfc_sw_name_match()
1288 if (sw_name[7] != bf_get(lpfc_fcf_record_switch_name_7, new_fcf_record)) lpfc_sw_name_match()
1296 * @new_fcf_record: pointer to fcf record.
1303 lpfc_mac_addr_match(uint8_t *mac_addr, struct fcf_record *new_fcf_record) lpfc_mac_addr_match() argument
1305 if (mac_addr[0] != bf_get(lpfc_fcf_record_mac_0, new_fcf_record)) lpfc_mac_addr_match()
1307 if (mac_addr[1] != bf_get(lpfc_fcf_record_mac_1, new_fcf_record)) lpfc_mac_addr_match()
1309 if (mac_addr[2] != bf_get(lpfc_fcf_record_mac_2, new_fcf_record)) lpfc_mac_addr_match()
1311 if (mac_addr[3] != bf_get(lpfc_fcf_record_mac_3, new_fcf_record)) lpfc_mac_addr_match()
1313 if (mac_addr[4] != bf_get(lpfc_fcf_record_mac_4, new_fcf_record)) lpfc_mac_addr_match()
1315 if (mac_addr[5] != bf_get(lpfc_fcf_record_mac_5, new_fcf_record)) lpfc_mac_addr_match()
1331 * @new_fcf_record: pointer to hba fcf record.
1338 struct fcf_record *new_fcf_record __lpfc_update_fcf_record_pri()
1346 fcf_pri->fcf_rec.priority = new_fcf_record->fip_priority; __lpfc_update_fcf_record_pri()
1353 * @new_fcf_record: pointer to fcf record.
1360 struct fcf_record *new_fcf_record) lpfc_copy_fcf_record()
1364 bf_get(lpfc_fcf_record_fab_name_0, new_fcf_record); lpfc_copy_fcf_record()
1366 bf_get(lpfc_fcf_record_fab_name_1, new_fcf_record); lpfc_copy_fcf_record()
1368 bf_get(lpfc_fcf_record_fab_name_2, new_fcf_record); lpfc_copy_fcf_record()
1370 bf_get(lpfc_fcf_record_fab_name_3, new_fcf_record); lpfc_copy_fcf_record()
1372 bf_get(lpfc_fcf_record_fab_name_4, new_fcf_record); lpfc_copy_fcf_record()
1374 bf_get(lpfc_fcf_record_fab_name_5, new_fcf_record); lpfc_copy_fcf_record()
1376 bf_get(lpfc_fcf_record_fab_name_6, new_fcf_record); lpfc_copy_fcf_record()
1378 bf_get(lpfc_fcf_record_fab_name_7, new_fcf_record); lpfc_copy_fcf_record()
1380 fcf_rec->mac_addr[0] = bf_get(lpfc_fcf_record_mac_0, new_fcf_record); lpfc_copy_fcf_record()
1381 fcf_rec->mac_addr[1] = bf_get(lpfc_fcf_record_mac_1, new_fcf_record); lpfc_copy_fcf_record()
1382 fcf_rec->mac_addr[2] = bf_get(lpfc_fcf_record_mac_2, new_fcf_record); lpfc_copy_fcf_record()
1383 fcf_rec->mac_addr[3] = bf_get(lpfc_fcf_record_mac_3, new_fcf_record); lpfc_copy_fcf_record()
1384 fcf_rec->mac_addr[4] = bf_get(lpfc_fcf_record_mac_4, new_fcf_record); lpfc_copy_fcf_record()
1385 fcf_rec->mac_addr[5] = bf_get(lpfc_fcf_record_mac_5, new_fcf_record); lpfc_copy_fcf_record()
1387 fcf_rec->fcf_indx = bf_get(lpfc_fcf_record_fcf_index, new_fcf_record); lpfc_copy_fcf_record()
1389 fcf_rec->priority = new_fcf_record->fip_priority; lpfc_copy_fcf_record()
1392 bf_get(lpfc_fcf_record_switch_name_0, new_fcf_record); lpfc_copy_fcf_record()
1394 bf_get(lpfc_fcf_record_switch_name_1, new_fcf_record); lpfc_copy_fcf_record()
1396 bf_get(lpfc_fcf_record_switch_name_2, new_fcf_record); lpfc_copy_fcf_record()
1398 bf_get(lpfc_fcf_record_switch_name_3, new_fcf_record); lpfc_copy_fcf_record()
1400 bf_get(lpfc_fcf_record_switch_name_4, new_fcf_record); lpfc_copy_fcf_record()
1402 bf_get(lpfc_fcf_record_switch_name_5, new_fcf_record); lpfc_copy_fcf_record()
1404 bf_get(lpfc_fcf_record_switch_name_6, new_fcf_record); lpfc_copy_fcf_record()
1406 bf_get(lpfc_fcf_record_switch_name_7, new_fcf_record); lpfc_copy_fcf_record()
1413 * @new_fcf_record: pointer to hba fcf record.
1424 struct fcf_record *new_fcf_record, uint32_t addr_mode, __lpfc_update_fcf_record()
1428 lpfc_copy_fcf_record(fcf_rec, new_fcf_record); __lpfc_update_fcf_record()
1434 bf_get(lpfc_fcf_record_fcf_index, new_fcf_record), __lpfc_update_fcf_record()
1435 new_fcf_record); __lpfc_update_fcf_record()
1500 * @new_fcf_record: pointer to fcf record.
1517 struct fcf_record *new_fcf_record, lpfc_match_fcf_conn_list()
1526 if (new_fcf_record->vlan_bitmap[i]) { lpfc_match_fcf_conn_list()
1529 while (!((new_fcf_record->vlan_bitmap[i] >> j) & 1)) { lpfc_match_fcf_conn_list()
1538 if (!bf_get(lpfc_fcf_record_fcf_avail, new_fcf_record) || lpfc_match_fcf_conn_list()
1539 !bf_get(lpfc_fcf_record_fcf_valid, new_fcf_record) || lpfc_match_fcf_conn_list()
1540 bf_get(lpfc_fcf_record_fcf_sol, new_fcf_record)) lpfc_match_fcf_conn_list()
1546 new_fcf_record); lpfc_match_fcf_conn_list()
1561 new_fcf_record); lpfc_match_fcf_conn_list()
1585 new_fcf_record)) lpfc_match_fcf_conn_list()
1589 new_fcf_record)) lpfc_match_fcf_conn_list()
1596 if (!(new_fcf_record->vlan_bitmap lpfc_match_fcf_conn_list()
1606 if (!(bf_get(lpfc_fcf_record_mac_addr_prov, new_fcf_record) lpfc_match_fcf_conn_list()
1622 new_fcf_record) & LPFC_FCF_SPMA)) lpfc_match_fcf_conn_list()
1630 new_fcf_record) & LPFC_FCF_FPMA)) lpfc_match_fcf_conn_list()
1648 new_fcf_record); lpfc_match_fcf_conn_list()
1807 struct fcf_record *new_fcf_record; lpfc_sli4_fcf_rec_mbox_parse() local
1845 new_fcf_record = (struct fcf_record *)(virt_addr + lpfc_sli4_fcf_rec_mbox_parse()
1847 lpfc_sli_pcimem_bcopy(new_fcf_record, new_fcf_record, lpfc_sli4_fcf_rec_mbox_parse()
1849 new_fcf_record->word137 = le32_to_cpu(new_fcf_record->word137); lpfc_sli4_fcf_rec_mbox_parse()
1850 new_fcf_record->word138 = le32_to_cpu(new_fcf_record->word138); lpfc_sli4_fcf_rec_mbox_parse()
1852 return new_fcf_record; lpfc_sli4_fcf_rec_mbox_parse()
1920 * @new_fcf_record: pointer to a new FCF record.
1932 struct fcf_record *new_fcf_record, lpfc_sli4_fcf_record_match()
1938 if (!lpfc_mac_addr_match(fcf_rec->mac_addr, new_fcf_record)) lpfc_sli4_fcf_record_match()
1940 if (!lpfc_sw_name_match(fcf_rec->switch_name, new_fcf_record)) lpfc_sli4_fcf_record_match()
1942 if (!lpfc_fab_name_match(fcf_rec->fabric_name, new_fcf_record)) lpfc_sli4_fcf_record_match()
1944 if (fcf_rec->priority != new_fcf_record->fip_priority) lpfc_sli4_fcf_record_match()
2075 struct fcf_record *new_fcf_record) lpfc_sli4_fcf_pri_list_add()
2087 fcf_index, new_fcf_record->fip_priority, lpfc_sli4_fcf_pri_list_add()
2093 new_fcf_pri->fcf_rec.priority = new_fcf_record->fip_priority; lpfc_sli4_fcf_pri_list_add()
2173 struct fcf_record *new_fcf_record; lpfc_mbx_cmpl_fcf_scan_read_fcf_rec() local
2188 new_fcf_record = lpfc_sli4_fcf_rec_mbox_parse(phba, mboxq, lpfc_mbx_cmpl_fcf_scan_read_fcf_rec()
2190 if (!new_fcf_record) { lpfc_mbx_cmpl_fcf_scan_read_fcf_rec()
2203 rc = lpfc_match_fcf_conn_list(phba, new_fcf_record, &boot_flag, lpfc_mbx_cmpl_fcf_scan_read_fcf_rec()
2207 lpfc_sli4_log_fcf_record_info(phba, new_fcf_record, vlan_id, lpfc_mbx_cmpl_fcf_scan_read_fcf_rec()
2218 new_fcf_record)); lpfc_mbx_cmpl_fcf_scan_read_fcf_rec()
2223 new_fcf_record), lpfc_mbx_cmpl_fcf_scan_read_fcf_rec()
2225 new_fcf_record), lpfc_mbx_cmpl_fcf_scan_read_fcf_rec()
2227 new_fcf_record), lpfc_mbx_cmpl_fcf_scan_read_fcf_rec()
2229 new_fcf_record)); lpfc_mbx_cmpl_fcf_scan_read_fcf_rec()
2232 new_fcf_record, LPFC_FCOE_IGNORE_VID)) { lpfc_mbx_cmpl_fcf_scan_read_fcf_rec()
2233 if (bf_get(lpfc_fcf_record_fcf_index, new_fcf_record) != lpfc_mbx_cmpl_fcf_scan_read_fcf_rec()
2239 new_fcf_record), lpfc_mbx_cmpl_fcf_scan_read_fcf_rec()
2267 fcf_index = bf_get(lpfc_fcf_record_fcf_index, new_fcf_record); lpfc_mbx_cmpl_fcf_scan_read_fcf_rec()
2269 new_fcf_record); lpfc_mbx_cmpl_fcf_scan_read_fcf_rec()
2284 new_fcf_record, vlan_id)) { lpfc_mbx_cmpl_fcf_scan_read_fcf_rec()
2285 if (bf_get(lpfc_fcf_record_fcf_index, new_fcf_record) == lpfc_mbx_cmpl_fcf_scan_read_fcf_rec()
2309 new_fcf_record), lpfc_mbx_cmpl_fcf_scan_read_fcf_rec()
2346 new_fcf_record)); lpfc_mbx_cmpl_fcf_scan_read_fcf_rec()
2347 __lpfc_update_fcf_record(phba, fcf_rec, new_fcf_record, lpfc_mbx_cmpl_fcf_scan_read_fcf_rec()
2365 if (new_fcf_record->fip_priority < fcf_rec->priority) { lpfc_mbx_cmpl_fcf_scan_read_fcf_rec()
2372 new_fcf_record)); lpfc_mbx_cmpl_fcf_scan_read_fcf_rec()
2373 __lpfc_update_fcf_record(phba, fcf_rec, new_fcf_record, lpfc_mbx_cmpl_fcf_scan_read_fcf_rec()
2377 } else if (new_fcf_record->fip_priority == fcf_rec->priority) { lpfc_mbx_cmpl_fcf_scan_read_fcf_rec()
2388 new_fcf_record)); lpfc_mbx_cmpl_fcf_scan_read_fcf_rec()
2391 new_fcf_record, lpfc_mbx_cmpl_fcf_scan_read_fcf_rec()
2407 new_fcf_record)); lpfc_mbx_cmpl_fcf_scan_read_fcf_rec()
2408 __lpfc_update_fcf_record(phba, fcf_rec, new_fcf_record, lpfc_mbx_cmpl_fcf_scan_read_fcf_rec()
2436 new_fcf_record)); lpfc_mbx_cmpl_fcf_scan_read_fcf_rec()
2549 struct fcf_record *new_fcf_record; lpfc_mbx_cmpl_fcf_rr_read_fcf_rec() local
2566 new_fcf_record = lpfc_sli4_fcf_rec_mbox_parse(phba, mboxq, lpfc_mbx_cmpl_fcf_rr_read_fcf_rec()
2568 if (!new_fcf_record) { lpfc_mbx_cmpl_fcf_rr_read_fcf_rec()
2579 rc = lpfc_match_fcf_conn_list(phba, new_fcf_record, &boot_flag, lpfc_mbx_cmpl_fcf_rr_read_fcf_rec()
2583 lpfc_sli4_log_fcf_record_info(phba, new_fcf_record, vlan_id, lpfc_mbx_cmpl_fcf_rr_read_fcf_rec()
2586 fcf_index = bf_get(lpfc_fcf_record_fcf_index, new_fcf_record); lpfc_mbx_cmpl_fcf_rr_read_fcf_rec()
2618 new_fcf_record, addr_mode, vlan_id, lpfc_mbx_cmpl_fcf_rr_read_fcf_rec()
2655 struct fcf_record *new_fcf_record; lpfc_mbx_cmpl_read_fcf_rec() local
2670 new_fcf_record = lpfc_sli4_fcf_rec_mbox_parse(phba, mboxq, lpfc_mbx_cmpl_read_fcf_rec()
2672 if (!new_fcf_record) { lpfc_mbx_cmpl_read_fcf_rec()
2680 rc = lpfc_match_fcf_conn_list(phba, new_fcf_record, &boot_flag, lpfc_mbx_cmpl_read_fcf_rec()
2684 lpfc_sli4_log_fcf_record_info(phba, new_fcf_record, vlan_id, lpfc_mbx_cmpl_read_fcf_rec()
2691 fcf_index = bf_get(lpfc_fcf_record_fcf_index, new_fcf_record); lpfc_mbx_cmpl_read_fcf_rec()
2693 rc = lpfc_sli4_fcf_pri_list_add(phba, fcf_index, new_fcf_record); lpfc_mbx_cmpl_read_fcf_rec()
1359 lpfc_copy_fcf_record(struct lpfc_fcf_rec *fcf_rec, struct fcf_record *new_fcf_record) lpfc_copy_fcf_record() argument
1423 __lpfc_update_fcf_record(struct lpfc_hba *phba, struct lpfc_fcf_rec *fcf_rec, struct fcf_record *new_fcf_record, uint32_t addr_mode, uint16_t vlan_id, uint32_t flag) __lpfc_update_fcf_record() argument
1516 lpfc_match_fcf_conn_list(struct lpfc_hba *phba, struct fcf_record *new_fcf_record, uint32_t *boot_flag, uint32_t *addr_mode, uint16_t *vlan_id) lpfc_match_fcf_conn_list() argument
1930 lpfc_sli4_fcf_record_match(struct lpfc_hba *phba, struct lpfc_fcf_rec *fcf_rec, struct fcf_record *new_fcf_record, uint16_t new_vlan_id) lpfc_sli4_fcf_record_match() argument
2073 lpfc_sli4_fcf_pri_list_add(struct lpfc_hba *phba, uint16_t fcf_index, struct fcf_record *new_fcf_record) lpfc_sli4_fcf_pri_list_add() argument

Completed in 126 milliseconds