Home
last modified time | relevance | path

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

12

/drivers/usb/musb/
A Dmusb_cppi41.c493 if (is_tx) in cppi41_dma_channel_allocate()
581 unsigned is_tx; in cppi41_dma_channel_abort() local
584 is_tx = cppi41_channel->is_tx; in cppi41_dma_channel_abort()
591 if (is_tx) { in cppi41_dma_channel_abort()
621 if (is_tx) in cppi41_dma_channel_abort()
625 if (is_tx) in cppi41_dma_channel_abort()
631 if (is_tx) { in cppi41_dma_channel_abort()
690 is_tx = 1; in cppi41_dma_controller_start()
692 is_tx = 0; in cppi41_dma_controller_start()
704 if (is_tx) in cppi41_dma_controller_start()
[all …]
A 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()
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
305 ux500_channel->is_tx = is_tx; in ux500_dma_controller_start()
[all …]
A Dmusb_trace.h241 __field(u8, is_tx)
252 __entry->is_tx = req->tx;
263 __entry->is_tx ? "tx/IN" : "rx/OUT",
321 __field(u8, is_tx)
331 __entry->is_tx = ch->is_tx;
338 __entry->port, __entry->is_tx ? "tx" : "rx",
A Dcppi_dma.h131 u8 is_tx; member
A Dmusb_dma.h156 struct musb_hw_ep *, u8 is_tx);
/drivers/mailbox/
A Dti-msgmgr.c49 bool is_tx; member
111 bool is_tx; member
287 if (qinst->is_tx) { in ti_msgmgr_queue_rx_interrupt()
326 if (qinst->is_tx) in ti_msgmgr_queue_peek_data()
353 if (!qinst->is_tx) in ti_msgmgr_last_tx_done()
528 if (!msg_count && qinst->is_tx) { in ti_msgmgr_queue_startup()
535 if (!qinst->is_tx) { in ti_msgmgr_queue_startup()
559 if (!qinst->is_tx) { in ti_msgmgr_queue_shutdown()
682 qinst->is_tx = qd->is_tx; in ti_msgmgr_queue_setup()
726 if (!qinst->is_tx) in ti_msgmgr_suspend()
[all …]
/drivers/staging/most/dim2/
A 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,
A Dhal.c353 dim2_configure_cat(MLB_CAT, ch_addr, type, is_tx ? 1 : 0); in dim2_configure_channel()
356 dim2_configure_cat(AHB_CAT, ch_addr, type, is_tx ? 0 : 1); in dim2_configure_channel()
751 static u8 init_ctrl_async(struct dim_channel *ch, u8 type, u8 is_tx, in init_ctrl_async() argument
768 dim2_configure_channel(ch->addr, type, is_tx, in init_ctrl_async()
811 return init_ctrl_async(ch, CAT_CT_VAL_CONTROL, is_tx, ch_address, in dim_init_control()
815 u8 dim_init_async(struct dim_channel *ch, u8 is_tx, u16 ch_address, in dim_init_async() argument
818 u8 ret = init_ctrl_async(ch, CAT_CT_VAL_ASYNC, is_tx, ch_address, in dim_init_async()
821 if (is_tx && !g.atx_dbr.ch_addr) { in dim_init_async()
830 u8 dim_init_isoc(struct dim_channel *ch, u8 is_tx, u16 ch_address, in dim_init_isoc() argument
856 u8 dim_init_sync(struct dim_channel *ch, u8 is_tx, u16 ch_address, in dim_init_sync() argument
[all …]
A Ddim2.c449 bool const is_tx = ccfg->direction == MOST_CH_TX; in configure_channel() local
481 hal_ret = dim_init_control(&hdm_ch->ch, is_tx, ch_addr, in configure_channel()
482 is_tx ? new_size * 2 : new_size); in configure_channel()
495 hal_ret = dim_init_async(&hdm_ch->ch, is_tx, ch_addr, in configure_channel()
496 is_tx ? new_size * 2 : new_size); in configure_channel()
510 hal_ret = dim_init_isoc(&hdm_ch->ch, is_tx, ch_addr, sub_size); in configure_channel()
524 hal_ret = dim_init_sync(&hdm_ch->ch, is_tx, ch_addr, sub_size); in configure_channel()
535 hdm_ch->name, hal_ret, ccfg->data_type, (int)is_tx); in configure_channel()
/drivers/net/ethernet/mellanox/mlx4/
A 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()
/drivers/thunderbolt/
A Dnhi.c56 if (!ring->is_tx) in ring_interrupt_index()
100 if (ring->is_tx) in ring_interrupt_active()
251 if (ring->is_tx) { in ring_write_descriptors()
257 if (ring->is_tx) in ring_write_descriptors()
298 if (!ring->is_tx) { in ring_work()
365 if (!ring->is_tx) { in tb_ring_poll()
438 if (ring->is_tx) in ring_clear_msix()
528 if (ring->is_tx) { in nhi_alloc_hop()
565 if (ring->is_tx) in nhi_alloc_hop()
706 if (ring->is_tx) { in tb_ring_start()
[all …]
/drivers/media/v4l2-core/
A Dv4l2-dev.c558 bool is_tx = vdev->vfl_dir != VFL_DIR_RX; in determine_valid_ioctls() local
612 (is_tx && ops->vidioc_enum_fmt_vid_out)) in determine_valid_ioctls()
617 (is_tx && (ops->vidioc_g_fmt_vid_out || in determine_valid_ioctls()
624 (is_tx && (ops->vidioc_s_fmt_vid_out || in determine_valid_ioctls()
664 } else if (is_meta && is_tx) { in determine_valid_ioctls()
675 (is_tx && (ops->vidioc_g_fmt_vbi_out || in determine_valid_ioctls()
680 (is_tx && (ops->vidioc_s_fmt_vbi_out || in determine_valid_ioctls()
708 } else if (is_sdr && is_tx) { in determine_valid_ioctls()
755 if (is_tx) { in determine_valid_ioctls()
778 if (is_tx && (is_radio || is_sdr)) { in determine_valid_ioctls()
[all …]
/drivers/dma/ti/
A 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 …]
/drivers/usb/gadget/udc/
A Dbcm63xx_udc.c215 bool is_tx; member
597 const int max_bd_bytes = !irq_coalesce && !iudma->is_tx ? in iudma_write()
640 if (!iudma->is_tx || iudma->n_bds_used == iudma->n_bds || in iudma_write()
708 if (!iudma->is_tx) in iudma_reset_channel()
719 if (iudma->is_tx && iudma->ep_num >= 0) in iudma_reset_channel()
767 iudma->is_tx = !!(ch_idx & 0x01); in iudma_init_channel()
1093 iudma->is_tx); in bcm63xx_ep_disable()
1182 rc = usb_gadget_map_request(&udc->gadget, req, bep->iudma->is_tx); in bcm63xx_udc_queue()
1392 usb_gadget_map_request(&udc->gadget, req, iudma->is_tx); in bcm63xx_ep0_map_write()
1426 usb_gadget_unmap_request(&udc->gadget, req, is_tx); in bcm63xx_ep0_nuke_reply()
[all …]
/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
A Dmacsec.c240 bool is_tx, in mlx5e_macsec_create_object() argument
276 if (is_tx) { in mlx5e_macsec_create_object()
314 struct mlx5e_macsec_sa *sa, bool is_tx, in mlx5e_macsec_cleanup_sa_fs() argument
317 int action = (is_tx) ? MLX5_ACCEL_MACSEC_ACTION_ENCRYPT : in mlx5e_macsec_cleanup_sa_fs()
329 struct mlx5e_macsec_sa *sa, bool is_tx, in mlx5e_macsec_cleanup_sa() argument
332 mlx5e_macsec_cleanup_sa_fs(macsec, sa, is_tx, netdev, fs_id); in mlx5e_macsec_cleanup_sa()
338 bool is_tx, u32 *fs_id) in mlx5e_macsec_init_sa_fs() argument
346 if (is_tx && tx_sc->encoding_sa != sa->assoc_num) in mlx5e_macsec_init_sa_fs()
352 rule_attrs.action = (is_tx) ? MLX5_ACCEL_MACSEC_ACTION_ENCRYPT : in mlx5e_macsec_init_sa_fs()
366 bool encrypt, bool is_tx, u32 *fs_id) in mlx5e_macsec_init_sa() argument
[all …]
/drivers/net/ethernet/mellanox/mlx5/core/lib/
A Dmacsec_fs.c656 void *macdev, struct rhashtable *hash_table, bool is_tx) in macsec_fs_id_del() argument
671 fs_id_xa = (is_tx) ? &macsec_device->tx_id_xa : in macsec_fs_id_del()
701 bool is_tx) in macsec_fs_id_add() argument
709 if (!is_tx) { in macsec_fs_id_add()
743 fs_id_xa = (is_tx) ? &macsec_device->tx_id_xa : in macsec_fs_id_add()
2089 .is_tx = in mlx5_macsec_fs_add_rule()
2099 data.fs_id = (data.is_tx) ? tx_new_fs_id : *sa_fs_id; in mlx5_macsec_fs_add_rule()
2331 struct mlx5_macsec_fs *macsec_fs, bool is_tx) in mlx5_macsec_add_roce_sa_rules() argument
2333 (is_tx) ? in mlx5_macsec_add_roce_sa_rules()
2343 struct list_head *rx_rules_list, bool is_tx) in mlx5_macsec_del_roce_sa_rules() argument
[all …]
/drivers/net/ieee802154/
A Dmcr20a.c405 bool is_tx; member
473 lp->is_tx = 1; in mcr20a_xmit()
897 if (lp->is_tx) { in mcr20a_irq_clean_complete()
898 lp->is_tx = 0; in mcr20a_irq_clean_complete()
909 if (lp->is_tx) { in mcr20a_irq_clean_complete()
911 lp->is_tx = 0; in mcr20a_irq_clean_complete()
921 if (lp->is_tx) { in mcr20a_irq_clean_complete()
A Dcc2520.c206 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()
A Dat86rf230.c91 bool is_tx; member
347 if (lp->is_tx) { in at86rf230_async_error_recover()
349 lp->is_tx = 0; in at86rf230_async_error_recover()
738 if (lp->is_tx) { in at86rf230_irq_trx_end()
739 lp->is_tx = 0; in at86rf230_irq_trx_end()
837 lp->is_tx = 1; in at86rf230_write_frame()
/drivers/net/wireless/realtek/rtlwifi/
A 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,
A Dbase.c1367 bool rtl_action_proc(struct ieee80211_hw *hw, struct sk_buff *skb, u8 is_tx) in rtl_action_proc() argument
1390 is_tx ? "Tx" : "Rx", hdr->addr2); in rtl_action_proc()
1393 if (!is_tx) { in rtl_action_proc()
1429 is_tx ? "Tx" : "Rx", hdr->addr2); in rtl_action_proc()
1489 u8 rtl_is_special_data(struct ieee80211_hw *hw, struct sk_buff *skb, u8 is_tx, in rtl_is_special_data() argument
1520 (is_tx) ? "Tx" : "Rx"); in rtl_is_special_data()
1522 if (is_tx) in rtl_is_special_data()
1530 if (is_tx) in rtl_is_special_data()
1540 "802.1X %s EAPOL pkt!!\n", (is_tx) ? "Tx" : "Rx"); in rtl_is_special_data()
1542 if (is_tx) { in rtl_is_special_data()
/drivers/net/ethernet/hisilicon/hns3/
A Dhns3_debugfs.c387 struct seq_file *s, int i, bool is_tx) in hns3_get_coal_info() argument
395 if (is_tx) { in hns3_get_coal_info()
431 static void hns3_dump_coal_info(struct seq_file *s, bool is_tx) in hns3_dump_coal_info() argument
438 seq_printf(s, "%s interrupt coalesce info:\n", is_tx ? "tx" : "rx"); in hns3_dump_coal_info()
446 hns3_get_coal_info(tqp_vector, s, i, is_tx); in hns3_dump_coal_info()
/drivers/net/ethernet/broadcom/
A Dbcm4908_enet.c62 int is_tx; member
222 tx_ring->is_tx = 1; in bcm4908_enet_dma_alloc()
232 rx_ring->is_tx = 0; in bcm4908_enet_dma_alloc()
302 int reset_subch = ring->is_tx ? 1 : 0; in bcm4908_enet_dma_ring_init()
/drivers/infiniband/hw/mlx5/
A Dmacsec.c112 data->is_tx); in handle_macsec_gids()
126 &macsec_device->rx_rules_list, data->is_tx); in del_sa_roce_rule()
/drivers/net/wan/
A Dixp4xx_hss.c589 int is_tx) in queue_get_desc() argument
599 tab_phys = is_tx ? tx_desc_phys(port, 0) : rx_desc_phys(port, 0); in queue_get_desc()
600 tab = is_tx ? tx_desc_ptr(port, 0) : rx_desc_ptr(port, 0); in queue_get_desc()
602 BUG_ON(n_desc >= (is_tx ? TX_DESCS : RX_DESCS)); in queue_get_desc()

Completed in 88 milliseconds

12