Lines Matching refs:hret

351 	u64 hret;  in ehea_update_stats()  local
359 hret = ehea_h_query_ehea_port(port->adapter->handle, in ehea_update_stats()
362 if (hret != H_SUCCESS) { in ehea_update_stats()
973 u64 hret; in ehea_sense_port_attr() local
984 hret = ehea_h_query_ehea_port(port->adapter->handle, in ehea_sense_port_attr()
988 if (hret != H_SUCCESS) { in ehea_sense_port_attr()
1059 u64 hret; in ehea_set_portspeed() local
1073 hret = ehea_h_modify_ehea_port(port->adapter->handle, in ehea_set_portspeed()
1076 if (hret == H_SUCCESS) { in ehea_set_portspeed()
1079 hret = ehea_h_query_ehea_port(port->adapter->handle, in ehea_set_portspeed()
1083 if (hret == H_SUCCESS) { in ehea_set_portspeed()
1119 if (hret == H_AUTHORITY) { in ehea_set_portspeed()
1346 u64 hret, mask; in ehea_configure_port() local
1376 hret = ehea_h_modify_ehea_port(port->adapter->handle, in ehea_configure_port()
1380 if (hret != H_SUCCESS) in ehea_configure_port()
1683 u64 hret; in ehea_broadcast_reg_helper() local
1688 hret = ehea_h_reg_dereg_bcmc(port->adapter->handle, in ehea_broadcast_reg_helper()
1691 if (hret != H_SUCCESS) { in ehea_broadcast_reg_helper()
1700 hret = ehea_h_reg_dereg_bcmc(port->adapter->handle, in ehea_broadcast_reg_helper()
1703 if (hret != H_SUCCESS) { in ehea_broadcast_reg_helper()
1718 u64 hret; in ehea_set_mac_addr() local
1736 hret = ehea_h_modify_ehea_port(port->adapter->handle, in ehea_set_mac_addr()
1739 if (hret != H_SUCCESS) { in ehea_set_mac_addr()
1772 static void ehea_promiscuous_error(u64 hret, int enable) in ehea_promiscuous_error() argument
1774 if (hret == H_AUTHORITY) in ehea_promiscuous_error()
1786 u64 hret; in ehea_promiscuous() local
1800 hret = ehea_h_modify_ehea_port(port->adapter->handle, in ehea_promiscuous()
1803 if (hret) { in ehea_promiscuous()
1804 ehea_promiscuous_error(hret, enable); in ehea_promiscuous()
1816 u64 hret; in ehea_multicast_reg_helper() local
1823 hret = ehea_h_reg_dereg_bcmc(port->adapter->handle, in ehea_multicast_reg_helper()
1826 if (hret) in ehea_multicast_reg_helper()
1833 hret = ehea_h_reg_dereg_bcmc(port->adapter->handle, in ehea_multicast_reg_helper()
1837 return hret; in ehea_multicast_reg_helper()
1847 u64 hret; in ehea_drop_multicast_list() local
1852 hret = ehea_multicast_reg_helper(port, mc_entry->macaddr, in ehea_drop_multicast_list()
1854 if (hret) { in ehea_drop_multicast_list()
1868 u64 hret; in ehea_allmulti() local
1874 hret = ehea_multicast_reg_helper(port, 0, H_REG_BCMC); in ehea_allmulti()
1875 if (!hret) in ehea_allmulti()
1884 hret = ehea_multicast_reg_helper(port, 0, H_DEREG_BCMC); in ehea_allmulti()
1885 if (!hret) in ehea_allmulti()
1897 u64 hret; in ehea_add_multicast_entry() local
1907 hret = ehea_multicast_reg_helper(port, ehea_mcl_entry->macaddr, in ehea_add_multicast_entry()
1909 if (!hret) in ehea_add_multicast_entry()
2092 u64 hret; in ehea_vlan_rx_add_vid() local
2102 hret = ehea_h_query_ehea_port(adapter->handle, port->logical_port_id, in ehea_vlan_rx_add_vid()
2104 if (hret != H_SUCCESS) { in ehea_vlan_rx_add_vid()
2113 hret = ehea_h_modify_ehea_port(adapter->handle, port->logical_port_id, in ehea_vlan_rx_add_vid()
2115 if (hret != H_SUCCESS) { in ehea_vlan_rx_add_vid()
2130 u64 hret; in ehea_vlan_rx_kill_vid() local
2140 hret = ehea_h_query_ehea_port(adapter->handle, port->logical_port_id, in ehea_vlan_rx_kill_vid()
2142 if (hret != H_SUCCESS) { in ehea_vlan_rx_kill_vid()
2151 hret = ehea_h_modify_ehea_port(adapter->handle, port->logical_port_id, in ehea_vlan_rx_kill_vid()
2153 if (hret != H_SUCCESS) { in ehea_vlan_rx_kill_vid()
2165 u64 hret; in ehea_activate_qp() local
2176 hret = ehea_h_query_ehea_qp(adapter->handle, 0, qp->fw_handle, in ehea_activate_qp()
2178 if (hret != H_SUCCESS) { in ehea_activate_qp()
2184 hret = ehea_h_modify_ehea_qp(adapter->handle, 0, qp->fw_handle, in ehea_activate_qp()
2187 if (hret != H_SUCCESS) { in ehea_activate_qp()
2192 hret = ehea_h_query_ehea_qp(adapter->handle, 0, qp->fw_handle, in ehea_activate_qp()
2194 if (hret != H_SUCCESS) { in ehea_activate_qp()
2200 hret = ehea_h_modify_ehea_qp(adapter->handle, 0, qp->fw_handle, in ehea_activate_qp()
2203 if (hret != H_SUCCESS) { in ehea_activate_qp()
2208 hret = ehea_h_query_ehea_qp(adapter->handle, 0, qp->fw_handle, in ehea_activate_qp()
2210 if (hret != H_SUCCESS) { in ehea_activate_qp()
2216 hret = ehea_h_modify_ehea_qp(adapter->handle, 0, qp->fw_handle, in ehea_activate_qp()
2219 if (hret != H_SUCCESS) { in ehea_activate_qp()
2224 hret = ehea_h_query_ehea_qp(adapter->handle, 0, qp->fw_handle, in ehea_activate_qp()
2226 if (hret != H_SUCCESS) { in ehea_activate_qp()
2514 u64 hret; in ehea_stop_qps() local
2532 hret = ehea_h_query_ehea_qp(adapter->handle, 0, qp->fw_handle, in ehea_stop_qps()
2535 if (hret != H_SUCCESS) { in ehea_stop_qps()
2543 hret = ehea_h_modify_ehea_qp(adapter->handle, 0, qp->fw_handle, in ehea_stop_qps()
2547 if (hret != H_SUCCESS) { in ehea_stop_qps()
2552 hret = ehea_h_query_ehea_qp(adapter->handle, 0, qp->fw_handle, in ehea_stop_qps()
2555 if (hret != H_SUCCESS) { in ehea_stop_qps()
2616 u64 hret; in ehea_restart_qps() local
2637 hret = ehea_h_query_ehea_qp(adapter->handle, 0, qp->fw_handle, in ehea_restart_qps()
2640 if (hret != H_SUCCESS) { in ehea_restart_qps()
2649 hret = ehea_h_modify_ehea_qp(adapter->handle, 0, qp->fw_handle, in ehea_restart_qps()
2653 if (hret != H_SUCCESS) { in ehea_restart_qps()
2659 hret = ehea_h_query_ehea_qp(adapter->handle, 0, qp->fw_handle, in ehea_restart_qps()
2662 if (hret != H_SUCCESS) { in ehea_restart_qps()
2803 u64 hret; in ehea_sense_adapter_attr() local
2812 hret = ehea_h_query_ehea(adapter->handle, cb); in ehea_sense_adapter_attr()
2814 if (hret != H_SUCCESS) { in ehea_sense_adapter_attr()
2831 u64 hret; in ehea_get_jumboframe_status() local
2843 hret = ehea_h_query_ehea_port(port->adapter->handle, in ehea_get_jumboframe_status()
2847 if (hret == H_SUCCESS) { in ehea_get_jumboframe_status()
2852 hret = ehea_h_modify_ehea_port(port->adapter-> in ehea_get_jumboframe_status()
2859 if (hret == H_SUCCESS) in ehea_get_jumboframe_status()