Home
last modified time | relevance | path

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

12

/linux/drivers/usb/musb/
H A 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 …]
H 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()
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 …]
H A Dcppi_dma.h131 u8 is_tx; member
H A Dmusb_dma.h156 struct musb_hw_ep *, u8 is_tx);
/linux/drivers/mailbox/
H 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()
523 qinst->is_tx = (readl(qinst->queue_ctrl) & in ti_msgmgr_queue_startup()
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()
[all …]
/linux/include/linux/mlx5/
H A Dmacsec.h12 bool is_tx; member
25 struct mlx5_macsec_fs *macsec_fs, bool is_tx);
29 struct list_head *rx_rules_list, bool is_tx);
/linux/drivers/net/ethernet/mellanox/mlx4/
H 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()
/linux/drivers/usb/gadget/udc/
H 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()
1218 usb_gadget_unmap_request(&udc->gadget, &breq->req, bep->iudma->is_tx); in bcm63xx_udc_dequeue()
1392 usb_gadget_map_request(&udc->gadget, req, iudma->is_tx); in bcm63xx_ep0_map_write()
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
H A Dmacsec.c241 bool is_tx, in mlx5e_macsec_create_object() argument
277 if (is_tx) { in mlx5e_macsec_create_object()
315 struct mlx5e_macsec_sa *sa, bool is_tx, in mlx5e_macsec_cleanup_sa_fs() argument
318 int action = (is_tx) ? MLX5_ACCEL_MACSEC_ACTION_ENCRYPT : in mlx5e_macsec_cleanup_sa_fs()
330 struct mlx5e_macsec_sa *sa, bool is_tx, in mlx5e_macsec_cleanup_sa() argument
333 mlx5e_macsec_cleanup_sa_fs(macsec, sa, is_tx, netdev, fs_id); in mlx5e_macsec_cleanup_sa()
339 bool is_tx, u32 *fs_id) in mlx5e_macsec_init_sa_fs() argument
347 if (is_tx && tx_sc->encoding_sa != sa->assoc_num) in mlx5e_macsec_init_sa_fs()
353 rule_attrs.action = (is_tx) ? MLX5_ACCEL_MACSEC_ACTION_ENCRYPT : in mlx5e_macsec_init_sa_fs()
367 bool encrypt, bool is_tx, u32 *fs_id) in mlx5e_macsec_init_sa() argument
[all …]
/linux/drivers/net/ieee802154/
H 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()
H 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()
H 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()
/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A Dmacsec_fs.c652 void *macdev, struct rhashtable *hash_table, bool is_tx) in macsec_fs_id_del() argument
654 const struct rhashtable_params *rhash = (is_tx) ? &rhash_sci : &rhash_fs_id; in macsec_fs_id_del()
667 fs_id_xa = (is_tx) ? &macsec_device->tx_id_xa : in macsec_fs_id_del()
697 bool is_tx) in macsec_fs_id_add() argument
699 const struct rhashtable_params *rhash = (is_tx) ? &rhash_sci : &rhash_fs_id; in macsec_fs_id_add()
705 if (!is_tx) { in macsec_fs_id_add()
739 fs_id_xa = (is_tx) ? &macsec_device->tx_id_xa : in macsec_fs_id_add()
2085 .is_tx = in mlx5_macsec_fs_add_rule()
2095 data.fs_id = (data.is_tx) ? tx_new_fs_id : *sa_fs_id; in mlx5_macsec_fs_add_rule()
2110 .is_tx = (action == MLX5_ACCEL_MACSEC_ACTION_ENCRYPT) in mlx5_macsec_fs_del_rule()
[all …]
/linux/lib/dim/
H A Dnet_dim.c168 void net_dim_setting(struct net_device *dev, struct dim *dim, bool is_tx) in net_dim_setting() argument
175 if (is_tx) { in net_dim_setting()
/linux/drivers/infiniband/hw/mlx5/
H A Dmacsec.c112 data->is_tx); in handle_macsec_gids()
126 &macsec_device->rx_rules_list, data->is_tx); in del_sa_roce_rule()
/linux/sound/soc/intel/atom/
H A 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), \
H A 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/sound/soc/codecs/
H A Dwcd938x-sdw.c110 if (wcd->is_tx) in wcd938x_sdw_hw_params()
1168 wcd->is_tx = true; in wcd9380_probe()
1189 if (wcd->is_tx) { in wcd9380_probe()
1200 if (wcd->is_tx) { in wcd9380_probe()
/linux/drivers/net/ethernet/broadcom/
H 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()
/linux/drivers/spi/
H A Dspi-bcm2835.c675 bool is_tx) in bcm2835_spi_prepare_sg() argument
686 if (is_tx) { in bcm2835_spi_prepare_sg()
708 if (!is_tx) { in bcm2835_spi_prepare_sg()
/linux/drivers/dma/
H A Dapple-admac.c745 bool is_tx = admac_chan_direction(adchan->no) == DMA_MEM_TO_DEV; in admac_device_config() local
750 switch (is_tx ? config->dst_addr_width : config->src_addr_width) { in admac_device_config()
774 switch (is_tx ? config->dst_port_window_size : config->src_port_window_size) { in admac_device_config()
/linux/drivers/net/ethernet/xscale/
H A Dixp4xx_eth.c651 int is_tx) in queue_get_desc() argument
660 tab_phys = is_tx ? tx_desc_phys(port, 0) : rx_desc_phys(port, 0); in queue_get_desc()
661 tab = is_tx ? tx_desc_ptr(port, 0) : rx_desc_ptr(port, 0); in queue_get_desc()
663 BUG_ON(n_desc >= (is_tx ? TX_DESCS : RX_DESCS)); in queue_get_desc()
/linux/net/tipc/
H A Dcrypto.c310 #define is_tx(crypto) (!(crypto)->node) macro
311 #define is_rx(crypto) (!is_tx(crypto))
1196 aead->gen = (is_tx(c)) ? ++c->key_gen : c->key_gen; in tipc_crypto_key_attach()
1531 if (is_tx(c)) { in tipc_crypto_stop()
1908 if (unlikely(is_tx(aead->crypto))) { in tipc_crypto_rcv_complete()
/linux/drivers/media/v4l2-core/
H A Dv4l2-ioctl.c942 bool is_tx = vfd->vfl_dir != VFL_DIR_RX; in check_fmt() local
962 if (is_vid && is_tx && in check_fmt()
967 if (is_vid && is_tx && ops->vidioc_g_fmt_vid_out_mplane) in check_fmt()
971 if (is_vid && is_tx && ops->vidioc_g_fmt_vid_out_overlay) in check_fmt()
979 if (is_vbi && is_tx && ops->vidioc_g_fmt_vbi_out) in check_fmt()
987 if (is_vbi && is_tx && ops->vidioc_g_fmt_sliced_vbi_out) in check_fmt()
995 if (is_sdr && is_tx && ops->vidioc_g_fmt_sdr_out) in check_fmt()
1003 if (is_meta && is_tx && ops->vidioc_g_fmt_meta_out) in check_fmt()
/linux/drivers/media/i2c/adv748x/
H A Dadv748x-core.c604 sd->entity.ops = is_tx(adv748x_sd_to_csi2(sd)) ? in adv748x_subdev_init()

12