Searched refs:is_tx (Results 1 - 23 of 23) sorted by relevance

/drivers/thunderbolt/
H A Dnhi.h45 bool is_tx:1; /* rx otherwise */ member in struct:tb_ring
91 WARN_ON(ring->is_tx);
110 WARN_ON(!ring->is_tx);
H A Dnhi.c22 #define RING_TYPE(ring) ((ring)->is_tx ? "TX ring" : "RX ring")
28 if (!ring->is_tx)
84 io += ring->is_tx ? REG_TX_RING_BASE : REG_RX_RING_BASE;
92 io += ring->is_tx ? REG_TX_OPTIONS_BASE : REG_RX_OPTIONS_BASE;
145 if (ring->is_tx) {
151 ring_iowrite16desc(ring, ring->head, ring->is_tx ? 10 : 8);
187 if (!ring->is_tx) {
271 ring->is_tx = transmit;
324 if (ring->is_tx) {
371 ring_iowrite16desc(ring, 0, ring->is_tx
[all...]
/drivers/usb/musb/
H A Dmusb_cppi41.c32 u8 is_tx; member in struct:cppi41_dma_channel
64 if (cppi41_channel->is_tx)
82 if (cppi41_channel->is_tx)
148 musb_dma_completion(musb, hw_ep->epnum, cppi41_channel->is_tx);
163 direction = cppi41_channel->is_tx ? DMA_MEM_TO_DEV
178 if (!cppi41_channel->is_tx) {
320 if (cppi41_channel->is_tx)
329 if (cppi41_channel->is_tx) {
370 "configure ep%d/%x packet_sz=%d, mode=%d, dma_addr=0x%llx, len=%d is_tx=%d\n",
373 len, cppi41_channel->is_tx);
431 cppi41_dma_channel_allocate(struct dma_controller *c, struct musb_hw_ep *hw_ep, u8 is_tx) argument
528 unsigned is_tx; local
617 unsigned is_tx; local
[all...]
H A Dux500_dma.c50 u8 is_tx; member in struct:ux500_dma_channel
77 musb_dma_completion(musb, hw_ep->epnum, ux500_channel->is_tx);
99 "packet_sz=%d, mode=%d, dma_addr=0x%llx, len=%d is_tx=%d\n",
101 len, ux500_channel->is_tx);
111 direction = ux500_channel->is_tx ? DMA_MEM_TO_DEV : DMA_DEV_TO_MEM;
142 struct musb_hw_ep *hw_ep, u8 is_tx)
160 ux500_channel = is_tx ? &(controller->tx_channel[ch_num]) :
170 dev_dbg(musb->controller, "hw_ep=%d, is_tx=0x%x, channel=%d\n",
171 hw_ep->epnum, is_tx, ch_num);
231 dev_dbg(musb->controller, "channel=%d, is_tx
141 ux500_dma_channel_allocate(struct dma_controller *c, struct musb_hw_ep *hw_ep, u8 is_tx) argument
295 u8 is_tx = 0; local
[all...]
H A Dmusb_dma.h164 struct musb_hw_ep *, u8 is_tx);
/drivers/net/ethernet/mellanox/mlx4/
H A Den_resources.c41 int is_tx, int rss, int qpn, int cqn,
51 if (!is_tx && !rss)
53 if (is_tx)
72 if (!is_tx && !rss &&
40 mlx4_en_fill_qp_context(struct mlx4_en_priv *priv, int size, int stride, int is_tx, int rss, int qpn, int cqn, int user_prio, struct mlx4_qp_context *context) argument
H A Den_cq.c68 cq->is_tx = mode;
118 if (cq->is_tx == RX) {
151 if (!cq->is_tx)
154 if ((cq->is_tx && priv->hwtstamp_config.tx_type) ||
155 (!cq->is_tx && priv->hwtstamp_config.rx_filter))
164 cq->mcq.comp = cq->is_tx ? mlx4_en_tx_irq : mlx4_en_rx_irq;
167 if (cq->is_tx) {
207 if (!cq->is_tx) {
H A Dmlx4_en.h342 enum cq_type is_tx; member in struct:mlx4_en_cq
797 int is_tx, int rss, int qpn, int cqn, int user_prio,
/drivers/net/wireless/rtlwifi/
H A Dbase.h125 bool rtl_action_proc(struct ieee80211_hw *hw, struct sk_buff *skb, u8 is_tx);
129 u8 rtl_is_special_data(struct ieee80211_hw *hw, struct sk_buff *skb, u8 is_tx);
H A Dbase.c1156 bool rtl_action_proc(struct ieee80211_hw *hw, struct sk_buff *skb, u8 is_tx) argument
1179 is_tx ? "Tx" : "Rx", hdr->addr2);
1182 if (!is_tx) {
1218 is_tx ? "Tx" : "Rx", hdr->addr2);
1246 u8 rtl_is_special_data(struct ieee80211_hw *hw, struct sk_buff *skb, u8 is_tx) argument
1293 (is_tx) ? "Tx" : "Rx");
1295 if (is_tx)
1301 if (is_tx)
1307 "802.1X %s EAPOL pkt!!\n", (is_tx) ? "Tx" : "Rx");
1309 if (is_tx) {
[all...]
/drivers/dma/
H A Dcppi41.c99 int is_tx; member in struct:cppi41_channel
356 if (!c->is_tx)
406 if (!c->is_tx) {
562 if (!c->is_tx) {
588 WARN_ON(!c->is_tx && !(pd0 & TD_DESC_IS_RX));
704 cchan->is_tx = 1;
707 cchan->is_tx = 0;
869 if (cchan->is_tx && !num[INFO_IS_TX])
872 if (cchan->is_tx)
1068 if (!c->is_tx)
[all...]
/drivers/media/v4l2-core/
H A Dv4l2-dev.c559 bool is_tx = vdev->vfl_dir != VFL_DIR_RX; local
610 (is_tx && (ops->vidioc_enum_fmt_vid_out ||
616 (is_tx && (ops->vidioc_g_fmt_vid_out ||
623 (is_tx && (ops->vidioc_s_fmt_vid_out ||
630 (is_tx && (ops->vidioc_try_fmt_vid_out ||
650 (is_tx && (ops->vidioc_g_fmt_vbi_out ||
655 (is_tx && (ops->vidioc_s_fmt_vbi_out ||
660 (is_tx && (ops->vidioc_try_fmt_vbi_out ||
706 if (is_tx) {
732 if (is_tx
[all...]
H A Dv4l2-ioctl.c919 bool is_tx = vfd->vfl_dir != VFL_DIR_RX; local
939 if (is_vid && is_tx &&
944 if (is_vid && is_tx && ops->vidioc_g_fmt_vid_out_mplane)
948 if (is_vid && is_tx && ops->vidioc_g_fmt_vid_out_overlay)
956 if (is_vbi && is_tx && ops->vidioc_g_fmt_vbi_out)
964 if (is_vbi && is_tx && ops->vidioc_g_fmt_sliced_vbi_out)
1105 bool is_tx = vfd->vfl_dir != VFL_DIR_RX; local
1121 if (unlikely(!is_tx || !is_vid || !ops->vidioc_enum_fmt_vid_out))
1125 if (unlikely(!is_tx || !is_vid || !ops->vidioc_enum_fmt_vid_out_mplane))
1144 bool is_tx local
1236 bool is_tx = vfd->vfl_dir != VFL_DIR_RX; local
1315 bool is_tx = vfd->vfl_dir != VFL_DIR_RX; local
[all...]
/drivers/usb/gadget/udc/
H A Dbcm63xx_udc.c176 * @is_tx: true for TX, false for RX.
199 bool is_tx; member in struct:iudma_ch
588 const int max_bd_bytes = !irq_coalesce && !iudma->is_tx ?
631 if (!iudma->is_tx || iudma->n_bds_used == iudma->n_bds ||
699 if (!iudma->is_tx)
710 if (iudma->is_tx && iudma->ep_num >= 0)
758 iudma->is_tx = !!(ch_idx & 0x01);
1086 iudma->is_tx);
1175 rc = usb_gadget_map_request(&udc->gadget, req, bep->iudma->is_tx);
1211 usb_gadget_unmap_request(&udc->gadget, &breq->req, bep->iudma->is_tx);
1414 bcm63xx_ep0_nuke_reply(struct bcm63xx_udc *udc, int is_tx) argument
[all...]
/drivers/net/ieee802154/
H A Dcc2520.c199 bool is_tx; /* Flag for sync b/w Tx and Rx */ member in struct:cc2520_private
202 spinlock_t lock; /* Lock for is_tx*/
492 BUG_ON(priv->is_tx);
493 priv->is_tx = 1;
510 priv->is_tx = 0;
704 if (priv->is_tx) {
705 priv->is_tx = 0;
H A Dat86rf230.c92 bool is_tx; member in struct:at86rf230_local
93 /* spinlock for is_tx protection */
857 if (lp->is_tx) {
858 lp->is_tx = 0;
945 lp->is_tx = 1;
/drivers/net/wan/
H A Dixp4xx_hss.c583 int is_tx)
592 tab_phys = is_tx ? tx_desc_phys(port, 0) : rx_desc_phys(port, 0);
593 tab = is_tx ? tx_desc_ptr(port, 0) : rx_desc_ptr(port, 0);
595 BUG_ON(n_desc >= (is_tx ? TX_DESCS : RX_DESCS));
582 queue_get_desc(unsigned int queue, struct port *port, int is_tx) argument
/drivers/net/wireless/ath/ath9k/
H A Dinit.c195 int nbuf, int ndesc, bool is_tx)
206 if (is_tx)
250 if (is_tx) {
193 ath_descdma_setup(struct ath_softc *sc, struct ath_descdma *dd, struct list_head *head, const char *name, int nbuf, int ndesc, bool is_tx) argument
H A Dath9k.h77 int nbuf, int ndesc, bool is_tx);
/drivers/scsi/isci/
H A Drequest.c2352 int is_tx = 0; local
2357 is_tx = sci_request_smp_completion_status_is_tx_suspend(
2363 is_tx = sci_request_ssp_completion_status_is_tx_suspend(
2369 is_tx = sci_request_stpsata_completion_status_is_tx_suspend(
2381 if (is_tx || is_tx_rx) {
2382 BUG_ON(is_tx && is_tx_rx);
/drivers/net/ethernet/xscale/
H A Dixp4xx_eth.c628 int is_tx)
637 tab_phys = is_tx ? tx_desc_phys(port, 0) : rx_desc_phys(port, 0);
638 tab = is_tx ? tx_desc_ptr(port, 0) : rx_desc_ptr(port, 0);
640 BUG_ON(n_desc >= (is_tx ? TX_DESCS : RX_DESCS));
627 queue_get_desc(unsigned int queue, struct port *port, int is_tx) argument
/drivers/net/wireless/iwlegacy/
H A Ddebug.c46 il_update_stats(struct il_priv *il, bool is_tx, __le16 fc, u16 len) argument
50 if (is_tx)
H A Dcommon.h1732 void il_update_stats(struct il_priv *il, bool is_tx, __le16 fc, u16 len);
1735 il_update_stats(struct il_priv *il, bool is_tx, __le16 fc, u16 len) argument

Completed in 3263 milliseconds