/Linux-v5.4/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic_io.c | 302 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-v5.4/sound/sparc/ |
D | dbri.c | 285 int first_desc; /* Index of first descriptor */ member 770 dbri->pipes[n].desc = dbri->pipes[n].first_desc = -1; in dbri_initialize() 847 desc = dbri->pipes[pipe].first_desc; in reset_pipe() 853 } while (desc != -1 && desc != dbri->pipes[pipe].first_desc); in reset_pipe() 856 dbri->pipes[pipe].first_desc = -1; in reset_pipe() 885 dbri->pipes[pipe].first_desc = -1; in setup_pipe() 1093 int first_desc = -1; in setup_descs() local 1137 desc = dbri->pipes[info->pipe].first_desc; in setup_descs() 1144 desc != dbri->pipes[info->pipe].first_desc); in setup_descs() 1147 dbri->pipes[info->pipe].first_desc = -1; in setup_descs() [all …]
|
/Linux-v5.4/drivers/net/ethernet/samsung/sxgbe/ |
D | sxgbe_main.c | 1238 struct sxgbe_tx_norm_desc *first_desc, in sxgbe_tso_prepare() argument 1247 first_desc->tdes01 = dma_map_single(priv->device, skb->data, in sxgbe_tso_prepare() 1249 if (dma_mapping_error(priv->device, first_desc->tdes01)) in sxgbe_tso_prepare() 1252 first_desc->tdes23.tx_rd_des23.first_desc = 1; in sxgbe_tso_prepare() 1253 priv->hw->desc->tx_desc_enable_tse(first_desc, 1, total_hdr_len, in sxgbe_tso_prepare() 1275 struct sxgbe_tx_norm_desc *tx_desc, *first_desc; in sxgbe_xmit() local 1309 first_desc = tx_desc; in sxgbe_xmit() 1311 ctxt_desc = (struct sxgbe_tx_ctxt_desc *)first_desc; in sxgbe_xmit() 1332 first_desc = tqueue->dma_tx + entry; in sxgbe_xmit() 1336 sxgbe_tso_prepare(priv, first_desc, skb); in sxgbe_xmit() [all …]
|
D | sxgbe_desc.h | 52 u16 first_desc:1; member 116 u32 first_desc:1; member
|
D | sxgbe_desc.c | 42 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-v5.4/drivers/net/ethernet/qlogic/netxen/ |
D | netxen_nic_main.c | 1858 struct cmd_desc_type0 *first_desc, in netxen_tso_check() argument 1878 netxen_set_tx_vlan_tci(first_desc, vid); in netxen_tso_check() 1887 first_desc->mss = cpu_to_le16(skb_shinfo(skb)->gso_size); in netxen_tso_check() 1888 first_desc->total_hdr_length = hdr_len; in netxen_tso_check() 1890 first_desc->total_hdr_length += VLAN_HLEN; in netxen_tso_check() 1891 first_desc->tcp_hdr_offset = VLAN_HLEN; in netxen_tso_check() 1892 first_desc->ip_hdr_offset = VLAN_HLEN; in netxen_tso_check() 1921 first_desc->tcp_hdr_offset += skb_transport_offset(skb); in netxen_tso_check() 1922 first_desc->ip_hdr_offset += skb_network_offset(skb); in netxen_tso_check() 1923 netxen_set_tx_flags_opcode(first_desc, flags, opcode); in netxen_tso_check() [all …]
|
/Linux-v5.4/drivers/usb/gadget/udc/ |
D | gr_udc.h | 166 struct gr_dma_desc *first_desc; /* First in the chain */ member
|
D | gr_udc.c | 170 next = req->first_desc; in gr_seq_ep_show() 259 next = req->first_desc; in gr_free_dma_desc_chain() 269 req->first_desc = NULL; in gr_free_dma_desc_chain() 452 if (!req->first_desc) { in gr_add_dma_desc() 453 req->first_desc = desc; in gr_add_dma_desc() 482 req->first_desc = NULL; /* Signals that no allocation is done yet */ in gr_setup_out_desc_list() 503 req->first_desc->ctrl |= GR_DESC_OUT_CTRL_EN; in gr_setup_out_desc_list() 535 req->first_desc = NULL; /* Signals that no allocation is done yet */ in gr_setup_in_desc_list()
|
/Linux-v5.4/drivers/infiniband/hw/qib/ |
D | qib_user_sdma.c | 87 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() 1221 if (pkt->addr[idx].first_desc) in qib_user_sdma_send_frag()
|
/Linux-v5.4/drivers/net/wireless/ath/wil6210/ |
D | txrx.c | 1742 *first_desc = &first_desc_mem; in __wil_tx_vring_tso() local 1896 d = first_desc; in __wil_tx_vring_tso() 1926 wil_tx_desc_set_nr_frags(first_desc, in __wil_tx_vring_tso() 1931 wil_tx_desc_set_nr_frags(first_desc, in __wil_tx_vring_tso() 1942 if (first_desc != d) in __wil_tx_vring_tso() 1943 *_first_desc = *first_desc; in __wil_tx_vring_tso() 1954 } else if (first_desc != d) /* update mid descriptor */ in __wil_tx_vring_tso() 1966 d = first_desc; in __wil_tx_vring_tso()
|
/Linux-v5.4/drivers/net/ethernet/natsemi/ |
D | ns83820.c | 1056 volatile __le32 *first_desc; local 1126 first_desc = dev->tx_descs + (free_idx * DESC_SIZE); 1140 cmdsts |= (desc == first_desc) ? 0 : CMDSTS_OWN; 1160 first_desc[DESC_CMDSTS] |= cpu_to_le32(CMDSTS_OWN);
|
/Linux-v5.4/drivers/net/ethernet/marvell/ |
D | mv643xx_eth.c | 779 u32 *first_cmd_sts, bool first_desc) in txq_put_hdr_tso() argument 810 if (first_desc) in txq_put_hdr_tso() 844 bool first_desc = (desc_count == 0); in txq_submit_tso() local 855 first_desc); in txq_submit_tso()
|
/Linux-v5.4/drivers/net/ethernet/micrel/ |
D | ksz884x.c | 833 u32 first_desc:1; member 863 u32 first_desc:1; 5050 if (status.rx.last_desc && status.rx.first_desc) { in dev_rcv_packets() 5095 if (status.rx.last_desc && status.rx.first_desc) { in port_rcv_packets() 5140 if (status.rx.last_desc && status.rx.first_desc) { in dev_rcv_special()
|