Home
last modified time | relevance | path

Searched refs:ctrl_mem (Results 1 – 3 of 3) sorted by relevance

/drivers/net/ethernet/netronome/nfp/
Dnfp_net_ctrl.c22 u8 __iomem *ctrl_mem, u8 __iomem *data, in nfp_net_tls_parse_crypto_ops() argument
38 caps->crypto_enable_off = data - ctrl_mem + 16; in nfp_net_tls_parse_crypto_ops()
44 int nfp_net_tlv_caps_parse(struct device *dev, u8 __iomem *ctrl_mem, in nfp_net_tlv_caps_parse() argument
47 u8 __iomem *data = ctrl_mem + NFP_NET_CFG_TLV_BASE; in nfp_net_tlv_caps_parse()
48 u8 __iomem *end = ctrl_mem + NFP_NET_CFG_BAR_SZ; in nfp_net_tlv_caps_parse()
62 offset = data - ctrl_mem; in nfp_net_tlv_caps_parse()
106 caps->mbox_off = data - ctrl_mem; in nfp_net_tlv_caps_parse()
131 if (!nfp_net_tls_parse_crypto_ops(dev, caps, ctrl_mem, in nfp_net_tlv_caps_parse()
137 if ((data - ctrl_mem) % 8) { in nfp_net_tlv_caps_parse()
142 caps->vnic_stats_off = data - ctrl_mem; in nfp_net_tlv_caps_parse()
[all …]
Dnfp_net_ctrl.h541 int nfp_net_tlv_caps_parse(struct device *dev, u8 __iomem *ctrl_mem,
/drivers/dma/ti/
Dcppi41.c134 void __iomem *ctrl_mem; member
797 cchan->gcr_reg = cdd->ctrl_mem + DMA_TXGCR(i >> 1); in cppi41_add_chans()
800 cchan->gcr_reg = cdd->ctrl_mem + DMA_RXGCR(i >> 1); in cppi41_add_chans()
927 cppi_writel(cdd->td_queue.submit, cdd->ctrl_mem + DMA_TDFDQ); in init_cppi41()
1076 cdd->ctrl_mem = devm_ioremap_resource(dev, mem); in cppi41_dma_probe()
1077 if (IS_ERR(cdd->ctrl_mem)) in cppi41_dma_probe()
1078 return PTR_ERR(cdd->ctrl_mem); in cppi41_dma_probe()
1183 cdd->dma_tdfdq = cppi_readl(cdd->ctrl_mem + DMA_TDFDQ); in cppi41_suspend()
1204 cppi_writel(cdd->dma_tdfdq, cdd->ctrl_mem + DMA_TDFDQ); in cppi41_resume()