/openbmc/linux/drivers/net/ethernet/google/gve/ |
H A D | gve_tx.c | 444 static void gve_tx_fill_pkt_desc(union gve_tx_desc *pkt_desc, in gve_tx_fill_pkt_desc() argument 451 pkt_desc->pkt.type_flags = GVE_TXD_TSO | GVE_TXF_L4CSUM; in gve_tx_fill_pkt_desc() 452 pkt_desc->pkt.l4_csum_offset = csum_offset >> 1; in gve_tx_fill_pkt_desc() 453 pkt_desc->pkt.l4_hdr_offset = l4_hdr_offset >> 1; in gve_tx_fill_pkt_desc() 455 pkt_desc->pkt.type_flags = GVE_TXD_STD | GVE_TXF_L4CSUM; in gve_tx_fill_pkt_desc() 456 pkt_desc->pkt.l4_csum_offset = csum_offset >> 1; in gve_tx_fill_pkt_desc() 457 pkt_desc->pkt.l4_hdr_offset = l4_hdr_offset >> 1; in gve_tx_fill_pkt_desc() 459 pkt_desc->pkt.type_flags = GVE_TXD_STD; in gve_tx_fill_pkt_desc() 460 pkt_desc->pkt.l4_csum_offset = 0; in gve_tx_fill_pkt_desc() 461 pkt_desc->pkt.l4_hdr_offset = 0; in gve_tx_fill_pkt_desc() [all …]
|
/openbmc/linux/sound/firewire/ |
H A D | amdtp-stream.h | 104 struct pkt_desc { struct 115 const struct pkt_desc *desc, argument 132 struct pkt_desc *packet_descs; 134 struct pkt_desc *packet_descs_cursor;
|
H A D | amdtp-am824.c | 347 static void process_it_ctx_payloads(struct amdtp_stream *s, const struct pkt_desc *desc, in process_it_ctx_payloads() 374 static void process_ir_ctx_payloads(struct amdtp_stream *s, const struct pkt_desc *desc, in process_ir_ctx_payloads()
|
H A D | amdtp-stream.c | 521 static void cache_seq(struct amdtp_stream *s, const struct pkt_desc *src, unsigned int desc_count) in cache_seq() 918 static int generate_tx_packet_descs(struct amdtp_stream *s, struct pkt_desc *desc, in generate_tx_packet_descs() 1014 static void generate_rx_packet_descs(struct amdtp_stream *s, struct pkt_desc *desc, in generate_rx_packet_descs() 1068 const struct pkt_desc *desc, unsigned int count) in compute_pcm_extra_delay() 1125 const struct pkt_desc *desc, in process_ctx_payloads() 1156 struct pkt_desc *desc = s->packet_descs_cursor; in process_rx_packets() 1316 struct pkt_desc *desc = s->packet_descs_cursor; in process_tx_packets() 1668 struct pkt_desc *descs; in amdtp_stream_start() 1794 s->packet_descs_cursor = list_first_entry(&s->packet_descs_list, struct pkt_desc, link); in amdtp_stream_start()
|
/openbmc/linux/drivers/net/wan/ |
H A D | hd64570.c | 108 return desc_abs_number(port, desc, transmit) * sizeof(pkt_desc); in desc_offset() 111 static inline pkt_desc __iomem *desc_address(port_t *port, u16 desc, in desc_address() 115 return (pkt_desc __iomem *)(win0base(port_to_card(port)) in desc_address() 118 return (pkt_desc __iomem *)(winbase(port_to_card(port)) in desc_address() 165 pkt_desc __iomem *desc = desc_address(port, i, transmit); in sca_init_port() 237 static inline void sca_rx(card_t *card, port_t *port, pkt_desc __iomem *desc, in sca_rx() 301 pkt_desc __iomem *desc; in sca_rx_intr() 304 if (cda >= desc_off && (cda < desc_off + sizeof(pkt_desc))) in sca_rx_intr() 352 pkt_desc __iomem *desc; in sca_tx_intr() 357 if (cda >= desc_off && (cda < desc_off + sizeof(pkt_desc))) in sca_tx_intr() [all …]
|
H A D | hd64572.c | 87 return desc_abs_number(port, desc, transmit) * sizeof(pkt_desc); in desc_offset() 90 static inline pkt_desc __iomem *desc_address(port_t *port, u16 desc, in desc_address() 93 return (pkt_desc __iomem *)(port->card->rambase + in desc_address() 135 pkt_desc __iomem *desc = desc_address(port, i, transmit); in sca_init_port() 193 static inline void sca_rx(card_t *card, port_t *port, pkt_desc __iomem *desc, in sca_rx() 241 pkt_desc __iomem *desc; in sca_rx_done() 244 if ((cda >= desc_off) && (cda < desc_off + sizeof(pkt_desc))) in sca_rx_done() 294 pkt_desc __iomem *desc = desc_address(port, port->txlast, 1); in sca_tx_done() 568 pkt_desc __iomem *desc; in sca_xmit()
|
H A D | pci200syn.c | 336 i = ramsize / (2 * (sizeof(pkt_desc) + HDLC_MAX_MRU)); in pci200_pci_init_one() 340 card->buff_offset = 2 * sizeof(pkt_desc) * (card->tx_ring_buffers + in pci200_pci_init_one()
|
H A D | hd64570.h | 157 }__packed pkt_desc; typedef
|
H A D | pc300too.c | 391 i = ramsize / (card->n_ports * (sizeof(pkt_desc) + HDLC_MAX_MRU)); in pc300_pci_init_one() 395 card->buff_offset = card->n_ports * sizeof(pkt_desc) * in pc300_pci_init_one()
|
H A D | n2.c | 410 i = card->ram_size / ((valid0 + valid1) * (sizeof(pkt_desc) + in n2_run() 416 card->buff_offset = (valid0 + valid1) * sizeof(pkt_desc) * in n2_run()
|
H A D | hd64572.h | 184 }pkt_desc; typedef
|
H A D | c101.c | 46 (sizeof(pkt_desc) + HDLC_MAX_MRU) - TX_RING_BUFFERS)
|
/openbmc/linux/sound/firewire/motu/ |
H A D | amdtp-motu.c | 287 static void probe_tracepoints_events(struct amdtp_stream *s, const struct pkt_desc *desc, in probe_tracepoints_events() 331 static void process_ir_ctx_payloads(struct amdtp_stream *s, const struct pkt_desc *desc, in process_ir_ctx_payloads() 336 const struct pkt_desc *cursor = desc; in process_ir_ctx_payloads() 395 static void process_it_ctx_payloads(struct amdtp_stream *s, const struct pkt_desc *desc, in process_it_ctx_payloads() 399 const struct pkt_desc *cursor = desc; in process_it_ctx_payloads()
|
H A D | motu.h | 283 const struct pkt_desc *descs, unsigned int count); 294 const struct pkt_desc *descs, unsigned int count);
|
H A D | motu-command-dsp-message-parser.c | 84 const struct pkt_desc *desc, unsigned int count) in snd_motu_command_dsp_message_parser_parse()
|
H A D | motu-register-dsp-message-parser.c | 146 const struct pkt_desc *desc, unsigned int count) in snd_motu_register_dsp_message_parser_parse()
|
/openbmc/linux/drivers/net/ethernet/fungible/funeth/ |
H A D | funeth_tx.c | 441 unsigned int pkt_desc = fun_unmap_pkt(q, reclaim_idx); in fun_txq_reclaim() local 444 trace_funeth_tx_free(q, reclaim_idx, pkt_desc, head); in fun_txq_reclaim() 448 ndesc += pkt_desc; in fun_txq_reclaim() 449 reclaim_idx = (reclaim_idx + pkt_desc) & q->mask; in fun_txq_reclaim() 498 unsigned int pkt_desc = fun_unmap_pkt(q, reclaim_idx); in fun_xdpq_clean() local 502 trace_funeth_tx_free(q, reclaim_idx, pkt_desc, head); in fun_xdpq_clean() 504 reclaim_idx = (reclaim_idx + pkt_desc) & q->mask; in fun_xdpq_clean() 505 ndesc += pkt_desc; in fun_xdpq_clean()
|
/openbmc/linux/drivers/net/usb/ |
H A D | aqc111.c | 1056 static void aqc111_rx_checksum(struct sk_buff *skb, u64 pkt_desc) in aqc111_rx_checksum() argument 1062 if (pkt_desc & AQ_RX_PD_L4_ERR || pkt_desc & AQ_RX_PD_L3_ERR) in aqc111_rx_checksum() 1065 pkt_type = pkt_desc & AQ_RX_PD_L4_TYPE_MASK; in aqc111_rx_checksum() 1121 u64 pkt_desc = le64_to_cpup(pkt_desc_ptr); in aqc111_rx_fixup() local 1125 pkt_len = (u32)((pkt_desc & AQ_RX_PD_LEN_MASK) >> in aqc111_rx_fixup() 1135 if (pkt_desc & AQ_RX_PD_DROP || in aqc111_rx_fixup() 1136 !(pkt_desc & AQ_RX_PD_RX_OK) || in aqc111_rx_fixup() 1154 aqc111_rx_checksum(new_skb, pkt_desc); in aqc111_rx_fixup() 1156 if (pkt_desc & AQ_RX_PD_VLAN) { in aqc111_rx_fixup() 1157 vlan_tag = pkt_desc >> AQ_RX_PD_VLAN_SHIFT; in aqc111_rx_fixup()
|
/openbmc/linux/sound/firewire/fireface/ |
H A D | amdtp-ff.c | 115 static void process_it_ctx_payloads(struct amdtp_stream *s, const struct pkt_desc *desc, in process_it_ctx_payloads() 136 static void process_ir_ctx_payloads(struct amdtp_stream *s, const struct pkt_desc *desc, in process_ir_ctx_payloads()
|
/openbmc/linux/sound/firewire/tascam/ |
H A D | amdtp-tascam.c | 179 static void process_ir_ctx_payloads(struct amdtp_stream *s, const struct pkt_desc *desc, in process_ir_ctx_payloads() 200 static void process_it_ctx_payloads(struct amdtp_stream *s, const struct pkt_desc *desc, in process_it_ctx_payloads()
|
/openbmc/linux/drivers/net/wireless/realtek/rtw88/ |
H A D | sdio.c | 841 u8 *pkt_desc; in rtw_sdio_tx_skb_prepare() local 843 pkt_desc = skb_push(skb, chip->tx_pkt_desc_sz); in rtw_sdio_tx_skb_prepare() 845 data_addr = (unsigned long)pkt_desc; in rtw_sdio_tx_skb_prepare() 854 pkt_desc = skb_push(skb, offset); in rtw_sdio_tx_skb_prepare() 863 memset(pkt_desc, 0, chip->tx_pkt_desc_sz); in rtw_sdio_tx_skb_prepare() 868 rtw_tx_fill_txdesc_checksum(rtwdev, pkt_info, pkt_desc); in rtw_sdio_tx_skb_prepare()
|
H A D | usb.c | 516 u8 *pkt_desc; in rtw_usb_tx_write() local 520 pkt_desc = skb_push(skb, chip->tx_pkt_desc_sz); in rtw_usb_tx_write() 521 memset(pkt_desc, 0, chip->tx_pkt_desc_sz); in rtw_usb_tx_write()
|
H A D | pci.c | 811 u8 *pkt_desc; in rtw_pci_tx_write_data() local 823 pkt_desc = skb_push(skb, chip->tx_pkt_desc_sz); in rtw_pci_tx_write_data() 824 memset(pkt_desc, 0, tx_pkt_desc_sz); in rtw_pci_tx_write_data()
|
H A D | fw.c | 1199 u8 *pkt_desc; in rtw_fill_rsvd_page_desc() local 1202 pkt_desc = skb_push(skb, chip->tx_pkt_desc_sz); in rtw_fill_rsvd_page_desc() 1203 memset(pkt_desc, 0, chip->tx_pkt_desc_sz); in rtw_fill_rsvd_page_desc()
|
/openbmc/linux/sound/firewire/digi00x/ |
H A D | amdtp-dot.c | 344 static void process_ir_ctx_payloads(struct amdtp_stream *s, const struct pkt_desc *desc, in process_ir_ctx_payloads() 365 static void process_it_ctx_payloads(struct amdtp_stream *s, const struct pkt_desc *desc, in process_it_ctx_payloads()
|