Home
last modified time | relevance | path

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

12

/Linux-v5.10/drivers/usb/musb/
Dmusb_cppi41.c59 if (cppi41_channel->is_tx) in save_rx_toggle()
77 if (cppi41_channel->is_tx) in update_rx_toggle()
145 musb_dma_completion(musb, hw_ep->epnum, cppi41_channel->is_tx); in cppi41_trans_done()
160 direction = cppi41_channel->is_tx ? DMA_MEM_TO_DEV in cppi41_trans_done()
176 if (!cppi41_channel->is_tx) { in cppi41_trans_done()
255 if (cppi41_channel->is_tx) { in cppi41_dma_callback()
277 if (!cppi41_channel->is_tx || empty) { in cppi41_dma_callback()
348 if (cppi41_channel->is_tx) in cppi41_set_dma_mode()
357 if (cppi41_channel->is_tx) { in cppi41_set_dma_mode()
380 if (!cppi41_channel->is_tx) in da8xx_set_dma_mode()
[all …]
Dux500_dma.c38 u8 is_tx; member
65 musb_dma_completion(musb, hw_ep->epnum, ux500_channel->is_tx); in ux500_dma_callback()
89 len, ux500_channel->is_tx); in ux500_configure_channel()
99 direction = ux500_channel->is_tx ? DMA_MEM_TO_DEV : DMA_DEV_TO_MEM; in ux500_configure_channel()
129 struct musb_hw_ep *hw_ep, u8 is_tx) in ux500_dma_channel_allocate() argument
147 ux500_channel = is_tx ? &(controller->tx_channel[ch_num]) : in ux500_dma_channel_allocate()
158 hw_ep->epnum, is_tx, ch_num); in ux500_dma_channel_allocate()
216 ux500_channel->ch_num, ux500_channel->is_tx); in ux500_dma_channel_abort()
219 if (ux500_channel->is_tx) { in ux500_dma_channel_abort()
277 u8 is_tx = 0; in ux500_dma_controller_start() local
[all …]
Dmusb_trace.h224 __field(u8, is_tx)
235 __entry->is_tx = req->tx;
246 __entry->is_tx ? "tx/IN" : "rx/OUT",
304 __field(u8, is_tx)
314 __entry->is_tx = ch->is_tx;
321 __entry->port, __entry->is_tx ? "tx" : "rx",
Dcppi_dma.h134 u8 is_tx; member
Dmusb_dma.h163 struct musb_hw_ep *, u8 is_tx);
/Linux-v5.10/drivers/mailbox/
Dti-msgmgr.c48 bool is_tx; member
109 bool is_tx; member
220 if (qinst->is_tx) { in ti_msgmgr_queue_rx_interrupt()
293 if (qinst->is_tx) in ti_msgmgr_queue_peek_data()
320 if (!qinst->is_tx) in ti_msgmgr_last_tx_done()
467 qinst->is_tx = (readl(qinst->queue_ctrl) & in ti_msgmgr_queue_startup()
472 if (!msg_count && qinst->is_tx) { in ti_msgmgr_queue_startup()
479 if (!qinst->is_tx) { in ti_msgmgr_queue_startup()
503 if (!qinst->is_tx) { in ti_msgmgr_queue_shutdown()
626 qinst->is_tx = qd->is_tx; in ti_msgmgr_queue_setup()
[all …]
/Linux-v5.10/drivers/staging/most/dim2/
Dhal.h70 u8 dim_init_control(struct dim_channel *ch, u8 is_tx, u16 ch_address,
73 u8 dim_init_async(struct dim_channel *ch, u8 is_tx, u16 ch_address,
76 u8 dim_init_isoc(struct dim_channel *ch, u8 is_tx, u16 ch_address,
79 u8 dim_init_sync(struct dim_channel *ch, u8 is_tx, u16 ch_address,
Dhal.c350 u8 ch_addr, u8 type, u8 is_tx, u16 dbr_address, u16 hw_buffer_size, in dim2_configure_channel() argument
354 dim2_configure_cat(MLB_CAT, ch_addr, type, is_tx ? 1 : 0); in dim2_configure_channel()
357 dim2_configure_cat(AHB_CAT, ch_addr, type, is_tx ? 0 : 1); in dim2_configure_channel()
752 static u8 init_ctrl_async(struct dim_channel *ch, u8 type, u8 is_tx, in init_ctrl_async() argument
769 dim2_configure_channel(ch->addr, type, is_tx, in init_ctrl_async()
809 u8 dim_init_control(struct dim_channel *ch, u8 is_tx, u16 ch_address, in dim_init_control() argument
812 return init_ctrl_async(ch, CAT_CT_VAL_CONTROL, is_tx, ch_address, in dim_init_control()
816 u8 dim_init_async(struct dim_channel *ch, u8 is_tx, u16 ch_address, in dim_init_async() argument
819 u8 ret = init_ctrl_async(ch, CAT_CT_VAL_ASYNC, is_tx, ch_address, in dim_init_async()
822 if (is_tx && !g.atx_dbr.ch_addr) { in dim_init_async()
[all …]
Ddim2.c442 bool const is_tx = ccfg->direction == MOST_CH_TX; in configure_channel() local
474 hal_ret = dim_init_control(&hdm_ch->ch, is_tx, ch_addr, in configure_channel()
475 is_tx ? new_size * 2 : new_size); in configure_channel()
488 hal_ret = dim_init_async(&hdm_ch->ch, is_tx, ch_addr, in configure_channel()
489 is_tx ? new_size * 2 : new_size); in configure_channel()
503 hal_ret = dim_init_isoc(&hdm_ch->ch, is_tx, ch_addr, sub_size); in configure_channel()
517 hal_ret = dim_init_sync(&hdm_ch->ch, is_tx, ch_addr, sub_size); in configure_channel()
528 hdm_ch->name, hal_ret, ccfg->data_type, (int)is_tx); in configure_channel()
/Linux-v5.10/drivers/net/ethernet/mellanox/mlx4/
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()
87 if (!is_tx && !rss && in mlx4_en_fill_qp_context()
/Linux-v5.10/drivers/thunderbolt/
Dnhi.c26 #define RING_TYPE(ring) ((ring)->is_tx ? "TX ring" : "RX ring")
42 if (!ring->is_tx) in ring_interrupt_index()
65 if (ring->is_tx) in ring_interrupt_active()
130 io += ring->is_tx ? REG_TX_RING_BASE : REG_RX_RING_BASE; in ring_desc_base()
138 io += ring->is_tx ? REG_TX_OPTIONS_BASE : REG_RX_OPTIONS_BASE; in ring_options_base()
202 if (ring->is_tx) { in ring_write_descriptors()
208 if (ring->is_tx) in ring_write_descriptors()
249 if (!ring->is_tx) { in ring_work()
316 if (!ring->is_tx) { in tb_ring_poll()
453 if (ring->is_tx) { in nhi_alloc_hop()
[all …]
/Linux-v5.10/drivers/media/v4l2-core/
Dv4l2-dev.c554 bool is_tx = vdev->vfl_dir != VFL_DIR_RX; in determine_valid_ioctls() local
606 (is_tx && ops->vidioc_enum_fmt_vid_out)) in determine_valid_ioctls()
611 (is_tx && (ops->vidioc_g_fmt_vid_out || in determine_valid_ioctls()
618 (is_tx && (ops->vidioc_s_fmt_vid_out || in determine_valid_ioctls()
625 (is_tx && (ops->vidioc_try_fmt_vid_out || in determine_valid_ioctls()
656 } else if (is_meta && is_tx) { in determine_valid_ioctls()
667 (is_tx && (ops->vidioc_g_fmt_vbi_out || in determine_valid_ioctls()
672 (is_tx && (ops->vidioc_s_fmt_vbi_out || in determine_valid_ioctls()
677 (is_tx && (ops->vidioc_try_fmt_vbi_out || in determine_valid_ioctls()
700 } else if (is_sdr && is_tx) { in determine_valid_ioctls()
[all …]
/Linux-v5.10/drivers/dma/ti/
Dcppi41.c92 int is_tx; member
390 if (!c->is_tx) in cppi41_dma_alloc_chan_resources()
441 if (!c->is_tx) { in push_desc_queue()
666 if (!c->is_tx) { in cppi41_tear_down_chan()
680 if (!desc_phys && c->is_tx) in cppi41_tear_down_chan()
692 WARN_ON(!c->is_tx && !(pd0 & TD_DESC_IS_RX)); in cppi41_tear_down_chan()
798 cchan->is_tx = 1; in cppi41_add_chans()
801 cchan->is_tx = 0; in cppi41_add_chans()
961 if (cchan->is_tx && !num[INFO_IS_TX]) in cpp41_dma_filter_fn()
964 if (cchan->is_tx) in cpp41_dma_filter_fn()
[all …]
/Linux-v5.10/drivers/usb/gadget/udc/
Dbcm63xx_udc.c215 bool is_tx; member
600 const int max_bd_bytes = !irq_coalesce && !iudma->is_tx ? in iudma_write()
643 if (!iudma->is_tx || iudma->n_bds_used == iudma->n_bds || in iudma_write()
711 if (!iudma->is_tx) in iudma_reset_channel()
722 if (iudma->is_tx && iudma->ep_num >= 0) in iudma_reset_channel()
770 iudma->is_tx = !!(ch_idx & 0x01); in iudma_init_channel()
1096 iudma->is_tx); in bcm63xx_ep_disable()
1185 rc = usb_gadget_map_request(&udc->gadget, req, bep->iudma->is_tx); in bcm63xx_udc_queue()
1221 usb_gadget_unmap_request(&udc->gadget, &breq->req, bep->iudma->is_tx); in bcm63xx_udc_dequeue()
1395 usb_gadget_map_request(&udc->gadget, req, iudma->is_tx); in bcm63xx_ep0_map_write()
[all …]
/Linux-v5.10/drivers/net/wireless/realtek/rtlwifi/
Dbase.h77 bool rtl_action_proc(struct ieee80211_hw *hw, struct sk_buff *skb, u8 is_tx);
81 u8 rtl_is_special_data(struct ieee80211_hw *hw, struct sk_buff *skb, u8 is_tx,
Dbase.c1368 bool rtl_action_proc(struct ieee80211_hw *hw, struct sk_buff *skb, u8 is_tx) in rtl_action_proc() argument
1391 is_tx ? "Tx" : "Rx", hdr->addr2); in rtl_action_proc()
1394 if (!is_tx) { in rtl_action_proc()
1434 is_tx ? "Tx" : "Rx", hdr->addr2); in rtl_action_proc()
1494 u8 rtl_is_special_data(struct ieee80211_hw *hw, struct sk_buff *skb, u8 is_tx, in rtl_is_special_data() argument
1525 (is_tx) ? "Tx" : "Rx"); in rtl_is_special_data()
1527 if (is_tx) in rtl_is_special_data()
1535 if (is_tx) in rtl_is_special_data()
1545 "802.1X %s EAPOL pkt!!\n", (is_tx) ? "Tx" : "Rx"); in rtl_is_special_data()
1547 if (is_tx) { in rtl_is_special_data()
/Linux-v5.10/include/linux/
Dthunderbolt.h492 bool is_tx:1; member
581 WARN_ON(ring->is_tx); in tb_ring_rx()
602 WARN_ON(!ring->is_tx); in tb_ring_tx()
/Linux-v5.10/drivers/net/ieee802154/
Dmcr20a.c406 bool is_tx; member
474 lp->is_tx = 1; in mcr20a_xmit()
898 if (lp->is_tx) { in mcr20a_irq_clean_complete()
899 lp->is_tx = 0; in mcr20a_irq_clean_complete()
910 if (lp->is_tx) { in mcr20a_irq_clean_complete()
912 lp->is_tx = 0; in mcr20a_irq_clean_complete()
922 if (lp->is_tx) { in mcr20a_irq_clean_complete()
Dcc2520.c207 bool is_tx; /* Flag for sync b/w Tx and Rx */ member
512 WARN_ON(priv->is_tx); in cc2520_tx()
513 priv->is_tx = 1; in cc2520_tx()
530 priv->is_tx = 0; in cc2520_tx()
901 if (priv->is_tx) { in cc2520_sfd_isr()
902 priv->is_tx = 0; in cc2520_sfd_isr()
Dat86rf230.c101 bool is_tx; member
355 lp->is_tx = 0; in at86rf230_async_error_recover()
766 if (lp->is_tx) { in at86rf230_irq_trx_end()
767 lp->is_tx = 0; in at86rf230_irq_trx_end()
865 lp->is_tx = 1; in at86rf230_write_frame()
/Linux-v5.10/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()
226 unsigned int is_tx = e->tx; in sst_slot_put() local
231 map = is_tx ? sst_ssp_rx_map : sst_ssp_tx_map; in sst_slot_put()
256 is_tx ? "tx channel" : "rx slot", in sst_slot_put()
/Linux-v5.10/drivers/net/wan/
Dixp4xx_hss.c581 int is_tx) in queue_get_desc() argument
590 tab_phys = is_tx ? tx_desc_phys(port, 0) : rx_desc_phys(port, 0); in queue_get_desc()
591 tab = is_tx ? tx_desc_ptr(port, 0) : rx_desc_ptr(port, 0); in queue_get_desc()
593 BUG_ON(n_desc >= (is_tx ? TX_DESCS : RX_DESCS)); in queue_get_desc()
/Linux-v5.10/drivers/spi/
Dspi-bcm2835.c661 bool is_tx) in bcm2835_spi_prepare_sg() argument
672 if (is_tx) { in bcm2835_spi_prepare_sg()
694 if (!is_tx) { in bcm2835_spi_prepare_sg()
/Linux-v5.10/drivers/net/ethernet/xscale/
Dixp4xx_eth.c615 int is_tx) in queue_get_desc() argument
624 tab_phys = is_tx ? tx_desc_phys(port, 0) : rx_desc_phys(port, 0); in queue_get_desc()
625 tab = is_tx ? tx_desc_ptr(port, 0) : rx_desc_ptr(port, 0); in queue_get_desc()
627 BUG_ON(n_desc >= (is_tx ? TX_DESCS : RX_DESCS)); in queue_get_desc()

12