Lines Matching defs:pending_sg_req
194 struct list_head pending_sg_req;
340 if (!list_empty(&tdc->pending_sg_req)) {
505 sg_req = list_first_entry(&tdc->pending_sg_req, typeof(*sg_req), node);
516 hsgreq = list_first_entry(&tdc->pending_sg_req, typeof(*hsgreq), node);
517 if (!list_is_last(&hsgreq->node, &tdc->pending_sg_req)) {
537 while (!list_empty(&tdc->pending_sg_req)) {
538 sgreq = list_first_entry(&tdc->pending_sg_req, typeof(*sgreq),
566 hsgreq = list_first_entry(&tdc->pending_sg_req, typeof(*hsgreq), node);
589 sgreq = list_first_entry(&tdc->pending_sg_req, typeof(*sgreq), node);
608 if (list_empty(&tdc->pending_sg_req)) {
623 sgreq = list_first_entry(&tdc->pending_sg_req, typeof(*sgreq), node);
638 if (!list_is_last(&sgreq->node, &tdc->pending_sg_req)) {
639 list_move_tail(&sgreq->node, &tdc->pending_sg_req);
708 list_splice_tail_init(&dma_desc->tx_list, &tdc->pending_sg_req);
721 if (list_empty(&tdc->pending_sg_req)) {
779 if (!list_empty(&tdc->pending_sg_req) && was_busy) {
780 sgreq = list_first_entry(&tdc->pending_sg_req, typeof(*sgreq),
844 if (!list_is_first(&sg_req->node, &tdc->pending_sg_req))
925 list_for_each_entry(sg_req, &tdc->pending_sg_req, node) {
1334 list_splice_init(&tdc->pending_sg_req, &sg_req_list);
1530 INIT_LIST_HEAD(&tdc->pending_sg_req);