Home
last modified time | relevance | path

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

/openbmc/linux/drivers/soc/apple/
H A Dsart.c136 sart = devm_kzalloc(dev, sizeof(*sart), GFP_KERNEL); in apple_sart_probe()
137 if (!sart) in apple_sart_probe()
140 sart->dev = dev; in apple_sart_probe()
152 sart->ops->get_entry(sart, i, &flags, &paddr, &size); in apple_sart_probe()
190 if (!sart) { in devm_apple_sart_get()
203 return sart; in devm_apple_sart_get()
221 sart->ops->set_entry(sart, index, flags, paddr, size); in sart_set_entry()
264 dev_dbg(sart->dev, in apple_sart_remove_allowed_region()
276 sart->ops->get_entry(sart, i, &eflags, &epaddr, &esize); in apple_sart_remove_allowed_region()
281 sart->ops->set_entry(sart, i, 0, 0, 0); in apple_sart_remove_allowed_region()
[all …]
H A DMakefile5 obj-$(CONFIG_APPLE_SART) += apple-sart.o
6 apple-sart-y = sart.o
/openbmc/linux/Documentation/devicetree/bindings/iommu/
H A Dapple,sart.yaml4 $id: http://devicetree.org/schemas/iommu/apple,sart.yaml#
33 - const: apple,t8112-sart
34 - const: apple,t6000-sart
36 - apple,t6000-sart
37 - apple,t8103-sart
54 compatible = "apple,t8103-sart";
/openbmc/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>;
/openbmc/linux/Documentation/devicetree/bindings/nvme/
H A Dapple,nvme-ans.yaml58 apple,sart:
63 The SART address filter is documented in iommu/apple,sart.yaml.
94 - apple,sart
109 apple,sart = <&sart>;
/openbmc/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,
/openbmc/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()
1440 anv->sart = devm_apple_sart_get(dev); in apple_nvme_probe()
1441 if (IS_ERR(anv->sart)) { in apple_nvme_probe()
1442 ret = dev_err_probe(dev, PTR_ERR(anv->sart), in apple_nvme_probe()
/openbmc/linux/
H A DMAINTAINERS1917 F: Documentation/devicetree/bindings/iommu/apple,sart.yaml