Home
last modified time | relevance | path

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

12

/drivers/mailbox/
Dti-msgmgr.c45 bool is_tx; member
97 bool is_tx; member
176 if (qinst->is_tx) { in ti_msgmgr_queue_rx_interrupt()
241 if (qinst->is_tx) in ti_msgmgr_queue_peek_data()
260 if (!qinst->is_tx) in ti_msgmgr_last_tx_done()
337 if (!qinst->is_tx) { in ti_msgmgr_queue_startup()
361 if (!qinst->is_tx) in ti_msgmgr_queue_shutdown()
435 qinst->is_tx = qd->is_tx; in ti_msgmgr_queue_setup()
437 dev_name(dev), qinst->is_tx ? "tx" : "rx", qinst->queue_id, in ti_msgmgr_queue_setup()
440 if (!qinst->is_tx) { in ti_msgmgr_queue_setup()
[all …]
/drivers/usb/musb/
Dmusb_cppi41.c46 if (cppi41_channel->is_tx) in save_rx_toggle()
64 if (cppi41_channel->is_tx) in update_rx_toggle()
132 musb_dma_completion(musb, hw_ep->epnum, cppi41_channel->is_tx); in cppi41_trans_done()
147 direction = cppi41_channel->is_tx ? DMA_MEM_TO_DEV in cppi41_trans_done()
163 if (!cppi41_channel->is_tx) { in cppi41_trans_done()
235 if (cppi41_channel->is_tx) { in cppi41_dma_callback()
257 if (!cppi41_channel->is_tx || empty) { in cppi41_dma_callback()
329 if (cppi41_channel->is_tx) in cppi41_set_dma_mode()
338 if (cppi41_channel->is_tx) { in cppi41_set_dma_mode()
382 cppi41_channel->tx_zlp = (cppi41_channel->is_tx && mode) ? 1 : 0; in cppi41_configure_channel()
[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()
228 ux500_channel->ch_num, ux500_channel->is_tx); in ux500_dma_channel_abort()
231 if (ux500_channel->is_tx) { in ux500_dma_channel_abort()
289 u8 is_tx = 0; in ux500_dma_controller_start() local
[all …]
Dmusb_trace.h223 __field(u8, is_tx)
234 __entry->is_tx = req->tx;
245 __entry->is_tx ? "tx/IN" : "rx/OUT",
303 __field(u8, is_tx)
313 __entry->is_tx = ch->is_tx;
320 __entry->port, __entry->is_tx ? "tx" : "rx",
Dcppi_dma.h134 u8 is_tx; member
Dmusb_dma.h189 struct musb_hw_ep *, u8 is_tx);
/drivers/net/ethernet/mellanox/mlx4/
Den_cq.c68 cq->is_tx = mode; in mlx4_en_create_cq()
107 if (cq->is_tx == RX) { in mlx4_en_activate_cq()
144 if (!cq->is_tx) in mlx4_en_activate_cq()
147 if ((cq->is_tx && priv->hwtstamp_config.tx_type) || in mlx4_en_activate_cq()
148 (!cq->is_tx && priv->hwtstamp_config.rx_filter)) in mlx4_en_activate_cq()
157 cq->mcq.comp = cq->is_tx ? mlx4_en_tx_irq : mlx4_en_rx_irq; in mlx4_en_activate_cq()
160 if (cq->is_tx) in mlx4_en_activate_cq()
184 cq->is_tx == RX) in mlx4_en_destroy_cq()
196 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()
86 if (!is_tx && !rss && in mlx4_en_fill_qp_context()
/drivers/staging/most/hdm-dim2/
Ddim2_hal.h76 u8 dim_init_control(struct dim_channel *ch, u8 is_tx, u16 ch_address,
79 u8 dim_init_async(struct dim_channel *ch, u8 is_tx, u16 ch_address,
82 u8 dim_init_isoc(struct dim_channel *ch, u8 is_tx, u16 ch_address,
85 u8 dim_init_sync(struct dim_channel *ch, u8 is_tx, u16 ch_address,
Ddim2_hal.c351 u8 ch_addr, u8 type, u8 is_tx, u16 dbr_address, u16 hw_buffer_size, in dim2_configure_channel() argument
355 dim2_configure_cat(MLB_CAT, ch_addr, type, is_tx ? 1 : 0, sync_mfe); in dim2_configure_channel()
358 dim2_configure_cat(AHB_CAT, ch_addr, type, is_tx ? 0 : 1, sync_mfe); in dim2_configure_channel()
756 static u8 init_ctrl_async(struct dim_channel *ch, u8 type, u8 is_tx, in init_ctrl_async() argument
772 dim2_configure_channel(ch->addr, type, is_tx, in init_ctrl_async()
817 u8 dim_init_control(struct dim_channel *ch, u8 is_tx, u16 ch_address, in dim_init_control() argument
820 return init_ctrl_async(ch, CAT_CT_VAL_CONTROL, is_tx, ch_address, in dim_init_control()
824 u8 dim_init_async(struct dim_channel *ch, u8 is_tx, u16 ch_address, in dim_init_async() argument
827 u8 ret = init_ctrl_async(ch, CAT_CT_VAL_ASYNC, is_tx, ch_address, in dim_init_async()
830 if (is_tx && !g.atx_dbr.ch_addr) { in dim_init_async()
[all …]
Ddim2_hdm.c521 bool const is_tx = ccfg->direction == MOST_CH_TX; in configure_channel() local
547 hal_ret = dim_init_control(&hdm_ch->ch, is_tx, ch_addr, in configure_channel()
548 is_tx ? new_size * 2 : new_size); in configure_channel()
561 hal_ret = dim_init_async(&hdm_ch->ch, is_tx, ch_addr, in configure_channel()
562 is_tx ? new_size * 2 : new_size); in configure_channel()
576 hal_ret = dim_init_isoc(&hdm_ch->ch, is_tx, ch_addr, sub_size); in configure_channel()
590 hal_ret = dim_init_sync(&hdm_ch->ch, is_tx, ch_addr, sub_size); in configure_channel()
601 hdm_ch->name, hal_ret, ccfg->data_type, (int)is_tx); in configure_channel()
/drivers/thunderbolt/
Dnhi.c22 #define RING_TYPE(ring) ((ring)->is_tx ? "TX ring" : "RX ring")
28 if (!ring->is_tx) in ring_interrupt_index()
85 io += ring->is_tx ? REG_TX_RING_BASE : REG_RX_RING_BASE; in ring_desc_base()
93 io += ring->is_tx ? REG_TX_OPTIONS_BASE : REG_RX_OPTIONS_BASE; in ring_options_base()
146 if (ring->is_tx) { in ring_write_descriptors()
152 ring_iowrite16desc(ring, ring->head, ring->is_tx ? 10 : 8); in ring_write_descriptors()
188 if (!ring->is_tx) { in ring_work()
272 ring->is_tx = transmit; in ring_alloc()
325 if (ring->is_tx) { in ring_start()
372 ring_iowrite16desc(ring, 0, ring->is_tx ? 10 : 8); in ring_stop()
[all …]
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()
/drivers/media/v4l2-core/
Dv4l2-dev.c532 bool is_tx = vdev->vfl_dir != VFL_DIR_RX; in determine_valid_ioctls() local
582 (is_tx && (ops->vidioc_enum_fmt_vid_out || in determine_valid_ioctls()
588 (is_tx && (ops->vidioc_g_fmt_vid_out || in determine_valid_ioctls()
595 (is_tx && (ops->vidioc_s_fmt_vid_out || in determine_valid_ioctls()
602 (is_tx && (ops->vidioc_try_fmt_vid_out || in determine_valid_ioctls()
630 (is_tx && (ops->vidioc_g_fmt_vbi_out || in determine_valid_ioctls()
635 (is_tx && (ops->vidioc_s_fmt_vbi_out || in determine_valid_ioctls()
640 (is_tx && (ops->vidioc_try_fmt_vbi_out || in determine_valid_ioctls()
654 } else if (is_sdr && is_tx) { in determine_valid_ioctls()
696 if (is_tx) { in determine_valid_ioctls()
[all …]
Dv4l2-ioctl.c929 bool is_tx = vfd->vfl_dir != VFL_DIR_RX; in check_fmt() local
949 if (is_vid && is_tx && in check_fmt()
954 if (is_vid && is_tx && ops->vidioc_g_fmt_vid_out_mplane) in check_fmt()
958 if (is_vid && is_tx && ops->vidioc_g_fmt_vid_out_overlay) in check_fmt()
966 if (is_vbi && is_tx && ops->vidioc_g_fmt_vbi_out) in check_fmt()
974 if (is_vbi && is_tx && ops->vidioc_g_fmt_sliced_vbi_out) in check_fmt()
982 if (is_sdr && is_tx && ops->vidioc_g_fmt_sdr_out) in check_fmt()
1319 bool is_tx = vfd->vfl_dir != VFL_DIR_RX; in v4l_enum_fmt() local
1339 if (unlikely(!is_tx || !is_vid || !ops->vidioc_enum_fmt_vid_out)) in v4l_enum_fmt()
1344 if (unlikely(!is_tx || !is_vid || !ops->vidioc_enum_fmt_vid_out_mplane)) in v4l_enum_fmt()
[all …]
/drivers/dma/
Dcppi41.c100 int is_tx; member
388 if (!c->is_tx) in cppi41_dma_alloc_chan_resources()
441 if (!c->is_tx) { in push_desc_queue()
646 if (!c->is_tx) { in cppi41_tear_down_chan()
672 WARN_ON(!c->is_tx && !(pd0 & TD_DESC_IS_RX)); in cppi41_tear_down_chan()
773 cchan->is_tx = 1; in cppi41_add_chans()
776 cchan->is_tx = 0; in cppi41_add_chans()
938 if (cchan->is_tx && !num[INFO_IS_TX]) in cpp41_dma_filter_fn()
941 if (cchan->is_tx) in cpp41_dma_filter_fn()
1160 if (!c->is_tx) in cppi41_resume()
/drivers/usb/gadget/udc/
Dbcm63xx_udc.c218 bool is_tx; member
607 const int max_bd_bytes = !irq_coalesce && !iudma->is_tx ? in iudma_write()
650 if (!iudma->is_tx || iudma->n_bds_used == iudma->n_bds || in iudma_write()
718 if (!iudma->is_tx) in iudma_reset_channel()
729 if (iudma->is_tx && iudma->ep_num >= 0) in iudma_reset_channel()
777 iudma->is_tx = !!(ch_idx & 0x01); in iudma_init_channel()
1103 iudma->is_tx); in bcm63xx_ep_disable()
1192 rc = usb_gadget_map_request(&udc->gadget, req, bep->iudma->is_tx); in bcm63xx_udc_queue()
1228 usb_gadget_unmap_request(&udc->gadget, &breq->req, bep->iudma->is_tx); in bcm63xx_udc_dequeue()
1402 usb_gadget_map_request(&udc->gadget, req, iudma->is_tx); in bcm63xx_ep0_map_write()
[all …]
/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()
1317 u8 rtl_is_special_data(struct ieee80211_hw *hw, struct sk_buff *skb, u8 is_tx, in rtl_is_special_data() argument
1367 (is_tx) ? "Tx" : "Rx"); in rtl_is_special_data()
1369 if (is_tx) in rtl_is_special_data()
1375 if (is_tx) in rtl_is_special_data()
1381 "802.1X %s EAPOL pkt!!\n", (is_tx) ? "Tx" : "Rx"); in rtl_is_special_data()
1383 if (is_tx) { in rtl_is_special_data()
/drivers/net/ieee802154/
Dcc2520.c212 bool is_tx; /* Flag for sync b/w Tx and Rx */ member
520 BUG_ON(priv->is_tx); in cc2520_tx()
521 priv->is_tx = 1; in cc2520_tx()
538 priv->is_tx = 0; in cc2520_tx()
911 if (priv->is_tx) { in cc2520_sfd_isr()
912 priv->is_tx = 0; in cc2520_sfd_isr()
Dat86rf230.c109 bool is_tx; member
363 lp->is_tx = 0; in at86rf230_async_error_recover()
775 if (lp->is_tx) { in at86rf230_irq_trx_end()
776 lp->is_tx = 0; in at86rf230_irq_trx_end()
874 lp->is_tx = 1; in at86rf230_write_frame()
/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()
/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()
/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()
/drivers/net/ethernet/xscale/
Dixp4xx_eth.c627 int is_tx) in queue_get_desc() argument
636 tab_phys = is_tx ? tx_desc_phys(port, 0) : rx_desc_phys(port, 0); in queue_get_desc()
637 tab = is_tx ? tx_desc_ptr(port, 0) : rx_desc_ptr(port, 0); in queue_get_desc()
639 BUG_ON(n_desc >= (is_tx ? TX_DESCS : RX_DESCS)); in queue_get_desc()

12