Home
last modified time | relevance | path

Searched refs:rx_base (Results 1 – 14 of 14) sorted by relevance

/linux/drivers/mailbox/
H A Dqcom-cpucp-mbox.c40 void __iomem *rx_base; member
54 status = readq(cpucp->rx_base + APSS_CPUCP_RX_MBOX_STAT); in qcom_cpucp_mbox_irq_fn()
57 u32 val = readl(cpucp->rx_base + APSS_CPUCP_RX_MBOX_CMD(i) + APSS_CPUCP_MBOX_CMD_OFF); in qcom_cpucp_mbox_irq_fn()
65 writeq(BIT(i), cpucp->rx_base + APSS_CPUCP_RX_MBOX_CLEAR); in qcom_cpucp_mbox_irq_fn()
78 val = readq(cpucp->rx_base + APSS_CPUCP_RX_MBOX_EN); in qcom_cpucp_mbox_startup()
80 writeq(val, cpucp->rx_base + APSS_CPUCP_RX_MBOX_EN); in qcom_cpucp_mbox_startup()
91 val = readq(cpucp->rx_base + APSS_CPUCP_RX_MBOX_EN); in qcom_cpucp_mbox_shutdown()
93 writeq(val, cpucp->rx_base + APSS_CPUCP_RX_MBOX_EN); in qcom_cpucp_mbox_shutdown()
124 cpucp->rx_base = devm_of_iomap(dev, dev->of_node, 0, NULL); in qcom_cpucp_mbox_probe()
125 if (IS_ERR(cpucp->rx_base)) in qcom_cpucp_mbox_probe()
[all …]
/linux/sound/soc/pxa/
H A Dmmp-sspa.c32 void __iomem *rx_base; member
71 __raw_writel(sspa_sp, sspa->rx_base + SSPA_SP); in mmp_sspa_rx_enable()
80 __raw_writel(sspa_sp, sspa->rx_base + SSPA_SP); in mmp_sspa_rx_disable()
273 __raw_writel(sspa_ctrl, sspa->rx_base + SSPA_CTL); in mmp_sspa_hw_params()
274 __raw_writel(0x0, sspa->rx_base + SSPA_FIFO_UL); in mmp_sspa_hw_params()
423 (__raw_readl(sspa->rx_base + SSPA_SP) & SSPA_SP_S_EN)) { in mmp_sspa_open()
430 __raw_writel(sspa->sp, sspa->rx_base + SSPA_SP); in mmp_sspa_open()
434 __raw_writel(sspa->sp, sspa->rx_base + SSPA_SP); in mmp_sspa_open()
446 __raw_writel(sspa->ctrl, sspa->rx_base + SSPA_CTL); in mmp_sspa_open()
477 sspa->rx_base = devm_platform_ioremap_resource(pdev, 0); in asoc_mmp_sspa_probe()
[all …]
/linux/sound/soc/tegra/
H A Dtegra210_admaif.c25 #define CH_RX_REG(reg, id) CH_REG(admaif->soc_data->rx_base, reg, id)
27 #define REG_DEFAULTS(id, rx_ctrl, tx_ctrl, tx_base, rx_base) \ argument
28 { CH_REG(rx_base, TEGRA_ADMAIF_RX_INT_MASK, id), 0x00000001 }, \
29 { CH_REG(rx_base, TEGRA_ADMAIF_CH_ACIF_RX_CTRL, id), 0x00007700 }, \
30 { CH_REG(rx_base, TEGRA_ADMAIF_RX_FIFO_CTRL, id), rx_ctrl }, \
85 unsigned int rx_base = admaif->soc_data->rx_base; in tegra_admaif_wr_reg() local
89 unsigned int rx_max = rx_base + (num_ch * ch_stride); in tegra_admaif_wr_reg()
92 if ((reg >= rx_base) && (reg < rx_max)) { in tegra_admaif_wr_reg()
93 reg = (reg - rx_base) % ch_stride; in tegra_admaif_wr_reg()
119 unsigned int rx_base = admaif->soc_data->rx_base; in tegra_admaif_rd_reg() local
[all …]
H A Dtegra210_admaif.h149 unsigned int rx_base; member
/linux/drivers/net/wireless/mediatek/mt76/mt7996/
H A Ddma.c446 u32 rx_base; in mt7996_dma_init() local
540 rx_base = MT_RXQ_RING_BASE(MT_RXQ_BAND2) + hif1_ofs; in mt7996_dma_init()
545 rx_base); in mt7996_dma_init()
566 rx_base = MT_RXQ_RING_BASE(MT_RXQ_BAND1) + hif1_ofs; in mt7996_dma_init()
571 rx_base); in mt7996_dma_init()
576 rx_base = MT_RXQ_RING_BASE(MT_RXQ_BAND1_WA) + hif1_ofs; in mt7996_dma_init()
581 rx_base); in mt7996_dma_init()
/linux/drivers/net/ethernet/litex/
H A Dlitex_liteeth.c54 void __iomem *rx_base; member
78 memcpy_fromio(data, priv->rx_base + rx_slot * priv->slot_size, len); in liteeth_rx()
272 priv->rx_base = buf_base; in liteeth_probe()
/linux/drivers/net/ethernet/moxa/
H A Dmoxart_ether.c83 priv->rx_desc_base, priv->rx_base); in moxart_mac_free_memory()
160 writel(priv->rx_base, priv->base + REG_RXR_BASE_ADDRESS); in moxart_mac_setup_desc_ring()
507 RX_DESC_NUM, &priv->rx_base, in moxart_mac_probe()
H A Dmoxart_ether.h302 dma_addr_t rx_base; member
/linux/drivers/net/ethernet/netronome/nfp/
H A Dnfp_net_main.c103 u32 tx_base, rx_base, n_tx_rings, n_rx_rings; in nfp_net_pf_alloc_vnic() local
108 rx_base = readl(ctrl_bar + NFP_NET_CFG_START_RXQ); in nfp_net_pf_alloc_vnic()
120 nn->rx_bar = qc_bar + rx_base * NFP_QCP_QUEUE_ADDR_SZ; in nfp_net_pf_alloc_vnic()
/linux/drivers/slimbus/
H A Dqcom-ngd-ctrl.c173 void *rx_base; member
655 desc->base = ctrl->rx_base + i * SLIM_MSGQ_BUF_LEN; in qcom_slim_ngd_post_rx_msgq()
688 ctrl->rx_base = dma_alloc_coherent(dev, size, &ctrl->rx_phys_base, in qcom_slim_ngd_init_rx_msgq()
690 if (!ctrl->rx_base) { in qcom_slim_ngd_init_rx_msgq()
704 dma_free_coherent(dev, size, ctrl->rx_base, ctrl->rx_phys_base); in qcom_slim_ngd_init_rx_msgq()
/linux/arch/sparc/kernel/
H A Dldc.c130 struct ldc_packet *rx_base; member
863 p = lp->rx_base + (lp->rx_head / LDC_PACKET_SIZE); in ldc_rx()
1217 &lp->rx_base, &lp->rx_ra); in ldc_alloc()
1280 free_queue(lp->rx_num_entries, lp->rx_base); in ldc_unbind()
1553 p = lp->rx_base + (lp->rx_head / LDC_PACKET_SIZE); in read_raw()
1767 p = lp->rx_base + (new / LDC_PACKET_SIZE); in read_nonraw()
/linux/drivers/net/ipa/
H A Dipa_endpoint.c1994 u32 rx_base; in ipa_endpoint_config() local
2028 rx_base = reg_decode(reg, PROD_LOWEST, val); in ipa_endpoint_config()
2030 limit = rx_base + rx_count; in ipa_endpoint_config()
2053 bitmap_set(ipa->available, rx_base, rx_count); in ipa_endpoint_config()
2075 } else if (endpoint_id >= rx_base) { in ipa_endpoint_config()
/linux/drivers/usb/host/
H A Dfhci.h192 __be16 rx_base; /* Rx BD base address */ member
H A Dfhci-tds.c261 out_be16(&ep->ep_pram_ptr->rx_base, 0); in fhci_init_ep_registers()