Home
last modified time | relevance | path

Searched refs:ptd (Results 1 – 8 of 8) sorted by relevance

/linux-2.6.39/drivers/usb/host/
Disp1760-hcd.c223 struct ptd *ptd) in ptd_read() argument
226 ISP_BANK(0) + ptd_offset + slot*sizeof(*ptd)); in ptd_read()
228 bank_reads8(base, ptd_offset + slot*sizeof(*ptd), ISP_BANK(0), in ptd_read()
229 (void *) ptd, sizeof(*ptd)); in ptd_read()
233 struct ptd *ptd) in ptd_write() argument
235 mem_writes8(base, ptd_offset + slot*sizeof(*ptd) + sizeof(ptd->dw0), in ptd_write()
236 &ptd->dw1, 7*sizeof(ptd->dw1)); in ptd_write()
240 mem_writes8(base, ptd_offset + slot*sizeof(*ptd), &ptd->dw0, in ptd_write()
241 sizeof(ptd->dw0)); in ptd_write()
602 struct isp1760_qtd *qtd, struct ptd *ptd) in transform_into_atl() argument
[all …]
Disp116x.h161 struct ptd { struct
304 struct ptd ptd; member
553 #define PTD_DIR_STR(ptd) ({char __c; \ argument
554 switch(PTD_GET_DIR(ptd)){ \
564 static inline void dump_ptd(struct ptd *ptd) in dump_ptd() argument
567 PTD_GET_CC(ptd), PTD_GET_FA(ptd), in dump_ptd()
568 PTD_DIR_STR(ptd), PTD_GET_EP(ptd), in dump_ptd()
569 PTD_GET_COUNT(ptd), PTD_GET_LEN(ptd), PTD_GET_MPS(ptd), in dump_ptd()
570 PTD_GET_TOGGLE(ptd), PTD_GET_ACTIVE(ptd), in dump_ptd()
571 PTD_GET_SPD(ptd), PTD_GET_LAST(ptd)); in dump_ptd()
[all …]
Disp1362.h252 struct ptd { struct
276 #define PTD_HEADER_SIZE sizeof(struct ptd) argument
435 struct ptd ptd; member
1007 static void dump_ptd(struct ptd *ptd) in dump_ptd() argument
1010 container_of(ptd, struct isp1362_ep, ptd), in dump_ptd()
1011 PTD_GET_CC(ptd), PTD_GET_EP(ptd), PTD_GET_DIR(ptd), in dump_ptd()
1012 PTD_GET_COUNT(ptd), PTD_GET_LEN(ptd), PTD_GET_MPS(ptd), in dump_ptd()
1013 PTD_GET_TOGGLE(ptd), PTD_GET_ACTIVE(ptd), PTD_GET_FA(ptd), in dump_ptd()
1014 PTD_GET_SPD(ptd), PTD_GET_SF_INT(ptd), PTD_GET_PR(ptd), PTD_GET_LAST(ptd)); in dump_ptd()
1015 DBG(0, " %04x %04x %04x %04x\n", ptd->count, ptd->mps, ptd->len, ptd->faddr); in dump_ptd()
[all …]
Disp116x-hcd.c170 struct ptd *ptd; in pack_fifo() local
178 ptd = &ep->ptd; in pack_fifo()
179 dump_ptd(ptd); in pack_fifo()
180 dump_ptd_out_data(ptd, ep->data); in pack_fifo()
181 isp116x_write_data16(isp116x, ptd->count); in pack_fifo()
182 isp116x_write_data16(isp116x, ptd->mps); in pack_fifo()
183 isp116x_write_data16(isp116x, ptd->len); in pack_fifo()
184 isp116x_write_data16(isp116x, ptd->faddr); in pack_fifo()
185 buflen -= sizeof(struct ptd); in pack_fifo()
202 struct ptd *ptd; in unpack_fifo() local
[all …]
Disp1362-hcd.c266 struct ptd *ptd; in prepare_ptd() local
274 ptd = &ep->ptd; in prepare_ptd()
331 ptd->count = PTD_CC_MSK | PTD_ACTIVE_MSK | PTD_TOGGLE(toggle); in prepare_ptd()
332 ptd->mps = PTD_MPS(ep->maxpacket) | PTD_SPD(urb->dev->speed == USB_SPEED_LOW) | in prepare_ptd()
334 ptd->len = PTD_LEN(len) | PTD_DIR(dir); in prepare_ptd()
335 ptd->faddr = PTD_FA(usb_pipedevice(urb->pipe)); in prepare_ptd()
338 ptd->faddr |= PTD_SF_INT(ep->branch); in prepare_ptd()
339 ptd->faddr |= PTD_PR(ep->interval ? __ffs(ep->interval) : 0); in prepare_ptd()
342 ptd->faddr |= PTD_SF_ISO(fno); in prepare_ptd()
350 struct ptd *ptd = &ep->ptd; in isp1362_write_ptd() local
[all …]
Disp1760-hcd.h93 struct ptd { struct
Duhci-q.c205 struct uhci_td *ptd; in uhci_remove_td_from_frame_list() local
207 ptd = list_entry(td->fl_list.prev, struct uhci_td, fl_list); in uhci_remove_td_from_frame_list()
208 ptd->link = td->link; in uhci_remove_td_from_frame_list()
337 struct uhci_td *ptd; in uhci_cleanup_queue() local
341 ptd = list_entry(purbp->td_list.prev, struct uhci_td, in uhci_cleanup_queue()
345 ptd->link = td->link; in uhci_cleanup_queue()
/linux-2.6.39/arch/mn10300/mm/
Dtlb-mn10300.S51 mov (a2,d2),a2 # PTD *ptd = PGD[addr 31..22]
114 mov (a2,d2),a2 # PTD *ptd = PGD[addr 31..22]