Searched refs:td (Results 1 - 25 of 89) sorted by relevance

1234

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/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 Dohci-q.c18 struct td *td; local
21 td = urb_priv->td [i];
22 if (td)
23 td_free (hc, td);
52 * has TD_R set. (much simpler, but creates the 1-td limit.)
403 struct td *td; local
413 /* dummy td; en
506 struct td *td, *td_pt; local
709 td_done(struct ohci_hcd *ohci, struct urb *urb, struct td *td) argument
789 ed_halted(struct ohci_hcd *ohci, struct td *td, int cc, struct td *rev) argument
868 struct td *td = NULL; local
929 struct td *td; local
963 struct td *td; local
1068 struct td *td = dl_reverse_done_list (ohci); local
[all...]
H A Duhci-q.c21 * Technically, updating td->status here is a race, but it's not really a
109 struct uhci_td *td; local
111 td = dma_pool_alloc(uhci->td_pool, GFP_ATOMIC, &dma_handle);
112 if (!td)
115 td->dma_handle = dma_handle;
116 td->frame = -1;
118 INIT_LIST_HEAD(&td->list);
119 INIT_LIST_HEAD(&td->fl_list);
121 return td;
124 static void uhci_free_td(struct uhci_hcd *uhci, struct uhci_td *td) argument
127 dev_warn(uhci_dev(uhci), "td %p still in list!\\n", td); local
131 dev_warn(uhci_dev(uhci), "td %p still in fl_list!\\n", td); local
138 uhci_fill_td(struct uhci_td *td, u32 status, u32 token, u32 buffer) argument
146 uhci_add_td_to_urbp(struct uhci_td *td, struct urb_priv *urbp) argument
151 uhci_remove_td_from_urbp(struct uhci_td *td) argument
159 uhci_insert_td_in_frame_list(struct uhci_hcd *uhci, struct uhci_td *td, unsigned framenum) argument
186 uhci_remove_td_from_frame_list(struct uhci_hcd *uhci, struct uhci_td *td) argument
241 struct uhci_td *td; local
323 struct uhci_td *td; local
380 struct uhci_td *td; local
493 struct uhci_td *td = list_entry(urbp->td_list.next, local
747 struct uhci_td *td, *tmp; local
799 struct uhci_td *td; local
930 struct uhci_td *td; local
1107 struct uhci_td *td; local
1155 struct uhci_td *td, *tmp; local
1234 struct uhci_td *td = NULL; /* Since urb->number_of_packets > 0 */ local
1337 struct uhci_td *td, *tmp; local
1611 struct uhci_td *td = list_entry(urbp->td_list.next, local
1639 struct uhci_td *td; local
[all...]
H A Dohci-dbg.c286 const struct td *td)
288 u32 tmp = hc32_to_cpup (ohci, &td->hwINFO);
290 ohci_dbg (ohci, "%s td %p%s; urb %p index %d; hw next td %08x\n",
291 label, td,
293 td->urb, td->index,
294 hc32_to_cpup (ohci, &td->hwNextTD));
315 cbp = hc32_to_cpup (ohci, &td
285 ohci_dump_td(const struct ohci_hcd *ohci, const char *label, const struct td *td) argument
381 struct td *td; local
421 struct td *td; local
[all...]
H A Dohci.h44 struct td *dummy; /* next TD to activate */
79 struct td { struct
123 struct td *td_hash; /* dma-->td hashtable */
124 struct td *next_dl_td;
136 * Hardware transfer status codes -- CC from td->hwINFO or td->hwPSW
331 struct td *td [0]; // all TDs in this request member in struct:urb_priv
336 // sizeof (struct td) ~
619 ohci_hwPSWp(const struct ohci_hcd *ohci, const struct td *td, int index) argument
626 ohci_hwPSW(const struct ohci_hcd *ohci, const struct td *td, int index) argument
[all...]
H A Duhci-debug.c41 static int uhci_show_td(struct uhci_td *td, char *buf, int len, int space) argument
51 status = td_status(td);
52 out += sprintf(out, "%*s[%p] link (%08x) ", space, "", td, le32_to_cpu(td->link));
67 token = td_token(td);
90 out += sprintf(out, "(buf=%08x)\n", le32_to_cpu(td->buffer));
98 struct uhci_td *td; local
128 list_for_each_entry(td, &urbp->td_list, list) {
132 out += uhci_show_td(td, out, len - (out - buf), 0);
134 if (td_status(td)
200 struct uhci_td *td = list_entry(urbp->td_list.next, local
346 struct uhci_td *td; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/kernel/
H A Drtmutex-tester.c56 static int handle_op(struct test_thread_data *td, int lockwakeup) argument
60 switch(td->opcode) {
66 td->mutexes[td->opdata] = 1;
67 td->event = atomic_add_return(1, &rttest_event);
72 if (td->mutexes[i] == 4) {
74 td->mutexes[i] = 0;
78 if (!lockwakeup && td->bkl == 4) {
80 td->bkl = 0;
93 switch(td
163 struct test_thread_data *td; local
259 struct test_thread_data *td = data; local
303 struct test_thread_data *td; local
364 struct test_thread_data *td; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/db-4.7.25.NC/txn/
H A Dtxn_failchk.c28 TXN_DETAIL *ktd, *td; local
40 SH_TAILQ_FOREACH(td, &region->active_txn, links, __txn_detail) {
45 if (td->parent != INVALID_ROFF)
51 if (td->status == TXN_PREPARED)
55 if (dbenv->is_alive(dbenv, td->pid, td->tid, 0))
58 if (F_ISSET(td, TXN_DTL_INMEMORY))
61 td->pid, td->tid));
67 if ((ret = __txn_continue(env, txn, td)) !
[all...]
H A Dtxn.c165 TXN_DETAIL *ptd, *td; local
212 td = txn->td;
215 ptd = parent->td;
217 SH_TAILQ_INSERT_HEAD(&ptd->kids, td, klinks, __txn_detail);
293 TXN_DETAIL *td; local
304 SH_TAILQ_FOREACH(td, &region->active_txn, links, __txn_detail)
305 ids[nids++] = td->txnid;
365 TXN_DETAIL *td; local
395 __env_alloc(&mgr->reginfo, sizeof(TXN_DETAIL), &td)) !
564 TXN_DETAIL *td; local
807 TXN_DETAIL *td; local
980 TXN_DETAIL *td; local
1095 TXN_DETAIL *td; local
1183 TXN_DETAIL *td; local
1294 TXN_DETAIL *ptd, *td; local
1732 TXN_DETAIL *td; local
[all...]
H A Dtxn_recover.c146 TXN_DETAIL *td; local
179 for (td = SH_TAILQ_FIRST(&region->active_txn, __txn_detail);
180 td != NULL && *retp < count;
181 td = SH_TAILQ_NEXT(td, links, __txn_detail)) {
182 if (td->status != TXN_PREPARED ||
183 (flags != DB_FIRST && F_ISSET(td, TXN_DTL_COLLECTED)))
186 if (F_ISSET(td, TXN_DTL_RESTORED))
190 xidp->formatID = td->format;
196 xidp->gtrid_length = (long)td
[all...]
H A Dtxn_region.c246 if (((TXN_DETAIL *)txn->td)->status == TXN_PREPARED) {
385 TXN_DETAIL *td; local
396 SH_TAILQ_FOREACH(td, &region->active_txn, links, __txn_detail)
397 if (LOG_COMPARE(&td->read_lsn, &old_lsn) < 0)
398 old_lsn = td->read_lsn;
414 __txn_add_buffer(env, td)
416 TXN_DETAIL *td;
418 DB_ASSERT(env, td != NULL);
420 MUTEX_LOCK(env, td->mvcc_mtx);
421 DB_ASSERT(env, td
[all...]
H A Dtxn_rec.c418 TXN_DETAIL *td; local
429 if ((ret = __env_alloc(&mgr->reginfo, sizeof(TXN_DETAIL), &td)) != 0) {
435 SH_TAILQ_INSERT_HEAD(&region->active_txn, td, links, __txn_detail);
437 td->txnid = argp->txnp->txnid;
438 __os_id(env->dbenv, &td->pid, &td->tid);
439 td->last_lsn = *lsnp;
440 td->begin_lsn = argp->begin_lsn;
441 td->parent = INVALID_ROFF;
442 td
[all...]
H A Dtxn_util.c341 TXN_DETAIL *td; local
347 if ((td = txn->td) == NULL)
354 ldbs = R_ADDR(&mgr->reginfo, td->log_dbs);
355 for (i = 0, np = ldbs; i < td->nlog_dbs; i++, np++)
359 if (td->nlog_slots <= td->nlog_dbs) {
362 sizeof(roff_t) * (td->nlog_slots << 1), &np)) != 0)
364 memcpy(np, ldbs, td->nlog_dbs * sizeof(roff_t));
365 if (td
397 TXN_DETAIL *ptd, *td; local
[all...]
H A Dtxn_stat.c72 TXN_DETAIL *td; local
104 td = SH_TAILQ_FIRST(&region->active_txn, __txn_detail);
105 td != NULL && ndx < maxtxn;
106 td = SH_TAILQ_NEXT(td, links, __txn_detail), ++ndx) {
107 stats->st_txnarray[ndx].txnid = td->txnid;
108 if (td->parent == INVALID_ROFF)
113 td->parent))->txnid;
114 stats->st_txnarray[ndx].pid = td->pid;
115 stats->st_txnarray[ndx].tid = td
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/db-4.7.25.NC/xa/
H A Dxa_map.c66 struct __txn_detail *td; local
68 return (__txn_map_gid(env, (u_int8_t *)xid->data, &td, offp));
114 * "td" in the shared region.
119 __db_map_xid(env, xid, td)
122 TXN_DETAIL *td;
125 memcpy(td->xid, xid->data, XIDDATASIZE);
126 td->bqual = (u_int32_t)xid->bqual_length;
127 td->gtrid = (u_int32_t)xid->gtrid_length;
128 td->format = (int32_t)xid->formatID;
147 TXN_DETAIL *td; local
[all...]
H A Dxa.c81 TXN_DETAIL *td; local
103 td = t->td;
104 if (td->pid != pid)
171 __xa_txn_continue(env, txn, td)
174 TXN_DETAIL *td;
180 ret = __txn_continue(env, txn, td);
345 TXN_DETAIL *td; local
379 td = R_ADDR(&env->tx_handle->reginfo, off);
380 if (td
418 TXN_DETAIL *td; local
475 TXN_DETAIL *td; local
535 TXN_DETAIL *td; local
638 TXN_DETAIL *td; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/misc/
H A Dstats.pl98 [th('Board type').td($query->param('boardtype')),
99 th('Board number').td($query->param('boardnum')),
100 th('CPU clock').td($query->param('clkfreq')),
101 th('OS name').td($query->param('os_name')),
102 th('OS version').td($query->param('os_version')),
103 th('Uptime').td($query->param('uptime')),
105 th('WAN MAC address').td($query->param('wan_hwaddr')),
106 th('WAN IP address').td($query->param('wan_ipaddr')),
107 th('WAN protocol').td($query->param('wan_proto')),
108 th('WAN receive bytes').td(
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/mtd/nand/
H A Dnand_bbt.c70 * @td: search pattern descriptor
78 static int check_pattern(uint8_t *buf, int len, int paglen, struct nand_bbt_descr *td) argument
83 end = paglen + td->offs;
84 if (td->options & NAND_BBT_SCANEMPTY) {
93 for (i = 0; i < td->len; i++) {
94 if (p[i] != td->pattern[i])
98 if (td->options & NAND_BBT_SCANEMPTY) {
99 p += td->len;
100 end += td->len;
112 * @td
119 check_short_pattern(uint8_t *buf, struct nand_bbt_descr *td) argument
211 read_abs_bbt(struct mtd_info *mtd, uint8_t *buf, struct nand_bbt_descr *td, int chip) argument
282 read_abs_bbts(struct mtd_info *mtd, uint8_t *buf, struct nand_bbt_descr *td, struct nand_bbt_descr *md) argument
461 search_bbt(struct mtd_info *mtd, uint8_t *buf, struct nand_bbt_descr *td) argument
534 search_read_bbts(struct mtd_info *mtd, uint8_t * buf, struct nand_bbt_descr *td, struct nand_bbt_descr *md) argument
559 write_bbt(struct mtd_info *mtd, uint8_t *buf, struct nand_bbt_descr *td, struct nand_bbt_descr *md, int chipsel) argument
780 struct nand_bbt_descr *td = this->bbt_td; local
889 mark_bbt_region(struct mtd_info *mtd, struct nand_bbt_descr *td) argument
959 struct nand_bbt_descr *td = this->bbt_td; local
1026 struct nand_bbt_descr *td = this->bbt_td; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/curl-7.23.1/source/lib/
H A Dasyn-thread.c330 struct thread_data *td = (struct thread_data*) async->os_specific; local
332 if(td->dummy_sock != CURL_SOCKET_BAD)
333 sclose(td->dummy_sock);
335 if(td->thread_hnd != curl_thread_t_null)
336 Curl_thread_join(&td->thread_hnd);
338 destroy_thread_sync_data(&td->tsd);
356 struct thread_data *td = calloc(1, sizeof(struct thread_data)); local
359 conn->async.os_specific = (void*) td;
360 if(!td)
367 td
481 struct thread_data *td = (struct thread_data*) conn->async.os_specific; local
526 struct thread_data *td = (struct thread_data*) conn->async.os_specific; local
577 const struct thread_data *td = local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/mtd/47xxnand/
H A Dbrcmnand_bbt.c125 * @td: search pattern descriptor
133 static int check_pattern(uint8_t *buf, int len, int paglen, struct nand_bbt_descr *td) argument
138 end = paglen + td->offs;
139 if (td->options & NAND_BBT_SCANEMPTY) {
148 for (i = 0; i < td->len; i++) {
149 if (p[i] != td->pattern[i])
153 if (td->options & NAND_BBT_SCANEMPTY) {
154 p += td->len;
155 end += td->len;
167 * @td
174 check_short_pattern(uint8_t *buf, struct nand_bbt_descr *td) argument
281 brcmnand_read_abs_bbt(struct mtd_info *mtd, uint8_t *buf, struct nand_bbt_descr *td, int chip) argument
357 brcmnand_read_abs_bbts(struct mtd_info *mtd, uint8_t *buf, struct nand_bbt_descr *td, struct nand_bbt_descr *md) argument
539 brcmnand_search_bbt(struct mtd_info *mtd, uint8_t *buf, struct nand_bbt_descr *td) argument
612 brcmnand_search_read_bbts(struct mtd_info *mtd, uint8_t *buf, struct nand_bbt_descr *td, struct nand_bbt_descr *md) argument
638 brcmnand_write_bbt(struct mtd_info *mtd, uint8_t *buf, struct nand_bbt_descr *td, struct nand_bbt_descr *md, int chipsel) argument
858 struct nand_bbt_descr *td = this->bbt_td; local
967 mark_bbt_region(struct mtd_info *mtd, struct nand_bbt_descr *td) argument
1038 struct nand_bbt_descr *td = this->bbt_td; local
1106 struct nand_bbt_descr *td = this->bbt_td; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/kernel/time/
H A Dtick-common.c134 static void tick_setup_device(struct tick_device *td, argument
144 if (!td->evtdev) {
158 td->mode = TICKDEV_MODE_PERIODIC;
160 handler = td->evtdev->event_handler;
161 next_event = td->evtdev->next_event;
164 td->evtdev = newdev;
182 if (td->mode == TICKDEV_MODE_PERIODIC)
194 struct tick_device *td; local
205 td = &per_cpu(tick_cpu_device, cpu);
206 curdev = td
283 struct tick_device *td = &per_cpu(tick_cpu_device, *cpup); local
309 struct tick_device *td = &__get_cpu_var(tick_cpu_device); local
319 struct tick_device *td = &__get_cpu_var(tick_cpu_device); local
[all...]
H A Dtick-oneshot.c48 struct tick_device *td = &__get_cpu_var(tick_cpu_device); local
49 struct clock_event_device *dev = td->evtdev;
72 struct tick_device *td = &__get_cpu_var(tick_cpu_device); local
73 struct clock_event_device *dev = td->evtdev;
79 td->mode = TICKDEV_MODE_ONESHOT;
H A Dtick-broadcast.c114 struct tick_device *td; local
121 td = &per_cpu(tick_cpu_device, cpu);
122 td->evtdev->event_handler(td->evtdev);
134 td = &per_cpu(tick_cpu_device, cpu);
135 td->evtdev->broadcast(mask);
192 struct tick_device *td; local
199 td = &per_cpu(tick_cpu_device, cpu);
200 dev = td->evtdev;
214 if (td
382 struct tick_device *td; local
406 struct tick_device *td; local
447 struct tick_device *td; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/ppc/boot/simple/
H A Dmv64x60_tty.c90 static struct mv64x60_tx_desc td[2][TX_NUM_DESC] __attribute__ ((aligned(32))); variable in typeref:struct:mv64x60_tx_desc
162 td[chan][i].bytecnt = 0;
163 td[chan][i].shadow = 0;
164 td[chan][i].buffer = (u32)&tx_buf[chan][i * TX_BUF_SIZE];
165 td[chan][i].cmd_stat = SDMA_DESC_CMDSTAT_F|SDMA_DESC_CMDSTAT_L;
166 td[chan][i].next_desc_ptr = (u32)&td[chan][i+1];
168 td[chan][TX_NUM_DESC - 1].next_desc_ptr = (u32)&td[chan][0];
216 (int)&td[cha
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/ffmpeg-0.5.1/libavcodec/alpha/
H A Dmotion_est_mvi_asm.S28 #define td AT define
85 td: error right */ label
111 perr t4, t2, td # error right
113 addq v0, td, v0 # add error left
122 perr t9, t7, td # error right
124 addq v0, td, v0 # add error left
155 ldq td, 8(a2) # right
177 perr td, a0, t1 # error right

Completed in 156 milliseconds

1234