Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/net/ethernet/google/gve/
Dgve_tx.c353 static void gve_tx_fill_pkt_desc(union gve_tx_desc *pkt_desc, in gve_tx_fill_pkt_desc() argument
360 pkt_desc->pkt.type_flags = GVE_TXD_TSO | GVE_TXF_L4CSUM; in gve_tx_fill_pkt_desc()
361 pkt_desc->pkt.l4_csum_offset = skb->csum_offset >> 1; in gve_tx_fill_pkt_desc()
362 pkt_desc->pkt.l4_hdr_offset = l4_hdr_offset >> 1; in gve_tx_fill_pkt_desc()
364 pkt_desc->pkt.type_flags = GVE_TXD_STD | 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; in gve_tx_fill_pkt_desc()
369 pkt_desc->pkt.l4_csum_offset = 0; in gve_tx_fill_pkt_desc()
370 pkt_desc->pkt.l4_hdr_offset = 0; in gve_tx_fill_pkt_desc()
[all …]
/Linux-v5.10/sound/firewire/fireface/
Damdtp-ff.c116 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()
/Linux-v5.10/drivers/net/wan/
Dhd64570.c105 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 __iomem *desc, in sca_rx()
304 pkt_desc __iomem *desc; in sca_rx_intr()
307 if ((cda >= desc_off) && (cda < desc_off + sizeof(pkt_desc))) in sca_rx_intr()
355 pkt_desc __iomem *desc; in sca_tx_intr()
359 if ((cda >= desc_off) && (cda < desc_off + sizeof(pkt_desc))) in sca_tx_intr()
[all …]
Dhd64572.c88 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 __iomem *desc; in sca_rx_done()
251 if ((cda >= desc_off) && (cda < desc_off + sizeof(pkt_desc))) in sca_rx_done()
302 pkt_desc __iomem *desc = desc_address(port, port->txlast, 1); in sca_tx_done()
566 pkt_desc __iomem *desc; in sca_xmit()
Dhd64570.h157 }__packed pkt_desc; typedef
Dpci200syn.c348 i = ramsize / (2 * (sizeof(pkt_desc) + HDLC_MAX_MRU)); in pci200_pci_init_one()
352 card->buff_offset = 2 * sizeof(pkt_desc) * (card->tx_ring_buffers + in pci200_pci_init_one()
Dpc300too.c404 i = ramsize / (card->n_ports * (sizeof(pkt_desc) + HDLC_MAX_MRU)); in pc300_pci_init_one()
408 card->buff_offset = card->n_ports * sizeof(pkt_desc) * in pc300_pci_init_one()
Dn2.c423 i = card->ram_size / ((valid0 + valid1) * (sizeof(pkt_desc) + in n2_run()
429 card->buff_offset = (valid0 + valid1) * sizeof(pkt_desc) * in n2_run()
Dhd64572.h184 }pkt_desc; typedef
Dc101.c47 (sizeof(pkt_desc) + HDLC_MAX_MRU) - TX_RING_BUFFERS)
/Linux-v5.10/sound/firewire/
Damdtp-stream.h97 struct pkt_desc { struct
108 const struct pkt_desc *desc, argument
124 struct pkt_desc *pkt_descs;
Damdtp-am824.c350 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()
Damdtp-stream.c699 struct pkt_desc *descs, in generate_device_pkt_descs()
708 struct pkt_desc *desc = descs + i; in generate_device_pkt_descs()
751 static void generate_pkt_descs(struct amdtp_stream *s, struct pkt_desc *descs, in generate_pkt_descs()
761 struct pkt_desc *desc = descs + i; in generate_pkt_descs()
804 const struct pkt_desc *descs, in process_ctx_payloads()
840 const struct pkt_desc *desc = s->pkt_descs + i; in out_stream_callback()
/Linux-v5.10/sound/firewire/tascam/
Damdtp-tascam.c180 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()
/Linux-v5.10/sound/firewire/motu/
Damdtp-motu.c310 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()
/Linux-v5.10/sound/firewire/digi00x/
Damdtp-dot.c345 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()
/Linux-v5.10/drivers/net/usb/
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()
1116 u64 pkt_desc = le64_to_cpup(pkt_desc_ptr); in aqc111_rx_fixup() local
1120 pkt_len = (u32)((pkt_desc & AQ_RX_PD_LEN_MASK) >> in aqc111_rx_fixup()
1130 if (pkt_desc & AQ_RX_PD_DROP || in aqc111_rx_fixup()
1131 !(pkt_desc & AQ_RX_PD_RX_OK) || in aqc111_rx_fixup()
1151 aqc111_rx_checksum(new_skb, pkt_desc); in aqc111_rx_fixup()
1153 if (pkt_desc & AQ_RX_PD_VLAN) { in aqc111_rx_fixup()
1154 vlan_tag = pkt_desc >> AQ_RX_PD_VLAN_SHIFT; in aqc111_rx_fixup()
/Linux-v5.10/drivers/net/wireless/realtek/rtw88/
Dpci.c742 u8 *pkt_desc; in rtw_pci_tx_write_data() local
754 pkt_desc = skb_push(skb, chip->tx_pkt_desc_sz); in rtw_pci_tx_write_data()
755 memset(pkt_desc, 0, tx_pkt_desc_sz); in rtw_pci_tx_write_data()
Dfw.c937 u8 *pkt_desc; in rtw_fill_rsvd_page_desc() local
940 pkt_desc = skb_push(skb, chip->tx_pkt_desc_sz); in rtw_fill_rsvd_page_desc()
941 memset(pkt_desc, 0, chip->tx_pkt_desc_sz); in rtw_fill_rsvd_page_desc()