Lines Matching refs:pkt_info
429 const struct dpmaif_pit *pkt_info, in t7xx_dpmaif_set_frag_to_skb() argument
439 page_info += t7xx_normal_pit_bid(pkt_info); in t7xx_dpmaif_set_frag_to_skb()
445 data_bus_addr = le32_to_cpu(pkt_info->pd.data_addr_h); in t7xx_dpmaif_set_frag_to_skb()
446 data_bus_addr = (data_bus_addr << 32) + le32_to_cpu(pkt_info->pd.data_addr_l); in t7xx_dpmaif_set_frag_to_skb()
450 data_len = FIELD_GET(PD_PIT_DATA_LEN, le32_to_cpu(pkt_info->header)); in t7xx_dpmaif_set_frag_to_skb()
461 const struct dpmaif_pit *pkt_info, in t7xx_dpmaif_get_frag() argument
464 unsigned int cur_bid = t7xx_normal_pit_bid(pkt_info); in t7xx_dpmaif_get_frag()
471 ret = t7xx_dpmaif_set_frag_to_skb(rxq, pkt_info, skb_info->cur_skb); in t7xx_dpmaif_get_frag()
659 const struct dpmaif_pit *pkt_info, in t7xx_dpmaif_set_data_to_skb() argument
670 bat_skb += t7xx_normal_pit_bid(pkt_info); in t7xx_dpmaif_set_data_to_skb()
673 data_bus_addr = le32_to_cpu(pkt_info->pd.data_addr_h); in t7xx_dpmaif_set_data_to_skb()
674 data_bus_addr = (data_bus_addr << 32) + le32_to_cpu(pkt_info->pd.data_addr_l); in t7xx_dpmaif_set_data_to_skb()
677 data_len = FIELD_GET(PD_PIT_DATA_LEN, le32_to_cpu(pkt_info->header)); in t7xx_dpmaif_set_data_to_skb()
695 const struct dpmaif_pit *pkt_info, in t7xx_dpmaif_get_rx_pkt() argument
698 unsigned int cur_bid = t7xx_normal_pit_bid(pkt_info); in t7xx_dpmaif_get_rx_pkt()
705 ret = t7xx_dpmaif_set_data_to_skb(rxq, pkt_info, skb_info); in t7xx_dpmaif_get_rx_pkt()
777 struct dpmaif_pit *pkt_info; in t7xx_dpmaif_rx_start() local
783 pkt_info = (struct dpmaif_pit *)rxq->pit_base + cur_pit; in t7xx_dpmaif_rx_start()
784 if (t7xx_dpmaif_check_pit_seq(rxq, pkt_info)) { in t7xx_dpmaif_rx_start()
789 val = FIELD_GET(PD_PIT_PACKET_TYPE, le32_to_cpu(pkt_info->header)); in t7xx_dpmaif_rx_start()
795 t7xx_dpmaif_parse_msg_pit(rxq, pkt_info, skb_info); in t7xx_dpmaif_rx_start()
797 val = FIELD_GET(PD_PIT_BUFFER_TYPE, le32_to_cpu(pkt_info->header)); in t7xx_dpmaif_rx_start()
799 ret = t7xx_dpmaif_get_rx_pkt(rxq, pkt_info, skb_info); in t7xx_dpmaif_rx_start()
803 ret = t7xx_dpmaif_get_frag(rxq, pkt_info, skb_info); in t7xx_dpmaif_rx_start()
810 val = FIELD_GET(PD_PIT_CONT, le32_to_cpu(pkt_info->header)); in t7xx_dpmaif_rx_start()