Lines Matching refs:hret
353 u64 hret; in ehea_update_stats() local
361 hret = ehea_h_query_ehea_port(port->adapter->handle, in ehea_update_stats()
364 if (hret != H_SUCCESS) { in ehea_update_stats()
987 u64 hret; in ehea_sense_port_attr() local
998 hret = ehea_h_query_ehea_port(port->adapter->handle, in ehea_sense_port_attr()
1002 if (hret != H_SUCCESS) { in ehea_sense_port_attr()
1073 u64 hret; in ehea_set_portspeed() local
1087 hret = ehea_h_modify_ehea_port(port->adapter->handle, in ehea_set_portspeed()
1090 if (hret == H_SUCCESS) { in ehea_set_portspeed()
1093 hret = ehea_h_query_ehea_port(port->adapter->handle, in ehea_set_portspeed()
1097 if (hret == H_SUCCESS) { in ehea_set_portspeed()
1133 if (hret == H_AUTHORITY) { in ehea_set_portspeed()
1362 u64 hret, mask; in ehea_configure_port() local
1392 hret = ehea_h_modify_ehea_port(port->adapter->handle, in ehea_configure_port()
1396 if (hret != H_SUCCESS) in ehea_configure_port()
1703 u64 hret; in ehea_broadcast_reg_helper() local
1708 hret = ehea_h_reg_dereg_bcmc(port->adapter->handle, in ehea_broadcast_reg_helper()
1711 if (hret != H_SUCCESS) { in ehea_broadcast_reg_helper()
1720 hret = ehea_h_reg_dereg_bcmc(port->adapter->handle, in ehea_broadcast_reg_helper()
1723 if (hret != H_SUCCESS) { in ehea_broadcast_reg_helper()
1738 u64 hret; in ehea_set_mac_addr() local
1756 hret = ehea_h_modify_ehea_port(port->adapter->handle, in ehea_set_mac_addr()
1759 if (hret != H_SUCCESS) { in ehea_set_mac_addr()
1792 static void ehea_promiscuous_error(u64 hret, int enable) in ehea_promiscuous_error() argument
1794 if (hret == H_AUTHORITY) in ehea_promiscuous_error()
1806 u64 hret; in ehea_promiscuous() local
1820 hret = ehea_h_modify_ehea_port(port->adapter->handle, in ehea_promiscuous()
1823 if (hret) { in ehea_promiscuous()
1824 ehea_promiscuous_error(hret, enable); in ehea_promiscuous()
1836 u64 hret; in ehea_multicast_reg_helper() local
1843 hret = ehea_h_reg_dereg_bcmc(port->adapter->handle, in ehea_multicast_reg_helper()
1846 if (hret) in ehea_multicast_reg_helper()
1853 hret = ehea_h_reg_dereg_bcmc(port->adapter->handle, in ehea_multicast_reg_helper()
1857 return hret; in ehea_multicast_reg_helper()
1867 u64 hret; in ehea_drop_multicast_list() local
1872 hret = ehea_multicast_reg_helper(port, mc_entry->macaddr, in ehea_drop_multicast_list()
1874 if (hret) { in ehea_drop_multicast_list()
1888 u64 hret; in ehea_allmulti() local
1894 hret = ehea_multicast_reg_helper(port, 0, H_REG_BCMC); in ehea_allmulti()
1895 if (!hret) in ehea_allmulti()
1904 hret = ehea_multicast_reg_helper(port, 0, H_DEREG_BCMC); in ehea_allmulti()
1905 if (!hret) in ehea_allmulti()
1917 u64 hret; in ehea_add_multicast_entry() local
1927 hret = ehea_multicast_reg_helper(port, ehea_mcl_entry->macaddr, in ehea_add_multicast_entry()
1929 if (!hret) in ehea_add_multicast_entry()
2120 u64 hret; in ehea_vlan_rx_add_vid() local
2130 hret = ehea_h_query_ehea_port(adapter->handle, port->logical_port_id, in ehea_vlan_rx_add_vid()
2132 if (hret != H_SUCCESS) { in ehea_vlan_rx_add_vid()
2141 hret = ehea_h_modify_ehea_port(adapter->handle, port->logical_port_id, in ehea_vlan_rx_add_vid()
2143 if (hret != H_SUCCESS) { in ehea_vlan_rx_add_vid()
2158 u64 hret; in ehea_vlan_rx_kill_vid() local
2168 hret = ehea_h_query_ehea_port(adapter->handle, port->logical_port_id, in ehea_vlan_rx_kill_vid()
2170 if (hret != H_SUCCESS) { in ehea_vlan_rx_kill_vid()
2179 hret = ehea_h_modify_ehea_port(adapter->handle, port->logical_port_id, in ehea_vlan_rx_kill_vid()
2181 if (hret != H_SUCCESS) { in ehea_vlan_rx_kill_vid()
2193 u64 hret; in ehea_activate_qp() local
2204 hret = ehea_h_query_ehea_qp(adapter->handle, 0, qp->fw_handle, in ehea_activate_qp()
2206 if (hret != H_SUCCESS) { in ehea_activate_qp()
2212 hret = ehea_h_modify_ehea_qp(adapter->handle, 0, qp->fw_handle, in ehea_activate_qp()
2215 if (hret != H_SUCCESS) { in ehea_activate_qp()
2220 hret = ehea_h_query_ehea_qp(adapter->handle, 0, qp->fw_handle, in ehea_activate_qp()
2222 if (hret != H_SUCCESS) { in ehea_activate_qp()
2228 hret = ehea_h_modify_ehea_qp(adapter->handle, 0, qp->fw_handle, in ehea_activate_qp()
2231 if (hret != H_SUCCESS) { in ehea_activate_qp()
2236 hret = ehea_h_query_ehea_qp(adapter->handle, 0, qp->fw_handle, in ehea_activate_qp()
2238 if (hret != H_SUCCESS) { in ehea_activate_qp()
2244 hret = ehea_h_modify_ehea_qp(adapter->handle, 0, qp->fw_handle, in ehea_activate_qp()
2247 if (hret != H_SUCCESS) { in ehea_activate_qp()
2252 hret = ehea_h_query_ehea_qp(adapter->handle, 0, qp->fw_handle, in ehea_activate_qp()
2254 if (hret != H_SUCCESS) { in ehea_activate_qp()
2540 u64 hret; in ehea_stop_qps() local
2558 hret = ehea_h_query_ehea_qp(adapter->handle, 0, qp->fw_handle, in ehea_stop_qps()
2561 if (hret != H_SUCCESS) { in ehea_stop_qps()
2569 hret = ehea_h_modify_ehea_qp(adapter->handle, 0, qp->fw_handle, in ehea_stop_qps()
2573 if (hret != H_SUCCESS) { in ehea_stop_qps()
2578 hret = ehea_h_query_ehea_qp(adapter->handle, 0, qp->fw_handle, in ehea_stop_qps()
2581 if (hret != H_SUCCESS) { in ehea_stop_qps()
2642 u64 hret; in ehea_restart_qps() local
2665 hret = ehea_h_query_ehea_qp(adapter->handle, 0, qp->fw_handle, in ehea_restart_qps()
2668 if (hret != H_SUCCESS) { in ehea_restart_qps()
2676 hret = ehea_h_modify_ehea_qp(adapter->handle, 0, qp->fw_handle, in ehea_restart_qps()
2680 if (hret != H_SUCCESS) { in ehea_restart_qps()
2685 hret = ehea_h_query_ehea_qp(adapter->handle, 0, qp->fw_handle, in ehea_restart_qps()
2688 if (hret != H_SUCCESS) { in ehea_restart_qps()
2828 u64 hret; in ehea_sense_adapter_attr() local
2837 hret = ehea_h_query_ehea(adapter->handle, cb); in ehea_sense_adapter_attr()
2839 if (hret != H_SUCCESS) { in ehea_sense_adapter_attr()
2856 u64 hret; in ehea_get_jumboframe_status() local
2868 hret = ehea_h_query_ehea_port(port->adapter->handle, in ehea_get_jumboframe_status()
2872 if (hret == H_SUCCESS) { in ehea_get_jumboframe_status()
2877 hret = ehea_h_modify_ehea_port(port->adapter-> in ehea_get_jumboframe_status()
2884 if (hret == H_SUCCESS) in ehea_get_jumboframe_status()