Home
last modified time | relevance | path

Searched refs:hw_rc (Results 1 – 7 of 7) sorted by relevance

/freebsd/sys/dev/ocs_fc/
H A Docs_unsol.c133 ocs_hw_rtn_e hw_rc; in ocs_port_owned_abort() local
134 hw_rc = ocs_hw_io_abort(&ocs->hw, hio, FALSE, in ocs_port_owned_abort()
136 if((hw_rc == OCS_HW_RTN_IO_ABORT_IN_PROGRESS) || in ocs_port_owned_abort()
137 (hw_rc == OCS_HW_RTN_IO_PORT_OWNED_ALREADY_ABORTED)) { in ocs_port_owned_abort()
139 } else if(hw_rc != OCS_HW_RTN_SUCCESS) { in ocs_port_owned_abort()
141 hio->indicator, hw_rc); in ocs_port_owned_abort()
H A Docs_mgmt.c1746 ocs_hw_rtn_e hw_rc; in set_configured_speed() local
1765 hw_rc = ocs_hw_set(&ocs->hw, OCS_HW_LINK_SPEED, spd); in set_configured_speed()
1766 if (hw_rc != OCS_HW_RTN_SUCCESS) { in set_configured_speed()
1788 ocs_hw_rtn_e hw_rc; in set_configured_topology() local
1804 hw_rc = ocs_hw_set(&ocs->hw, OCS_HW_TOPOLOGY, topo); in set_configured_topology()
1805 if (hw_rc != OCS_HW_RTN_SUCCESS) { in set_configured_topology()
1810 hw_rc = ocs_hw_set_persistent_topology(&ocs->hw, topo, OCS_CMD_NOWAIT); in set_configured_topology()
1811 if (hw_rc != OCS_HW_RTN_SUCCESS) in set_configured_topology()
1812 ocs_log_err(ocs, "Set persistent topology feature failed: %d\n", hw_rc); in set_configured_topology()
H A Docs_xport.c950 ocs_hw_rtn_e hw_rc; in ocs_xport_status() local
971 hw_rc = ocs_hw_get(&(ocs->hw), OCS_HW_LINK_SPEED, &value.value); in ocs_xport_status()
972 if (hw_rc == OCS_HW_RTN_SUCCESS) { in ocs_xport_status()
/freebsd/sys/contrib/dev/athk/ath12k/
H A Dmac.h54 int ath12k_mac_hw_ratecode_to_legacy_rate(u8 hw_rc, u8 preamble, u8 *rateidx,
H A Dmac.c367 int ath12k_mac_hw_ratecode_to_legacy_rate(u8 hw_rc, u8 preamble, u8 *rateidx, in ath12k_mac_hw_ratecode_to_legacy_rate() argument
375 hw_rc &= ~ATH12K_HW_RATECODE_CCK_SHORT_PREAM_MASK; in ath12k_mac_hw_ratecode_to_legacy_rate()
381 if (hw_rc == ath12k_legacy_rates[i].hw_value) { in ath12k_mac_hw_ratecode_to_legacy_rate()
/freebsd/sys/contrib/dev/athk/ath11k/
H A Dmac.h142 int ath11k_mac_hw_ratecode_to_legacy_rate(u8 hw_rc, u8 preamble, u8 *rateidx,
H A Dmac.c385 int ath11k_mac_hw_ratecode_to_legacy_rate(u8 hw_rc, u8 preamble, u8 *rateidx, in ath11k_mac_hw_ratecode_to_legacy_rate() argument
393 hw_rc &= ~ATH11k_HW_RATECODE_CCK_SHORT_PREAM_MASK; in ath11k_mac_hw_ratecode_to_legacy_rate()
399 if (hw_rc == ath11k_legacy_rates[i].hw_value) { in ath11k_mac_hw_ratecode_to_legacy_rate()