Searched refs:trackers (Results 1 - 5 of 5) sorted by relevance

/linux-4.4.14/drivers/block/rsxx/
H A Ddma.c138 static void set_tracker_dma(struct dma_tracker_list *trackers, set_tracker_dma() argument
142 trackers->list[tag].dma = dma; set_tracker_dma()
145 static struct rsxx_dma *get_tracker_dma(struct dma_tracker_list *trackers, get_tracker_dma() argument
148 return trackers->list[tag].dma; get_tracker_dma()
151 static int pop_tracker(struct dma_tracker_list *trackers) pop_tracker() argument
155 spin_lock(&trackers->lock); pop_tracker()
156 tag = trackers->head; pop_tracker()
158 trackers->head = trackers->list[tag].next_tag; pop_tracker()
159 trackers->list[tag].next_tag = -1; pop_tracker()
161 spin_unlock(&trackers->lock); pop_tracker()
166 static void push_tracker(struct dma_tracker_list *trackers, int tag) push_tracker() argument
168 spin_lock(&trackers->lock); push_tracker()
169 trackers->list[tag].next_tag = trackers->head; push_tracker()
170 trackers->head = tag; push_tracker()
171 trackers->list[tag].dma = NULL; push_tracker()
172 spin_unlock(&trackers->lock); push_tracker()
418 tag = pop_tracker(ctrl->trackers); rsxx_issue_dmas()
434 push_tracker(ctrl->trackers, tag); rsxx_issue_dmas()
458 push_tracker(ctrl->trackers, tag); rsxx_issue_dmas()
464 set_tracker_dma(ctrl->trackers, tag, dma); rsxx_issue_dmas()
539 dma = get_tracker_dma(ctrl->trackers, tag); rsxx_dma_done()
568 push_tracker(ctrl->trackers, tag); rsxx_dma_done()
826 ctrl->trackers = vmalloc(DMA_TRACKER_LIST_SIZE8); rsxx_dma_ctrl_init()
827 if (!ctrl->trackers) rsxx_dma_ctrl_init()
830 ctrl->trackers->head = 0; rsxx_dma_ctrl_init()
832 ctrl->trackers->list[i].next_tag = i + 1; rsxx_dma_ctrl_init()
833 ctrl->trackers->list[i].dma = NULL; rsxx_dma_ctrl_init()
835 ctrl->trackers->list[RSXX_MAX_OUTSTANDING_CMDS-1].next_tag = -1; rsxx_dma_ctrl_init()
836 spin_lock_init(&ctrl->trackers->lock); rsxx_dma_ctrl_init()
963 if (ctrl->trackers) rsxx_dma_setup()
964 vfree(ctrl->trackers); rsxx_dma_setup()
986 dma = get_tracker_dma(ctrl->trackers, i); rsxx_dma_cancel()
990 push_tracker(ctrl->trackers, i); rsxx_dma_cancel()
1026 vfree(ctrl->trackers); rsxx_dma_destroy()
1052 dma = get_tracker_dma(card->ctrl[i].trackers, j); rsxx_eeh_save_issued_dmas()
1072 push_tracker(card->ctrl[i].trackers, j); rsxx_eeh_save_issued_dmas()
H A Drsxx_priv.h116 struct dma_tracker_list *trackers; member in struct:rsxx_dma_ctrl
/linux-4.4.14/drivers/usb/serial/
H A Dxsens_mt.c71 MODULE_DESCRIPTION("USB-serial driver for Xsens motion trackers");
/linux-4.4.14/drivers/char/agp/
H A Di460-agp.c230 * Initialize partial allocation trackers if a GART page is bigger than a kernel i460_configure()
/linux-4.4.14/net/netfilter/
H A Dnf_conntrack_core.c1133 /* ICMP[v6] protocol trackers may assign one conntrack. */ nf_conntrack_in()

Completed in 161 milliseconds