Home
last modified time | relevance | path

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

12345

/linux-6.14.4/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 …]
/linux-6.14.4/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 <[email protected]>
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 …]
/linux-6.14.4/fs/xfs/scrub/
Dquotacheck.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright (c) 2020-2024 Oracle. All Rights Reserved.
82 struct xfs_scrub *sc) in xchk_setup_quotacheck() argument
84 if (!XFS_IS_QUOTA_ON(sc->mp)) in xchk_setup_quotacheck()
85 return -ENOENT; in xchk_setup_quotacheck()
87 xchk_fsgates_enable(sc, XCHK_FSGATES_QUOTA); in xchk_setup_quotacheck()
89 sc->buf = kzalloc(sizeof(struct xqcheck), XCHK_GFP_FLAGS); in xchk_setup_quotacheck()
90 if (!sc->buf) in xchk_setup_quotacheck()
91 return -ENOMEM; in xchk_setup_quotacheck()
93 return xchk_setup_fs(sc); in xchk_setup_quotacheck()
[all …]
Dtempfile.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright (c) 2021-2024 Oracle. All Rights Reserved.
41 struct xfs_scrub *sc, in xrep_tempfile_create() argument
45 .pip = sc->mp->m_rootip, in xrep_tempfile_create()
49 struct xfs_mount *mp = sc->mp; in xrep_tempfile_create()
55 struct xfs_inode *dp = mp->m_rootip; in xrep_tempfile_create()
62 return -EIO; in xrep_tempfile_create()
64 return -EROFS; in xrep_tempfile_create()
66 ASSERT(sc->tp == NULL); in xrep_tempfile_create()
67 ASSERT(sc->tempip == NULL); in xrep_tempfile_create()
[all …]
Dquota.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright (C) 2017-2023 Oracle. All Rights Reserved.
26 struct xfs_scrub *sc) in xchk_quota_to_dqtype() argument
28 switch (sc->sm->sm_type) { in xchk_quota_to_dqtype()
43 struct xfs_scrub *sc) in xchk_setup_quota() argument
48 if (!XFS_IS_QUOTA_ON(sc->mp)) in xchk_setup_quota()
49 return -ENOENT; in xchk_setup_quota()
51 dqtype = xchk_quota_to_dqtype(sc); in xchk_setup_quota()
53 return -EINVAL; in xchk_setup_quota()
55 if (!xfs_this_quota_on(sc->mp, dqtype)) in xchk_setup_quota()
[all …]
Ddirtree_repair.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright (c) 2023-2024 Oracle. All Rights Reserved.
41 * pointing down to @sc->ip. If that leaves it with no parents, the directory
48 struct xfs_scrub *sc) in xrep_setup_dirtree() argument
50 return xrep_orphanage_try_create(sc); in xrep_setup_dirtree()
60 trace_xrep_dirpath_set_outcome(dl->sc, path->path_nr, path->nr_steps, in xrep_dirpath_set_outcome()
63 path->outcome = outcome; in xrep_dirpath_set_outcome()
75 switch (path->outcome) { in xrep_dirtree_delete_all_paths()
78 oc->suspect--; in xrep_dirtree_delete_all_paths()
79 oc->bad++; in xrep_dirtree_delete_all_paths()
[all …]
Drtrmap_repair.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright (c) 2020-2024 Oracle. All Rights Reserved.
59 * Collecting entries for the new realtime rmap btree is easy -- all we have
64 * To rebuild the realtime rmap btree, we bulk-load the collected mappings into
82 struct xfs_scrub *sc; member
93 /* in-memory btree cursor for the ->get_blocks walk */
103 struct xfs_scrub *sc) in xrep_setup_rtrmapbt() argument
109 xchk_fsgates_enable(sc, XCHK_FSGATES_RMAP); in xrep_setup_rtrmapbt()
111 descr = xchk_xfile_rtgroup_descr(sc, "reverse mapping records"); in xrep_setup_rtrmapbt()
112 error = xrep_setup_xfbtree(sc, descr); in xrep_setup_rtrmapbt()
[all …]
Dnlinks.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright (c) 2021-2024 Oracle. All Rights Reserved.
48 struct xfs_scrub *sc) in xchk_setup_nlinks() argument
53 xchk_fsgates_enable(sc, XCHK_FSGATES_DIRENTS); in xchk_setup_nlinks()
55 if (xchk_could_repair(sc)) { in xchk_setup_nlinks()
56 error = xrep_setup_nlinks(sc); in xchk_setup_nlinks()
63 return -ENOMEM; in xchk_setup_nlinks()
64 xnc->xname.name = xnc->namebuf; in xchk_setup_nlinks()
65 xnc->sc = sc; in xchk_setup_nlinks()
66 sc->buf = xnc; in xchk_setup_nlinks()
[all …]
/linux-6.14.4/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 <[email protected]>
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 …]
/linux-6.14.4/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 <[email protected]>
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 …]
/linux-6.14.4/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,
/linux-6.14.4/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 …]
/linux-6.14.4/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 …]
/linux-6.14.4/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 …]
/linux-6.14.4/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>
102 * struct sdhci_s3c - S3C SDHCI instance
105 * @ioarea: The resource created when we claimed the IO area.
112 * @no_divider: No or non-standard internal clock divider.
117 struct resource *ioarea;
130 * struct sdhci_s3c_drv_data - S3C SDHCI platform specific driver data
132 * @no_divider: no or non-standard internal clock divider.
[all …]
/linux-6.14.4/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 …]
/linux-6.14.4/tools/perf/pmu-events/arch/x86/amdzen2/
Dother.json5 "BriefDescription": "Cycles where the Micro-Op Queue is empty."
28 …alid but does not get dispatched due to a token stall. FP Miscellaneous resource unavailable. Appl…
34 …is valid but does not get dispatched due to a token stall. FP scheduler resource stall. Applies to…
40 …s not get dispatched due to a token stall. Floating point register file resource stall. Applies to…
46 …up is valid but does not get dispatched due to a token stall. Taken branch buffer resource stall.",
52 …but does not get dispatched due to a token stall. Integer Scheduler miscellaneous resource stall.",
58 … is valid but does not get dispatched due to a token stall. Store queue resource stall. Applies to…
64 …p is valid but does not get dispatched due to a token stall. Load queue resource stall. Applies to…
70 …not get dispatched due to a token stall. Integer Physical Register File resource stall. Applies to…
76 … dispatch group is valid but does not get dispatched due to a token stall. SC AGU dispatch stall.",
/linux-6.14.4/drivers/scsi/cxlflash/
Dcommon.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
33 #define CHAN2BANKPORT(_x) ((_x) & (CXLFLASH_NUM_FC_PORTS_PER_BANK - 1))
37 #define PORTNUM2CHAN(_x) ((_x) - 1) /* port number to channel */
108 * Each context has its own set of resource handles that is visible
149 bool ws_unmap; /* Write-same unmap supported */
169 /* As per the SISLITE spec the IOARCB EA has to be 16-byte aligned.
175 static inline struct afu_cmd *sc_to_afuc(struct scsi_cmnd *sc) in sc_to_afuc() argument
177 return PTR_ALIGN(scsi_cmd_priv(sc), __alignof__(struct afu_cmd)); in sc_to_afuc()
180 static inline struct afu_cmd *sc_to_afuci(struct scsi_cmnd *sc) in sc_to_afuci() argument
182 struct afu_cmd *afuc = sc_to_afuc(sc); in sc_to_afuci()
[all …]
/linux-6.14.4/drivers/gpu/drm/exynos/
Dexynos_drm_fimc.c1 // SPDX-License-Identifier: GPL-2.0-or-later
26 #include "regs-fimc.h"
91 * @sc: scaler infomations.
108 struct fimc_scaler sc; member
115 return readl(ctx->regs + reg); in fimc_read()
120 writel(val, ctx->regs + reg); in fimc_write()
125 void __iomem *r = ctx->regs + reg; in fimc_set_bits()
132 void __iomem *r = ctx->regs + reg; in fimc_clear_bits()
186 DRM_DEV_DEBUG_KMS(ctx->dev, "enable[%d]\n", enable); in fimc_handle_jpeg()
201 DRM_DEV_DEBUG_KMS(ctx->dev, "enable[%d]\n", enable); in fimc_mask_irq()
[all …]
/linux-6.14.4/drivers/irqchip/
Dirq-sunxi-nmi.c11 #define DRV_NAME "sunxi-nmi"
30 * For deprecated sun6i-a31-sc-nmi compatible.
99 struct irq_chip_type *ct = gc->chip_types; in sunxi_sc_nmi_set_type()
101 u32 ctrl_off = ct->regs.type; in sunxi_sc_nmi_set_type()
124 data->irq); in sunxi_sc_nmi_set_type()
125 return -EBADR; in sunxi_sc_nmi_set_type()
131 for (i = 0; i < gc->num_ct; i++, ct++) in sunxi_sc_nmi_set_type()
132 if (ct->type & flow_type) in sunxi_sc_nmi_set_type()
133 ctrl_off = ct->regs.type; in sunxi_sc_nmi_set_type()
158 return -ENOMEM; in sunxi_sc_nmi_irq_init()
[all …]
/linux-6.14.4/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_ptp.c4 * Copyright (c) 2003-2017 Chelsio Communications, Inc. All rights reserved.
16 * - Redistributions of source code must retain the above
20 * - Redistributions in binary form must reproduce the above
54 * cxgb4_ptp_is_ptp_tx - determine whether TX packet is PTP or not
63 return skb->len >= PTP_MIN_LENGTH && in cxgb4_ptp_is_ptp_tx()
64 skb->len <= PTP_IN_TRANSMIT_PACKET_MAXNUM && in cxgb4_ptp_is_ptp_tx()
65 likely(skb->protocol == htons(ETH_P_IP)) && in cxgb4_ptp_is_ptp_tx()
66 ip_hdr(skb)->protocol == IPPROTO_UDP && in cxgb4_ptp_is_ptp_tx()
67 uh->dest == htons(PTP_EVENT_PORT); in cxgb4_ptp_is_ptp_tx()
75 return (pi->ptp_enable && cxgb4_xmit_with_hwtstamp(skb) && in is_ptp_enabled()
[all …]
/linux-6.14.4/drivers/net/ethernet/broadcom/
Dsb1250-mac.c1 // SPDX-License-Identifier: GPL-2.0-or-later
6 * This driver is designed for the Broadcom SiByte SOC built-in
48 /* A few user-configurable values which may be modified when a driver
116 sbmac_duplex_none = -1,
142 #define SBDMA_NEXTBUF(d,f) ((((d)->f+1) == (d)->sbdma_dscrtable_end) ? \
143 (d)->sbdma_dscrtable : (d)->f+1)
222 * Linux-specific things
232 * Controller-specific things
272 static int sbdma_add_rcvbuffer(struct sbmac_softc *sc, struct sbmacdma *d,
276 static void sbdma_fillring(struct sbmac_softc *sc, struct sbmacdma *d);
[all …]
/linux-6.14.4/drivers/scsi/
Dxen-scsifront.c95 #define RSLT_RESET_ERR -1
98 struct scsi_cmnd *sc; member
139 info->wait_ring_available = 0; in scsifront_wake_up()
140 wake_up(&info->wq_sync); in scsifront_wake_up()
148 spin_lock_irqsave(&info->shadow_lock, flags); in scsifront_get_rqid()
150 free = find_first_bit(info->shadow_free_bitmap, VSCSIIF_MAX_REQS); in scsifront_get_rqid()
151 __clear_bit(free, info->shadow_free_bitmap); in scsifront_get_rqid()
153 spin_unlock_irqrestore(&info->shadow_lock, flags); in scsifront_get_rqid()
160 int empty = bitmap_empty(info->shadow_free_bitmap, VSCSIIF_MAX_REQS); in _scsifront_put_rqid()
162 __set_bit(id, info->shadow_free_bitmap); in _scsifront_put_rqid()
[all …]

12345