Home
last modified time | relevance | path

Searched refs:pkt_desc (Results 1 – 25 of 25) sorted by relevance

/linux-6.15/drivers/net/ethernet/google/gve/
H A Dgve_tx.c505 pkt_desc->pkt.l4_csum_offset = csum_offset >> 1; in gve_tx_fill_pkt_desc()
512 pkt_desc->pkt.type_flags = GVE_TXD_STD; in gve_tx_fill_pkt_desc()
513 pkt_desc->pkt.l4_csum_offset = 0; in gve_tx_fill_pkt_desc()
514 pkt_desc->pkt.l4_hdr_offset = 0; in gve_tx_fill_pkt_desc()
516 pkt_desc->pkt.desc_cnt = desc_cnt; in gve_tx_fill_pkt_desc()
517 pkt_desc->pkt.len = cpu_to_be16(pkt_len); in gve_tx_fill_pkt_desc()
518 pkt_desc->pkt.seg_len = cpu_to_be16(hlen); in gve_tx_fill_pkt_desc()
519 pkt_desc->pkt.seg_addr = cpu_to_be64(addr); in gve_tx_fill_pkt_desc()
565 union gve_tx_desc *pkt_desc, *seg_desc; in gve_tx_add_skb_copy() local
576 pkt_desc = &tx->desc[idx]; in gve_tx_add_skb_copy()
[all …]
/linux-6.15/sound/firewire/
H A Damdtp-stream.h104 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 Damdtp-am824.c347 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 Damdtp-stream.c521 static void cache_seq(struct amdtp_stream *s, const struct pkt_desc *src, unsigned int desc_count) in cache_seq()
934 static int generate_tx_packet_descs(struct amdtp_stream *s, struct pkt_desc *desc, in generate_tx_packet_descs()
1030 static void generate_rx_packet_descs(struct amdtp_stream *s, struct pkt_desc *desc, in generate_rx_packet_descs()
1091 const struct pkt_desc *desc, unsigned int count) in compute_pcm_extra_delay()
1148 const struct pkt_desc *desc, in process_ctx_payloads()
1179 struct pkt_desc *desc = s->packet_descs_cursor; in process_rx_packets()
1336 struct pkt_desc *desc = s->packet_descs_cursor; in process_tx_packets()
1688 struct pkt_desc *descs; in amdtp_stream_start()
1814 s->packet_descs_cursor = list_first_entry(&s->packet_descs_list, struct pkt_desc, link); in amdtp_stream_start()
/linux-6.15/drivers/net/wan/
H A Dhd64570.c108 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 Dhd64572.c87 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 Dhd64570.h157 }__packed pkt_desc; typedef
H A Dpci200syn.c336 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 Dpc300too.c391 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 Dn2.c410 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 Dhd64572.h184 }pkt_desc; typedef
H A Dc101.c46 (sizeof(pkt_desc) + HDLC_MAX_MRU) - TX_RING_BUFFERS)
/linux-6.15/sound/firewire/motu/
H A Damdtp-motu.c287 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 Dmotu.h284 const struct pkt_desc *descs, unsigned int count);
295 const struct pkt_desc *descs, unsigned int count);
H A Dmotu-command-dsp-message-parser.c84 const struct pkt_desc *desc, unsigned int count) in snd_motu_command_dsp_message_parser_parse()
H A Dmotu-register-dsp-message-parser.c146 const struct pkt_desc *desc, unsigned int count) in snd_motu_register_dsp_message_parser_parse()
/linux-6.15/drivers/net/ethernet/fungible/funeth/
H A Dfuneth_tx.c441 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()
/linux-6.15/sound/firewire/fireface/
H A Damdtp-ff.c115 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()
/linux-6.15/drivers/net/usb/
H A Daqc111.c1056 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()
/linux-6.15/sound/firewire/tascam/
H A Damdtp-tascam.c179 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()
/linux-6.15/sound/firewire/digi00x/
H A Damdtp-dot.c344 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()
/linux-6.15/drivers/net/wireless/realtek/rtw88/
H A Dsdio.c841 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 Dusb.c523 u8 *pkt_desc; in rtw_usb_tx_write() local
527 pkt_desc = skb_push(skb, chip->tx_pkt_desc_sz); in rtw_usb_tx_write()
528 memset(pkt_desc, 0, chip->tx_pkt_desc_sz); in rtw_usb_tx_write()
H A Dpci.c812 u8 *pkt_desc; in rtw_pci_tx_write_data() local
824 pkt_desc = skb_push(skb, chip->tx_pkt_desc_sz); in rtw_pci_tx_write_data()
825 memset(pkt_desc, 0, tx_pkt_desc_sz); in rtw_pci_tx_write_data()
H A Dfw.c1302 u8 *pkt_desc; in rtw_fill_rsvd_page_desc() local
1305 pkt_desc = skb_push(skb, chip->tx_pkt_desc_sz); in rtw_fill_rsvd_page_desc()
1306 memset(pkt_desc, 0, chip->tx_pkt_desc_sz); in rtw_fill_rsvd_page_desc()