Searched defs:td (Results 1 - 25 of 64) sorted by relevance

123

/drivers/usb/host/
H A Dohci-mem.c39 sizeof (struct td),
71 static inline struct td *
74 struct td *td; local
77 td = hc->td_hash [TD_HASH_FUNC(td_dma)];
78 while (td && td->td_dma != td_dma)
79 td = td->td_hash;
80 return td;
88 struct td *td; local
102 td_free(struct ohci_hcd *hc, struct td *td) argument
[all...]
H A Dfhci-mem.c27 static void init_td(struct td *td) argument
29 memset(td, 0, sizeof(*td));
30 INIT_LIST_HEAD(&td->node);
31 INIT_LIST_HEAD(&td->frame_lh);
41 static struct td *get_empty_td(struct fhci_hcd *fhci)
43 struct td *td; local
46 td
59 fhci_recycle_empty_td(struct fhci_hcd *fhci, struct td *td) argument
94 struct td *td = get_empty_td(fhci); local
[all...]
H A Dfhci-q.c57 void fhci_add_td_to_frame(struct fhci_time_frame *frame, struct td *td) argument
59 list_add_tail(&td->frame_lh, &frame->tds_list);
62 void fhci_add_tds_to_ed(struct ed *ed, struct td **td_list, int number)
67 struct td *td = td_list[i]; local
68 list_add_tail(&td->node, &ed->td_list);
74 static struct td *peek_td_from_ed(struct ed *ed)
76 struct td *td; local
88 struct td *td; local
101 struct td *td; local
113 struct td *td; local
133 struct td *td; local
146 struct td *td; local
218 fhci_done_td(struct urb *urb, struct td *td) argument
271 struct td *td = peek_td_from_ed(ed); local
[all...]
H A Dfhci-hcd.c173 struct td *td; local
174 struct td *next_td;
181 list_for_each_entry_safe(td, next_td, &fhci->empty_tds, node) {
182 list_del(&td->node);
183 kfree(td);
219 struct td *td; local
221 td = kmalloc(sizeof(*td), GFP_KERNE
522 struct td *td = fhci_remove_td_from_ed(ed); local
[all...]
H A Dfhci-sched.c46 struct td *td; local
52 td = fhci_remove_td_from_frame(usb->actual_frame);
53 td_pkt = td->pkt;
55 td->status = pkt->status;
56 if (td->type == FHCI_TA_IN && td_pkt->info & PKT_DUMMY_PACKET) {
57 if ((td->data + td->actual_len) && trans_len)
58 memcpy(td->data + td
133 struct td *td; local
159 add_packet(struct fhci_usb *usb, struct ed *ed, struct td *td) argument
285 struct td *td; local
640 struct td *td; local
709 struct td *td; local
[all...]
H A Dfhci-tds.c77 struct usb_td __iomem *td,
83 return ++td;
156 struct usb_td __iomem *td; local
172 ep_mem_size = ring_len * sizeof(*td) + sizeof(struct fhci_ep_pram);
207 ep->ep_pram_ptr = (void __iomem *)ep->td_base + sizeof(*td) * ring_len;
215 td = ep->td_base;
217 out_be32(&td->buf_ptr, 0);
218 out_be16(&td->status, 0);
219 out_be16(&td->length, 0);
220 out_be16(&td
76 next_bd(struct usb_td __iomem *base, struct usb_td __iomem *td, u16 status) argument
285 struct usb_td __iomem *td; local
390 struct usb_td __iomem *td; local
477 struct usb_td __iomem *td; local
534 struct usb_td __iomem *td; local
598 struct usb_td __iomem *td; local
[all...]
H A Dimx21-dbg.c38 int frame, struct td *td) {}
40 int frame, struct td *td, int cc, int len) {}
128 int frame, struct td *td)
134 trace->schedule_frame = td->frame;
136 trace->request_len = td->len;
137 trace->td = td;
37 debug_isoc_submitted(struct imx21 *imx21, int frame, struct td *td) argument
39 debug_isoc_completed(struct imx21 *imx21, int frame, struct td *td, int cc, int len) argument
127 debug_isoc_submitted(struct imx21 *imx21, int frame, struct td *td) argument
140 debug_isoc_completed(struct imx21 *imx21, int frame, struct td *td, int cc, int len) argument
[all...]
H A Dohci-hcd.c186 urb_priv = kzalloc (sizeof (urb_priv_t) + size * sizeof (struct td *),
196 urb_priv->td [i] = td_alloc (ohci, mem_flags);
197 if (!urb_priv->td [i]) {
847 struct td *td = list_entry( local
849 struct td, td_list);
852 td);
853 takeback_td(ohci, td);
937 struct urb *urb = priv->td[0]->urb;
1144 pr_debug ("%s: block sizes: ed %Zd td
[all...]
H A Dohci-q.c19 struct td *td; local
22 td = urb_priv->td [i];
23 if (td)
24 td_free (hc, td);
399 struct td *td; local
409 /* dummy td; end of td lis
505 struct td *td, *td_pt; local
713 td_done(struct ohci_hcd *ohci, struct urb *urb, struct td *td) argument
790 ed_halted(struct ohci_hcd *ohci, struct td *td, int cc) argument
862 struct td *td = NULL; local
923 struct td *td; local
961 struct td *td; local
1074 takeback_td(struct ohci_hcd *ohci, struct td *td) argument
1127 struct td *td = dl_reverse_done_list (ohci); local
[all...]
H A Duhci-debug.c40 static int uhci_show_td(struct uhci_hcd *uhci, struct uhci_td *td, char *buf, argument
51 status = td_status(uhci, td);
52 out += sprintf(out, "%*s[%p] link (%08x) ", space, "", td,
53 hc32_to_cpu(uhci, td->link));
68 token = td_token(uhci, td);
91 out += sprintf(out, "(buf=%08x)\n", hc32_to_cpu(uhci, td->buffer));
100 struct uhci_td *td; local
132 list_for_each_entry(td, &urbp->td_list, list) {
136 out += uhci_show_td(uhci, td, out,
139 if (td_status(uhci, td)
206 struct uhci_td *td = list_entry(urbp->td_list.next, local
352 struct uhci_td *td; local
[all...]
/drivers/base/power/
H A Ddomain_governor.c23 constraint_ns = dev_gpd_data(dev)->td.effective_constraint_ns;
48 struct gpd_timing_data *td = &dev_gpd_data(dev)->td; local
56 if (!td->constraint_changed) {
57 bool ret = td->cached_stop_ok;
62 td->constraint_changed = false;
63 td->cached_stop_ok = false;
64 td->effective_constraint_ns = -1;
83 constraint_ns -= td->start_latency_ns;
87 td
174 struct gpd_timing_data *td; local
[all...]
H A Ddomain.c42 struct gpd_timing_data *__td = &dev_gpd_data(dev)->td; \
279 to_gpd_data(pdd)->td.constraint_changed = true;
1242 * @td: Set of PM QoS timing parameters to attach to the device.
1245 struct gpd_timing_data *td)
1289 if (td)
1290 gpd_data->td = *td;
1292 gpd_data->td.constraint_changed = true;
1293 gpd_data->td.effective_constraint_ns = -1;
1314 * @td
1244 __pm_genpd_add_device(struct generic_pm_domain *genpd, struct device *dev, struct gpd_timing_data *td) argument
1316 __pm_genpd_of_add_device(struct device_node *genpd_node, struct device *dev, struct gpd_timing_data *td) argument
1545 pm_genpd_add_callbacks(struct device *dev, struct gpd_dev_ops *ops, struct gpd_timing_data *td) argument
[all...]
/drivers/mtd/onenand/
H A Donenand_bbt.c25 * @param td search pattern descriptor
33 static int check_short_pattern(uint8_t *buf, int len, int paglen, struct nand_bbt_descr *td) argument
39 for (i = 0; i < td->len; i++) {
40 if (p[i] != td->pattern[i])
/drivers/usb/host/whci/
H A Dasl.c103 struct whc_qtd *td; local
107 td = &qset->qtd[qset->td_start];
108 status = le32_to_cpu(td->status);
118 process_halted_qtd(whc, qset, td);
127 process_inactive_qtd(whc, qset, td);
H A Dpzl.c109 struct whc_qtd *td; local
113 td = &qset->qtd[qset->td_start];
114 status = le32_to_cpu(td->status);
124 process_halted_qtd(whc, qset, td);
133 process_inactive_qtd(whc, qset, td);
/drivers/char/agp/
H A Disoch.c79 struct pci_dev *td = bridge->dev, *dev; local
118 pci_read_config_dword(td, bridge->capndx+AGPNISTAT, &tnistat);
119 pci_read_config_dword(td, bridge->capndx+AGPSTAT, &tstatus);
156 dev_err(&td->dev, "isochronous bandwidth required "
171 pci_read_config_word(td, bridge->capndx+AGPNICMD, &tnicmd);
174 pci_write_config_word(td, bridge->capndx+AGPNICMD, tnicmd);
177 pci_read_config_dword(td, bridge->capndx+AGPNISTAT, &tnistat);
191 dev_err(&td->dev, "number of isochronous "
232 dev_err(&td->dev, "number of request queue slots "
318 struct pci_dev *td local
[all...]
/drivers/net/ethernet/amd/
H A D7990.c353 volatile struct lance_tx_desc *td; local
366 td = &ib->btx_ring [i];
369 if (td->tmd1_bits & LE_T1_OWN)
372 if (td->tmd1_bits & LE_T1_ERR) {
373 status = td->misc;
410 } else if ((td->tmd1_bits & LE_T1_POK) == LE_T1_POK) {
414 td->tmd1_bits &= ~(LE_T1_POK);
417 if (td->tmd1_bits & LE_T1_EONE)
421 if (td->tmd1_bits & LE_T1_EMORE)
H A Da2065.c328 volatile struct lance_tx_desc *td; local
338 td = &ib->btx_ring[i];
341 if (td->tmd1_bits & LE_T1_OWN)
344 if (td->tmd1_bits & LE_T1_ERR) {
345 status = td->misc;
384 } else if ((td->tmd1_bits & LE_T1_POK) == LE_T1_POK) {
386 td->tmd1_bits &= ~(LE_T1_POK);
389 if (td->tmd1_bits & LE_T1_EONE)
393 if (td->tmd1_bits & LE_T1_EMORE)
/drivers/ide/
H A Dpalm_bk3710.c115 u8 td, tkw, t0; local
126 td = DIV_ROUND_UP(t->active, ideclk_period);
127 tkw = t0 - td - 1;
128 td -= 1;
131 val32 |= (td << (dev ? 8 : 0));
/drivers/media/dvb/siano/
H A Dsmsdvb.c745 struct TRANSMISSION_STATISTICS_S *td = local
751 fep->frequency = td->Frequency;
753 switch (td->Bandwidth) {
765 switch (td->TransmissionMode) {
773 switch (td->GuardInterval) {
788 switch (td->CodeRate) {
806 switch (td->LPCodeRate) {
824 switch (td->Constellation) {
836 switch (td->Hierarchy) {
855 fep->frequency = td
[all...]
/drivers/net/wireless/ath/ath5k/
H A Ddebug.c1011 struct ath5k_hw_5212_tx_desc *td = &ds->ud.ds_tx5212; local
1022 ds->ds_data, td->tx_ctl.tx_control_0, td->tx_ctl.tx_control_1,
1023 td->tx_ctl.tx_control_2, td->tx_ctl.tx_control_3,
1024 td->tx_stat.tx_status_0, td->tx_stat.tx_status_1,
/drivers/dma/
H A Dtimb_dma.c126 struct timb_dma *td = tdchantotd(td_chan); local
130 ier = ioread32(td->membase + TIMBDMA_IER);
134 iowrite32(ier, td->membase + TIMBDMA_IER);
141 struct timb_dma *td = (struct timb_dma *)((u8 *)td_chan - local
146 dev_dbg(chan2dev(&td_chan->chan), "Checking irq: %d, td: %p\n", id, td);
148 isr = ioread32(td->membase + TIMBDMA_ISR) & (1 << id);
150 iowrite32(isr, td->membase + TIMBDMA_ISR);
308 static u32 __td_ier_mask(struct timb_dma *td) argument
313 for (i = 0; i < td
626 struct timb_dma *td = (struct timb_dma *)data; local
655 struct timb_dma *td = devid; local
673 struct timb_dma *td; local
803 struct timb_dma *td = platform_get_drvdata(pdev); local
[all...]
/drivers/mtd/nand/
H A Dnand_bbt.c72 static int check_pattern_no_oob(uint8_t *buf, struct nand_bbt_descr *td) argument
76 ret = memcmp(buf, td->pattern, td->len);
87 * @td: search pattern descriptor
93 static int check_pattern(uint8_t *buf, int len, int paglen, struct nand_bbt_descr *td) argument
98 if (td->options & NAND_BBT_NO_OOB)
99 return check_pattern_no_oob(buf, td);
101 end = paglen + td->offs;
102 if (td->options & NAND_BBT_SCANEMPTY) {
111 if (memcmp(p, td
134 check_short_pattern(uint8_t *buf, struct nand_bbt_descr *td) argument
153 add_marker_len(struct nand_bbt_descr *td) argument
177 read_bbt(struct mtd_info *mtd, uint8_t *buf, int page, int num, struct nand_bbt_descr *td, int offs) argument
265 read_abs_bbt(struct mtd_info *mtd, uint8_t *buf, struct nand_bbt_descr *td, int chip) argument
291 scan_read_raw_data(struct mtd_info *mtd, uint8_t *buf, loff_t offs, struct nand_bbt_descr *td) argument
332 scan_read_raw(struct mtd_info *mtd, uint8_t *buf, loff_t offs, size_t len, struct nand_bbt_descr *td) argument
357 bbt_get_ver_offs(struct mtd_info *mtd, struct nand_bbt_descr *td) argument
376 read_abs_bbts(struct mtd_info *mtd, uint8_t *buf, struct nand_bbt_descr *td, struct nand_bbt_descr *md) argument
555 search_bbt(struct mtd_info *mtd, uint8_t *buf, struct nand_bbt_descr *td) argument
629 search_read_bbts(struct mtd_info *mtd, uint8_t * buf, struct nand_bbt_descr *td, struct nand_bbt_descr *md) argument
652 write_bbt(struct mtd_info *mtd, uint8_t *buf, struct nand_bbt_descr *td, struct nand_bbt_descr *md, int chipsel) argument
887 struct nand_bbt_descr *td = this->bbt_td; local
1008 mark_bbt_region(struct mtd_info *mtd, struct nand_bbt_descr *td) argument
1126 struct nand_bbt_descr *td = this->bbt_td; local
1196 struct nand_bbt_descr *td = this->bbt_td; local
[all...]
/drivers/net/ethernet/apple/
H A Dmace.c433 volatile struct dbdma_regs __iomem *td = mp->tx_dma; local
482 out_le32(&td->control, (RUN|PAUSE|FLUSH|WAKE) << 16);
483 out_le32(&td->cmdptr, virt_to_bus(mp->tx_cmds));
503 volatile struct dbdma_regs __iomem *td = mp->tx_dma; local
511 st_le32(&td->control, (RUN|PAUSE|FLUSH|WAKE) << 16); /* clear run bit */
534 volatile struct dbdma_regs __iomem *td = mp->tx_dma; local
573 out_le32(&td->control, ((RUN|WAKE) << 16) + (RUN|WAKE));
664 volatile struct dbdma_regs __iomem *td = mp->tx_dma; local
694 dstat = ld_le32(&td->status);
696 out_le32(&td
810 volatile struct dbdma_regs __iomem *td = mp->tx_dma; local
[all...]
/drivers/net/ethernet/seeq/
H A Dsgiseeq.c430 struct sgiseeq_tx_desc *td; local
439 td = &sp->tx_desc[i];
440 dma_sync_desc_cpu(dev, td);
441 while ((td->tdma.cntinfo & (HPCDMA_XIU | HPCDMA_ETXD)) ==
444 td = &sp->tx_desc[i];
445 dma_sync_desc_cpu(dev, td);
447 if (td->tdma.cntinfo & HPCDMA_XIU) {
448 hregs->tx_ndptr = VIRT_TO_DMA(sp, td);
457 struct sgiseeq_tx_desc *td; local
475 td
589 struct sgiseeq_tx_desc *td; local
[all...]

Completed in 516 milliseconds

123