Lines Matching defs:descs

358 static void pool_blocking_data_blocks(struct amdtp_stream *s, struct seq_desc *descs,
365 struct seq_desc *desc = descs + pos;
376 static void pool_ideal_nonblocking_data_blocks(struct amdtp_stream *s, struct seq_desc *descs,
385 struct seq_desc *desc = descs + pos;
457 static void pool_ideal_syt_offsets(struct amdtp_stream *s, struct seq_desc *descs,
466 struct seq_desc *desc = descs + pos;
518 struct seq_desc *cache = s->ctx_data.tx.cache.descs;
539 static void pool_ideal_seq_descs(struct amdtp_stream *s, struct seq_desc *descs, unsigned int size,
542 pool_ideal_syt_offsets(s, descs, size, pos, count);
545 pool_blocking_data_blocks(s, descs, size, pos, count);
547 pool_ideal_nonblocking_data_blocks(s, descs, size, pos, count);
550 static void pool_replayed_seq(struct amdtp_stream *s, struct seq_desc *descs, unsigned int size,
554 const struct seq_desc *cache = target->ctx_data.tx.cache.descs;
560 descs[pos] = cache[cache_pos];
568 static void pool_seq_descs(struct amdtp_stream *s, struct seq_desc *descs, unsigned int size,
572 void (*pool_seq_descs)(struct amdtp_stream *s, struct seq_desc *descs, unsigned int size,
593 pool_seq_descs(s, descs, size, pos, count);
1008 struct seq_desc *seq_descs = s->ctx_data.rx.seq.descs;
1657 struct pkt_desc *descs;
1724 s->ctx_data.tx.cache.descs = kcalloc(s->ctx_data.tx.cache.size,
1725 sizeof(*s->ctx_data.tx.cache.descs), GFP_KERNEL);
1726 if (!s->ctx_data.tx.cache.descs) {
1745 s->ctx_data.rx.seq.descs = kcalloc(queue_size, sizeof(*s->ctx_data.rx.seq.descs), GFP_KERNEL);
1746 if (!s->ctx_data.rx.seq.descs) {
1770 descs = kcalloc(s->queue_size + 8, sizeof(*descs), GFP_KERNEL);
1771 if (!descs) {
1775 s->packet_descs = descs;
1779 INIT_LIST_HEAD(&descs->link);
1780 list_add_tail(&descs->link, &s->packet_descs_list);
1781 ++descs;
1826 kfree(s->ctx_data.rx.seq.descs);
1829 kfree(s->ctx_data.tx.cache.descs);
1921 kfree(s->ctx_data.rx.seq.descs);
1924 kfree(s->ctx_data.tx.cache.descs);