Home
last modified time | relevance | path

Searched refs:first_desc (Results 1 – 15 of 15) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_io.c302 struct cmd_desc_type0 *first_desc, in qlcnic_send_filter() argument
371 struct cmd_desc_type0 *first_desc, in qlcnic_tx_encap_pkt() argument
392 first_desc->outer_hdr_length = outer_hdr_len; in qlcnic_tx_encap_pkt()
396 first_desc->mss = cpu_to_le16(skb_shinfo(skb)->gso_size); in qlcnic_tx_encap_pkt()
397 first_desc->hdr_length = inner_hdr_len; in qlcnic_tx_encap_pkt()
447 first_desc->encap_descr = cpu_to_le16(encap_descr); in qlcnic_tx_encap_pkt()
449 first_desc->tcp_hdr_offset = skb_inner_transport_header(skb) - in qlcnic_tx_encap_pkt()
451 first_desc->ip_hdr_offset = skb_inner_network_offset(skb); in qlcnic_tx_encap_pkt()
453 qlcnic_set_tx_flags_opcode(first_desc, flags, opcode); in qlcnic_tx_encap_pkt()
459 struct cmd_desc_type0 *first_desc, struct sk_buff *skb, in qlcnic_tx_pkt() argument
[all …]
/linux-6.1.9/sound/sparc/
Ddbri.c284 int first_desc; /* Index of first descriptor */ member
769 dbri->pipes[n].desc = dbri->pipes[n].first_desc = -1; in dbri_initialize()
846 desc = dbri->pipes[pipe].first_desc; in reset_pipe()
852 } while (desc != -1 && desc != dbri->pipes[pipe].first_desc); in reset_pipe()
855 dbri->pipes[pipe].first_desc = -1; in reset_pipe()
884 dbri->pipes[pipe].first_desc = -1; in setup_pipe()
1092 int first_desc = -1; in setup_descs() local
1136 desc = dbri->pipes[info->pipe].first_desc; in setup_descs()
1143 desc != dbri->pipes[info->pipe].first_desc); in setup_descs()
1146 dbri->pipes[info->pipe].first_desc = -1; in setup_descs()
[all …]
/linux-6.1.9/drivers/net/ethernet/ti/
Dam65-cpsw-nuss.c810 struct cppi5_host_desc_t *first_desc, *next_desc; in am65_cpsw_nuss_xmit_free() local
814 first_desc = desc; in am65_cpsw_nuss_xmit_free()
815 next_desc = first_desc; in am65_cpsw_nuss_xmit_free()
817 cppi5_hdesc_get_obuf(first_desc, &buf_dma, &buf_dma_len); in am65_cpsw_nuss_xmit_free()
822 next_desc_dma = cppi5_hdesc_get_next_hbdesc(first_desc); in am65_cpsw_nuss_xmit_free()
839 k3_cppi_desc_pool_free(tx_chn->desc_pool, first_desc); in am65_cpsw_nuss_xmit_free()
1041 struct cppi5_host_desc_t *first_desc, *next_desc, *cur_desc; in am65_cpsw_nuss_ndo_slave_xmit() local
1074 first_desc = k3_cppi_desc_pool_alloc(tx_chn->desc_pool); in am65_cpsw_nuss_ndo_slave_xmit()
1075 if (!first_desc) { in am65_cpsw_nuss_ndo_slave_xmit()
1082 cppi5_hdesc_init(first_desc, CPPI5_INFO0_HDESC_EPIB_PRESENT, in am65_cpsw_nuss_ndo_slave_xmit()
[all …]
/linux-6.1.9/drivers/net/ethernet/google/gve/
Dgve_rx.c544 struct gve_rx_desc *first_desc; in gve_rx() local
555 first_desc = &rx->desc.desc_ring[idx]; in gve_rx()
556 desc = first_desc; in gve_rx()
597 if (first_desc->csum) in gve_rx()
601 skb->csum = csum_unfold(first_desc->csum); in gve_rx()
606 gve_needs_rss(first_desc->flags_seq)) in gve_rx()
607 skb_set_hash(skb, be32_to_cpu(first_desc->rss_hash), in gve_rx()
608 gve_rss_type(first_desc->flags_seq)); in gve_rx()
/linux-6.1.9/drivers/net/ethernet/samsung/sxgbe/
Dsxgbe_main.c1247 struct sxgbe_tx_norm_desc *first_desc, in sxgbe_tso_prepare() argument
1256 first_desc->tdes01 = dma_map_single(priv->device, skb->data, in sxgbe_tso_prepare()
1258 if (dma_mapping_error(priv->device, first_desc->tdes01)) in sxgbe_tso_prepare()
1261 first_desc->tdes23.tx_rd_des23.first_desc = 1; in sxgbe_tso_prepare()
1262 priv->hw->desc->tx_desc_enable_tse(first_desc, 1, total_hdr_len, in sxgbe_tso_prepare()
1284 struct sxgbe_tx_norm_desc *tx_desc, *first_desc; in sxgbe_xmit() local
1318 first_desc = tx_desc; in sxgbe_xmit()
1320 ctxt_desc = (struct sxgbe_tx_ctxt_desc *)first_desc; in sxgbe_xmit()
1341 first_desc = tqueue->dma_tx + entry; in sxgbe_xmit()
1345 sxgbe_tso_prepare(priv, first_desc, skb); in sxgbe_xmit()
[all …]
Dsxgbe_desc.h52 u16 first_desc:1; member
116 u32 first_desc:1; member
Dsxgbe_desc.c42 p->tdes23.tx_rd_des23.first_desc = is_fd; in sxgbe_prepare_tx_desc()
248 return p->rdes23.rx_wb_des23.first_desc; in sxgbe_get_rx_fd_status()
/linux-6.1.9/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic_main.c1852 struct cmd_desc_type0 *first_desc, in netxen_tso_check() argument
1872 netxen_set_tx_vlan_tci(first_desc, vid); in netxen_tso_check()
1881 first_desc->mss = cpu_to_le16(skb_shinfo(skb)->gso_size); in netxen_tso_check()
1882 first_desc->total_hdr_length = hdr_len; in netxen_tso_check()
1884 first_desc->total_hdr_length += VLAN_HLEN; in netxen_tso_check()
1885 first_desc->tcp_hdr_offset = VLAN_HLEN; in netxen_tso_check()
1886 first_desc->ip_hdr_offset = VLAN_HLEN; in netxen_tso_check()
1915 first_desc->tcp_hdr_offset += skb_transport_offset(skb); in netxen_tso_check()
1916 first_desc->ip_hdr_offset += skb_network_offset(skb); in netxen_tso_check()
1917 netxen_set_tx_flags_opcode(first_desc, flags, opcode); in netxen_tso_check()
[all …]
/linux-6.1.9/drivers/usb/gadget/udc/
Dgr_udc.c170 next = req->first_desc; in gr_seq_ep_show()
260 next = req->first_desc; in gr_free_dma_desc_chain()
270 req->first_desc = NULL; in gr_free_dma_desc_chain()
453 if (!req->first_desc) { in gr_add_dma_desc()
454 req->first_desc = desc; in gr_add_dma_desc()
483 req->first_desc = NULL; /* Signals that no allocation is done yet */ in gr_setup_out_desc_list()
504 req->first_desc->ctrl |= GR_DESC_OUT_CTRL_EN; in gr_setup_out_desc_list()
536 req->first_desc = NULL; /* Signals that no allocation is done yet */ in gr_setup_in_desc_list()
Dgr_udc.h166 struct gr_dma_desc *first_desc; /* First in the chain */ member
/linux-6.1.9/drivers/infiniband/hw/qib/
Dqib_user_sdma.c87 u16 first_desc; /* first desc */ member
256 u16 first_desc, u16 last_desc, in qib_user_sdma_init_frag() argument
263 pkt->addr[i].first_desc = first_desc; in qib_user_sdma_init_frag()
1234 if (pkt->addr[idx].first_desc) in qib_user_sdma_send_frag()
/linux-6.1.9/drivers/net/wireless/ath/wil6210/
Dtxrx.c1737 *first_desc = &first_desc_mem; in __wil_tx_vring_tso() local
1889 d = first_desc; in __wil_tx_vring_tso()
1919 wil_tx_desc_set_nr_frags(first_desc, in __wil_tx_vring_tso()
1924 wil_tx_desc_set_nr_frags(first_desc, in __wil_tx_vring_tso()
1935 if (first_desc != d) in __wil_tx_vring_tso()
1936 *_first_desc = *first_desc; in __wil_tx_vring_tso()
1947 } else if (first_desc != d) /* update mid descriptor */ in __wil_tx_vring_tso()
1959 d = first_desc; in __wil_tx_vring_tso()
/linux-6.1.9/drivers/net/ethernet/natsemi/
Dns83820.c1054 volatile __le32 *first_desc; local
1125 first_desc = dev->tx_descs + (free_idx * DESC_SIZE);
1139 cmdsts |= (desc == first_desc) ? 0 : CMDSTS_OWN;
1159 first_desc[DESC_CMDSTS] |= cpu_to_le32(CMDSTS_OWN);
/linux-6.1.9/drivers/net/ethernet/marvell/
Dmv643xx_eth.c775 u32 *first_cmd_sts, bool first_desc) in txq_put_hdr_tso() argument
807 if (first_desc) in txq_put_hdr_tso()
840 bool first_desc = (desc_count == 0); in txq_submit_tso() local
851 first_desc); in txq_submit_tso()
/linux-6.1.9/drivers/net/ethernet/micrel/
Dksz884x.c765 u32 first_desc:1; member
795 u32 first_desc:1;
4973 if (status.rx.last_desc && status.rx.first_desc) { in dev_rcv_packets()
5018 if (status.rx.last_desc && status.rx.first_desc) { in port_rcv_packets()
5063 if (status.rx.last_desc && status.rx.first_desc) { in dev_rcv_special()