Home
last modified time | relevance | path

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

12

/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/drivers/usb/musb/
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/staging/most/dim2/
H 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,
H A Dhal.c349 static void dim2_configure_channel(u8 ch_addr, u8 type, u8 is_tx, u16 dbr_address, in dim2_configure_channel() argument
353 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()
808 u8 dim_init_control(struct dim_channel *ch, u8 is_tx, u16 ch_address, in dim_init_control() argument
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()
[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/thunderbolt/
H A Dnhi.c29 #define RING_TYPE(ring) ((ring)->is_tx ? "TX ring" : "RX ring")
57 if (!ring->is_tx) in ring_interrupt_index()
101 if (ring->is_tx) in ring_interrupt_active()
180 io += ring->is_tx ? REG_TX_RING_BASE : REG_RX_RING_BASE; in ring_desc_base()
188 io += ring->is_tx ? REG_TX_OPTIONS_BASE : REG_RX_OPTIONS_BASE; in ring_options_base()
252 if (ring->is_tx) { in ring_write_descriptors()
258 if (ring->is_tx) in ring_write_descriptors()
299 if (!ring->is_tx) { in ring_work()
368 if (!ring->is_tx) { in tb_ring_poll()
441 if (ring->is_tx) in ring_clear_msix()
[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()
/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/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()
H A Dfs.c1046 bool is_tx; in add_op_fc_rules() local
1076 is_tx = false; in add_op_fc_rules()
1093 is_tx = false; in add_op_fc_rules()
1104 is_tx = true; in add_op_fc_rules()
1109 is_tx = true; in add_op_fc_rules()
1114 is_tx = false; in add_op_fc_rules()
1121 if (is_tx) { in add_op_fc_rules()
/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/wireless/ath/ath9k/
H A Dinit.c284 int nbuf, int ndesc, bool is_tx) in ath_descdma_setup() argument
295 if (is_tx) in ath_descdma_setup()
339 if (is_tx) { in ath_descdma_setup()
H A Dath9k.h79 int nbuf, int ndesc, bool is_tx);
/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/i2c/adv748x/
H A Dadv748x-core.c604 sd->entity.ops = is_tx(adv748x_sd_to_csi2(sd)) ? in adv748x_subdev_init()
/linux/drivers/net/wireless/intel/iwlegacy/
H A Ddebug.c28 il_update_stats(struct il_priv *il, bool is_tx, __le16 fc, u16 len) in il_update_stats() argument
32 if (is_tx) in il_update_stats()
H A Dcommon.h1727 void il_update_stats(struct il_priv *il, bool is_tx, __le16 fc, u16 len);
1730 il_update_stats(struct il_priv *il, bool is_tx, __le16 fc, u16 len) in il_update_stats() argument
/linux/drivers/platform/raspberrypi/vchiq-interface/
H A Dvchiq_core.c1788 int is_tx = (queue == &service->bulk_tx); in abort_outstanding_bulks() local
1793 is_tx ? 't' : 'r', queue->local_insert, in abort_outstanding_bulks()
1815 is_tx ? "Send Bulk to" : "Recv Bulk from", in abort_outstanding_bulks()
1823 bulk->dir = is_tx ? VCHIQ_BULK_TRANSMIT : in abort_outstanding_bulks()
/linux/drivers/net/thunderbolt/
H A Dmain.c348 if (ring->ring->is_tx) { in tbnet_free_buffers()

12