/Linux-v6.1/Documentation/devicetree/bindings/misc/ |
D | fsl,qoriq-mc.txt | 3 The Freescale Management Complex (fsl-mc) is a hardware resource 5 network-oriented packet processing applications. After the fsl-mc 12 For an overview of the DPAA2 architecture and fsl-mc bus see: 16 same hardware "isolation context" and a 10-bit value called an ICID 21 between ICIDs and IOMMUs, so an iommu-map property is used to define 28 For arm-smmu binding, see: 32 The msi-map property is used to associate the devices with both the ITS 36 Documentation/devicetree/bindings/interrupt-controller/msi.txt. 39 Documentation/devicetree/bindings/interrupt-controller/arm,gic-v3.yaml. 43 - compatible [all …]
|
/Linux-v6.1/drivers/bus/fsl-mc/ |
D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 3 # Freescale Management Complex (MC) bus drivers 7 obj-$(CONFIG_FSL_MC_BUS) += mc-bus-driver.o 9 mc-bus-driver-objs := fsl-mc-bus.o \ 10 mc-sys.o \ 11 mc-io.o \ 15 dprc-driver.o \ 16 fsl-mc-allocator.o \ 17 fsl-mc-msi.o \ 19 obj-api.o [all …]
|
D | fsl-mc-allocator.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * fsl-mc object allocator driver 5 * Copyright (C) 2013-2016 Freescale Semiconductor, Inc. 11 #include <linux/fsl/mc.h> 13 #include "fsl-mc-private.h" 23 * fsl_mc_resource_pool_add_device - add allocatable object to a resource 24 * pool of a given fsl-mc bus 26 * @mc_bus: pointer to the fsl-mc bus 28 * @mc_dev: pointer to allocatable fsl-mc device 39 struct fsl_mc_device *mc_bus_dev = &mc_bus->mc_dev; in fsl_mc_resource_pool_add_device() [all …]
|
D | fsl-mc-bus.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Freescale Management Complex (MC) bus driver 5 * Copyright (C) 2014-2016 Freescale Semiconductor, Inc. 6 * Copyright 2019-2020 NXP 11 #define pr_fmt(fmt) "fsl-mc: " fmt 21 #include <linux/dma-mapping.h> 24 #include <linux/dma-map-ops.h> 26 #include "fsl-mc-private.h" 29 * Default DMA mask for devices on a fsl-mc bus 36 * struct fsl_mc - Private data of a "fsl,qoriq-mc" platform device [all …]
|
D | dprc-driver.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2014-2016 Freescale Semiconductor, Inc. 6 * Copyright 2019-2020 NXP 15 #include <linux/fsl/mc.h> 17 #include "fsl-mc-private.h" 29 return mc_dev->obj_desc.id == obj_desc->id && in fsl_mc_device_match() 30 strcmp(mc_dev->obj_desc.type, obj_desc->type) == 0; in fsl_mc_device_match() 35 if (strcmp(obj->type, "dpmcp") == 0 || in fsl_mc_obj_desc_is_allocatable() 36 strcmp(obj->type, "dpcon") == 0 || in fsl_mc_obj_desc_is_allocatable() 37 strcmp(obj->type, "dpbp") == 0) in fsl_mc_obj_desc_is_allocatable() [all …]
|
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 3 # DPAA2 fsl-mc bus 5 # Copyright (C) 2014-2016 Freescale Semiconductor, Inc. 9 bool "QorIQ DPAA2 fsl-mc bus driver" 14 architecture. The fsl-mc bus driver handles discovery of 19 bool "Management Complex (MC) userspace support"
|
D | dpmcp.c | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 3 * Copyright 2013-2016 Freescale Semiconductor Inc. 7 #include <linux/fsl/mc.h> 9 #include "fsl-mc-private.h" 12 * dpmcp_open() - Open a control session for the specified object. 13 * @mc_io: Pointer to MC portal's I/O object 22 * associated with the specific object ID and the specific MC 41 cmd_params->dpmcp_id = cpu_to_le32(dpmcp_id); in dpmcp_open() 43 /* send command to mc*/ in dpmcp_open() 55 * dpmcp_close() - Close the control session of the object [all …]
|
D | obj-api.c | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 7 #include <linux/fsl/mc.h> 9 #include "fsl-mc-private.h" 41 return -1; in fsl_mc_get_open_cmd_id() 55 if (cmd_id == -1) in fsl_mc_obj_open() 56 return -ENODEV; in fsl_mc_obj_open() 61 cmd_params->obj_id = cpu_to_le32(obj_id); in fsl_mc_obj_open() 63 /* send command to mc*/ in fsl_mc_obj_open() 85 /* send command to mc*/ in fsl_mc_obj_close() 100 /* send command to mc*/ in fsl_mc_obj_reset()
|
D | dpbp.c | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 3 * Copyright 2013-2016 Freescale Semiconductor Inc. 7 #include <linux/fsl/mc.h> 9 #include "fsl-mc-private.h" 12 * dpbp_open() - Open a control session for the specified object. 13 * @mc_io: Pointer to MC portal's I/O object 22 * associated with the specific object ID and the specific MC 41 cmd_params->dpbp_id = cpu_to_le32(dpbp_id); in dpbp_open() 43 /* send command to mc*/ in dpbp_open() 56 * dpbp_close() - Close the control session of the object [all …]
|
D | dpcon.c | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 3 * Copyright 2013-2016 Freescale Semiconductor Inc. 7 #include <linux/fsl/mc.h> 9 #include "fsl-mc-private.h" 12 * dpcon_open() - Open a control session for the specified object 13 * @mc_io: Pointer to MC portal's I/O object 22 * associated with the specific object ID and the specific MC 42 dpcon_cmd->dpcon_id = cpu_to_le32(dpcon_id); in dpcon_open() 44 /* send command to mc*/ in dpcon_open() 57 * dpcon_close() - Close the control session of the object [all …]
|
D | mc-io.c | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 3 * Copyright 2013-2016 Freescale Semiconductor Inc. 8 #include <linux/fsl/mc.h> 10 #include "fsl-mc-private.h" 17 if (mc_io->dpmcp_dev) in fsl_mc_io_set_dpmcp() 18 return -EINVAL; in fsl_mc_io_set_dpmcp() 20 if (dpmcp_dev->mc_io) in fsl_mc_io_set_dpmcp() 21 return -EINVAL; in fsl_mc_io_set_dpmcp() 25 dpmcp_dev->obj_desc.id, in fsl_mc_io_set_dpmcp() 26 &dpmcp_dev->mc_handle); in fsl_mc_io_set_dpmcp() [all …]
|
D | mc-sys.c | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 3 * Copyright 2013-2016 Freescale Semiconductor Inc. 5 * I/O services to send MC commands to the MC hardware 14 #include <linux/io-64-nonatomic-hi-lo.h> 15 #include <linux/fsl/mc.h> 17 #include "fsl-mc-private.h" 20 * Timeout in milliseconds to wait for the completion of an MC command 26 * iterations while waiting for MC command completion 33 struct mc_cmd_header *hdr = (struct mc_cmd_header *)&cmd->header; in mc_cmd_hdr_read_status() 35 return (enum mc_cmd_status)hdr->status; in mc_cmd_hdr_read_status() [all …]
|
D | fsl-mc-msi.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Freescale Management Complex (MC) bus driver MSI support 5 * Copyright (C) 2015-2016 Freescale Semiconductor, Inc. 18 #include "fsl-mc-private.h" 32 return (irq_hw_number_t)(desc->msi_index + (dev->icid * 10000)); in fsl_mc_domain_calc_hwirq() 38 arg->desc = desc; in fsl_mc_msi_set_desc() 39 arg->hwirq = fsl_mc_domain_calc_hwirq(to_fsl_mc_device(desc->dev), in fsl_mc_msi_set_desc() 48 struct msi_domain_ops *ops = info->ops; in fsl_mc_msi_update_dom_ops() 56 if (!ops->set_desc) in fsl_mc_msi_update_dom_ops() 57 ops->set_desc = fsl_mc_msi_set_desc; in fsl_mc_msi_update_dom_ops() [all …]
|
/Linux-v6.1/Documentation/ABI/testing/ |
D | sysfs-bus-fsl-mc | 1 What: /sys/bus/fsl-mc/drivers/.../bind 8 and is the same as found in /sys/bus/fsl-mc/devices/. 12 # echo dpni.2 > /sys/bus/fsl-mc/drivers/fsl_dpaa2_eth/bind 14 What: /sys/bus/fsl-mc/drivers/.../unbind 21 and is the same as found in /sys/bus/fsl-mc/devices/. 25 # echo dpni.2 > /sys/bus/fsl-mc/drivers/fsl_dpaa2_eth/unbind
|
/Linux-v6.1/Documentation/ABI/stable/ |
D | sysfs-bus-fsl-mc | 1 What: /sys/bus/fsl-mc/rescan 5 Description: Writing a non-zero value to this attribute will 6 force a rescan of fsl-mc bus in the system and 7 synchronize the objects under fsl-mc bus and the 11 What: /sys/bus/fsl-mc/autorescan 17 of the fsl-mc bus is performed. A non-zero value
|
/Linux-v6.1/Documentation/devicetree/bindings/net/ |
D | fsl,qoriq-mc-dpmac.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/net/fsl,qoriq-mc-dpmac.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Ioana Ciornei <ioana.ciornei@nxp.com> 13 This binding represents the DPAA2 MAC objects found on the fsl-mc bus and 14 located under the 'dpmacs' node for the fsl-mc bus DTS node. 17 - $ref: "ethernet-controller.yaml#" 21 const: fsl,qoriq-mc-dpmac 27 phy-handle: true [all …]
|
/Linux-v6.1/arch/arm64/boot/dts/freescale/ |
D | fsl-ls208xa.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Device Tree Include file for Freescale Layerscape-2080A family SoC. 6 * Copyright 2017-2020 NXP 12 #include <dt-bindings/clock/fsl,qoriq-clockgen.h> 13 #include <dt-bindings/thermal/thermal.h> 14 #include <dt-bindings/interrupt-controller/arm-gic.h> 17 compatible = "fsl,ls2080a"; 18 interrupt-parent = <&gic>; 19 #address-cells = <2>; 20 #size-cells = <2>; [all …]
|
D | fsl-ls1088a.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Device Tree Include file for NXP Layerscape-1088A family SoC. 5 * Copyright 2017-2020 NXP 10 #include <dt-bindings/clock/fsl,qoriq-clockgen.h> 11 #include <dt-bindings/interrupt-controller/arm-gic.h> 12 #include <dt-bindings/thermal/thermal.h> 15 compatible = "fsl,ls1088a"; 16 interrupt-parent = <&gic>; 17 #address-cells = <2>; 18 #size-cells = <2>; [all …]
|
D | fsl-lx2160a.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 3 // Device Tree Include file for Layerscape-LX2160A family SoC. 5 // Copyright 2018-2020 NXP 7 #include <dt-bindings/clock/fsl,qoriq-clockgen.h> 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/interrupt-controller/arm-gic.h> 10 #include <dt-bindings/thermal/thermal.h> 15 compatible = "fsl,lx2160a"; 16 interrupt-parent = <&gic>; 17 #address-cells = <2>; [all …]
|
/Linux-v6.1/drivers/vfio/fsl-mc/ |
D | Kconfig | 2 tristate "VFIO support for QorIQ DPAA2 fsl-mc bus devices" 6 Driver to enable support for the VFIO QorIQ DPAA2 fsl-mc 8 fsl-mc bus devices using the VFIO framework.
|
D | Makefile | 1 # SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 3 vfio-fsl-mc-y := vfio_fsl_mc.o vfio_fsl_mc_intr.o 4 obj-$(CONFIG_VFIO_FSL_MC) += vfio-fsl-mc.o
|
/Linux-v6.1/Documentation/networking/device_drivers/ethernet/freescale/dpaa2/ |
D | dpio-driver.rst | 7 :Copyright: |copy| 2016-2018 NXP 29 --------------- 31 The DPIO driver is bound to DPIO objects discovered on the fsl-mc bus and 40 The Linux DPIO driver consists of 3 primary components-- 41 DPIO object driver-- fsl-mc driver that manages the DPIO object 43 DPIO service-- provides APIs to other Linux drivers for services 45 QBman portal interface-- sends portal commands, gets responses:: 47 fsl-mc other 50 +---+----+ +------+-----+ 52 | driver |---| (DPIO) | [all …]
|
D | overview.rst | 16 DPAA2 is a hardware architecture designed for high-speeed network 22 A DPAA2 hardware component called the Management Complex (or MC) manages the 23 DPAA2 hardware resources. The MC provides an object-based abstraction for 25 The MC uses DPAA2 hardware resources such as queues, buffer pools, and 28 The MC provides memory-mapped I/O command interfaces (MC portals) 34 +--------------------------------------+ 38 +-----------------------------|--------+ 44 +------------------------| mc portal |-+ 46 | +- - - - - - - - - - - - -V- - -+ | 48 | | Management Complex (MC) | | [all …]
|
/Linux-v6.1/drivers/soc/fsl/dpio/ |
D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 6 obj-$(CONFIG_FSL_MC_DPIO) += fsl-mc-dpio.o 8 fsl-mc-dpio-objs := dpio.o qbman-portal.o dpio-service.o dpio-driver.o
|
/Linux-v6.1/drivers/irqchip/ |
D | irq-gic-v3-its-fsl-mc-msi.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Freescale Management Complex (MC) bus driver MSI support 5 * Copyright (C) 2015-2016 Freescale Semiconductor, Inc. 18 #include <linux/fsl/mc.h> 21 .name = "ITS-fMSI", 35 out_id = of_node ? of_msi_map_id(&mc_dev->dev, of_node, mc_dev->icid) : in fsl_mc_msi_domain_get_msi_id() 36 iort_msi_map_id(&mc_dev->dev, mc_dev->icid); in fsl_mc_msi_domain_get_msi_id() 49 return -EINVAL; in its_fsl_mc_msi_prepare() 52 if (!(mc_bus_dev->flags & FSL_MC_IS_DPRC)) in its_fsl_mc_msi_prepare() 53 return -EINVAL; in its_fsl_mc_msi_prepare() [all …]
|