Lines Matching refs:kfifo
409 struct kfifo empty_frame_Q; /* Empty frames list to use */
410 struct kfifo conf_frame_Q; /* frames passed to TDs,waiting for tx */
411 struct kfifo dummy_packets_Q;/* dummy packets for the CRC overun */
479 static inline int cq_new(struct kfifo *fifo, int size) in cq_new()
484 static inline void cq_delete(struct kfifo *kfifo) in cq_delete() argument
486 kfifo_free(kfifo); in cq_delete()
489 static inline unsigned int cq_howmany(struct kfifo *kfifo) in cq_howmany() argument
491 return kfifo_len(kfifo) / sizeof(void *); in cq_howmany()
494 static inline int cq_put(struct kfifo *kfifo, void *p) in cq_put() argument
496 return kfifo_in(kfifo, (void *)&p, sizeof(p)); in cq_put()
499 static inline void *cq_get(struct kfifo *kfifo) in cq_get() argument
504 sz = kfifo_out(kfifo, (void *)&p, sizeof(p)); in cq_get()