Home
last modified time | relevance | path

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

/linux-4.4.14/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.h189 struct musb_hw_ep *, u8 is_tx);
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx4/
Den_cq.c68 cq->is_tx = mode; in mlx4_en_create_cq()
113 if (cq->is_tx == RX) { in mlx4_en_activate_cq()
142 if (!cq->is_tx) in mlx4_en_activate_cq()
145 if ((cq->is_tx && priv->hwtstamp_config.tx_type) || in mlx4_en_activate_cq()
146 (!cq->is_tx && priv->hwtstamp_config.rx_filter)) in mlx4_en_activate_cq()
155 cq->mcq.comp = cq->is_tx ? mlx4_en_tx_irq : mlx4_en_rx_irq; in mlx4_en_activate_cq()
158 if (cq->is_tx) { in mlx4_en_activate_cq()
185 cq->is_tx == RX) in mlx4_en_destroy_cq()
197 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()
85 if (!is_tx && !rss && in mlx4_en_fill_qp_context()
Dmlx4_en.h344 enum cq_type is_tx; member
796 int is_tx, int rss, int qpn, int cqn, int user_prio,
/linux-4.4.14/drivers/staging/most/hdm-dim2/
Ddim2_hal.h82 u8 DIM_InitControl(struct dim_channel *ch, u8 is_tx, u16 ch_address,
85 u8 DIM_InitAsync(struct dim_channel *ch, u8 is_tx, u16 ch_address,
88 u8 DIM_InitIsoc(struct dim_channel *ch, u8 is_tx, u16 ch_address,
91 u8 DIM_InitSync(struct dim_channel *ch, u8 is_tx, u16 ch_address,
Ddim2_hal.c334 u8 ch_addr, u8 type, u8 is_tx, u16 dbr_address, u16 hw_buffer_size, in dim2_configure_channel() argument
338 dim2_configure_cat(MLB_CAT, ch_addr, type, is_tx ? 1 : 0, sync_mfe); in dim2_configure_channel()
341 dim2_configure_cat(AHB_CAT, ch_addr, type, is_tx ? 0 : 1, sync_mfe); in dim2_configure_channel()
687 static u8 init_ctrl_async(struct dim_channel *ch, u8 type, u8 is_tx, in init_ctrl_async() argument
703 dim2_configure_channel(ch->addr, type, is_tx, in init_ctrl_async()
742 u8 DIM_InitControl(struct dim_channel *ch, u8 is_tx, u16 ch_address, in DIM_InitControl() argument
745 return init_ctrl_async(ch, CAT_CT_VAL_CONTROL, is_tx, ch_address, in DIM_InitControl()
749 u8 DIM_InitAsync(struct dim_channel *ch, u8 is_tx, u16 ch_address, in DIM_InitAsync() argument
752 return init_ctrl_async(ch, CAT_CT_VAL_ASYNC, is_tx, ch_address, in DIM_InitAsync()
756 u8 DIM_InitIsoc(struct dim_channel *ch, u8 is_tx, u16 ch_address, in DIM_InitIsoc() argument
[all …]
Ddim2_hdm.c523 bool const is_tx = ccfg->direction == MOST_CH_TX; in configure_channel() local
549 hal_ret = DIM_InitControl(&hdm_ch->ch, is_tx, ch_addr, in configure_channel()
563 hal_ret = DIM_InitAsync(&hdm_ch->ch, is_tx, ch_addr, buf_size); in configure_channel()
577 hal_ret = DIM_InitIsoc(&hdm_ch->ch, is_tx, ch_addr, sub_size); in configure_channel()
591 hal_ret = DIM_InitSync(&hdm_ch->ch, is_tx, ch_addr, sub_size); in configure_channel()
602 hdm_ch->name, hal_ret, ccfg->data_type, (int)is_tx); in configure_channel()
/linux-4.4.14/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.4.14/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()
650 } else if (is_sdr && is_tx) { in determine_valid_ioctls()
692 if (is_tx) { in determine_valid_ioctls()
[all …]
Dv4l2-ioctl.c927 bool is_tx = vfd->vfl_dir != VFL_DIR_RX; in check_fmt() local
947 if (is_vid && is_tx && in check_fmt()
952 if (is_vid && is_tx && ops->vidioc_g_fmt_vid_out_mplane) in check_fmt()
956 if (is_vid && is_tx && ops->vidioc_g_fmt_vid_out_overlay) in check_fmt()
964 if (is_vbi && is_tx && ops->vidioc_g_fmt_vbi_out) in check_fmt()
972 if (is_vbi && is_tx && ops->vidioc_g_fmt_sliced_vbi_out) in check_fmt()
980 if (is_sdr && is_tx && ops->vidioc_g_fmt_sdr_out) in check_fmt()
1299 bool is_tx = vfd->vfl_dir != VFL_DIR_RX; in v4l_enum_fmt() local
1319 if (unlikely(!is_tx || !is_vid || !ops->vidioc_enum_fmt_vid_out)) in v4l_enum_fmt()
1324 if (unlikely(!is_tx || !is_vid || !ops->vidioc_enum_fmt_vid_out_mplane)) in v4l_enum_fmt()
[all …]
/linux-4.4.14/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.4.14/drivers/usb/gadget/udc/
Dbcm63xx_udc.c219 bool is_tx; member
608 const int max_bd_bytes = !irq_coalesce && !iudma->is_tx ? in iudma_write()
651 if (!iudma->is_tx || iudma->n_bds_used == iudma->n_bds || in iudma_write()
719 if (!iudma->is_tx) in iudma_reset_channel()
730 if (iudma->is_tx && iudma->ep_num >= 0) in iudma_reset_channel()
778 iudma->is_tx = !!(ch_idx & 0x01); in iudma_init_channel()
1107 iudma->is_tx); in bcm63xx_ep_disable()
1196 rc = usb_gadget_map_request(&udc->gadget, req, bep->iudma->is_tx); in bcm63xx_udc_queue()
1232 usb_gadget_unmap_request(&udc->gadget, &breq->req, bep->iudma->is_tx); in bcm63xx_udc_dequeue()
1406 usb_gadget_map_request(&udc->gadget, req, iudma->is_tx); in bcm63xx_ep0_map_write()
[all …]
/linux-4.4.14/drivers/net/wireless/realtek/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.c1226 bool rtl_action_proc(struct ieee80211_hw *hw, struct sk_buff *skb, u8 is_tx) in rtl_action_proc() argument
1249 is_tx ? "Tx" : "Rx", hdr->addr2); in rtl_action_proc()
1252 if (!is_tx) { in rtl_action_proc()
1288 is_tx ? "Tx" : "Rx", hdr->addr2); in rtl_action_proc()
1316 u8 rtl_is_special_data(struct ieee80211_hw *hw, struct sk_buff *skb, u8 is_tx, in rtl_is_special_data() argument
1366 (is_tx) ? "Tx" : "Rx"); in rtl_is_special_data()
1368 if (is_tx) in rtl_is_special_data()
1374 if (is_tx) in rtl_is_special_data()
1380 "802.1X %s EAPOL pkt!!\n", (is_tx) ? "Tx" : "Rx"); in rtl_is_special_data()
1382 if (is_tx) { in rtl_is_special_data()
/linux-4.4.14/drivers/net/ieee802154/
Dcc2520.c198 bool is_tx; /* Flag for sync b/w Tx and Rx */ member
492 BUG_ON(priv->is_tx); in cc2520_tx()
493 priv->is_tx = 1; in cc2520_tx()
510 priv->is_tx = 0; in cc2520_tx()
812 if (priv->is_tx) { in cc2520_sfd_isr()
813 priv->is_tx = 0; in cc2520_sfd_isr()
Dat86rf230.c109 bool is_tx; member
351 lp->is_tx = 0; in at86rf230_async_error_recover()
765 if (lp->is_tx) { in at86rf230_irq_trx_end()
766 lp->is_tx = 0; in at86rf230_irq_trx_end()
864 lp->is_tx = 1; in at86rf230_write_frame()
/linux-4.4.14/sound/soc/intel/atom/
Dsst-atom-controls.h848 #define SST_SSP_SLOT_ENUM(s_ch_no, is_tx, xtexts) \ argument
849 (struct sst_enum){ .reg = s_ch_no, .tx = is_tx, .max = 4+1, .texts = xtexts, }
854 #define SST_SSP_SLOT_CTL(xpname, xmname, s_ch_name, s_ch_no, is_tx, xtexts, xget, xput) \ argument
859 .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.4.14/drivers/spi/
Dspi-bcm2835.c247 bool is_tx) in bcm2835_spi_prepare_sg() argument
258 if (is_tx) { in bcm2835_spi_prepare_sg()
278 if (!is_tx) { in bcm2835_spi_prepare_sg()
/linux-4.4.14/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.4.14/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.4.14/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.4.14/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.4.14/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