| /rk3399_rockchip-uboot/drivers/mtd/nand/raw/ |
| H A D | nand_bbt.c | 93 static int check_pattern_no_oob(uint8_t *buf, struct nand_bbt_descr *td) in check_pattern_no_oob() argument 95 if (memcmp(buf, td->pattern, td->len)) in check_pattern_no_oob() 110 static int check_pattern(uint8_t *buf, int len, int paglen, struct nand_bbt_descr *td) in check_pattern() argument 112 if (td->options & NAND_BBT_NO_OOB) in check_pattern() 113 return check_pattern_no_oob(buf, td); in check_pattern() 116 if (memcmp(buf + paglen + td->offs, td->pattern, td->len)) in check_pattern() 131 static int check_short_pattern(uint8_t *buf, struct nand_bbt_descr *td) in check_short_pattern() argument 134 if (memcmp(buf + td->offs, td->pattern, td->len)) in check_short_pattern() 145 static u32 add_marker_len(struct nand_bbt_descr *td) in add_marker_len() argument 149 if (!(td->options & NAND_BBT_NO_OOB)) in add_marker_len() [all …]
|
| /rk3399_rockchip-uboot/drivers/crypto/rockchip/ |
| H A D | rkce_core.c | 199 uint32_t rkce_get_td_type(void *td) in rkce_get_td_type() argument 201 if (!td) in rkce_get_td_type() 204 return ((struct rkce_symm_td *)td)->ctrl.td_type; in rkce_get_td_type() 350 int rkce_push_td(void *rkce_hw, void *td) in rkce_push_td() argument 359 if (!td) in rkce_push_td() 362 td_type = rkce_get_td_type(td); in rkce_push_td() 365 rkce_dump_td(td); in rkce_push_td() 369 td, rkce_cma_virt2phys(td)); in rkce_push_td() 380 rkce_reg->TD_ADDR = rkce_cma_virt2phys(td); in rkce_push_td() 381 hardware->chn[RKCE_TD_TYPE_SYMM].td_virt = td; in rkce_push_td() [all …]
|
| H A D | crypto_ce.c | 28 struct rkce_hash_td *td; member 33 struct rkce_symm_td *td; member 244 hw_ctx->td = rkce_cma_alloc(sizeof(struct rkce_hash_td)); in rkce_sha_ctx_alloc() 245 if (!hw_ctx->td) in rkce_sha_ctx_alloc() 248 memset(hw_ctx->td, 0x00, sizeof(struct rkce_hash_td)); in rkce_sha_ctx_alloc() 258 rkce_cma_free(hw_ctx->td); in rkce_sha_ctx_alloc() 270 rkce_cma_free(hw_ctx->td); in rkce_sha_ctx_free() 295 ret = rkce_init_hash_td(hash_ctx->td, hash_ctx->td_buf); in rk_sha_init() 333 struct rkce_hash_td *td; in rk_sha_update() local 343 td = hash_ctx->td; in rk_sha_update() [all …]
|
| /rk3399_rockchip-uboot/arch/mips/mach-au1x00/ |
| H A D | au1x00_usb_ohci.h | 101 struct td { struct 111 struct td *next_dl_td; argument 118 typedef struct td td_t; argument 337 td_t *td[N_URB_TD]; /* list pointer to all corresponding TDs associated with this request */ member 395 static inline struct td * 399 struct td *td; in td_alloc() local 401 td = NULL; in td_alloc() 404 td = &ptd[i]; in td_alloc() 405 td->usb_dev = usb_dev; in td_alloc() 409 return td; in td_alloc()
|
| H A D | au1x00_usb_ohci.c | 129 struct td * td; in urb_free_priv() local 134 td = urb->td[i]; in urb_free_priv() 135 if (td) { in urb_free_priv() 136 td->usb_dev = NULL; in urb_free_priv() 137 urb->td[i] = NULL; in urb_free_priv() 424 purb_priv->td[i] = td_alloc (dev); in sohci_submit_job() 425 if (!purb_priv->td[i]) { in sohci_submit_job() 571 td_t *td; in ep_add_ed() local 587 td = td_alloc (usb_dev); in ep_add_ed() 588 ed->hwTailP = m32_swap (td); in ep_add_ed() [all …]
|
| /rk3399_rockchip-uboot/drivers/usb/host/ |
| H A D | ohci-hcd.c | 223 static struct td *td_alloc(ohci_dev_t *ohci_dev, struct usb_device *usb_dev) in td_alloc() 226 struct td *td; in td_alloc() local 228 td = NULL; in td_alloc() 233 td = &ohci_dev->tds[i]; in td_alloc() 234 td->usb_dev = usb_dev; in td_alloc() 239 return td; in td_alloc() 257 struct td *td; in urb_free_priv() local 262 td = urb->td[i]; in urb_free_priv() 263 if (td) { in urb_free_priv() 264 td->usb_dev = NULL; in urb_free_priv() [all …]
|
| H A D | ohci.h | 112 struct td { struct 122 struct td *next_dl_td; argument 129 typedef struct td td_t; argument 358 td_t *td[N_URB_TD]; /* list pointer to all corresponding TDs associated with this request */ member
|
| H A D | ehci-hcd.c | 241 static int ehci_td_buffer(struct qTD *td, void *buf, size_t sz) in ehci_td_buffer() argument 254 td->qt_buffer[idx] = cpu_to_hc32(virt_to_phys((void *)addr)); in ehci_td_buffer() 255 td->qt_buffer_hi[idx] = 0; in ehci_td_buffer() 1284 struct qTD *td = result->tds + i; in _ehci_create_int_queue() local 1291 qh->qh_overlay.qt_next = cpu_to_hc32((unsigned long)td); in _ehci_create_int_queue() 1309 td->qt_next = cpu_to_hc32(QT_NEXT_TERMINATE); in _ehci_create_int_queue() 1310 td->qt_altnext = cpu_to_hc32(QT_NEXT_TERMINATE); in _ehci_create_int_queue() 1313 td->qt_token = cpu_to_hc32( in _ehci_create_int_queue() 1318 td->qt_buffer[0] = in _ehci_create_int_queue() 1320 td->qt_buffer[1] = in _ehci_create_int_queue() [all …]
|
| /rk3399_rockchip-uboot/include/rockchip/ |
| H A D | rkce_core.h | 309 } td; member 336 int rkce_push_td(void *rkce_hw, void *td); 338 int rkce_push_td_sync(void *rkce_hw, void *td, uint32_t timeout_ms); 342 int rkce_init_symm_td(struct rkce_symm_td *td, struct rkce_symm_td_buf *buf); 344 int rkce_init_hash_td(struct rkce_hash_td *td, struct rkce_hash_td_buf *buf);
|
| H A D | rkce_debug.h | 29 #define rkce_dump_td(td) argument
|
| /rk3399_rockchip-uboot/drivers/mtd/onenand/ |
| H A D | onenand_bbt.c | 38 struct nand_bbt_descr *td) in check_short_pattern() argument 44 for (i = 0; i < td->len; i++) { in check_short_pattern() 45 if (p[i] != td->pattern[i]) in check_short_pattern()
|
| /rk3399_rockchip-uboot/arch/m68k/include/asm/coldfire/ |
| H A D | ata.h | 29 u8 td; /* 0x0B */ member
|
| /rk3399_rockchip-uboot/drivers/usb/gadget/ |
| H A D | ci_udc.c | 224 static void ci_flush_td(struct ept_queue_item *td) in ci_flush_td() argument 226 const unsigned long start = (unsigned long)td; in ci_flush_td() 227 const unsigned long end = (unsigned long)td + ILIST_ENT_SZ; in ci_flush_td() 252 static void ci_invalidate_td(struct ept_queue_item *td) in ci_invalidate_td() argument 254 const unsigned long start = (unsigned long)td; in ci_invalidate_td()
|