Lines Matching refs:req
41 struct dma_request *req = chan->req_list.head;
42 if (req == NULL) {
49 chan->req_list.head = dma_request_get_next(req);
56 dma_request_get_id(req), chan->req_list.count);
58 return req;
73 struct dma_request *req = chan->req_list.head;
74 if (req == NULL) {
78 while(req) {
79 if (req->id == id) {
80 if (req->prev != NULL) {
81 req->prev->next = req->next;
84 if (req->next != NULL) {
85 req->next->prev = req->prev;
93 req->next = NULL;
94 req->prev = NULL;
95 return req;
97 req = req->next;
106 * \param req DMA request to be inserted
109 struct dma_request *req)
111 dma_request_set_next(req, chan->req_list.head);
115 chan->req_list.head = req;
117 chan->req_list.tail = req;
122 dma_request_get_id(req), chan->req_list.count);
129 * \param req DMA request to be inserted
132 struct dma_request *req)
134 dma_request_set_next(req, NULL);
138 chan->req_list.head = req;
141 dma_request_set_next(chan->req_list.tail, req);
144 chan->req_list.tail = req;
149 dma_request_get_id(req), chan->req_list.count);