Lines Matching refs:qentry

840 	int qentry;  in nicvf_get_sq_desc()  local
842 qentry = sq->tail; in nicvf_get_sq_desc()
847 return qentry; in nicvf_get_sq_desc()
858 static inline int nicvf_get_nxt_sqentry(struct snd_queue *sq, int qentry) in nicvf_get_nxt_sqentry() argument
860 qentry++; in nicvf_get_nxt_sqentry()
861 qentry &= (sq->dmem.q_len - 1); in nicvf_get_nxt_sqentry()
862 return qentry; in nicvf_get_nxt_sqentry()
978 nicvf_sq_add_hdr_subdesc(struct snd_queue *sq, int qentry, in nicvf_sq_add_hdr_subdesc() argument
984 hdr = (struct sq_hdr_subdesc *)GET_SQ_DESC(sq, qentry); in nicvf_sq_add_hdr_subdesc()
985 sq->skbuff[qentry] = (u64)skb; in nicvf_sq_add_hdr_subdesc()
1019 static inline void nicvf_sq_add_gather_subdesc(struct snd_queue *sq, int qentry, in nicvf_sq_add_gather_subdesc() argument
1024 qentry &= (sq->dmem.q_len - 1); in nicvf_sq_add_gather_subdesc()
1025 gather = (struct sq_gather_subdesc *)GET_SQ_DESC(sq, qentry); in nicvf_sq_add_gather_subdesc()
1038 int sq_num, int qentry, struct sk_buff *skb) in nicvf_sq_append_tso() argument
1043 int hdr_qentry = qentry; in nicvf_sq_append_tso()
1052 hdr_qentry = qentry; in nicvf_sq_append_tso()
1058 qentry = nicvf_get_nxt_sqentry(sq, qentry); in nicvf_sq_append_tso()
1059 hdr = sq->tso_hdrs + qentry * TSO_HEADER_SIZE; in nicvf_sq_append_tso()
1061 nicvf_sq_add_gather_subdesc(sq, qentry, hdr_len, in nicvf_sq_append_tso()
1063 qentry * TSO_HEADER_SIZE); in nicvf_sq_append_tso()
1074 qentry = nicvf_get_nxt_sqentry(sq, qentry); in nicvf_sq_append_tso()
1075 nicvf_sq_add_gather_subdesc(sq, qentry, size, in nicvf_sq_append_tso()
1086 qentry = nicvf_get_nxt_sqentry(sq, qentry); in nicvf_sq_append_tso()
1108 int sq_num, qentry; in nicvf_sq_append_skb() local
1133 qentry = nicvf_get_sq_desc(sq, subdesc_cnt); in nicvf_sq_append_skb()
1137 return nicvf_sq_append_tso(nic, sq, sq_num, qentry, skb); in nicvf_sq_append_skb()
1140 nicvf_sq_add_hdr_subdesc(sq, qentry, subdesc_cnt - 1, skb, skb->len); in nicvf_sq_append_skb()
1143 qentry = nicvf_get_nxt_sqentry(sq, qentry); in nicvf_sq_append_skb()
1145 nicvf_sq_add_gather_subdesc(sq, qentry, size, virt_to_phys(skb->data)); in nicvf_sq_append_skb()
1156 qentry = nicvf_get_nxt_sqentry(sq, qentry); in nicvf_sq_append_skb()
1158 nicvf_sq_add_gather_subdesc(sq, qentry, size, in nicvf_sq_append_skb()