/drivers/usb/musb/ |
D | musb_cppi41.c | 59 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 …]
|
D | ux500_dma.c | 38 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 …]
|
D | musb_trace.h | 215 __field(u8, is_tx) 226 __entry->is_tx = req->tx; 237 __entry->is_tx ? "tx/IN" : "rx/OUT", 295 __field(u8, is_tx) 305 __entry->is_tx = ch->is_tx; 312 __entry->port, __entry->is_tx ? "tx" : "rx",
|
D | cppi_dma.h | 134 u8 is_tx; member
|
D | musb_dma.h | 157 struct musb_hw_ep *, u8 is_tx);
|
/drivers/mailbox/ |
D | ti-msgmgr.c | 48 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 …]
|
/drivers/staging/most/dim2/ |
D | hal.h | 70 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,
|
D | hal.c | 350 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 …]
|
D | dim2.c | 443 bool const is_tx = ccfg->direction == MOST_CH_TX; in configure_channel() local 475 hal_ret = dim_init_control(&hdm_ch->ch, is_tx, ch_addr, in configure_channel() 476 is_tx ? new_size * 2 : new_size); in configure_channel() 489 hal_ret = dim_init_async(&hdm_ch->ch, is_tx, ch_addr, in configure_channel() 490 is_tx ? new_size * 2 : new_size); in configure_channel() 504 hal_ret = dim_init_isoc(&hdm_ch->ch, is_tx, ch_addr, sub_size); in configure_channel() 518 hal_ret = dim_init_sync(&hdm_ch->ch, is_tx, ch_addr, sub_size); in configure_channel() 529 hdm_ch->name, hal_ret, ccfg->data_type, (int)is_tx); in configure_channel()
|
/drivers/net/ethernet/mellanox/mlx4/ |
D | en_resources.c | 41 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/ |
D | nhi.c | 25 #define RING_TYPE(ring) ((ring)->is_tx ? "TX ring" : "RX ring") 46 if (!ring->is_tx) in ring_interrupt_index() 69 if (ring->is_tx) in ring_interrupt_active() 134 io += ring->is_tx ? REG_TX_RING_BASE : REG_RX_RING_BASE; in ring_desc_base() 142 io += ring->is_tx ? REG_TX_OPTIONS_BASE : REG_RX_OPTIONS_BASE; in ring_options_base() 206 if (ring->is_tx) { in ring_write_descriptors() 212 if (ring->is_tx) in ring_write_descriptors() 253 if (!ring->is_tx) { in ring_work() 320 if (!ring->is_tx) { in tb_ring_poll() 446 if (ring->is_tx) { in nhi_alloc_hop() [all …]
|
/drivers/media/v4l2-core/ |
D | v4l2-dev.c | 544 bool is_tx = vdev->vfl_dir != VFL_DIR_RX; in determine_valid_ioctls() local 594 (is_tx && (ops->vidioc_enum_fmt_vid_out || in determine_valid_ioctls() 601 (is_tx && (ops->vidioc_g_fmt_vid_out || in determine_valid_ioctls() 610 (is_tx && (ops->vidioc_s_fmt_vid_out || in determine_valid_ioctls() 619 (is_tx && (ops->vidioc_try_fmt_vid_out || in determine_valid_ioctls() 648 (is_tx && (ops->vidioc_g_fmt_vbi_out || in determine_valid_ioctls() 653 (is_tx && (ops->vidioc_s_fmt_vbi_out || in determine_valid_ioctls() 658 (is_tx && (ops->vidioc_try_fmt_vbi_out || in determine_valid_ioctls() 672 } else if (is_sdr && is_tx) { in determine_valid_ioctls() 714 if (is_tx) { in determine_valid_ioctls() [all …]
|
D | v4l2-ioctl.c | 942 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_vid && is_tx && ops->vidioc_g_fmt_meta_out) in check_fmt()
|
/drivers/dma/ti/ |
D | cppi41.c | 92 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/ |
D | bcm63xx_udc.c | 214 bool is_tx; member 599 const int max_bd_bytes = !irq_coalesce && !iudma->is_tx ? in iudma_write() 642 if (!iudma->is_tx || iudma->n_bds_used == iudma->n_bds || in iudma_write() 710 if (!iudma->is_tx) in iudma_reset_channel() 721 if (iudma->is_tx && iudma->ep_num >= 0) in iudma_reset_channel() 769 iudma->is_tx = !!(ch_idx & 0x01); in iudma_init_channel() 1095 iudma->is_tx); in bcm63xx_ep_disable() 1184 rc = usb_gadget_map_request(&udc->gadget, req, bep->iudma->is_tx); in bcm63xx_udc_queue() 1220 usb_gadget_unmap_request(&udc->gadget, &breq->req, bep->iudma->is_tx); in bcm63xx_udc_dequeue() 1394 usb_gadget_map_request(&udc->gadget, req, iudma->is_tx); in bcm63xx_ep0_map_write() [all …]
|
/drivers/net/ieee802154/ |
D | mcr20a.c | 406 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()
|
D | cc2520.c | 207 bool is_tx; /* Flag for sync b/w Tx and Rx */ member 515 WARN_ON(priv->is_tx); in cc2520_tx() 516 priv->is_tx = 1; in cc2520_tx() 533 priv->is_tx = 0; in cc2520_tx() 904 if (priv->is_tx) { in cc2520_sfd_isr() 905 priv->is_tx = 0; in cc2520_sfd_isr()
|
D | at86rf230.c | 101 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()
|
/drivers/net/wireless/realtek/rtlwifi/ |
D | base.h | 77 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,
|
D | base.c | 1367 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() 1433 is_tx ? "Tx" : "Rx", hdr->addr2); in rtl_action_proc() 1493 u8 rtl_is_special_data(struct ieee80211_hw *hw, struct sk_buff *skb, u8 is_tx, in rtl_is_special_data() argument 1524 (is_tx) ? "Tx" : "Rx"); in rtl_is_special_data() 1526 if (is_tx) in rtl_is_special_data() 1534 if (is_tx) in rtl_is_special_data() 1544 "802.1X %s EAPOL pkt!!\n", (is_tx) ? "Tx" : "Rx"); in rtl_is_special_data() 1546 if (is_tx) { in rtl_is_special_data()
|
/drivers/net/wan/ |
D | ixp4xx_hss.c | 580 int is_tx) in queue_get_desc() argument 589 tab_phys = is_tx ? tx_desc_phys(port, 0) : rx_desc_phys(port, 0); in queue_get_desc() 590 tab = is_tx ? tx_desc_ptr(port, 0) : rx_desc_ptr(port, 0); in queue_get_desc() 592 BUG_ON(n_desc >= (is_tx ? TX_DESCS : RX_DESCS)); in queue_get_desc()
|
/drivers/spi/ |
D | spi-bcm2835.c | 663 bool is_tx) in bcm2835_spi_prepare_sg() argument 674 if (is_tx) { in bcm2835_spi_prepare_sg() 696 if (!is_tx) { in bcm2835_spi_prepare_sg()
|
/drivers/net/ethernet/xscale/ |
D | ixp4xx_eth.c | 624 int is_tx) in queue_get_desc() argument 633 tab_phys = is_tx ? tx_desc_phys(port, 0) : rx_desc_phys(port, 0); in queue_get_desc() 634 tab = is_tx ? tx_desc_ptr(port, 0) : rx_desc_ptr(port, 0); in queue_get_desc() 636 BUG_ON(n_desc >= (is_tx ? TX_DESCS : RX_DESCS)); in queue_get_desc()
|
/drivers/net/wireless/ath/ath9k/ |
D | init.c | 285 int nbuf, int ndesc, bool is_tx) in ath_descdma_setup() argument 296 if (is_tx) in ath_descdma_setup() 340 if (is_tx) { in ath_descdma_setup()
|
/drivers/scsi/isci/ |
D | request.c | 2352 int is_tx = 0; in sci_request_handle_suspending_completions() local 2357 is_tx = sci_request_smp_completion_status_is_tx_suspend( in sci_request_handle_suspending_completions() 2363 is_tx = sci_request_ssp_completion_status_is_tx_suspend( in sci_request_handle_suspending_completions() 2369 is_tx = sci_request_stpsata_completion_status_is_tx_suspend( in sci_request_handle_suspending_completions() 2381 if (is_tx || is_tx_rx) { in sci_request_handle_suspending_completions() 2382 BUG_ON(is_tx && is_tx_rx); in sci_request_handle_suspending_completions()
|