liodn 394 arch/powerpc/include/asm/fsl_hcalls.h static inline unsigned int fh_dma_enable(unsigned int liodn) liodn 400 arch/powerpc/include/asm/fsl_hcalls.h r3 = liodn; liodn 416 arch/powerpc/include/asm/fsl_hcalls.h static inline unsigned int fh_dma_disable(unsigned int liodn) liodn 422 arch/powerpc/include/asm/fsl_hcalls.h r3 = liodn; liodn 984 drivers/crypto/caam/regs.h u32 liodn; /* DxLSR - DECO LIODN Status - non-seq */ liodn 86 drivers/iommu/fsl_pamu.c static struct paace *pamu_get_ppaace(int liodn) liodn 88 drivers/iommu/fsl_pamu.c if (!ppaact || liodn >= PAACE_NUMBER_ENTRIES) { liodn 93 drivers/iommu/fsl_pamu.c return &ppaact[liodn]; liodn 102 drivers/iommu/fsl_pamu.c int pamu_enable_liodn(int liodn) liodn 106 drivers/iommu/fsl_pamu.c ppaace = pamu_get_ppaace(liodn); liodn 113 drivers/iommu/fsl_pamu.c pr_debug("liodn %d not configured\n", liodn); liodn 132 drivers/iommu/fsl_pamu.c int pamu_disable_liodn(int liodn) liodn 136 drivers/iommu/fsl_pamu.c ppaace = pamu_get_ppaace(liodn); liodn 236 drivers/iommu/fsl_pamu.c void pamu_free_subwins(int liodn) liodn 241 drivers/iommu/fsl_pamu.c ppaace = pamu_get_ppaace(liodn); liodn 259 drivers/iommu/fsl_pamu.c int pamu_update_paace_stash(int liodn, u32 subwin, u32 value) liodn 263 drivers/iommu/fsl_pamu.c paace = pamu_get_ppaace(liodn); liodn 281 drivers/iommu/fsl_pamu.c int pamu_disable_spaace(int liodn, u32 subwin) liodn 285 drivers/iommu/fsl_pamu.c paace = pamu_get_ppaace(liodn); liodn 322 drivers/iommu/fsl_pamu.c int pamu_config_ppaace(int liodn, phys_addr_t win_addr, phys_addr_t win_size, liodn 340 drivers/iommu/fsl_pamu.c ppaace = pamu_get_ppaace(liodn); liodn 414 drivers/iommu/fsl_pamu.c int pamu_config_spaace(int liodn, u32 subwin_cnt, u32 subwin, liodn 426 drivers/iommu/fsl_pamu.c paace = pamu_get_ppaace(liodn); liodn 432 drivers/iommu/fsl_pamu.c set_bf(paace->addr_bitfields, SPAACE_AF_LIODN, liodn); liodn 721 drivers/iommu/fsl_pamu.c int liodn; liodn 723 drivers/iommu/fsl_pamu.c liodn = be32_to_cpup(&prop[i]); liodn 724 drivers/iommu/fsl_pamu.c if (liodn >= PAACE_NUMBER_ENTRIES) { liodn 725 drivers/iommu/fsl_pamu.c pr_debug("Invalid LIODN value %d\n", liodn); liodn 728 drivers/iommu/fsl_pamu.c ppaace = pamu_get_ppaace(liodn); liodn 745 drivers/iommu/fsl_pamu.c pamu_enable_liodn(liodn); liodn 384 drivers/iommu/fsl_pamu.h int pamu_enable_liodn(int liodn); liodn 385 drivers/iommu/fsl_pamu.h int pamu_disable_liodn(int liodn); liodn 386 drivers/iommu/fsl_pamu.h void pamu_free_subwins(int liodn); liodn 387 drivers/iommu/fsl_pamu.h int pamu_config_ppaace(int liodn, phys_addr_t win_addr, phys_addr_t win_size, liodn 390 drivers/iommu/fsl_pamu.h int pamu_config_spaace(int liodn, u32 subwin_cnt, u32 subwin_addr, liodn 396 drivers/iommu/fsl_pamu.h int pamu_update_paace_stash(int liodn, u32 subwin, u32 value); liodn 397 drivers/iommu/fsl_pamu.h int pamu_disable_spaace(int liodn, u32 subwin); liodn 87 drivers/iommu/fsl_pamu_domain.c static int map_subwins(int liodn, struct fsl_dma_domain *dma_domain) liodn 97 drivers/iommu/fsl_pamu_domain.c ret = pamu_config_spaace(liodn, dma_domain->win_cnt, i, liodn 108 drivers/iommu/fsl_pamu_domain.c liodn); liodn 117 drivers/iommu/fsl_pamu_domain.c static int map_win(int liodn, struct fsl_dma_domain *dma_domain) liodn 125 drivers/iommu/fsl_pamu_domain.c ret = pamu_config_ppaace(liodn, wnd_addr, liodn 133 drivers/iommu/fsl_pamu_domain.c pr_debug("PAACE configuration failed for liodn %d\n", liodn); liodn 139 drivers/iommu/fsl_pamu_domain.c static int map_liodn(int liodn, struct fsl_dma_domain *dma_domain) liodn 142 drivers/iommu/fsl_pamu_domain.c return map_subwins(liodn, dma_domain); liodn 144 drivers/iommu/fsl_pamu_domain.c return map_win(liodn, dma_domain); liodn 148 drivers/iommu/fsl_pamu_domain.c static int update_liodn(int liodn, struct fsl_dma_domain *dma_domain, u32 wnd_nr) liodn 156 drivers/iommu/fsl_pamu_domain.c ret = pamu_config_spaace(liodn, dma_domain->win_cnt, wnd_nr, liodn 166 drivers/iommu/fsl_pamu_domain.c liodn); liodn 172 drivers/iommu/fsl_pamu_domain.c ret = pamu_config_ppaace(liodn, wnd_addr, liodn 180 drivers/iommu/fsl_pamu_domain.c liodn); liodn 188 drivers/iommu/fsl_pamu_domain.c static int update_liodn_stash(int liodn, struct fsl_dma_domain *dma_domain, liodn 197 drivers/iommu/fsl_pamu_domain.c liodn); liodn 203 drivers/iommu/fsl_pamu_domain.c ret = pamu_update_paace_stash(liodn, i, val); liodn 206 drivers/iommu/fsl_pamu_domain.c i, liodn); liodn 218 drivers/iommu/fsl_pamu_domain.c static int pamu_set_liodn(int liodn, struct device *dev, liodn 240 drivers/iommu/fsl_pamu_domain.c ret = pamu_disable_liodn(liodn); liodn 242 drivers/iommu/fsl_pamu_domain.c ret = pamu_config_ppaace(liodn, window_addr, window_size, omi_index, liodn 248 drivers/iommu/fsl_pamu_domain.c liodn, win_cnt); liodn 256 drivers/iommu/fsl_pamu_domain.c ret = pamu_disable_spaace(liodn, i); liodn 258 drivers/iommu/fsl_pamu_domain.c ret = pamu_config_spaace(liodn, win_cnt, i, liodn 266 drivers/iommu/fsl_pamu_domain.c liodn); liodn 322 drivers/iommu/fsl_pamu_domain.c pamu_free_subwins(info->liodn); liodn 323 drivers/iommu/fsl_pamu_domain.c pamu_disable_liodn(info->liodn); liodn 345 drivers/iommu/fsl_pamu_domain.c static void attach_device(struct fsl_dma_domain *dma_domain, int liodn, struct device *dev) liodn 365 drivers/iommu/fsl_pamu_domain.c info->liodn = liodn; liodn 438 drivers/iommu/fsl_pamu_domain.c ret = pamu_set_liodn(info->liodn, info->dev, dma_domain, liodn 454 drivers/iommu/fsl_pamu_domain.c ret = update_liodn_stash(info->liodn, dma_domain, val); liodn 469 drivers/iommu/fsl_pamu_domain.c ret = update_liodn(info->liodn, dma_domain, wnd_nr); liodn 483 drivers/iommu/fsl_pamu_domain.c ret = pamu_disable_liodn(info->liodn); liodn 487 drivers/iommu/fsl_pamu_domain.c ret = pamu_disable_spaace(info->liodn, wnd_nr); liodn 600 drivers/iommu/fsl_pamu_domain.c struct device *dev, const u32 *liodn, liodn 611 drivers/iommu/fsl_pamu_domain.c if (liodn[i] >= PAACE_NUMBER_ENTRIES) { liodn 613 drivers/iommu/fsl_pamu_domain.c liodn[i], dev->of_node); liodn 618 drivers/iommu/fsl_pamu_domain.c attach_device(dma_domain, liodn[i], dev); liodn 627 drivers/iommu/fsl_pamu_domain.c ret = pamu_set_liodn(liodn[i], dev, dma_domain, liodn 636 drivers/iommu/fsl_pamu_domain.c ret = map_liodn(liodn[i], dma_domain); liodn 651 drivers/iommu/fsl_pamu_domain.c const u32 *liodn; liodn 672 drivers/iommu/fsl_pamu_domain.c liodn = of_get_property(dev->of_node, "fsl,liodn", &len); liodn 673 drivers/iommu/fsl_pamu_domain.c if (liodn) { liodn 675 drivers/iommu/fsl_pamu_domain.c ret = handle_attach_device(dma_domain, dev, liodn, liodn_cnt); liodn 794 drivers/iommu/fsl_pamu_domain.c ret = (enable) ? pamu_enable_liodn(info->liodn) : liodn 795 drivers/iommu/fsl_pamu_domain.c pamu_disable_liodn(info->liodn); liodn 798 drivers/iommu/fsl_pamu_domain.c info->liodn); liodn 70 drivers/iommu/fsl_pamu_domain.h u32 liodn; liodn 586 drivers/net/ethernet/freescale/fman/fman.c u16 __maybe_unused liodn) liodn 1283 drivers/net/ethernet/freescale/fman/fman.c u16 liodn; liodn 1317 drivers/net/ethernet/freescale/fman/fman.c liodn = (u16)(com_id & DMA_TRANSFER_LIODN_MASK); liodn 1319 drivers/net/ethernet/freescale/fman/fman.c liodn); liodn 305 drivers/net/ethernet/freescale/fman/fman.h u64 addr, u8 tnum, u16 liodn);