Home
last modified time | relevance | path

Searched refs:sart (Results 1 – 8 of 8) sorted by relevance

/linux/drivers/soc/apple/
H A Dsart.c52 void (*get_entry)(struct apple_sart *sart, int index, u8 *flags,
54 void (*set_entry)(struct apple_sart *sart, int index, u8 flags,
71 static void sart2_get_entry(struct apple_sart *sart, int index, u8 *flags, in sart2_get_entry() argument
74 u32 cfg = readl(sart->regs + APPLE_SART2_CONFIG(index)); in sart2_get_entry()
75 phys_addr_t paddr_ = readl(sart->regs + APPLE_SART2_PADDR(index)); in sart2_get_entry()
83 static void sart2_set_entry(struct apple_sart *sart, int index, u8 flags, in sart2_set_entry() argument
91 writel(paddr_shifted, sart->regs + APPLE_SART2_PADDR(index)); in sart2_set_entry()
92 writel(cfg, sart->regs + APPLE_SART2_CONFIG(index)); in sart2_set_entry()
103 static void sart3_get_entry(struct apple_sart *sart, int index, u8 *flags, in sart3_get_entry() argument
106 phys_addr_t paddr_ = readl(sart->regs + APPLE_SART3_PADDR(index)); in sart3_get_entry()
[all …]
H A DMakefile9 obj-$(CONFIG_APPLE_SART) += apple-sart.o
10 apple-sart-y = sart.o
/linux/arch/arm64/boot/dts/apple/
H A Dt600x-nvme.dtsi22 DIE_NODE(sart): sart@393c50000 {
23 compatible = "apple,t6000-sart";
36 apple,sart = <&DIE_NODE(sart)>;
H A Dt8112.dtsi738 sart: sart@27bc50000 { label
739 compatible = "apple,t8112-sart", "apple,t6000-sart";
752 apple,sart = <&sart>;
H A Dt8103.dtsi700 sart: iommu@27bc50000 { label
701 compatible = "apple,t8103-sart";
714 apple,sart = <&sart>;
/linux/include/linux/soc/apple/
H A Dsart.h37 int apple_sart_add_allowed_region(struct apple_sart *sart, phys_addr_t paddr,
50 int apple_sart_remove_allowed_region(struct apple_sart *sart, phys_addr_t paddr,
/linux/drivers/nvme/host/
H A Dapple.c179 struct apple_sart *sart; member
248 ret = apple_sart_add_allowed_region(anv->sart, bfr->iova, bfr->size); in apple_nvme_sart_dma_setup()
263 apple_sart_remove_allowed_region(anv->sart, bfr->iova, bfr->size); in apple_nvme_sart_dma_destroy()
1441 anv->sart = devm_apple_sart_get(dev); in apple_nvme_alloc()
1442 if (IS_ERR(anv->sart)) { in apple_nvme_alloc()
1443 ret = dev_err_probe(dev, PTR_ERR(anv->sart), in apple_nvme_alloc()
/linux/
H A DMAINTAINERS2152 F: Documentation/devicetree/bindings/iommu/apple,sart.yaml