td 3103 dev/ic/rtw.c struct rtw_txdesc *td = &tdb->tdb_desc[desc]; td 3107 dev/ic/rtw.c letoh32(td->td_buf), letoh32(td->td_next), td 3108 dev/ic/rtw.c letoh32(td->td_ctl0), letoh32(td->td_ctl1), td 3109 dev/ic/rtw.c letoh32(td->td_len))); td 3129 dev/ic/rtw.c struct rtw_txdesc *td; td 3276 dev/ic/rtw.c td = &tdb->tdb_desc[desc]; td 3277 dev/ic/rtw.c td->td_ctl0 = htole32(ctl0); td 3279 dev/ic/rtw.c td->td_ctl0 |= htole32(RTW_TXCTL0_OWN); td 3280 dev/ic/rtw.c td->td_ctl1 = htole32(ctl1); td 3281 dev/ic/rtw.c td->td_buf = htole32(dmamap->dm_segs[i].ds_addr); td 3282 dev/ic/rtw.c td->td_len = htole32(dmamap->dm_segs[i].ds_len); td 658 dev/pci/if_tht.c const struct thtc_device *td; td 661 dev/pci/if_tht.c td = &thtc_devices[i]; td 662 dev/pci/if_tht.c if (td->td_vendor == PCI_VENDOR(pa->pa_id) && td 663 dev/pci/if_tht.c td->td_product == PCI_PRODUCT(pa->pa_id)) td 664 dev/pci/if_tht.c return (td); td 687 dev/pci/if_tht.c const struct thtc_device *td; td 692 dev/pci/if_tht.c td = thtc_lookup(pa); td 710 dev/pci/if_tht.c for (i = 0; i < td->td_nports; i++) { td 140 dev/tc/tcds.c struct tcds_device *td; td 142 dev/tc/tcds.c for (td = tcds_devices; td->td_name != NULL; td++) td 143 dev/tc/tcds.c if (strncmp(td->td_name, modname, TC_ROM_LLEN) == 0) td 144 dev/tc/tcds.c return (td); td 168 dev/tc/tcds.c struct tcds_device *td; td 172 dev/tc/tcds.c td = tcds_lookup(ta->ta_modname); td 173 dev/tc/tcds.c if (td == NULL) td 177 dev/tc/tcds.c if (td->td_flags & TCDSF_BASEBOARD) td 181 dev/tc/tcds.c sc->sc_flags = td->td_flags; td 221 dev/usb/ohci.c ohci_soft_td_t *td; td 422 dev/usb/ohci.c memset(&std->td, 0, sizeof(ohci_td_t)); td 493 dev/usb/ohci.c cur->td.td_flags = tdflags; td 494 dev/usb/ohci.c cur->td.td_cbp = htole32(dataphys); td 496 dev/usb/ohci.c cur->td.td_nexttd = htole32(next->physaddr); td 497 dev/usb/ohci.c cur->td.td_be = htole32(dataphys + curlen - 1); td 518 dev/usb/ohci.c cur->td.td_flags = tdflags; td 519 dev/usb/ohci.c cur->td.td_cbp = 0; /* indicate 0 length packet */ td 521 dev/usb/ohci.c cur->td.td_nexttd = htole32(next->physaddr); td 522 dev/usb/ohci.c cur->td.td_be = ~0; td 1270 dev/usb/ohci.c done = letoh32(std->td.td_nexttd); td 1351 dev/usb/ohci.c if (std->td.td_cbp != 0) td 1352 dev/usb/ohci.c len -= letoh32(std->td.td_be) - td 1353 dev/usb/ohci.c letoh32(std->td.td_cbp) + 1; td 1359 dev/usb/ohci.c cc = OHCI_TD_GET_CC(letoh32(std->td.td_flags)); td 1378 dev/usb/ohci.c OHCI_TD_GET_CC(letoh32(std->td.td_flags)), td 1379 dev/usb/ohci.c ohci_cc_strs[OHCI_TD_GET_CC(letoh32(std->td.td_flags))])); td 1513 dev/usb/ohci.c data = opipe->tail.td; td 1521 dev/usb/ohci.c data->td.td_flags = htole32( td 1525 dev/usb/ohci.c data->td.td_flags |= htole32(OHCI_TD_R); td 1526 dev/usb/ohci.c data->td.td_cbp = htole32(DMAADDR(&xfer->dmabuf, 0)); td 1528 dev/usb/ohci.c data->td.td_nexttd = htole32(tail->physaddr); td 1529 dev/usb/ohci.c data->td.td_be = htole32(letoh32(data->td.td_cbp) + td 1538 dev/usb/ohci.c opipe->tail.td = tail; td 1671 dev/usb/ohci.c setup = opipe->tail.td; td 1708 dev/usb/ohci.c std->td.td_flags &= htole32(~OHCI_TD_TOGGLE_MASK); td 1709 dev/usb/ohci.c std->td.td_flags |= htole32(OHCI_TD_TOGGLE_1); td 1714 dev/usb/ohci.c setup->td.td_flags = htole32(OHCI_TD_SETUP | OHCI_TD_NOCC | td 1716 dev/usb/ohci.c setup->td.td_cbp = htole32(DMAADDR(&opipe->u.ctl.reqdma, 0)); td 1718 dev/usb/ohci.c setup->td.td_nexttd = htole32(next->physaddr); td 1719 dev/usb/ohci.c setup->td.td_be = htole32(letoh32(setup->td.td_cbp) + sizeof *req - 1); td 1725 dev/usb/ohci.c stat->td.td_flags = htole32( td 1728 dev/usb/ohci.c stat->td.td_cbp = 0; td 1730 dev/usb/ohci.c stat->td.td_nexttd = htole32(tail->physaddr); td 1731 dev/usb/ohci.c stat->td.td_be = 0; td 1747 dev/usb/ohci.c opipe->tail.td = tail; td 1944 dev/usb/ohci.c bitmask_snprintf((u_int32_t)letoh32(std->td.td_flags), td 1951 dev/usb/ohci.c OHCI_TD_GET_DI(letoh32(std->td.td_flags)), td 1952 dev/usb/ohci.c OHCI_TD_GET_EC(letoh32(std->td.td_flags)), td 1953 dev/usb/ohci.c OHCI_TD_GET_CC(letoh32(std->td.td_flags)), td 1954 dev/usb/ohci.c (u_long)letoh32(std->td.td_cbp), td 1955 dev/usb/ohci.c (u_long)letoh32(std->td.td_nexttd), td 1956 dev/usb/ohci.c (u_long)letoh32(std->td.td_be)); td 2068 dev/usb/ohci.c opipe->tail.td = std; td 2260 dev/usb/ohci.c if (OHCI_TD_GET_CC(letoh32(p->td.td_flags)) == td 2820 dev/usb/ohci.c ohci_free_std(sc, opipe->tail.td); td 2893 dev/usb/ohci.c data = opipe->tail.td; td 2897 dev/usb/ohci.c tail->td.td_flags &= htole32(~OHCI_TD_INTR_MASK); td 2898 dev/usb/ohci.c tail->td.td_flags |= htole32(OHCI_TD_SET_DI(1)); td 2910 dev/usb/ohci.c (int)letoh32(data->td.td_flags), td 2911 dev/usb/ohci.c (int)letoh32(data->td.td_cbp), td 2912 dev/usb/ohci.c (int)letoh32(data->td.td_be))); td 2927 dev/usb/ohci.c opipe->tail.td = tail; td 2973 dev/usb/ohci.c ohci_free_std(sc, opipe->tail.td); td 3018 dev/usb/ohci.c data = opipe->tail.td; td 3024 dev/usb/ohci.c data->td.td_flags = htole32( td 3029 dev/usb/ohci.c data->td.td_flags |= htole32(OHCI_TD_R); td 3030 dev/usb/ohci.c data->td.td_cbp = htole32(DMAADDR(&xfer->dmabuf, 0)); td 3032 dev/usb/ohci.c data->td.td_nexttd = htole32(tail->physaddr); td 3033 dev/usb/ohci.c data->td.td_be = htole32(letoh32(data->td.td_cbp) + len - 1); td 3050 dev/usb/ohci.c opipe->tail.td = tail; td 3116 dev/usb/ohci.c ohci_free_std(sc, opipe->tail.td); td 52 dev/usb/ohcivar.h ohci_td_t td; td 415 dev/usb/uhci.c std->td.td_link = htole32(UHCI_PTR_T); td 416 dev/usb/uhci.c std->td.td_status = htole32(0); /* inactive */ td 417 dev/usb/uhci.c std->td.td_token = htole32(0); td 418 dev/usb/uhci.c std->td.td_buffer = htole32(0); td 471 dev/usb/uhci.c std->td.td_link = htole32(sqh->physaddr | UHCI_PTR_QH); td 472 dev/usb/uhci.c std->td.td_status = htole32(UHCI_TD_IOS); /* iso, inactive */ td 473 dev/usb/uhci.c std->td.td_token = htole32(0); td 474 dev/usb/uhci.c std->td.td_buffer = htole32(0); td 769 dev/usb/uhci.c (long)letoh32(p->td.td_link), td 770 dev/usb/uhci.c (long)letoh32(p->td.td_status), td 771 dev/usb/uhci.c (long)letoh32(p->td.td_token), td 772 dev/usb/uhci.c (long)letoh32(p->td.td_buffer))); td 774 dev/usb/uhci.c bitmask_snprintf((u_int32_t)letoh32(p->td.td_link), "\20\1T\2Q\3VF", td 776 dev/usb/uhci.c bitmask_snprintf((u_int32_t)letoh32(p->td.td_status), td 783 dev/usb/uhci.c UHCI_TD_GET_ERRCNT(letoh32(p->td.td_status)), td 784 dev/usb/uhci.c UHCI_TD_GET_ACTLEN(letoh32(p->td.td_status)), td 785 dev/usb/uhci.c UHCI_TD_GET_PID(letoh32(p->td.td_token)), td 786 dev/usb/uhci.c UHCI_TD_GET_DEVADDR(letoh32(p->td.td_token)), td 787 dev/usb/uhci.c UHCI_TD_GET_ENDPT(letoh32(p->td.td_token)), td 788 dev/usb/uhci.c UHCI_TD_GET_DT(letoh32(p->td.td_token)), td 789 dev/usb/uhci.c UHCI_TD_GET_MAXLEN(letoh32(p->td.td_token)))); td 851 dev/usb/uhci.c uhci_soft_td_t *td; td 853 dev/usb/uhci.c for(td = std; td != NULL; td = td->link.std) { td 854 dev/usb/uhci.c uhci_dump_td(td); td 861 dev/usb/uhci.c if (letoh32(td->td.td_link) & UHCI_PTR_T || td 862 dev/usb/uhci.c letoh32(td->td.td_link) == 0) td 1302 dev/usb/uhci.c if (letoh32(lstd->td.td_status) & UHCI_TD_ACTIVE) { td 1305 dev/usb/uhci.c status = letoh32(std->td.td_status); td 1315 dev/usb/uhci.c UHCI_TD_GET_MAXLEN(letoh32(std->td.td_token))) td 1377 dev/usb/uhci.c status = letoh32(std->td.td_status); td 1398 dev/usb/uhci.c nstatus = letoh32(std->td.td_status); td 1403 dev/usb/uhci.c if (UHCI_TD_GET_PID(letoh32(std->td.td_token)) != td 1418 dev/usb/uhci.c upipe->nexttoggle = UHCI_TD_GET_DT(letoh32(std->td.td_token)); td 1618 dev/usb/uhci.c memset(&std->td, 0, sizeof(uhci_td_t)); td 1627 dev/usb/uhci.c if (letoh32(std->td.td_token) == TD_IS_FREE) { td 1631 dev/usb/uhci.c std->td.td_token = htole32(TD_IS_FREE); td 1732 dev/usb/uhci.c p->td.td_link = htole32(lastlink | UHCI_PTR_VF | UHCI_PTR_TD); td 1735 dev/usb/uhci.c p->td.td_status = htole32(status); td 1744 dev/usb/uhci.c p->td.td_token = td 1747 dev/usb/uhci.c p->td.td_buffer = htole32(DMAADDR(dma, i * maxp)); td 1821 dev/usb/uhci.c dataend->td.td_status |= htole32(UHCI_TD_IOC); td 1919 dev/usb/uhci.c std->td.td_status &= htole32(~(UHCI_TD_ACTIVE | UHCI_TD_IOC)); td 2055 dev/usb/uhci.c dataend->td.td_status |= htole32(UHCI_TD_IOC); td 2195 dev/usb/uhci.c dataend->td.td_link = htole32(stat->physaddr | UHCI_PTR_VF | UHCI_PTR_TD); td 2204 dev/usb/uhci.c setup->td.td_link = htole32(next->physaddr | UHCI_PTR_VF | UHCI_PTR_TD); td 2205 dev/usb/uhci.c setup->td.td_status = htole32(UHCI_TD_SET_ERRCNT(3) | ls | td 2207 dev/usb/uhci.c setup->td.td_token = htole32(UHCI_TD_SETUP(sizeof *req, endpt, addr)); td 2208 dev/usb/uhci.c setup->td.td_buffer = htole32(DMAADDR(&upipe->u.ctl.reqdma, 0)); td 2211 dev/usb/uhci.c stat->td.td_link = htole32(UHCI_PTR_T); td 2212 dev/usb/uhci.c stat->td.td_status = htole32(UHCI_TD_SET_ERRCNT(3) | ls | td 2214 dev/usb/uhci.c stat->td.td_token = td 2217 dev/usb/uhci.c stat->td.td_buffer = htole32(0); td 2257 dev/usb/uhci.c link = letoh32(std->td.td_link); td 2360 dev/usb/uhci.c std->td.td_buffer = htole32(buf); td 2363 dev/usb/uhci.c std->td.td_status = htole32(status); td 2364 dev/usb/uhci.c std->td.td_token &= htole32(~UHCI_TD_MAXLEN_MASK); td 2365 dev/usb/uhci.c std->td.td_token |= htole32(UHCI_TD_SET_MAXLEN(len)); td 2456 dev/usb/uhci.c std->td.td_status &= htole32(~(UHCI_TD_ACTIVE | UHCI_TD_IOC)); td 2457 dev/usb/uhci.c len = UHCI_TD_GET_MAXLEN(letoh32(std->td.td_token)); td 2495 dev/usb/uhci.c iso->stds[i]->td.td_status &= htole32(~UHCI_TD_ACTIVE); td 2512 dev/usb/uhci.c vstd->td.td_link = std->td.td_link; td 2546 dev/usb/uhci.c std->td.td_status = htole32(UHCI_TD_IOS); /* iso, inactive */ td 2547 dev/usb/uhci.c std->td.td_token = htole32(token); td 2557 dev/usb/uhci.c std->td.td_link = vstd->td.td_link; td 2559 dev/usb/uhci.c vstd->td.td_link = htole32(std->physaddr | UHCI_PTR_TD); td 2605 dev/usb/uhci.c ii->stdend->td.td_status &= htole32(~UHCI_TD_IOC); td 2639 dev/usb/uhci.c dataend->td.td_status |= htole32(UHCI_TD_IOC); td 97 dev/usb/uhcivar.h uhci_td_t td; /* The real TD, must be first */ td 3088 net/zlib.c inflate_huft *tl, *td; /* trees to free */ td 3232 net/zlib.c inflate_trees_free(s->sub.decode.td, z); td 3307 net/zlib.c inflate_huft *tl, *td; td 3309 net/zlib.c inflate_trees_fixed(&bl, &bd, &tl, &td); td 3310 net/zlib.c s->sub.decode.codes = inflate_codes_new(bl, bd, tl, td, z); td 3317 net/zlib.c s->sub.decode.td = Z_NULL; td 3463 net/zlib.c inflate_huft *tl, *td; td 3470 net/zlib.c s->sub.trees.blens, &bl, &bd, &tl, &td, z); td 3482 net/zlib.c if ((c = inflate_codes_new(bl, bd, tl, td, z)) == Z_NULL) td 3484 net/zlib.c inflate_trees_free(td, z); td 3492 net/zlib.c s->sub.decode.td = td; td 3501 net/zlib.c inflate_trees_free(s->sub.decode.td, z); td 3933 net/zlib.c local int inflate_trees_dynamic(nl, nd, c, bl, bd, tl, td, z) td 3940 net/zlib.c inflate_huft * FAR *td; /* distance tree result */ td 3960 net/zlib.c if ((r = huft_build(c + nl, nd, 0, cpdist, cpdext, td, bd, z)) != Z_OK) td 3969 net/zlib.c inflate_trees_free(*td, z); td 4018 net/zlib.c local int inflate_trees_fixed(bl, bd, tl, td) td 4022 net/zlib.c inflate_huft * FAR *td; /* distance tree result */ td 4063 net/zlib.c *td = fixed_td; td 4140 net/zlib.c local inflate_codes_statef *inflate_codes_new(bl, bd, tl, td, z) td 4142 net/zlib.c inflate_huft *tl, *td; td 4154 net/zlib.c c->dtree = td; td 4427 net/zlib.c local int inflate_fast(bl, bd, tl, td, s, z) td 4429 net/zlib.c inflate_huft *tl, *td; td 4480 net/zlib.c e = (t = td + ((uInt)b & md))->exop; td 125 netinet/tcp_debug.c struct tcp_debug *td = &tcp_debug[tcp_debx++]; td 134 netinet/tcp_debug.c td->td_time = iptime(); td 135 netinet/tcp_debug.c td->td_act = act; td 136 netinet/tcp_debug.c td->td_ostate = ostate; td 137 netinet/tcp_debug.c td->td_tcb = (caddr_t)tp; td 139 netinet/tcp_debug.c td->td_cb = *tp; td 141 netinet/tcp_debug.c bzero((caddr_t)&td->td_cb, sizeof (*tp)); td 147 netinet/tcp_debug.c td->td_ti6 = *ti6; td 148 netinet/tcp_debug.c td->td_ti6.ti6_plen = len; td 150 netinet/tcp_debug.c bzero(&td->td_ti6, sizeof(struct tcpipv6hdr)); td 156 netinet/tcp_debug.c td->td_ti = *ti; td 157 netinet/tcp_debug.c td->td_ti.ti_len = len; td 159 netinet/tcp_debug.c bzero(&td->td_ti, sizeof(struct tcpiphdr)); td 165 netinet/tcp_debug.c td->td_req = req; td 269 xfs/xfs_locl.h #define xfs_thread_to_cred(td) ((td)->td_proc->p_ucred) td 270 xfs/xfs_locl.h #define xfs_thread_to_euid(td) ((td)->td_proc->p_ucred->cr_uid)