/openbmc/linux/drivers/net/wwan/t7xx/ |
H A D | t7xx_cldma.c | 64 enum mtk_txrx tx_rx) in t7xx_cldma_hw_start_queue() argument 69 reg = tx_rx == MTK_RX ? hw_info->ap_pdn_base + REG_CLDMA_DL_START_CMD : in t7xx_cldma_hw_start_queue() 113 enum mtk_txrx tx_rx) in t7xx_cldma_hw_set_start_addr() argument 118 reg = tx_rx == MTK_RX ? hw_info->ap_ao_base + REG_CLDMA_DL_START_ADDRL_0 : in t7xx_cldma_hw_set_start_addr() 124 enum mtk_txrx tx_rx) in t7xx_cldma_hw_resume_queue() argument 128 if (tx_rx == MTK_RX) in t7xx_cldma_hw_resume_queue() 135 enum mtk_txrx tx_rx) in t7xx_cldma_hw_queue_status() argument 141 reg = tx_rx == MTK_RX ? hw_info->ap_ao_base + REG_CLDMA_DL_STATUS : in t7xx_cldma_hw_queue_status() 171 enum mtk_txrx tx_rx) in t7xx_cldma_hw_int_status() argument 176 reg = tx_rx == MTK_RX ? hw_info->ap_pdn_base + REG_CLDMA_L2RISAR0 : in t7xx_cldma_hw_int_status() [all …]
|
H A D | t7xx_cldma.h | 154 enum mtk_txrx tx_rx); 156 enum mtk_txrx tx_rx); 158 enum mtk_txrx tx_rx); 159 void t7xx_cldma_hw_irq_en_eq(struct t7xx_cldma_hw *hw_info, unsigned int qno, enum mtk_txrx tx_rx); 161 enum mtk_txrx tx_rx); 164 enum mtk_txrx tx_rx); 167 enum mtk_txrx tx_rx); 170 void t7xx_cldma_hw_stop_all_qs(struct t7xx_cldma_hw *hw_info, enum mtk_txrx tx_rx); 172 unsigned int qno, u64 address, enum mtk_txrx tx_rx); 174 void t7xx_cldma_hw_stop(struct t7xx_cldma_hw *hw_info, enum mtk_txrx tx_rx); [all …]
|
H A D | t7xx_hif_cldma.h | 124 void t7xx_cldma_stop_all_qs(struct cldma_ctrl *md_ctrl, enum mtk_txrx tx_rx); 125 void t7xx_cldma_clear_all_qs(struct cldma_ctrl *md_ctrl, enum mtk_txrx tx_rx);
|
H A D | t7xx_hif_cldma.c | 63 enum mtk_txrx tx_rx, unsigned int index) in md_cd_queue_struct_reset() argument 65 queue->dir = tx_rx; in md_cd_queue_struct_reset() 74 enum mtk_txrx tx_rx, unsigned int index) in md_cd_queue_struct_init() argument 76 md_cd_queue_struct_reset(queue, md_ctrl, tx_rx, index); in md_cd_queue_struct_init() 372 struct cldma_ring *ring, enum dma_data_direction tx_rx) in t7xx_cldma_ring_free() argument 379 ring->pkt_size, tx_rx); in t7xx_cldma_ring_free() 816 void t7xx_cldma_clear_all_qs(struct cldma_ctrl *md_ctrl, enum mtk_txrx tx_rx) in t7xx_cldma_clear_all_qs() argument 820 if (tx_rx == MTK_TX) { in t7xx_cldma_clear_all_qs() 829 void t7xx_cldma_stop_all_qs(struct cldma_ctrl *md_ctrl, enum mtk_txrx tx_rx) in t7xx_cldma_stop_all_qs() argument 835 t7xx_cldma_hw_irq_dis_eq(hw_info, CLDMA_ALL_Q, tx_rx); in t7xx_cldma_stop_all_qs() [all …]
|
/openbmc/u-boot/drivers/w1/ |
H A D | mxc_w1.c | 38 u16 tx_rx; member 93 readw(®s->tx_rx); in mxc_w1_read_byte() 94 writew(0xFF, ®s->tx_rx); in mxc_w1_read_byte() 101 return (u8)readw(®s->tx_rx); in mxc_w1_read_byte() 119 readw(®s->tx_rx); in mxc_w1_write_byte() 120 writew(byte, ®s->tx_rx); in mxc_w1_write_byte()
|
/openbmc/qemu/hw/ssi/ |
H A D | xilinx_spips.c | 454 uint8_t tx_rx[2] = { 0 }; in xlnx_zynqmp_qspips_flush_fifo_g() local 505 tx_rx[0] = ARRAY_FIELD_EX32(s->regs, in xlnx_zynqmp_qspips_flush_fifo_g() 510 tx_rx[i] = fifo8_pop(&s->tx_fifo_g); in xlnx_zynqmp_qspips_flush_fifo_g() 519 tx_rx[1] = tx_rx[0]; in xlnx_zynqmp_qspips_flush_fifo_g() 523 DB_PRINT_L(1, "bus %d tx = %02x\n", i, tx_rx[i]); in xlnx_zynqmp_qspips_flush_fifo_g() 524 tx_rx[i] = ssi_transfer(XILINX_SPIPS(s)->spi[i], tx_rx[i]); in xlnx_zynqmp_qspips_flush_fifo_g() 525 DB_PRINT_L(1, "bus %d rx = %02x\n", i, tx_rx[i]); in xlnx_zynqmp_qspips_flush_fifo_g() 536 DB_PRINT_L(1, "bus %d push_byte = %02x\n", i, tx_rx[i]); in xlnx_zynqmp_qspips_flush_fifo_g() 537 fifo8_push(&s->rx_fifo_g, tx_rx[i]); in xlnx_zynqmp_qspips_flush_fifo_g() 613 uint8_t tx_rx[MAX_NUM_BUSSES] = { 0 }; in xilinx_spips_flush_txfifo() local [all …]
|
H A D | xlnx-versal-ospi.c | 634 uint32_t tx_rx = fifo8_pop(&s->tx_fifo); in ospi_flush_txfifo() local 636 tx_rx = ssi_transfer(s->spi, tx_rx); in ospi_flush_txfifo() 637 fifo8_push(&s->rx_fifo, tx_rx); in ospi_flush_txfifo()
|
/openbmc/linux/drivers/net/ethernet/synopsys/ |
H A D | dwc-xlgmac-common.c | 333 struct sk_buff *skb, bool tx_rx) in xlgmac_print_pkt() argument 342 (tx_rx ? "TX" : "RX"), skb->len); in xlgmac_print_pkt()
|
H A D | dwc-xlgmac.h | 646 struct sk_buff *skb, bool tx_rx);
|
/openbmc/linux/drivers/net/ethernet/amd/xgbe/ |
H A D | xgbe-drv.c | 2789 void xgbe_print_pkt(struct net_device *netdev, struct sk_buff *skb, bool tx_rx) in xgbe_print_pkt() argument 2798 (tx_rx ? "TX" : "RX"), skb->len); in xgbe_print_pkt()
|