Lines Matching refs:connection_handle
92 u8 connection_handle, in qed_ll2b_complete_tx_packet() argument
249 u8 connection_handle, in __qed_ll2_handle_sanity() argument
255 if (connection_handle >= QED_MAX_NUM_OF_LL2_CONNECTIONS) in __qed_ll2_handle_sanity()
261 p_ll2_conn = &p_hwfn->p_ll2_info[connection_handle]; in __qed_ll2_handle_sanity()
278 u8 connection_handle) in qed_ll2_handle_sanity() argument
280 return __qed_ll2_handle_sanity(p_hwfn, connection_handle, false, true); in qed_ll2_handle_sanity()
284 u8 connection_handle) in qed_ll2_handle_sanity_lock() argument
286 return __qed_ll2_handle_sanity(p_hwfn, connection_handle, true, true); in qed_ll2_handle_sanity_lock()
291 u8 connection_handle) in qed_ll2_handle_sanity_inactive() argument
293 return __qed_ll2_handle_sanity(p_hwfn, connection_handle, false, false); in qed_ll2_handle_sanity_inactive()
296 static void qed_ll2_txq_flush(struct qed_hwfn *p_hwfn, u8 connection_handle) in qed_ll2_txq_flush() argument
305 p_ll2_conn = qed_ll2_handle_sanity_inactive(p_hwfn, connection_handle); in qed_ll2_txq_flush()
510 data.connection_handle = p_ll2_conn->my_id; in qed_ll2_rxq_handle_completion()
578 static void qed_ll2_rxq_flush(struct qed_hwfn *p_hwfn, u8 connection_handle) in qed_ll2_rxq_flush() argument
585 p_ll2_conn = qed_ll2_handle_sanity_inactive(p_hwfn, connection_handle); in qed_ll2_rxq_flush()
1559 int qed_ll2_establish_connection(void *cxt, u8 connection_handle) in qed_ll2_establish_connection() argument
1578 p_ll2_conn = qed_ll2_handle_sanity_lock(p_hwfn, connection_handle); in qed_ll2_establish_connection()
1636 qid = qed_ll2_handle_to_queue_id(p_hwfn, connection_handle, in qed_ll2_establish_connection()
1773 u8 connection_handle, in qed_ll2_post_rx_buffer() argument
1786 p_ll2_conn = qed_ll2_handle_sanity(p_hwfn, connection_handle); in qed_ll2_post_rx_buffer()
1995 u8 connection_handle, in qed_ll2_prepare_tx_packet() argument
2007 p_ll2_conn = qed_ll2_handle_sanity(p_hwfn, connection_handle); in qed_ll2_prepare_tx_packet()
2048 u8 connection_handle, in qed_ll2_set_fragment_of_tx_packet() argument
2058 p_ll2_conn = qed_ll2_handle_sanity(p_hwfn, connection_handle); in qed_ll2_set_fragment_of_tx_packet()
2087 int qed_ll2_terminate_connection(void *cxt, u8 connection_handle) in qed_ll2_terminate_connection() argument
2098 p_ll2_conn = qed_ll2_handle_sanity_lock(p_hwfn, connection_handle); in qed_ll2_terminate_connection()
2112 qed_ll2_txq_flush(p_hwfn, connection_handle); in qed_ll2_terminate_connection()
2129 qed_ll2_rxq_flush(p_hwfn, connection_handle); in qed_ll2_terminate_connection()
2170 void qed_ll2_release_connection(void *cxt, u8 connection_handle) in qed_ll2_release_connection() argument
2175 p_ll2_conn = qed_ll2_handle_sanity(p_hwfn, connection_handle); in qed_ll2_release_connection()
2316 static int __qed_ll2_get_stats(void *cxt, u8 connection_handle, in __qed_ll2_get_stats() argument
2323 if ((connection_handle >= QED_MAX_NUM_OF_LL2_CONNECTIONS) || in __qed_ll2_get_stats()
2327 p_ll2_conn = &p_hwfn->p_ll2_info[connection_handle]; in __qed_ll2_get_stats()
2351 u8 connection_handle, struct qed_ll2_stats *p_stats) in qed_ll2_get_stats() argument
2354 return __qed_ll2_get_stats(cxt, connection_handle, p_stats); in qed_ll2_get_stats()
2358 u8 connection_handle, in qed_ll2b_release_rx_packet() argument