| /OK3568_Linux_fs/kernel/sound/soc/pxa/ |
| H A D | mmp-sspa.c | 31 void __iomem *tx_base; member 52 __raw_writel(sspa_sp, sspa->tx_base + SSPA_SP); in mmp_sspa_tx_enable() 62 __raw_writel(sspa_sp, sspa->tx_base + SSPA_SP); in mmp_sspa_tx_disable() 266 __raw_writel(sspa_ctrl, sspa->tx_base + SSPA_CTL); in mmp_sspa_hw_params() 267 __raw_writel(0x1, sspa->tx_base + SSPA_FIFO_UL); in mmp_sspa_hw_params() 419 if ((__raw_readl(sspa->tx_base + SSPA_SP) & SSPA_SP_S_EN) || in mmp_sspa_open() 426 __raw_writel(sspa->sp, sspa->tx_base + SSPA_SP); in mmp_sspa_open() 430 __raw_writel(sspa->sp, sspa->tx_base + SSPA_SP); in mmp_sspa_open() 440 __raw_writel(sspa->sp & ~SSPA_SP_MSL, sspa->tx_base + SSPA_SP); in mmp_sspa_open() 442 __raw_writel(sspa->ctrl, sspa->tx_base + SSPA_CTL); in mmp_sspa_open() [all …]
|
| /OK3568_Linux_fs/kernel/sound/soc/tegra/ |
| H A D | tegra210_admaif.c | 23 #define CH_TX_REG(reg, id) CH_REG(admaif->soc_data->tx_base, reg, id) 27 #define REG_DEFAULTS(id, rx_ctrl, tx_ctrl, tx_base, rx_base) \ argument 31 { CH_REG(tx_base, TEGRA_ADMAIF_TX_INT_MASK, id), 0x00000001 }, \ 32 { CH_REG(tx_base, TEGRA_ADMAIF_CH_ACIF_TX_CTRL, id), 0x00007700 }, \ 33 { CH_REG(tx_base, TEGRA_ADMAIF_TX_FIFO_CTRL, id), tx_ctrl } 86 unsigned int tx_base = admaif->soc_data->tx_base; in tegra_admaif_wr_reg() local 90 unsigned int tx_max = tx_base + (num_ch * ch_stride); in tegra_admaif_wr_reg() 99 } else if ((reg >= tx_base) && (reg < tx_max)) { in tegra_admaif_wr_reg() 100 reg = (reg - tx_base) % ch_stride; in tegra_admaif_wr_reg() 120 unsigned int tx_base = admaif->soc_data->tx_base; in tegra_admaif_rd_reg() local [all …]
|
| H A D | tegra210_admaif.h | 148 unsigned int tx_base; member
|
| /OK3568_Linux_fs/u-boot/drivers/misc/ |
| H A D | tegra186_bpmp.c | 176 ulong tx_base, rx_base, start_time; in tegra186_bpmp_probe() local 186 tx_base = tegra186_bpmp_get_shmem(dev, 0); in tegra186_bpmp_probe() 187 if (IS_ERR_VALUE(tx_base)) { in tegra186_bpmp_probe() 189 return tx_base; in tegra186_bpmp_probe() 196 debug("shmem: rx=%lx, tx=%lx\n", rx_base, tx_base); in tegra186_bpmp_probe() 198 ret = tegra_ivc_init(&priv->ivc, rx_base, tx_base, BPMP_IVC_FRAME_COUNT, in tegra186_bpmp_probe()
|
| /OK3568_Linux_fs/kernel/drivers/platform/mellanox/ |
| H A D | mlxbf-tmfifo.c | 159 void __iomem *tx_base; member 492 sts = readq(fifo->tx_base + MLXBF_TMFIFO_TX_STS); in mlxbf_tmfifo_get_tx_avail() 528 writeq(*(u64 *)&hdr, fifo->tx_base + MLXBF_TMFIFO_TX_DATA); in mlxbf_tmfifo_console_tx() 545 writeq(data, fifo->tx_base + MLXBF_TMFIFO_TX_DATA); in mlxbf_tmfifo_console_tx() 598 writeq(data, fifo->tx_base + MLXBF_TMFIFO_TX_DATA); in mlxbf_tmfifo_rxtx_word() 664 writeq(*(u64 *)&hdr, fifo->tx_base + MLXBF_TMFIFO_TX_DATA); in mlxbf_tmfifo_rxtx_header() 1158 ctl = readq(fifo->tx_base + MLXBF_TMFIFO_TX_CTL); in mlxbf_tmfifo_set_threshold() 1167 writeq(ctl, fifo->tx_base + MLXBF_TMFIFO_TX_CTL); in mlxbf_tmfifo_set_threshold() 1215 fifo->tx_base = devm_platform_ioremap_resource(pdev, 1); in mlxbf_tmfifo_probe() 1216 if (IS_ERR(fifo->tx_base)) in mlxbf_tmfifo_probe() [all …]
|
| /OK3568_Linux_fs/u-boot/arch/arm/mach-tegra/ |
| H A D | ivc.c | 531 int tegra_ivc_init(struct tegra_ivc *ivc, ulong rx_base, ulong tx_base, in tegra_ivc_init() argument 540 ret = check_ivc_params(rx_base, tx_base, nframes, frame_size); in tegra_ivc_init() 545 ivc->tx_channel = (struct tegra_ivc_channel_header *)tx_base; in tegra_ivc_init()
|
| /OK3568_Linux_fs/u-boot/arch/arm/include/asm/arch-tegra/ |
| H A D | ivc.h | 175 int tegra_ivc_init(struct tegra_ivc *ivc, ulong rx_base, ulong tx_base,
|
| /OK3568_Linux_fs/kernel/drivers/usb/host/ |
| H A D | fhci-tds.c | 262 out_be16(&ep->ep_pram_ptr->tx_base, cpm_muram_offset(ep->td_base)); in fhci_init_ep_registers() 509 in_be16(&ep->ep_pram_ptr->tx_base)); in fhci_flush_bds() 558 in_be16(&ep->ep_pram_ptr->tx_base)); in fhci_flush_actual_frame()
|
| H A D | fhci.h | 192 __be16 tx_base; /* Tx BD base address */ member
|
| /OK3568_Linux_fs/kernel/arch/sparc/kernel/ |
| H A D | ldc.c | 122 struct ldc_packet *tx_base; member 232 p = lp->tx_base; in handshake_get_tx_packet() 288 p = lp->tx_base; in data_get_tx_packet() 344 BUG_ON(p != (lp->tx_base + (lp->tx_tail / LDC_PACKET_SIZE))); in send_tx_packet() 764 struct ldc_packet *p = lp->tx_base + (head / LDC_PACKET_SIZE); in process_data_ack() 1212 &lp->tx_base, &lp->tx_ra); in ldc_alloc() 1249 free_queue(lp->tx_num_entries, lp->tx_base); in ldc_alloc() 1279 free_queue(lp->tx_num_entries, lp->tx_base); in ldc_unbind() 1596 struct ldc_packet *p = lp->tx_base + (tail / LDC_PACKET_SIZE); in write_nonraw()
|
| /OK3568_Linux_fs/kernel/drivers/slimbus/ |
| H A D | qcom-ngd-ctrl.c | 164 void *tx_base; member 530 desc->base = ctrl->tx_base + ctrl->tx_tail * SLIM_MSGQ_BUF_LEN; in qcom_slim_ngd_tx_msg_get() 564 offset = buf - ctrl->tx_base; in qcom_slim_ngd_tx_msg_post() 569 desc->base = ctrl->tx_base + offset; in qcom_slim_ngd_tx_msg_post() 717 ctrl->tx_base = dma_alloc_coherent(dev, size, &ctrl->tx_phys_base, in qcom_slim_ngd_init_tx_msgq() 719 if (!ctrl->tx_base) { in qcom_slim_ngd_init_tx_msgq()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/moxa/ |
| H A D | moxart_ether.c | 81 priv->tx_desc_base, priv->tx_base); in moxart_mac_free_memory() 162 writel(priv->tx_base, priv->base + REG_TXR_BASE_ADDRESS); in moxart_mac_setup_desc_ring() 499 TX_DESC_NUM, &priv->tx_base, in moxart_mac_probe()
|
| H A D | moxart_ether.h | 310 dma_addr_t tx_base; member
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/netronome/nfp/ |
| H A D | nfp_net_main.c | 109 u32 tx_base, rx_base, n_tx_rings, n_rx_rings; in nfp_net_pf_alloc_vnic() local 113 tx_base = readl(ctrl_bar + NFP_NET_CFG_START_TXQ); in nfp_net_pf_alloc_vnic() 126 nn->tx_bar = qc_bar + tx_base * NFP_QCP_QUEUE_ADDR_SZ; in nfp_net_pf_alloc_vnic()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/amd/ |
| H A D | au1000_eth.c | 631 au1000_setup_hw_rings(struct au1000_private *aup, void __iomem *tx_base) in au1000_setup_hw_rings() argument 637 (tx_base + 0x100 + sizeof(struct rx_dma) * i); in au1000_setup_hw_rings() 641 (tx_base + sizeof(struct tx_dma) * i); in au1000_setup_hw_rings()
|
| /OK3568_Linux_fs/u-boot/drivers/net/ |
| H A D | e1000.c | 63 DEFINE_ALIGN_BUFFER(struct e1000_tx_desc, tx_base, 16, E1000_BUFFER_ALIGN); 4959 E1000_WRITE_REG(hw, TDBAL, lower_32_bits((unsigned long)tx_base)); in e1000_configure_tx() 4960 E1000_WRITE_REG(hw, TDBAH, upper_32_bits((unsigned long)tx_base)); in e1000_configure_tx() 5163 txp = tx_base + tx_tail; in _e1000_transmit()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/broadcom/bnxt/ |
| H A D | bnxt_ethtool.c | 532 int tx_base = 0; in is_tx_ring() local 535 tx_base = bp->rx_nr_rings; in is_tx_ring() 537 if (ring_num >= tx_base && ring_num < (tx_base + bp->tx_nr_rings)) in is_tx_ring()
|