Home
last modified time | relevance | path

Searched +full:scu +full:- +full:index (Results 1 – 25 of 43) sorted by relevance

12

/linux/drivers/clk/imx/
H A Dclk-scu.c1 // SPDX-License-Identifier: GPL-2.0+
3 * Copyright 2018-2021 NXP
7 #include <dt-bindings/firmware/imx/rsrc.h>
8 #include <linux/arm-smccc.h>
10 #include <linux/clk-provider.h>
20 #include "clk-scu.h"
44 * struct clk_scu - Description of one SCU clock
46 * @rsrc_id: resource ID of this SCU clock
62 * struct clk_gpr_scu - Description of one SCU GPR clock
64 * @rsrc_id: resource ID of this SCU clock
[all …]
H A Dclk-lpcg-scu.c1 // SPDX-License-Identifier: GPL-2.0+
8 #include <linux/clk-provider.h>
16 #include "clk-scu.h"
25 * struct clk_lpcg_scu - Description of LPCG clock
29 * @bit_idx: bit index of this LPCG clock
46 /* e10858 -LPCG clock gating register synchronization errata */
57 * back-to-back writes. in lpcg_e10858_writel()
77 reg = readl_relaxed(clk->reg); in clk_lpcg_scu_enable()
78 reg &= ~(CLK_GATE_SCU_LPCG_MASK << clk->bit_idx); in clk_lpcg_scu_enable()
81 if (clk->hw_gate) in clk_lpcg_scu_enable()
[all …]
/linux/drivers/scsi/isci/
H A Dscu_remote_node_context.h7 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved.
20 * Foundation, Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
26 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved.
60 * This file contains the structures and constatns used by the SCU hardware to
67 * struct ssp_remote_node_context - This structure contains the SCU hardware
76 * This field is the remote node index assigned for this remote node. All
77 * remote nodes must have a unique remote node index. The value of the remote
78 * node index can not exceed the maximum number of remote nodes reported in
79 * the SCU device context capacity register.
85 * This field tells the SCU hardware how many simultaneous connections that
[all …]
H A Dscu_task_context.h7 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved.
20 * Foundation, Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
26 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved.
60 * This file contains the structures and constants for the SCU hardware task
68 * enum scu_ssp_task_type - This enumberation defines the various SSP task
69 * types the SCU hardware will accept. The definition for the various task
70 * types the SCU hardware will accept can be found in the DS specification.
84 * enum scu_sata_task_type - This enumeration defines the various SATA task
85 * types the SCU hardware will accept. The definition for the various task
86 * types the SCU hardware will accept can be found in the DS specification.
[all …]
H A Dscu_completion_codes.h7 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved.
20 * Foundation, Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
26 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved.
60 * This file contains the constants and macros for the SCU hardware completion
70 * SCU_COMPLETION_TYPE() -
72 * This macro constructs an SCU completion type
78 * SCU_COMPLETION_TYPE() -
80 * These macros contain the SCU completion types SCU_COMPLETION_TYPE
92 * an SCU completion code.
105 * SCU_GET_COMPLETION_TYPE() -
[all …]
H A Dremote_node_table.h7 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved.
20 * Foundation, Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
26 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved.
64 * Remote node sets are sets of remote node index in the remote node table. The
65 * SCU hardware requires that STP remote node entries take three consecutive
66 * remote node index so the table is arranged in sets of three. The bits are
133 * struct sci_remote_node_table -
150 * Because of the way STP remote node data is allocated on the SCU hardware
152 * entries. For ease of allocation and de-allocation we have broken the
173 /* --------------------------------------------------------------------------- */
H A Drequest.c7 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved.
20 * Foundation, Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
26 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved.
78 return &ireq->tc->sgl_pair_ab; in to_sgl_element_pair()
80 return &ireq->tc->sgl_pair_cd; in to_sgl_element_pair()
84 return &ireq->sg_table[idx - 2]; in to_sgl_element_pair()
93 offset = (void *) &ireq->tc->sgl_pair_ab - in to_sgl_element_pair_dma()
94 (void *) &ihost->task_context_table[0]; in to_sgl_element_pair_dma()
95 return ihost->tc_dma + offset; in to_sgl_element_pair_dma()
97 offset = (void *) &ireq->tc->sgl_pair_cd - in to_sgl_element_pair_dma()
[all …]
H A Disci.h7 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved.
20 * Foundation, Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
26 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved.
118 * enum sci_status - This is the general return status enumeration for non-IO,
119 * non-task management related SCI interface methods.
139 * This Value indicates that the SCU hardware returned an early response
344 * of messages (MSI-X) is not supported.
386 * INDEX DOES NOT EXIST, usually means exceeding max route index.
400 * enum sci_io_status - This enumeration depicts all of the possible IO
405 * Add the API to retrieve the SCU status from the core. Check to see that the
[all …]
H A Dunsolicited_frame_control.c7 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved.
20 * Foundation, Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
26 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved.
62 struct sci_unsolicited_frame_control *uf_control = &ihost->uf_control; in sci_unsolicited_frame_control_construct()
64 dma_addr_t dma = ihost->ufi_dma; in sci_unsolicited_frame_control_construct()
65 void *virt = ihost->ufi_buf; in sci_unsolicited_frame_control_construct()
75 * Program the location of the UF header table into the SCU. in sci_unsolicited_frame_control_construct()
77 * - The address must align on a 64-byte boundary. Guaranteed to be in sci_unsolicited_frame_control_construct()
78 * on 64-byte boundary already 1KB boundary for unsolicited frames. in sci_unsolicited_frame_control_construct()
79 * - Program unused header entries to overlap with the last in sci_unsolicited_frame_control_construct()
[all …]
H A Dregisters.h7 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved.
20 * Foundation, Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
26 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved.
60 * This file contains the constants and structures for the SCU memory mapped
109 * struct scu_viit_entry - This is the SCU Virtual Initiator Table Entry
164 * struct scu_iit_entry - This will be implemented later when we support
177 /* Generate a value for an SCU register */
182 * Generate a bit value for an SCU register
195 * Unions for bitfield definitions of SCU Registers
394 /* -------------------------------------------------------------------------- */
[all …]
H A Dport_config.c7 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved.
20 * Foundation, Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
26 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved.
93 return -1; in sci_sas_address_compare()
97 return -1; in sci_sas_address_compare()
133 for (i = 0; i < ihost->logical_port_entries; i++) { in sci_port_configuration_agent_find_port()
134 struct isci_port *iport = &ihost->ports[i]; in sci_port_configuration_agent_find_port()
152 * This routine will validate the port configuration is correct for the SCU
153 * hardware. The SCU hardware allows for port configurations as follows. LP0
154 * -> (PE0), (PE0, PE1), (PE0, PE1, PE2, PE3) LP1 -> (PE1) LP2 -> (PE2), (PE2,
[all …]
H A Dphy.c7 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved.
20 * Foundation, Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
26 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved.
72 /* Maximum arbitration wait time in micro-seconds */
77 return iphy->max_negotiated_speed; in sci_phy_linkrate()
82 struct isci_phy *table = iphy - iphy->phy_index; in phy_to_host()
90 return &phy_to_host(iphy)->pdev->dev; in sciphy_to_dev()
99 iphy->transport_layer_registers = reg; in sci_phy_transport_layer_initialization()
102 &iphy->transport_layer_registers->stp_rni); in sci_phy_transport_layer_initialization()
108 tl_control = readl(&iphy->transport_layer_registers->control); in sci_phy_transport_layer_initialization()
[all …]
H A Dremote_node_context.h7 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved.
20 * Foundation, Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
26 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved.
74 * FIS from the SCU.
155 * struct sci_remote_node_context - This structure contains the data
162 * This field indicates the remote node index (RNI) associated with
232 return (sci_rnc->destination_state == RNC_DEST_FINAL) in sci_remote_node_context_is_being_destroyed()
233 || ((sci_rnc->sm.current_state_id == SCI_RNC_INITIAL) in sci_remote_node_context_is_being_destroyed()
234 && (sci_rnc->destination_state == RNC_DEST_UNSPECIFIED)); in sci_remote_node_context_is_being_destroyed()
/linux/drivers/nvmem/
H A Dimx-ocotp-scu.c1 // SPDX-License-Identifier: GPL-2.0+
10 #include <linux/arm-smccc.h>
13 #include <linux/nvmem-provider.h>
75 static bool in_hole(void *context, u32 index) in in_hole() argument
78 const struct ocotp_devtype_data *data = priv->data; in in_hole()
81 for (i = 0; i < data->num_region; i++) { in in_hole()
82 if (data->region[i].flag & HOLE_REGION) { in in_hole()
83 if ((index >= data->region[i].start) && in in_hole()
84 (index <= data->region[i].end)) in in_hole()
92 static bool in_ecc(void *context, u32 index) in in_ecc() argument
[all …]
/linux/Documentation/devicetree/bindings/net/can/
H A Dfsl,flexcan.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 Flexcan CAN controller on Freescale's ARM and PowerPC system-on-a-chip (SOC).
11 - Marc Kleine-Budde <mkl@pengutronix.de>
14 - $ref: can-controller.yaml#
19 - enum:
20 - fsl,imx95-flexcan
21 - fsl,imx93-flexcan
22 - fsl,imx8qm-flexcan
[all …]
/linux/drivers/iio/adc/
H A Daspeed_adc.c1 // SPDX-License-Identifier: GPL-2.0-only
16 #include <linux/clk-provider.h>
178 struct regmap *scu; in aspeed_adc_set_trim_data() local
184 dev_warn(data->dev, "Couldn't find syscon node\n"); in aspeed_adc_set_trim_data()
185 return -EOPNOTSUPP; in aspeed_adc_set_trim_data()
187 scu = syscon_node_to_regmap(syscon); in aspeed_adc_set_trim_data()
189 if (IS_ERR(scu)) { in aspeed_adc_set_trim_data()
190 dev_warn(data->dev, "Failed to get syscon regmap\n"); in aspeed_adc_set_trim_data()
191 return -EOPNOTSUPP; in aspeed_adc_set_trim_data()
193 if (data->model_data->trim_locate) { in aspeed_adc_set_trim_data()
[all …]
/linux/drivers/pmdomain/imx/
H A Dscu-pd.c1 // SPDX-License-Identifier: GPL-2.0+
4 * Copyright 2017-2018 NXP
7 * Implementation of the SCU based Power Domains
10 * single global power domain and implement the ->attach|detach_dev()
12 * From within the ->attach_dev(), we could get the OF node for
13 * the device that is being attached and then parse the power-domain
18 * Additionally, we need to implement the ->stop() and ->start()
20 * rather than using the above ->power_on|off() callbacks.
23 * 1. The ->attach_dev() of power domain infrastructure still does
32 * Update: Genpd assigns the ->of_node for the virtual device before it
[all …]
/linux/drivers/gpu/drm/aspeed/
H A Daspeed_gfx.h1 /* SPDX-License-Identifier: GPL-2.0+ */
12 struct regmap *scu; member
39 #define CRT_XSCALE 0x8C /* CRT Scaling-Up Factor */
55 #define OSD_COLOR1 0xE0 /* OSD Color Palette Index 1 & 0 */
56 #define OSD_COLOR2 0xE4 /* OSD Color Palette Index 3 & 2 */
57 #define OSD_COLOR3 0xE8 /* OSD Color Palette Index 5 & 4 */
58 #define OSD_COLOR4 0xEC /* OSD Color Palette Index 7 & 6 */
59 #define OSD_COLOR5 0xF0 /* OSD Color Palette Index 9 & 8 */
60 #define OSD_COLOR6 0xF4 /* OSD Color Palette Index 11 & 10 */
61 #define OSD_COLOR7 0xF8 /* OSD Color Palette Index 13 & 12 */
[all …]
/linux/drivers/cpuidle/
H A Dcpuidle-mvebu-v7.c7 * Gregory CLEMENT <gregory.clement@free-electrons.com>
13 * Maintainer: Gregory CLEMENT <gregory.clement@free-electrons.com>
30 int index) in mvebu_v7_enter_idle() argument
36 if (drv->states[index].flags & MVEBU_V7_FLAG_DEEP_IDLE) in mvebu_v7_enter_idle()
48 return index; in mvebu_v7_enter_idle()
100 .desc = "CPU and SCU power down",
107 const struct platform_device_id *id = pdev->id_entry; in mvebu_v7_cpuidle_probe()
110 return -EINVAL; in mvebu_v7_cpuidle_probe()
112 mvebu_v7_cpu_suspend = pdev->dev.platform_data; in mvebu_v7_cpuidle_probe()
114 return cpuidle_register((struct cpuidle_driver *)id->driver_data, NULL); in mvebu_v7_cpuidle_probe()
[all …]
/linux/Documentation/devicetree/bindings/display/bridge/
H A Dfsl,imx8qxp-pixel-link.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/display/bridge/fsl,imx8qxp-pixel-link.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Liu Ying <victor.liu@nxp.com>
21 The i.MX8qm/qxp Display Pixel Link is accessed via System Controller Unit(SCU)
27 - fsl,imx8qm-dc-pixel-link
28 - fsl,imx8qxp-dc-pixel-link
30 fsl,dc-id:
33 u8 value representing the display controller index that the pixel link
[all …]
/linux/arch/arm64/boot/dts/freescale/
H A Dimx8-ss-dma.dtsi1 // SPDX-License-Identifier: GPL-2.0+
3 * Copyright 2018-2019 NXP
7 #include <dt-bindings/clock/imx8-lpcg.h>
8 #include <dt-bindings/dma/fsl-edma.h>
9 #include <dt-bindings/firmware/imx/rsrc.h>
11 dma_ipg_clk: clock-dma-ipg {
12 compatible = "fixed-clock";
13 #clock-cells = <0>;
14 clock-frequency = <120000000>;
15 clock-output-names = "dma_ipg_clk";
[all …]
/linux/drivers/pinctrl/freescale/
H A Dpinctrl-imx.c1 // SPDX-License-Identifier: GPL-2.0+
30 #include "pinctrl-imx.h"
43 for (i = 0; i < pctldev->num_groups; i++) { in imx_pinctrl_find_group_by_name()
45 if (grp && !strcmp(grp->grp.name, name)) in imx_pinctrl_find_group_by_name()
55 seq_printf(s, "%s", dev_name(pctldev->dev)); in imx_pin_dbg_show()
63 const struct imx_pinctrl_soc_info *info = ipctl->info; in imx_dt_node_to_map()
75 grp = imx_pinctrl_find_group_by_name(pctldev, np->name); in imx_dt_node_to_map()
77 dev_err(ipctl->dev, "unable to find group for node %pOFn\n", np); in imx_dt_node_to_map()
78 return -EINVAL; in imx_dt_node_to_map()
81 if (info->flags & IMX_USE_SCU) { in imx_dt_node_to_map()
[all …]
/linux/arch/arm/boot/dts/marvell/
H A Darmada-375.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
7 * Gregory CLEMENT <gregory.clement@free-electrons.com>
8 * Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
11 #include <dt-bindings/interrupt-controller/arm-gic.h>
12 #include <dt-bindings/interrupt-controller/irq.h>
13 #include <dt-bindings/phy/phy.h>
18 #address-cells = <1>;
19 #size-cells = <1>;
35 compatible = "fixed-clock";
36 #clock-cells = <0>;
[all …]
H A Darmada-39x.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
7 * Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 #include <dt-bindings/interrupt-controller/arm-gic.h>
11 #include <dt-bindings/interrupt-controller/irq.h>
16 #address-cells = <1>;
17 #size-cells = <1>;
31 #address-cells = <1>;
32 #size-cells = <0>;
33 enable-method = "marvell,armada-390-smp";
37 compatible = "arm,cortex-a9";
[all …]
/linux/Documentation/ABI/testing/
H A Dsysfs-class-scsi_host6 SCU controller. The Intel(R) C600 Series Chipset SATA/SAS
7 Storage Control Unit embeds up to two 4-port controllers in
12 the controller index: '0' for the first controller,
34 Contact: linux-ide@vger.kernel.org
60 a) It does not use host-initiated slumber mode, but it does
61 allow device-initiated slumber
68 Contact: linux-ide@vger.kernel.org
79 protocol that is being used by the driver (for eg. LED, SAF-TE,
80 SES-2, SGPIO etc).
87 Contact: linux-ide@vger.kernel.org
[all …]

12