Home
last modified time | relevance | path

Searched refs:cfd (Results 1 – 5 of 5) sorted by relevance

/drivers/media/platform/ti-vpe/
Dvpdma.c450 static void dump_cfd(struct vpdma_cfd *cfd) in dump_cfd() argument
454 class = cfd_get_class(cfd); in dump_cfd()
462 cfd->dest_addr_offset); in dump_cfd()
465 pr_debug("word1: num_data_wrds = %d\n", cfd->block_len); in dump_cfd()
467 pr_debug("word2: payload_addr = 0x%08x\n", cfd->payload_addr); in dump_cfd()
470 "payload_len = %d\n", cfd_get_pkt_type(cfd), in dump_cfd()
471 cfd_get_direct(cfd), class, cfd_get_dest(cfd), in dump_cfd()
472 cfd_get_payload_len(cfd)); in dump_cfd()
483 struct vpdma_cfd *cfd; in vpdma_add_cfd_block() local
488 cfd = list->next; in vpdma_add_cfd_block()
[all …]
Dvpdma_priv.h486 static inline int cfd_get_pkt_type(struct vpdma_cfd *cfd) in cfd_get_pkt_type() argument
488 return cfd->ctl_payload_len >> CFD_PKT_TYPE_SHFT; in cfd_get_pkt_type()
491 static inline bool cfd_get_direct(struct vpdma_cfd *cfd) in cfd_get_direct() argument
493 return (cfd->ctl_payload_len >> CFD_DIRECT_SHFT) & CFD_DIRECT_MASK; in cfd_get_direct()
496 static inline bool cfd_get_class(struct vpdma_cfd *cfd) in cfd_get_class() argument
498 return (cfd->ctl_payload_len >> CFD_CLASS_SHFT) & CFD_CLASS_MASK; in cfd_get_class()
501 static inline int cfd_get_dest(struct vpdma_cfd *cfd) in cfd_get_dest() argument
503 return (cfd->ctl_payload_len >> CFD_DEST_SHFT) & CFD_DEST_MASK; in cfd_get_dest()
506 static inline int cfd_get_payload_len(struct vpdma_cfd *cfd) in cfd_get_payload_len() argument
508 return cfd->ctl_payload_len & CFD_PAYLOAD_LEN_MASK; in cfd_get_payload_len()
/drivers/net/can/
Dvcan.c74 struct canfd_frame *cfd = (struct canfd_frame *)skb->data; in vcan_rx() local
78 stats->rx_bytes += cfd->len; in vcan_rx()
89 struct canfd_frame *cfd = (struct canfd_frame *)skb->data; in vcan_tx() local
97 stats->tx_bytes += cfd->len; in vcan_tx()
111 stats->rx_bytes += cfd->len; in vcan_tx()
Ddev.c526 struct canfd_frame **cfd) in alloc_canfd_skb() argument
546 *cfd = (struct canfd_frame *)skb_put(skb, sizeof(struct canfd_frame)); in alloc_canfd_skb()
547 memset(*cfd, 0, sizeof(struct canfd_frame)); in alloc_canfd_skb()
/drivers/usb/class/
Dcdc-acm.c1078 struct usb_cdc_country_functional_desc *cfd = NULL; in acm_probe() local
1169 cfd = (struct usb_cdc_country_functional_desc *)buffer; in acm_probe()
1443 if (cfd) { /* export the country data */ in acm_probe()
1444 acm->country_codes = kmalloc(cfd->bLength - 4, GFP_KERNEL); in acm_probe()
1447 acm->country_code_size = cfd->bLength - 4; in acm_probe()
1448 memcpy(acm->country_codes, (u8 *)&cfd->wCountyCode0, in acm_probe()
1449 cfd->bLength - 4); in acm_probe()
1450 acm->country_rel_date = cfd->iCountryCodeRelDate; in acm_probe()