Lines Matching defs:pending_sg_req
193 struct list_head pending_sg_req;
334 if (!list_empty(&tdc->pending_sg_req)) {
493 sg_req = list_first_entry(&tdc->pending_sg_req, typeof(*sg_req), node);
504 hsgreq = list_first_entry(&tdc->pending_sg_req, typeof(*hsgreq), node);
505 if (!list_is_last(&hsgreq->node, &tdc->pending_sg_req)) {
525 while (!list_empty(&tdc->pending_sg_req)) {
526 sgreq = list_first_entry(&tdc->pending_sg_req, typeof(*sgreq),
554 hsgreq = list_first_entry(&tdc->pending_sg_req, typeof(*hsgreq), node);
577 sgreq = list_first_entry(&tdc->pending_sg_req, typeof(*sgreq), node);
596 if (list_empty(&tdc->pending_sg_req)) {
611 sgreq = list_first_entry(&tdc->pending_sg_req, typeof(*sgreq), node);
626 if (!list_is_last(&sgreq->node, &tdc->pending_sg_req)) {
627 list_move_tail(&sgreq->node, &tdc->pending_sg_req);
696 list_splice_tail_init(&dma_desc->tx_list, &tdc->pending_sg_req);
709 if (list_empty(&tdc->pending_sg_req)) {
767 if (!list_empty(&tdc->pending_sg_req) && was_busy) {
768 sgreq = list_first_entry(&tdc->pending_sg_req, typeof(*sgreq),
832 if (!list_is_first(&sg_req->node, &tdc->pending_sg_req))
913 list_for_each_entry(sg_req, &tdc->pending_sg_req, node) {
1322 list_splice_init(&tdc->pending_sg_req, &sg_req_list);
1518 INIT_LIST_HEAD(&tdc->pending_sg_req);