MCPcopy Create free account
hub / github.com/F-Stack/f-stack / aq_from_ring

Function aq_from_ring

dpdk/drivers/baseband/acc/acc_common.h:833–840  ·  view source on GitHub ↗

Wrapper to provide AQ index from ring data. */

Source from the content-addressed store, hash-verified

831
832/* Wrapper to provide AQ index from ring data. */
833static inline uint16_t
834aq_from_ring(const union acc_info_ring_data ring_data, uint16_t device_variant)
835{
836 if (device_variant == VRB2_VARIANT)
837 return ring_data.aq_id_vrb2;
838 else
839 return ring_data.aq_id;
840}
841
842/* Wrapper to provide int index from ring data. */
843static inline uint16_t

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected