/kernel/linux/linux-5.10/drivers/net/ethernet/google/gve/ |
H A D | gve_tx.c | 357 static void gve_tx_fill_pkt_desc(union gve_tx_desc *pkt_desc, in gve_tx_fill_pkt_desc() argument 364 pkt_desc->pkt.type_flags = GVE_TXD_TSO | GVE_TXF_L4CSUM; in gve_tx_fill_pkt_desc() 365 pkt_desc->pkt.l4_csum_offset = skb->csum_offset >> 1; in gve_tx_fill_pkt_desc() 366 pkt_desc->pkt.l4_hdr_offset = l4_hdr_offset >> 1; in gve_tx_fill_pkt_desc() 368 pkt_desc->pkt.type_flags = GVE_TXD_STD | GVE_TXF_L4CSUM; in gve_tx_fill_pkt_desc() 369 pkt_desc->pkt.l4_csum_offset = skb->csum_offset >> 1; in gve_tx_fill_pkt_desc() 370 pkt_desc->pkt.l4_hdr_offset = l4_hdr_offset >> 1; in gve_tx_fill_pkt_desc() 372 pkt_desc->pkt.type_flags = GVE_TXD_STD; in gve_tx_fill_pkt_desc() 373 pkt_desc->pkt.l4_csum_offset = 0; in gve_tx_fill_pkt_desc() 374 pkt_desc in gve_tx_fill_pkt_desc() 415 union gve_tx_desc *pkt_desc, *seg_desc; gve_tx_add_skb() local [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/google/gve/ |
H A D | gve_tx.c | 443 static void gve_tx_fill_pkt_desc(union gve_tx_desc *pkt_desc, in gve_tx_fill_pkt_desc() argument 450 pkt_desc->pkt.type_flags = GVE_TXD_TSO | GVE_TXF_L4CSUM; in gve_tx_fill_pkt_desc() 451 pkt_desc->pkt.l4_csum_offset = csum_offset >> 1; in gve_tx_fill_pkt_desc() 452 pkt_desc->pkt.l4_hdr_offset = l4_hdr_offset >> 1; in gve_tx_fill_pkt_desc() 454 pkt_desc->pkt.type_flags = GVE_TXD_STD | GVE_TXF_L4CSUM; in gve_tx_fill_pkt_desc() 455 pkt_desc->pkt.l4_csum_offset = csum_offset >> 1; in gve_tx_fill_pkt_desc() 456 pkt_desc->pkt.l4_hdr_offset = l4_hdr_offset >> 1; in gve_tx_fill_pkt_desc() 458 pkt_desc->pkt.type_flags = GVE_TXD_STD; in gve_tx_fill_pkt_desc() 459 pkt_desc->pkt.l4_csum_offset = 0; in gve_tx_fill_pkt_desc() 460 pkt_desc in gve_tx_fill_pkt_desc() 511 union gve_tx_desc *pkt_desc, *seg_desc; gve_tx_add_skb_copy() local 587 union gve_tx_desc *pkt_desc, *mtd_desc, *seg_desc; gve_tx_add_skb_no_copy() local [all...] |
/kernel/linux/linux-5.10/sound/firewire/fireface/ |
H A D | amdtp-ff.c | 116 const struct pkt_desc *descs, in process_it_ctx_payloads() 124 const struct pkt_desc *desc = descs + i; in process_it_ctx_payloads() 140 const struct pkt_desc *descs, in process_ir_ctx_payloads() 148 const struct pkt_desc *desc = descs + i; in process_ir_ctx_payloads()
|
/kernel/linux/linux-6.6/sound/firewire/ |
H A D | amdtp-stream.h | 100 struct pkt_desc { struct 111 const struct pkt_desc *desc, 128 struct pkt_desc *packet_descs; 130 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 | 514 static void cache_seq(struct amdtp_stream *s, const struct pkt_desc *src, unsigned int desc_count) in cache_seq() 905 static int generate_tx_packet_descs(struct amdtp_stream *s, struct pkt_desc *desc, in generate_tx_packet_descs() 1001 static void generate_rx_packet_descs(struct amdtp_stream *s, struct pkt_desc *desc, in generate_rx_packet_descs() 1055 const struct pkt_desc *desc, unsigned int count) in compute_pcm_extra_delay() 1112 const struct pkt_desc *desc, in process_ctx_payloads() 1143 struct pkt_desc *desc = s->packet_descs_cursor; in process_rx_packets() 1303 struct pkt_desc *desc = s->packet_descs_cursor; in process_tx_packets() 1655 struct pkt_desc *descs; in amdtp_stream_start() 1781 s->packet_descs_cursor = list_first_entry(&s->packet_descs_list, struct pkt_desc, link); in amdtp_stream_start()
|
/kernel/linux/linux-5.10/sound/firewire/tascam/ |
H A D | amdtp-tascam.c | 180 const struct pkt_desc *descs, in process_ir_ctx_payloads() 188 const struct pkt_desc *desc = descs + i; in process_ir_ctx_payloads() 204 const struct pkt_desc *descs, in process_it_ctx_payloads() 212 const struct pkt_desc *desc = descs + i; in process_it_ctx_payloads()
|
/kernel/linux/linux-5.10/drivers/net/wan/ |
H A D | hd64570.c | 12 * rx_ring_buffers * sizeof(pkt_desc) = logical channel #0 RX ring 13 * tx_ring_buffers * sizeof(pkt_desc) = logical channel #0 TX ring 14 * rx_ring_buffers * sizeof(pkt_desc) = logical channel #1 RX ring (if used) 15 * tx_ring_buffers * sizeof(pkt_desc) = logical channel #1 TX ring (if used) 105 return desc_abs_number(port, desc, transmit) * sizeof(pkt_desc); in desc_offset() 109 static inline pkt_desc __iomem *desc_address(port_t *port, u16 desc, in desc_address() 113 return (pkt_desc __iomem *)(win0base(port_to_card(port)) in desc_address() 116 return (pkt_desc __iomem *)(winbase(port_to_card(port)) in desc_address() 166 pkt_desc __iomem *desc = desc_address(port, i, transmit); in sca_init_port() 240 static inline void sca_rx(card_t *card, port_t *port, pkt_desc __iome [all...] |
H A D | hd64572.c | 12 * rx_ring_buffers * sizeof(pkt_desc) = logical channel #0 RX ring 13 * tx_ring_buffers * sizeof(pkt_desc) = logical channel #0 TX ring 14 * rx_ring_buffers * sizeof(pkt_desc) = logical channel #1 RX ring (if used) 15 * tx_ring_buffers * sizeof(pkt_desc) = logical channel #1 TX ring (if used) 88 return desc_abs_number(port, desc, transmit) * sizeof(pkt_desc); in desc_offset() 92 static inline pkt_desc __iomem *desc_address(port_t *port, u16 desc, in desc_address() 95 return (pkt_desc __iomem *)(port->card->rambase + in desc_address() 140 pkt_desc __iomem *desc = desc_address(port, i, transmit); in sca_init_port() 199 static inline void sca_rx(card_t *card, port_t *port, pkt_desc __iomem *desc, in sca_rx() 248 pkt_desc __iome in sca_rx_done() [all...] |
/kernel/linux/linux-6.6/drivers/net/wan/ |
H A D | hd64570.c | 12 * rx_ring_buffers * sizeof(pkt_desc) = logical channel #0 RX ring 13 * tx_ring_buffers * sizeof(pkt_desc) = logical channel #0 TX ring 14 * rx_ring_buffers * sizeof(pkt_desc) = logical channel #1 RX ring (if used) 15 * tx_ring_buffers * sizeof(pkt_desc) = logical channel #1 TX ring (if used) 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 __iome [all...] |
H A D | hd64572.c | 12 * rx_ring_buffers * sizeof(pkt_desc) = logical channel #0 RX ring 13 * tx_ring_buffers * sizeof(pkt_desc) = logical channel #0 TX ring 14 * rx_ring_buffers * sizeof(pkt_desc) = logical channel #1 RX ring (if used) 15 * tx_ring_buffers * sizeof(pkt_desc) = logical channel #1 TX ring (if used) 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 __iome in sca_rx_done() [all...] |
/kernel/linux/linux-5.10/sound/firewire/ |
H A D | amdtp-stream.h | 97 struct pkt_desc { struct 108 const struct pkt_desc *desc, 124 struct pkt_desc *pkt_descs;
|
H A D | amdtp-am824.c | 350 const struct pkt_desc *descs, in process_it_ctx_payloads() 359 const struct pkt_desc *desc = descs + i; in process_it_ctx_payloads() 380 const struct pkt_desc *descs, in process_ir_ctx_payloads() 389 const struct pkt_desc *desc = descs + i; in process_ir_ctx_payloads()
|
H A D | amdtp-stream.c | 705 struct pkt_desc *descs, in generate_device_pkt_descs() 716 struct pkt_desc *desc = descs + i; in generate_device_pkt_descs() 760 static void generate_pkt_descs(struct amdtp_stream *s, struct pkt_desc *descs, in generate_pkt_descs() 770 struct pkt_desc *desc = descs + i; in generate_pkt_descs() 813 const struct pkt_desc *descs, in process_ctx_payloads() 849 const struct pkt_desc *desc = s->pkt_descs + i; in out_stream_callback()
|
/kernel/linux/linux-5.10/sound/firewire/motu/ |
H A D | amdtp-motu.c | 310 const struct pkt_desc *descs, in probe_tracepoints_events() 316 const struct pkt_desc *desc = descs + i; in probe_tracepoints_events() 326 const struct pkt_desc *descs, in process_ir_ctx_payloads() 336 const struct pkt_desc *desc = descs + i; in process_ir_ctx_payloads() 400 const struct pkt_desc *descs, in process_it_ctx_payloads() 410 const struct pkt_desc *desc = descs + i; in process_it_ctx_payloads()
|
/kernel/linux/linux-5.10/sound/firewire/digi00x/ |
H A D | amdtp-dot.c | 345 const struct pkt_desc *descs, in process_ir_ctx_payloads() 353 const struct pkt_desc *desc = descs + i; in process_ir_ctx_payloads() 369 const struct pkt_desc *descs, in process_it_ctx_payloads() 377 const struct pkt_desc *desc = descs + i; in process_it_ctx_payloads()
|
/kernel/linux/linux-6.6/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);
|
/kernel/linux/linux-6.6/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()
|
/kernel/linux/linux-6.6/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()
|
/kernel/linux/linux-6.6/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()
|
/kernel/linux/linux-5.10/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() 1156 aqc111_rx_checksum(new_skb, pkt_desc); in aqc111_rx_fixup() 1158 if (pkt_desc in aqc111_rx_fixup() [all...] |
/kernel/linux/linux-6.6/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() 1156 aqc111_rx_checksum(new_skb, pkt_desc); in aqc111_rx_fixup() 1158 if (pkt_desc in aqc111_rx_fixup() [all...] |
/kernel/linux/linux-6.6/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()
|
/kernel/linux/linux-6.6/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() 849 /* Ensure that the start of the pkt_desc is always aligned at in rtw_sdio_tx_skb_prepare() 854 pkt_desc = skb_push(skb, offset); in rtw_sdio_tx_skb_prepare() 856 /* By inserting padding to align the start of the pkt_desc we 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()
|