Home
last modified time | relevance | path

Searched refs:is_tx (Results 1 – 25 of 25) sorted by relevance

/linux-4.1.27/drivers/usb/musb/
Dmusb_cppi41.c32 u8 is_tx; member
64 if (cppi41_channel->is_tx) in save_rx_toggle()
82 if (cppi41_channel->is_tx) in update_rx_toggle()
148 musb_dma_completion(musb, hw_ep->epnum, cppi41_channel->is_tx); in cppi41_trans_done()
163 direction = cppi41_channel->is_tx ? DMA_MEM_TO_DEV in cppi41_trans_done()
178 if (!cppi41_channel->is_tx) { in cppi41_trans_done()
253 if (cppi41_channel->is_tx) in cppi41_dma_callback()
256 if (!cppi41_channel->is_tx || empty) { in cppi41_dma_callback()
328 if (cppi41_channel->is_tx) in cppi41_set_dma_mode()
337 if (cppi41_channel->is_tx) { in cppi41_set_dma_mode()
[all …]
Dux500_dma.c50 u8 is_tx; member
77 musb_dma_completion(musb, hw_ep->epnum, ux500_channel->is_tx); in ux500_dma_callback()
101 len, ux500_channel->is_tx); in ux500_configure_channel()
111 direction = ux500_channel->is_tx ? DMA_MEM_TO_DEV : DMA_DEV_TO_MEM; in ux500_configure_channel()
141 struct musb_hw_ep *hw_ep, u8 is_tx) in ux500_dma_channel_allocate() argument
159 ux500_channel = is_tx ? &(controller->tx_channel[ch_num]) : in ux500_dma_channel_allocate()
170 hw_ep->epnum, is_tx, ch_num); in ux500_dma_channel_allocate()
231 ux500_channel->ch_num, ux500_channel->is_tx); in ux500_dma_channel_abort()
234 if (ux500_channel->is_tx) { in ux500_dma_channel_abort()
292 u8 is_tx = 0; in ux500_dma_controller_start() local
[all …]
Dmusb_dma.h164 struct musb_hw_ep *, u8 is_tx);
/linux-4.1.27/drivers/net/ethernet/mellanox/mlx4/
Den_cq.c68 cq->is_tx = mode; in mlx4_en_create_cq()
118 if (cq->is_tx == RX) { in mlx4_en_activate_cq()
151 if (!cq->is_tx) in mlx4_en_activate_cq()
154 if ((cq->is_tx && priv->hwtstamp_config.tx_type) || in mlx4_en_activate_cq()
155 (!cq->is_tx && priv->hwtstamp_config.rx_filter)) in mlx4_en_activate_cq()
164 cq->mcq.comp = cq->is_tx ? mlx4_en_tx_irq : mlx4_en_rx_irq; in mlx4_en_activate_cq()
167 if (cq->is_tx) { in mlx4_en_activate_cq()
207 if (!cq->is_tx) { in mlx4_en_deactivate_cq()
Den_resources.c41 int is_tx, int rss, int qpn, int cqn, in mlx4_en_fill_qp_context() argument
51 if (!is_tx && !rss) in mlx4_en_fill_qp_context()
53 if (is_tx) { in mlx4_en_fill_qp_context()
76 if (!is_tx && !rss && in mlx4_en_fill_qp_context()
Dmlx4_en.h343 enum cq_type is_tx; member
793 int is_tx, int rss, int qpn, int cqn, int user_prio,
/linux-4.1.27/drivers/thunderbolt/
Dnhi.h45 bool is_tx:1; /* rx otherwise */ member
91 WARN_ON(ring->is_tx); in ring_rx()
110 WARN_ON(!ring->is_tx); in ring_tx()
Dnhi.c22 #define RING_TYPE(ring) ((ring)->is_tx ? "TX ring" : "RX ring")
28 if (!ring->is_tx) in ring_interrupt_index()
84 io += ring->is_tx ? REG_TX_RING_BASE : REG_RX_RING_BASE; in ring_desc_base()
92 io += ring->is_tx ? REG_TX_OPTIONS_BASE : REG_RX_OPTIONS_BASE; in ring_options_base()
145 if (ring->is_tx) { in ring_write_descriptors()
151 ring_iowrite16desc(ring, ring->head, ring->is_tx ? 10 : 8); in ring_write_descriptors()
187 if (!ring->is_tx) { in ring_work()
271 ring->is_tx = transmit; in ring_alloc()
324 if (ring->is_tx) { in ring_start()
371 ring_iowrite16desc(ring, 0, ring->is_tx ? 10 : 8); in ring_stop()
[all …]
/linux-4.1.27/drivers/media/v4l2-core/
Dv4l2-dev.c528 bool is_tx = vdev->vfl_dir != VFL_DIR_RX; in determine_valid_ioctls() local
578 (is_tx && (ops->vidioc_enum_fmt_vid_out || in determine_valid_ioctls()
584 (is_tx && (ops->vidioc_g_fmt_vid_out || in determine_valid_ioctls()
591 (is_tx && (ops->vidioc_s_fmt_vid_out || in determine_valid_ioctls()
598 (is_tx && (ops->vidioc_try_fmt_vid_out || in determine_valid_ioctls()
626 (is_tx && (ops->vidioc_g_fmt_vbi_out || in determine_valid_ioctls()
631 (is_tx && (ops->vidioc_s_fmt_vbi_out || in determine_valid_ioctls()
636 (is_tx && (ops->vidioc_try_fmt_vbi_out || in determine_valid_ioctls()
682 if (is_tx) { in determine_valid_ioctls()
700 if (is_tx && (is_radio || is_sdr)) { in determine_valid_ioctls()
Dv4l2-ioctl.c924 bool is_tx = vfd->vfl_dir != VFL_DIR_RX; in check_fmt() local
944 if (is_vid && is_tx && in check_fmt()
949 if (is_vid && is_tx && ops->vidioc_g_fmt_vid_out_mplane) in check_fmt()
953 if (is_vid && is_tx && ops->vidioc_g_fmt_vid_out_overlay) in check_fmt()
961 if (is_vbi && is_tx && ops->vidioc_g_fmt_vbi_out) in check_fmt()
969 if (is_vbi && is_tx && ops->vidioc_g_fmt_sliced_vbi_out) in check_fmt()
1114 bool is_tx = vfd->vfl_dir != VFL_DIR_RX; in v4l_enum_fmt() local
1130 if (unlikely(!is_tx || !is_vid || !ops->vidioc_enum_fmt_vid_out)) in v4l_enum_fmt()
1134 if (unlikely(!is_tx || !is_vid || !ops->vidioc_enum_fmt_vid_out_mplane)) in v4l_enum_fmt()
1153 bool is_tx = vfd->vfl_dir != VFL_DIR_RX; in v4l_g_fmt() local
[all …]
/linux-4.1.27/drivers/dma/
Dcppi41.c100 int is_tx; member
357 if (!c->is_tx) in cppi41_dma_alloc_chan_resources()
407 if (!c->is_tx) { in cppi41_dma_issue_pending()
557 if (!c->is_tx) { in cppi41_tear_down_chan()
583 WARN_ON(!c->is_tx && !(pd0 & TD_DESC_IS_RX)); in cppi41_tear_down_chan()
681 cchan->is_tx = 1; in cppi41_add_chans()
684 cchan->is_tx = 0; in cppi41_add_chans()
846 if (cchan->is_tx && !num[INFO_IS_TX]) in cpp41_dma_filter_fn()
849 if (cchan->is_tx) in cpp41_dma_filter_fn()
1054 if (!c->is_tx) in cppi41_resume()
/linux-4.1.27/drivers/usb/gadget/udc/
Dbcm63xx_udc.c199 bool is_tx; member
588 const int max_bd_bytes = !irq_coalesce && !iudma->is_tx ? in iudma_write()
631 if (!iudma->is_tx || iudma->n_bds_used == iudma->n_bds || in iudma_write()
699 if (!iudma->is_tx) in iudma_reset_channel()
710 if (iudma->is_tx && iudma->ep_num >= 0) in iudma_reset_channel()
758 iudma->is_tx = !!(ch_idx & 0x01); in iudma_init_channel()
1086 iudma->is_tx); in bcm63xx_ep_disable()
1175 rc = usb_gadget_map_request(&udc->gadget, req, bep->iudma->is_tx); in bcm63xx_udc_queue()
1211 usb_gadget_unmap_request(&udc->gadget, &breq->req, bep->iudma->is_tx); in bcm63xx_udc_dequeue()
1385 usb_gadget_map_request(&udc->gadget, req, iudma->is_tx); in bcm63xx_ep0_map_write()
[all …]
/linux-4.1.27/drivers/net/wireless/rtlwifi/
Dbase.h119 bool rtl_action_proc(struct ieee80211_hw *hw, struct sk_buff *skb, u8 is_tx);
123 u8 rtl_is_special_data(struct ieee80211_hw *hw, struct sk_buff *skb, u8 is_tx,
Dbase.c1228 bool rtl_action_proc(struct ieee80211_hw *hw, struct sk_buff *skb, u8 is_tx) in rtl_action_proc() argument
1251 is_tx ? "Tx" : "Rx", hdr->addr2); in rtl_action_proc()
1254 if (!is_tx) { in rtl_action_proc()
1290 is_tx ? "Tx" : "Rx", hdr->addr2); in rtl_action_proc()
1318 u8 rtl_is_special_data(struct ieee80211_hw *hw, struct sk_buff *skb, u8 is_tx, in rtl_is_special_data() argument
1368 (is_tx) ? "Tx" : "Rx"); in rtl_is_special_data()
1370 if (is_tx) in rtl_is_special_data()
1376 if (is_tx) in rtl_is_special_data()
1382 "802.1X %s EAPOL pkt!!\n", (is_tx) ? "Tx" : "Rx"); in rtl_is_special_data()
1384 if (is_tx) { in rtl_is_special_data()
/linux-4.1.27/drivers/net/ieee802154/
Dcc2520.c198 bool is_tx; /* Flag for sync b/w Tx and Rx */ member
491 BUG_ON(priv->is_tx); in cc2520_tx()
492 priv->is_tx = 1; in cc2520_tx()
509 priv->is_tx = 0; in cc2520_tx()
704 if (priv->is_tx) { in cc2520_sfd_isr()
705 priv->is_tx = 0; in cc2520_sfd_isr()
Dat86rf230.c98 bool is_tx; member
472 lp->is_tx = 0; in at86rf230_async_error_recover()
887 if (lp->is_tx) { in at86rf230_irq_trx_end()
888 lp->is_tx = 0; in at86rf230_irq_trx_end()
975 lp->is_tx = 1; in at86rf230_write_frame()
/linux-4.1.27/sound/soc/intel/atom/
Dsst-atom-controls.h846 #define SST_SSP_SLOT_ENUM(s_ch_no, is_tx, xtexts) \ argument
847 (struct sst_enum){ .reg = s_ch_no, .tx = is_tx, .max = 4+1, .texts = xtexts, }
852 #define SST_SSP_SLOT_CTL(xpname, xmname, s_ch_name, s_ch_no, is_tx, xtexts, xget, xput) \ argument
857 .private_value = (unsigned long)&SST_SSP_SLOT_ENUM(s_ch_no, is_tx, xtexts), \
Dsst-atom-controls.c166 unsigned int is_tx = e->tx; in sst_slot_get() local
168 u8 *map = is_tx ? sst_ssp_rx_map : sst_ssp_tx_map; in sst_slot_get()
181 is_tx ? "tx channel" : "rx slot", in sst_slot_get()
225 unsigned int is_tx = e->tx; in sst_slot_put() local
230 map = is_tx ? sst_ssp_rx_map : sst_ssp_tx_map; in sst_slot_put()
255 is_tx ? "tx channel" : "rx slot", in sst_slot_put()
/linux-4.1.27/drivers/net/wan/
Dixp4xx_hss.c583 int is_tx) in queue_get_desc() argument
592 tab_phys = is_tx ? tx_desc_phys(port, 0) : rx_desc_phys(port, 0); in queue_get_desc()
593 tab = is_tx ? tx_desc_ptr(port, 0) : rx_desc_ptr(port, 0); in queue_get_desc()
595 BUG_ON(n_desc >= (is_tx ? TX_DESCS : RX_DESCS)); in queue_get_desc()
/linux-4.1.27/drivers/net/wireless/ath/ath9k/
Dinit.c227 int nbuf, int ndesc, bool is_tx) in ath_descdma_setup() argument
238 if (is_tx) in ath_descdma_setup()
282 if (is_tx) { in ath_descdma_setup()
Dath9k.h76 int nbuf, int ndesc, bool is_tx);
/linux-4.1.27/drivers/net/ethernet/xscale/
Dixp4xx_eth.c628 int is_tx) in queue_get_desc() argument
637 tab_phys = is_tx ? tx_desc_phys(port, 0) : rx_desc_phys(port, 0); in queue_get_desc()
638 tab = is_tx ? tx_desc_ptr(port, 0) : rx_desc_ptr(port, 0); in queue_get_desc()
640 BUG_ON(n_desc >= (is_tx ? TX_DESCS : RX_DESCS)); in queue_get_desc()
/linux-4.1.27/drivers/scsi/isci/
Drequest.c2352 int is_tx = 0; in sci_request_handle_suspending_completions() local
2357 is_tx = sci_request_smp_completion_status_is_tx_suspend( in sci_request_handle_suspending_completions()
2363 is_tx = sci_request_ssp_completion_status_is_tx_suspend( in sci_request_handle_suspending_completions()
2369 is_tx = sci_request_stpsata_completion_status_is_tx_suspend( in sci_request_handle_suspending_completions()
2381 if (is_tx || is_tx_rx) { in sci_request_handle_suspending_completions()
2382 BUG_ON(is_tx && is_tx_rx); in sci_request_handle_suspending_completions()
/linux-4.1.27/drivers/net/wireless/iwlegacy/
Ddebug.c46 il_update_stats(struct il_priv *il, bool is_tx, __le16 fc, u16 len) in il_update_stats() argument
50 if (is_tx) in il_update_stats()
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) in il_update_stats() argument