HelenOS sources

td                131 kernel/arch/amd64/src/pm.c 	tss_descriptor_t *td = (tss_descriptor_t *) d;
td                133 kernel/arch/amd64/src/pm.c 	td->base_0_15 = base & 0xffffU;
td                134 kernel/arch/amd64/src/pm.c 	td->base_16_23 = ((base) >> 16) & 0xffU;
td                135 kernel/arch/amd64/src/pm.c 	td->base_24_31 = ((base) >> 24) & 0xffU;
td                136 kernel/arch/amd64/src/pm.c 	td->base_32_63 = ((base) >> 32);
td                141 kernel/arch/amd64/src/pm.c 	tss_descriptor_t *td = (tss_descriptor_t *) d;
td                143 kernel/arch/amd64/src/pm.c 	td->limit_0_15 = limit & 0xffffU;
td                144 kernel/arch/amd64/src/pm.c 	td->limit_16_19 = (limit >> 16) & 0x0fU;
td                212 uspace/drv/bus/usb/ehci/hw_struct/queue_head.h static inline void qh_set_next_td(qh_t *qh, uintptr_t td)
td                215 uspace/drv/bus/usb/ehci/hw_struct/queue_head.h 	assert(td);
td                216 uspace/drv/bus/usb/ehci/hw_struct/queue_head.h 	EHCI_MEM32_WR(qh->next, LINK_POINTER_TD(td));
td                 46 uspace/drv/bus/usb/ehci/hw_struct/transfer_descriptor.c errno_t td_error(const td_t *td)
td                 48 uspace/drv/bus/usb/ehci/hw_struct/transfer_descriptor.c 	assert(td);
td                 49 uspace/drv/bus/usb/ehci/hw_struct/transfer_descriptor.c 	const uint32_t status = EHCI_MEM32_RD(td->status);
td                 92 uspace/drv/bus/usb/ehci/hw_struct/transfer_descriptor.h static inline bool td_active(const td_t *td)
td                 94 uspace/drv/bus/usb/ehci/hw_struct/transfer_descriptor.h 	assert(td);
td                 95 uspace/drv/bus/usb/ehci/hw_struct/transfer_descriptor.h 	return (EHCI_MEM32_RD(td->status) & TD_STATUS_HALTED_FLAG) != 0;
td                 98 uspace/drv/bus/usb/ehci/hw_struct/transfer_descriptor.h static inline size_t td_remain_size(const td_t *td)
td                100 uspace/drv/bus/usb/ehci/hw_struct/transfer_descriptor.h 	assert(td);
td                101 uspace/drv/bus/usb/ehci/hw_struct/transfer_descriptor.h 	return (EHCI_MEM32_RD(td->status) >> TD_STATUS_TOTAL_SHIFT) &
td                105 uspace/drv/bus/usb/ehci/hw_struct/transfer_descriptor.h errno_t td_error(const td_t *td);
td                107 uspace/drv/bus/usb/ehci/hw_struct/transfer_descriptor.h void td_init(td_t *td, uintptr_t next_phys, uintptr_t buf, usb_direction_t dir,
td                 65 uspace/drv/bus/usb/ohci/hw_struct/endpoint_descriptor.c void ed_init(ed_t *instance, const endpoint_t *ep, const td_t *td)
td                 79 uspace/drv/bus/usb/ohci/hw_struct/endpoint_descriptor.c 	assert(td);
td                100 uspace/drv/bus/usb/ohci/hw_struct/endpoint_descriptor.c 	const uintptr_t pa = addr_to_phys(td);
td                112 uspace/drv/bus/usb/ohci/hw_struct/endpoint_descriptor.h void ed_init(ed_t *instance, const endpoint_t *ep, const td_t *td);
td                149 uspace/drv/bus/usb/ohci/hw_struct/endpoint_descriptor.h static inline void ed_set_tail_td(ed_t *instance, const td_t *td)
td                152 uspace/drv/bus/usb/ohci/hw_struct/endpoint_descriptor.h 	const uintptr_t pa = addr_to_phys(td);
td                172 uspace/drv/bus/usb/ohci/hw_struct/endpoint_descriptor.h static inline void ed_set_head_td(ed_t *instance, const td_t *td)
td                175 uspace/drv/bus/usb/ohci/hw_struct/endpoint_descriptor.h 	const uintptr_t pa = addr_to_phys(td);
td                100 uspace/drv/bus/usb/uhci/hw_struct/queue_head.h static inline void qh_set_element_td(qh_t *instance, td_t *td)
td                107 uspace/drv/bus/usb/uhci/hw_struct/queue_head.h 	const uint32_t pa = addr_to_phys(td);
td                230 uspace/drv/bus/usb/uhci/uhci_batch.c 	size_t td = 0;
td                237 uspace/drv/bus/usb/uhci/uhci_batch.c 		const td_t *next_td = (td + 1 < uhci_batch->td_count) ?
td                238 uspace/drv/bus/usb/uhci/uhci_batch.c 		    &uhci_batch->tds[td + 1] : NULL;
td                240 uspace/drv/bus/usb/uhci/uhci_batch.c 		assert(td < uhci_batch->td_count);
td                242 uspace/drv/bus/usb/uhci/uhci_batch.c 		    &uhci_batch->tds[td], DEFAULT_ERROR_COUNT, packet_size,
td                245 uspace/drv/bus/usb/uhci/uhci_batch.c 		++td;
td                250 uspace/drv/bus/usb/uhci/uhci_batch.c 	td_set_ioc(&uhci_batch->tds[td - 1]);
td                298 uspace/drv/bus/usb/uhci/uhci_batch.c 	size_t td = 1;
td                307 uspace/drv/bus/usb/uhci/uhci_batch.c 		    &uhci_batch->tds[td], DEFAULT_ERROR_COUNT, packet_size,
td                309 uspace/drv/bus/usb/uhci/uhci_batch.c 		    buffer, &uhci_batch->tds[td + 1]);
td                311 uspace/drv/bus/usb/uhci/uhci_batch.c 		++td;
td                315 uspace/drv/bus/usb/uhci/uhci_batch.c 		assert(td < uhci_batch->td_count);
td                319 uspace/drv/bus/usb/uhci/uhci_batch.c 	assert(td == uhci_batch->td_count - 1);
td                322 uspace/drv/bus/usb/uhci/uhci_batch.c 	    &uhci_batch->tds[td], DEFAULT_ERROR_COUNT, 0, 1, false, low_speed,
td                324 uspace/drv/bus/usb/uhci/uhci_batch.c 	td_set_ioc(&uhci_batch->tds[td]);
td                327 uspace/drv/bus/usb/uhci/uhci_batch.c 	    uhci_batch->tds[td].status);
td                300 uspace/drv/bus/usb/xhci/trb_ring.c errno_t xhci_trb_ring_enqueue(xhci_trb_ring_t *ring, xhci_trb_t *td, uintptr_t *phys)
td                302 uspace/drv/bus/usb/xhci/trb_ring.c 	return xhci_trb_ring_enqueue_multiple(ring, td, 1, phys);
HelenOS homepage, sources at GitHub