Home
last modified time | relevance | path

Searched refs:tx_pipe (Results 1 – 18 of 18) sorted by relevance

/linux-6.1.9/drivers/rpmsg/
Dqcom_glink_smem.c189 struct glink_smem_pipe *tx_pipe; in qcom_glink_smem_register() local
220 tx_pipe = devm_kzalloc(dev, sizeof(*tx_pipe), GFP_KERNEL); in qcom_glink_smem_register()
221 if (!rx_pipe || !tx_pipe) { in qcom_glink_smem_register()
247 tx_pipe->tail = &descs[0]; in qcom_glink_smem_register()
248 tx_pipe->head = &descs[1]; in qcom_glink_smem_register()
259 tx_pipe->fifo = qcom_smem_get(remote_pid, SMEM_GLINK_NATIVE_XPRT_FIFO_0, in qcom_glink_smem_register()
260 &tx_pipe->native.length); in qcom_glink_smem_register()
261 if (IS_ERR(tx_pipe->fifo)) { in qcom_glink_smem_register()
263 ret = PTR_ERR(tx_pipe->fifo); in qcom_glink_smem_register()
272 tx_pipe->native.avail = glink_smem_tx_avail; in qcom_glink_smem_register()
[all …]
Dqcom_glink_rpm.c261 struct glink_rpm_pipe *tx_pipe; in glink_rpm_probe() local
270 tx_pipe = devm_kzalloc(&pdev->dev, sizeof(*tx_pipe), GFP_KERNEL); in glink_rpm_probe()
271 if (!rx_pipe || !tx_pipe) in glink_rpm_probe()
286 rx_pipe, tx_pipe); in glink_rpm_probe()
294 tx_pipe->native.avail = glink_rpm_tx_avail; in glink_rpm_probe()
295 tx_pipe->native.write = glink_rpm_tx_write; in glink_rpm_probe()
297 writel(0, tx_pipe->head); in glink_rpm_probe()
303 &tx_pipe->native, in glink_rpm_probe()
Dqcom_glink_native.c105 struct qcom_glink_pipe *tx_pipe; member
296 return glink->tx_pipe->avail(glink->tx_pipe); in qcom_glink_tx_avail()
303 glink->tx_pipe->write(glink->tx_pipe, hdr, hlen, data, dlen); in qcom_glink_tx_write()
329 if (tlen >= glink->tx_pipe->length) in qcom_glink_tx()
1734 glink->tx_pipe = tx; in qcom_glink_native_probe()
/linux-6.1.9/drivers/net/ethernet/cavium/liquidio/
Dcn68xx_device.c71 u64 pktctl, tx_pipe, max_oqs; in lio_cn68xx_setup_pkt_ctl_regs() local
77 tx_pipe = octeon_read_csr64(oct, CN68XX_SLI_TX_PIPE); in lio_cn68xx_setup_pkt_ctl_regs()
78 tx_pipe &= 0xffffffffff00ffffULL; /* clear out NUMP field */ in lio_cn68xx_setup_pkt_ctl_regs()
79 tx_pipe |= max_oqs << 16; /* put max_oqs in NUMP field */ in lio_cn68xx_setup_pkt_ctl_regs()
80 octeon_write_csr64(oct, CN68XX_SLI_TX_PIPE, tx_pipe); in lio_cn68xx_setup_pkt_ctl_regs()
/linux-6.1.9/drivers/net/ethernet/ti/
Dnetcp_core.c1173 struct netcp_tx_pipe *tx_pipe = NULL; in netcp_tx_submit_skb() local
1184 p_info.tx_pipe = NULL; in netcp_tx_submit_skb()
1205 tx_pipe = p_info.tx_pipe; in netcp_tx_submit_skb()
1206 if (!tx_pipe) { in netcp_tx_submit_skb()
1232 if (!(tx_pipe->flags & SWITCH_TO_PORT_IN_TAGINFO)) { in netcp_tx_submit_skb()
1233 tmp |= ((tx_pipe->switch_to_port & KNAV_DMA_DESC_PSFLAG_MASK) << in netcp_tx_submit_skb()
1243 if (tx_pipe->flags & SWITCH_TO_PORT_IN_TAGINFO) { in netcp_tx_submit_skb()
1244 tmp = tx_pipe->switch_to_port; in netcp_tx_submit_skb()
1257 knav_queue_push(tx_pipe->dma_queue, dma, dma_sz, 0); in netcp_tx_submit_skb()
1316 int netcp_txpipe_close(struct netcp_tx_pipe *tx_pipe) in netcp_txpipe_close() argument
[all …]
Dnetcp.h135 struct netcp_tx_pipe *tx_pipe; member
221 int netcp_txpipe_init(struct netcp_tx_pipe *tx_pipe,
224 int netcp_txpipe_open(struct netcp_tx_pipe *tx_pipe);
225 int netcp_txpipe_close(struct netcp_tx_pipe *tx_pipe);
Dnetcp_ethss.c717 struct netcp_tx_pipe tx_pipe; member
763 struct netcp_tx_pipe tx_pipe; member
2876 p_info->tx_pipe = &gbe_intf->tx_pipe; in gbe_txhook()
2905 gbe_intf->tx_pipe.flags = SWITCH_TO_PORT_IN_TAGINFO; in gbe_open()
2908 gbe_intf->tx_pipe.switch_to_port = 0; in gbe_open()
2910 gbe_intf->tx_pipe.switch_to_port = port_num; in gbe_open()
2914 gbe_intf->tx_pipe.dma_chan_name, in gbe_open()
2915 gbe_intf->tx_pipe.dma_channel, in gbe_open()
2916 gbe_intf->tx_pipe.switch_to_port, in gbe_open()
2917 gbe_intf->tx_pipe.flags); in gbe_open()
[all …]
/linux-6.1.9/net/dccp/ccids/
Dccid2.c154 hc->tx_pipe = 0; in ccid2_hc_tx_rto_expire()
246 if (ccid2_do_cwv && !hc->tx_pipe && in ccid2_hc_tx_packet_sent()
251 hc->tx_pipe += 1; in ccid2_hc_tx_packet_sent()
259 if (hc->tx_pipe > hc->tx_cwnd_used) in ccid2_hc_tx_packet_sent()
260 hc->tx_cwnd_used = hc->tx_pipe; in ccid2_hc_tx_packet_sent()
285 ccid2_pr_debug("cwnd=%d pipe=%d\n", hc->tx_cwnd, hc->tx_pipe); in ccid2_hc_tx_packet_sent()
632 hc->tx_pipe--; in ccid2_hc_tx_packet_recv()
688 hc->tx_pipe--; in ccid2_hc_tx_packet_recv()
707 if (hc->tx_pipe == 0) in ccid2_hc_tx_packet_recv()
Dccid2.h60 u32 tx_pipe; member
92 return hc->tx_pipe >= hc->tx_cwnd; in ccid2_cwnd_network_limited()
/linux-6.1.9/drivers/net/usb/
Dcdc-phonet.c30 unsigned int tx_pipe, rx_pipe; member
61 usb_fill_bulk_urb(req, pnd->usb, pnd->tx_pipe, skb->data, skb->len, in usbpn_xmit()
372 pnd->tx_pipe = usb_sndbulkpipe(usbdev, in usbpn_probe()
377 pnd->tx_pipe = usb_sndbulkpipe(usbdev, in usbpn_probe()
/linux-6.1.9/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dusb.c134 uint rx_pipe, tx_pipe; member
643 usb_fill_bulk_urb(req->urb, devinfo->usbdev, devinfo->tx_pipe, in brcmf_usb_tx()
873 devinfo->tx_pipe, buffer, len, in brcmf_usb_dl_send_bulk()
1399 if (!devinfo->tx_pipe) in brcmf_usb_probe()
1400 devinfo->tx_pipe = in brcmf_usb_probe()
1409 if (devinfo->tx_pipe == 0) { in brcmf_usb_probe()
/linux-6.1.9/drivers/comedi/drivers/
Dvmk80xx.c160 unsigned int tx_pipe; in vmk80xx_do_bulk_msg() local
167 tx_pipe = usb_sndbulkpipe(usb, tx_addr); in vmk80xx_do_bulk_msg()
172 usb_bulk_msg(usb, tx_pipe, devpriv->usb_tx_buf, tx_size, NULL, in vmk80xx_do_bulk_msg()
/linux-6.1.9/drivers/net/can/usb/
Dmcba_usb.c87 int tx_pipe; member
271 usb_fill_bulk_urb(urb, priv->udev, priv->tx_pipe, buf, MCBA_USB_TX_BUFF_SIZE, in mcba_usb_xmit()
862 priv->tx_pipe = usb_sndbulkpipe(priv->udev, out->bEndpointAddress); in mcba_usb_probe()
/linux-6.1.9/drivers/net/wireless/atmel/
Dat76c50x-usb.h379 unsigned int tx_pipe; /* bulk out pipe */ member
Dat76c50x-usb.c1820 usb_fill_bulk_urb(priv->tx_urb, priv->udev, priv->tx_pipe, tx_buffer, in at76_mac80211_tx()
2263 priv->tx_pipe = usb_sndbulkpipe(priv->udev, ep_out->bEndpointAddress); in at76_alloc_urbs()
/linux-6.1.9/drivers/net/can/usb/etas_es58x/
Des58x_core.h404 unsigned int tx_pipe; member
Des58x_core.c1595 usb_fill_bulk_urb(urb, es58x_dev->udev, es58x_dev->tx_pipe, in es58x_get_tx_urb()
2225 es58x_dev->tx_pipe = usb_sndbulkpipe(es58x_dev->udev, in es58x_init_es58x_dev()
/linux-6.1.9/drivers/net/wireless/ath/ath10k/
Dpci.c108 struct ath10k_ce_pipe *tx_pipe,
2230 struct ath10k_ce_pipe *tx_pipe, in ath10k_pci_bmi_wait() argument
2240 ath10k_pci_bmi_send_done(tx_pipe); in ath10k_pci_bmi_wait()