Lines Matching refs:hwfn
606 struct ecore_hwfn *hwfn; local
613 hwfn = &edev->hwfns[id];
614 ptt = ecore_ptt_acquire(hwfn);
624 transceiver_state = ecore_rd(hwfn, ptt, hwfn->mcp_info->port_addr +
627 ecore_ptt_release(hwfn, ptt);
656 struct ecore_hwfn *hwfn; local
673 hwfn = &edev->hwfns[id];
674 ptt = ecore_ptt_acquire(hwfn);
679 ret = ecore_mcp_phy_sfp_read(hwfn, ptt, hwfn->port_id, page, offset,
681 ecore_ptt_release(hwfn, ptt);
1271 struct ecore_hwfn *hwfn; local
1275 hwfn = &edev->hwfns[0];
1276 link_params = ecore_mcp_get_link_params(hwfn);
1277 ptt = ecore_ptt_acquire(hwfn);
1282 ecore_ptt_release(hwfn, ptt);
1286 ecore_mcp_set_link(hwfn, ptt, 0);
1296 (void) ecore_mcp_set_link(hwfn, ptt, 1);
1297 ecore_ptt_release(hwfn, ptt);
1308 ecore_mcp_set_link(hwfn, ptt, 0);
1317 (void) ecore_mcp_set_link(hwfn, ptt, 1);
1318 ecore_ptt_release(hwfn, ptt);
1329 ecore_ptt_release(hwfn, ptt);
1665 struct ecore_hwfn *hwfn; local
1669 hwfn = &edev->hwfns[0];
1671 if(hwfn == NULL){
1676 memcpy(¶ms, &hwfn->mcp_info->link_input, sizeof(params));
1677 memcpy(&link, &hwfn->mcp_info->link_output, sizeof(link));
1784 struct ecore_hwfn *hwfn; local
1804 hwfn = &edev->hwfns[0];
1805 ptt = ecore_ptt_acquire(hwfn);
1822 ecore_mcp_get_flash_size(hwfn, ptt, &flash_size);
1828 ecore_ptt_release(hwfn, ptt);
2178 struct ecore_hwfn *hwfn; local
2212 hwfn = ECORE_LEADING_HWFN(edev);
2213 hwfn->hw_info.mtu = qede->mtu;
2214 ret_val = ecore_mcp_ov_update_mtu(hwfn,
2215 hwfn->p_main_ptt,
2216 hwfn->hw_info.mtu);
2226 option, hwfn->hw_info.mtu);
2231 hwfn = &edev->hwfns[0];
2232 link_params = ecore_mcp_get_link_params(hwfn);