Home
last modified time | relevance | path

Searched +full:sc +full:- +full:resource (Results 1 – 25 of 200) sorted by relevance

12345678

/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath9k/
Dahb.c2 * Copyright (c) 2008-2011 Atheros Communications Inc.
75 struct ath_softc *sc; in ath_ahb_probe() local
77 struct resource *res; in ath_ahb_probe()
84 if (!dev_get_platdata(&pdev->dev)) { in ath_ahb_probe()
85 dev_err(&pdev->dev, "no platform data specified\n"); in ath_ahb_probe()
86 return -EINVAL; in ath_ahb_probe()
91 dev_err(&pdev->dev, "no memory resource found\n"); in ath_ahb_probe()
92 return -ENXIO; in ath_ahb_probe()
95 mem = devm_ioremap(&pdev->dev, res->start, resource_size(res)); in ath_ahb_probe()
97 dev_err(&pdev->dev, "ioremap failed\n"); in ath_ahb_probe()
[all …]
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath9k/
Dahb.c2 * Copyright (c) 2008-2011 Atheros Communications Inc.
75 struct ath_softc *sc; in ath_ahb_probe() local
77 struct resource *res; in ath_ahb_probe()
84 if (!dev_get_platdata(&pdev->dev)) { in ath_ahb_probe()
85 dev_err(&pdev->dev, "no platform data specified\n"); in ath_ahb_probe()
86 return -EINVAL; in ath_ahb_probe()
91 dev_err(&pdev->dev, "no memory resource found\n"); in ath_ahb_probe()
92 return -ENXIO; in ath_ahb_probe()
95 mem = devm_ioremap(&pdev->dev, res->start, resource_size(res)); in ath_ahb_probe()
97 dev_err(&pdev->dev, "ioremap failed\n"); in ath_ahb_probe()
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/arm/freescale/
Dfsl,scu.txt2 --------------------------------------------------------------------
4 The System Controller Firmware (SCFW) is a low-level system function
5 which runs on a dedicated Cortex-M core to provide power, clock, and
6 resource management. It exists on some i.MX8 processors. e.g. i.MX8QM
9 The AP communicates with the SC using a multi-ported MU module found
11 5 remote AP connections to the SC to support up to 5 execution environments
12 (TZ, HV, standard Linux, etc.). The SC side of this MU module interfaces
13 with the LSIO DSC IP bus. The SC firmware will communicate with this MU
22 -------------------
23 - compatible: should be "fsl,imx-scu".
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/display/bridge/
Dfsl,imx8qxp-pxl2dpi.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/display/bridge/fsl,imx8qxp-pxl2dpi.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Liu Ying <victor.liu@nxp.com>
14 interfaces the pixel link 36-bit data output and the DSI controller’s
15 MIPI-DPI 24-bit data input, and inputs of LVDS Display Bridge(LDB) module
25 const: fsl,imx8qxp-pxl2dpi
27 fsl,sc-resource:
29 description: The SCU resource ID associated with this PXL2DPI instance.
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/gpio/
Dfsl,imx8qxp-sc-gpio.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/gpio/fsl,imx8qxp-sc-gpio.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Shenwei Wang <shenwei.wang@nxp.com>
14 resource pins in SCU domain on i.MX8 platforms.
19 - fsl,imx8qxp-sc-gpio
21 "#gpio-cells":
24 gpio-controller: true
27 - compatible
[all …]
/kernel/linux/linux-5.10/fs/xfs/scrub/
Dquota.c1 // SPDX-License-Identifier: GPL-2.0+
23 struct xfs_scrub *sc) in xchk_quota_to_dqtype() argument
25 switch (sc->sm->sm_type) { in xchk_quota_to_dqtype()
40 struct xfs_scrub *sc, in xchk_setup_quota() argument
46 if (!XFS_IS_QUOTA_RUNNING(sc->mp) || !XFS_IS_QUOTA_ON(sc->mp)) in xchk_setup_quota()
47 return -ENOENT; in xchk_setup_quota()
49 dqtype = xchk_quota_to_dqtype(sc); in xchk_setup_quota()
51 return -EINVAL; in xchk_setup_quota()
52 sc->flags |= XCHK_HAS_QUOTAOFFLOCK; in xchk_setup_quota()
53 mutex_lock(&sc->mp->m_quotainfo->qi_quotaofflock); in xchk_setup_quota()
[all …]
/kernel/linux/linux-6.6/fs/xfs/scrub/
Dquota.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright (C) 2017-2023 Oracle. All Rights Reserved.
24 struct xfs_scrub *sc) in xchk_quota_to_dqtype() argument
26 switch (sc->sm->sm_type) { in xchk_quota_to_dqtype()
41 struct xfs_scrub *sc) in xchk_setup_quota() argument
46 if (!XFS_IS_QUOTA_ON(sc->mp)) in xchk_setup_quota()
47 return -ENOENT; in xchk_setup_quota()
49 dqtype = xchk_quota_to_dqtype(sc); in xchk_setup_quota()
51 return -EINVAL; in xchk_setup_quota()
53 if (!xfs_this_quota_on(sc->mp, dqtype)) in xchk_setup_quota()
[all …]
/kernel/linux/linux-5.10/drivers/firmware/imx/
Drm.c1 // SPDX-License-Identifier: GPL-2.0+
5 * File containing client-side RPC functions for the RM service. These
6 * function are ported to clients that communicate to the SC.
13 u16 resource; member
17 * This function check @resource is owned by current partition or not
20 * @param[in] resource resource the control is associated with
24 bool imx_sc_rm_is_resource_owned(struct imx_sc_ipc *ipc, u16 resource) in imx_sc_rm_is_resource_owned() argument
29 hdr->ver = IMX_SC_RPC_VERSION; in imx_sc_rm_is_resource_owned()
30 hdr->svc = IMX_SC_RPC_SVC_RM; in imx_sc_rm_is_resource_owned()
31 hdr->func = IMX_SC_RM_FUNC_IS_RESOURCE_OWNED; in imx_sc_rm_is_resource_owned()
[all …]
Dmisc.c1 // SPDX-License-Identifier: GPL-2.0+
7 * File containing client-side RPC functions for the MISC service. These
8 * function are ported to clients that communicate to the SC.
18 u16 resource; member
25 u16 resource; member
32 u16 resource; member
44 * @param[in] resource resource the control is associated with
51 int imx_sc_misc_set_control(struct imx_sc_ipc *ipc, u32 resource, in imx_sc_misc_set_control() argument
57 hdr->ver = IMX_SC_RPC_VERSION; in imx_sc_misc_set_control()
58 hdr->svc = (uint8_t)IMX_SC_RPC_SVC_MISC; in imx_sc_misc_set_control()
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/firmware/
Dfsl,scu.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Dong Aisheng <aisheng.dong@nxp.com>
13 The System Controller Firmware (SCFW) is a low-level system function
14 which runs on a dedicated Cortex-M core to provide power, clock, and
15 resource management. It exists on some i.MX8 processors. e.g. i.MX8QM
17 The AP communicates with the SC using a multi-ported MU module found
19 5 remote AP connections to the SC to support up to 5 execution environments
20 (TZ, HV, standard Linux, etc.). The SC side of this MU module interfaces
[all …]
/kernel/linux/linux-6.6/drivers/media/platform/ti/vpe/
Dsc.h1 /* SPDX-License-Identifier: GPL-2.0-only */
187 struct resource *res;
189 dma_addr_t loaded_coeff_h; /* loaded h coeffs in SC */
190 dma_addr_t loaded_coeff_v; /* loaded v coeffs in SC */
192 bool load_coeff_h; /* have new h SC coeffs */
193 bool load_coeff_v; /* have new v SC coeffs */
198 void sc_dump_regs(struct sc_data *sc);
199 void sc_set_hs_coeffs(struct sc_data *sc, void *addr, unsigned int src_w,
201 void sc_set_vs_coeffs(struct sc_data *sc, void *addr, unsigned int src_h,
203 void sc_config_scaler(struct sc_data *sc, u32 *sc_reg0, u32 *sc_reg8,
/kernel/linux/linux-5.10/drivers/media/platform/ti-vpe/
Dsc.h1 /* SPDX-License-Identifier: GPL-2.0-only */
187 struct resource *res;
189 dma_addr_t loaded_coeff_h; /* loaded h coeffs in SC */
190 dma_addr_t loaded_coeff_v; /* loaded v coeffs in SC */
192 bool load_coeff_h; /* have new h SC coeffs */
193 bool load_coeff_v; /* have new v SC coeffs */
198 void sc_dump_regs(struct sc_data *sc);
199 void sc_set_hs_coeffs(struct sc_data *sc, void *addr, unsigned int src_w,
201 void sc_set_vs_coeffs(struct sc_data *sc, void *addr, unsigned int src_h,
203 void sc_config_scaler(struct sc_data *sc, u32 *sc_reg0, u32 *sc_reg8,
/kernel/linux/linux-6.6/arch/mips/include/asm/
Datomic.h3 * resource counting etc..
22 #include <asm/cpu-features.h>
29 return READ_ONCE(v->counter); \
34 WRITE_ONCE(v->counter, i); \
44 #define ATOMIC_OP(pfx, op, type, c_op, asm_op, ll, sc) \ argument
53 v->counter c_op i; \
64 " " #sc " %0, %1 \n" \
67 : "=&r" (temp), "+" GCC_OFF_SMALL_ASM() (v->counter) \
71 #define ATOMIC_OP_RETURN(pfx, op, type, c_op, asm_op, ll, sc) \ argument
81 result = v->counter; \
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/exynos/
Dexynos_drm_fimc.c1 // SPDX-License-Identifier: GPL-2.0-or-later
26 #include "regs-fimc.h"
92 * @sc: scaler infomations.
106 struct resource *regs_res;
110 struct fimc_scaler sc; member
117 return readl(ctx->regs + reg); in fimc_read()
122 writel(val, ctx->regs + reg); in fimc_write()
127 void __iomem *r = ctx->regs + reg; in fimc_set_bits()
134 void __iomem *r = ctx->regs + reg; in fimc_clear_bits()
188 DRM_DEV_DEBUG_KMS(ctx->dev, "enable[%d]\n", enable); in fimc_handle_jpeg()
[all …]
Dexynos_drm_gsc.c1 // SPDX-License-Identifier: GPL-2.0-or-later
25 #include "regs-gsc.h"
64 #define gsc_read(offset) readl(ctx->regs + (offset))
65 #define gsc_write(cfg, offset) writel(cfg, ctx->regs + (offset))
92 * @sc: scaler infomations.
106 struct resource *regs_res;
111 struct gsc_scaler sc; member
118 * struct gsc_driverdata - per device type driver data for init time.
131 /* 8-tap Filter Coefficient */
135 { -1, 2, -6, 127, 7, -2, 1, 0 },
[all …]
/kernel/linux/linux-5.10/arch/mips/include/asm/
Datomic.h3 * resource counting etc..
21 #include <asm/cpu-features.h>
30 return READ_ONCE(v->counter); \
35 WRITE_ONCE(v->counter, i); \
40 return cmpxchg(&v->counter, o, n); \
45 return xchg(&v->counter, n); \
55 #define ATOMIC_OP(pfx, op, type, c_op, asm_op, ll, sc) \ argument
64 v->counter c_op i; \
75 " " #sc " %0, %1 \n" \
78 : "=&r" (temp), "+" GCC_OFF_SMALL_ASM() (v->counter) \
[all …]
/kernel/linux/linux-6.6/drivers/firmware/imx/
Drm.c1 // SPDX-License-Identifier: GPL-2.0+
5 * File containing client-side RPC functions for the RM service. These
6 * function are ported to clients that communicate to the SC.
13 u16 resource; member
17 * This function check @resource is owned by current partition or not
20 * @param[in] resource resource the control is associated with
24 bool imx_sc_rm_is_resource_owned(struct imx_sc_ipc *ipc, u16 resource) in imx_sc_rm_is_resource_owned() argument
29 hdr->ver = IMX_SC_RPC_VERSION; in imx_sc_rm_is_resource_owned()
30 hdr->svc = IMX_SC_RPC_SVC_RM; in imx_sc_rm_is_resource_owned()
31 hdr->func = IMX_SC_RM_FUNC_IS_RESOURCE_OWNED; in imx_sc_rm_is_resource_owned()
[all …]
/kernel/linux/linux-5.10/include/linux/firmware/imx/svc/
Drm.h1 /* SPDX-License-Identifier: GPL-2.0+ */
4 * Copyright 2017-2020 NXP
6 * Header file containing the public API for the System Controller (SC)
7 * Resource Management (RM) function. This includes functions for
10 * RM_SVC (SVC) Resource Management Service
12 * Module for the Resource Management (RM) service.
61 bool imx_sc_rm_is_resource_owned(struct imx_sc_ipc *ipc, u16 resource);
64 imx_sc_rm_is_resource_owned(struct imx_sc_ipc *ipc, u16 resource) in imx_sc_rm_is_resource_owned() argument
Dmisc.h1 /* SPDX-License-Identifier: GPL-2.0+ */
6 * Header file containing the public API for the System Controller (SC)
49 int imx_sc_misc_set_control(struct imx_sc_ipc *ipc, u32 resource,
52 int imx_sc_misc_get_control(struct imx_sc_ipc *ipc, u32 resource,
55 int imx_sc_pm_cpu_start(struct imx_sc_ipc *ipc, u32 resource,
/kernel/linux/linux-6.6/include/linux/firmware/imx/svc/
Drm.h1 /* SPDX-License-Identifier: GPL-2.0+ */
4 * Copyright 2017-2020 NXP
6 * Header file containing the public API for the System Controller (SC)
7 * Resource Management (RM) function. This includes functions for
10 * RM_SVC (SVC) Resource Management Service
12 * Module for the Resource Management (RM) service.
61 bool imx_sc_rm_is_resource_owned(struct imx_sc_ipc *ipc, u16 resource);
62 int imx_sc_rm_get_resource_owner(struct imx_sc_ipc *ipc, u16 resource, u8 *pt);
65 imx_sc_rm_is_resource_owned(struct imx_sc_ipc *ipc, u16 resource) in imx_sc_rm_is_resource_owned() argument
69 static inline int imx_sc_rm_get_resource_owner(struct imx_sc_ipc *ipc, u16 resource, u8 *pt) in imx_sc_rm_get_resource_owner() argument
[all …]
Dmisc.h1 /* SPDX-License-Identifier: GPL-2.0+ */
6 * Header file containing the public API for the System Controller (SC)
50 int imx_sc_misc_set_control(struct imx_sc_ipc *ipc, u32 resource,
53 int imx_sc_misc_get_control(struct imx_sc_ipc *ipc, u32 resource,
56 int imx_sc_pm_cpu_start(struct imx_sc_ipc *ipc, u32 resource,
60 u32 resource, u8 ctrl, u32 val) in imx_sc_misc_set_control() argument
62 return -ENOTSUPP; in imx_sc_misc_set_control()
66 u32 resource, u8 ctrl, u32 *val) in imx_sc_misc_get_control() argument
68 return -ENOTSUPP; in imx_sc_misc_get_control()
71 static inline int imx_sc_pm_cpu_start(struct imx_sc_ipc *ipc, u32 resource, in imx_sc_pm_cpu_start() argument
[all …]
/kernel/linux/linux-6.6/drivers/mmc/host/
Dsdhci-s3c.c1 // SPDX-License-Identifier: GPL-2.0-only
2 /* linux/drivers/mmc/host/sdhci-s3c.c
14 #include <linux/dma-mapping.h>
16 #include <linux/platform_data/mmc-sdhci-s3c.h>
104 * struct sdhci_s3c - S3C SDHCI instance
107 * @ioarea: The resource created when we claimed the IO area.
114 * @no_divider: No or non-standard internal clock divider.
119 struct resource *ioarea;
132 * struct sdhci_s3c_drv_data - S3C SDHCI platform specific driver data
134 * @no_divider: no or non-standard internal clock divider.
[all …]
/kernel/linux/linux-6.6/include/linux/
Ddio.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Maybe this should handle DIO-II later?
19 * range from 0-63 (DIO) and 132-255 (DIO-II).
20 * The DIO board with select code sc is located at physical address
21 * 0x600000 + sc * 0x10000
22 * So DIO cards cover [0x600000-0x800000); the areas [0x200000-0x400000) and
23 * [0x800000-0x1000000) are for additional space required by things
24 * like framebuffers. [0x400000-0x600000) is for miscellaneous internal I/O.
27 * DIO-II boards are at 0x1000000 + (sc - 132) * 0x400000
28 * which is address range [0x1000000-0x20000000) -- too big to map completely,
[all …]
/kernel/linux/linux-5.10/include/linux/
Ddio.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Maybe this should handle DIO-II later?
19 * range from 0-63 (DIO) and 132-255 (DIO-II).
20 * The DIO board with select code sc is located at physical address
21 * 0x600000 + sc * 0x10000
22 * So DIO cards cover [0x600000-0x800000); the areas [0x200000-0x400000) and
23 * [0x800000-0x1000000) are for additional space required by things
24 * like framebuffers. [0x400000-0x600000) is for miscellaneous internal I/O.
27 * DIO-II boards are at 0x1000000 + (sc - 132) * 0x400000
28 * which is address range [0x1000000-0x20000000) -- too big to map completely,
[all …]
/kernel/linux/linux-5.10/drivers/mmc/host/
Dsdhci-s3c.c1 // SPDX-License-Identifier: GPL-2.0-only
2 /* linux/drivers/mmc/host/sdhci-s3c.c
14 #include <linux/dma-mapping.h>
16 #include <linux/platform_data/mmc-sdhci-s3c.h>
104 * struct sdhci_s3c - S3C SDHCI instance
107 * @ioarea: The resource created when we claimed the IO area.
114 * @no_divider: No or non-standard internal clock divider.
119 struct resource *ioarea;
132 * struct sdhci_s3c_driver_data - S3C SDHCI platform specific driver data
134 * @no_divider: no or non-standard internal clock divider.
[all …]

12345678