Home
last modified time | relevance | path

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

/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
298 return glink->tx_pipe->avail(glink->tx_pipe); in qcom_glink_tx_avail()
305 glink->tx_pipe->write(glink->tx_pipe, hdr, hlen, data, dlen); in qcom_glink_tx_write()
317 if (tlen >= glink->tx_pipe->length) in qcom_glink_tx()
1670 glink->tx_pipe = tx; in qcom_glink_native_probe()
/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()
/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
2880 p_info->tx_pipe = &gbe_intf->tx_pipe; in gbe_txhook()
2909 gbe_intf->tx_pipe.flags = SWITCH_TO_PORT_IN_TAGINFO; in gbe_open()
2912 gbe_intf->tx_pipe.switch_to_port = 0; in gbe_open()
2914 gbe_intf->tx_pipe.switch_to_port = port_num; in gbe_open()
2918 gbe_intf->tx_pipe.dma_chan_name, in gbe_open()
2919 gbe_intf->tx_pipe.dma_channel, in gbe_open()
2920 gbe_intf->tx_pipe.switch_to_port, in gbe_open()
2921 gbe_intf->tx_pipe.flags); in gbe_open()
[all …]
/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()
370 pnd->tx_pipe = usb_sndbulkpipe(usbdev, in usbpn_probe()
375 pnd->tx_pipe = usb_sndbulkpipe(usbdev, in usbpn_probe()
/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()
1412 if (!devinfo->tx_pipe) in brcmf_usb_probe()
1413 devinfo->tx_pipe = in brcmf_usb_probe()
1422 if (devinfo->tx_pipe == 0) { in brcmf_usb_probe()
/drivers/net/can/usb/
Dmcba_usb.c88 int tx_pipe; member
277 usb_fill_bulk_urb(urb, priv->udev, priv->tx_pipe, buf, MCBA_USB_TX_BUFF_SIZE, in mcba_usb_xmit()
865 priv->tx_pipe = usb_sndbulkpipe(priv->udev, out->bEndpointAddress); in mcba_usb_probe()
/drivers/comedi/drivers/
Dvmk80xx.c161 unsigned int tx_pipe; in vmk80xx_do_bulk_msg() local
168 tx_pipe = usb_sndbulkpipe(usb, tx_addr); in vmk80xx_do_bulk_msg()
173 usb_bulk_msg(usb, tx_pipe, devpriv->usb_tx_buf, tx_size, NULL, in vmk80xx_do_bulk_msg()
/drivers/net/can/usb/etas_es58x/
Des58x_core.h405 int tx_pipe; member
Des58x_core.c1608 usb_fill_bulk_urb(urb, es58x_dev->udev, es58x_dev->tx_pipe, in es58x_get_tx_urb()
1642 usb_fill_bulk_urb(urb, es58x_dev->udev, es58x_dev->tx_pipe, in es58x_submit_urb()
2233 es58x_dev->tx_pipe = usb_sndbulkpipe(es58x_dev->udev, in es58x_init_es58x_dev()
/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()
/drivers/net/wireless/ath/ath10k/
Dpci.c108 struct ath10k_ce_pipe *tx_pipe,
2231 struct ath10k_ce_pipe *tx_pipe, in ath10k_pci_bmi_wait() argument
2241 ath10k_pci_bmi_send_done(tx_pipe); in ath10k_pci_bmi_wait()