Lines Matching refs:kfifo
403 struct kfifo empty_frame_Q; /* Empty frames list to use */
404 struct kfifo conf_frame_Q; /* frames passed to TDs,waiting for tx */
405 struct kfifo dummy_packets_Q;/* dummy packets for the CRC overun */
473 static inline int cq_new(struct kfifo *fifo, int size) in cq_new()
478 static inline void cq_delete(struct kfifo *kfifo) in cq_delete() argument
480 kfifo_free(kfifo); in cq_delete()
483 static inline unsigned int cq_howmany(struct kfifo *kfifo) in cq_howmany() argument
485 return kfifo_len(kfifo) / sizeof(void *); in cq_howmany()
488 static inline int cq_put(struct kfifo *kfifo, void *p) in cq_put() argument
490 return kfifo_in(kfifo, (void *)&p, sizeof(p)); in cq_put()
493 static inline void *cq_get(struct kfifo *kfifo) in cq_get() argument
498 sz = kfifo_out(kfifo, (void *)&p, sizeof(p)); in cq_get()