Home
last modified time | relevance | path

Searched +full:blk +full:- +full:ctrl (Results 1 – 25 of 46) sorted by relevance

12

/linux/Documentation/devicetree/bindings/soc/imx/
H A Dfsl,imx8mm-vpu-blk-ctrl.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/soc/imx/fsl,imx8mm-vpu-blk-ctrl.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: NXP i.MX8MM VPU blk-ctrl
10 - Lucas Stach <l.stach@pengutronix.de>
13 The i.MX8MM VPU blk-ctrl is a top-level peripheral providing access to
20 - const: fsl,imx8mm-vpu-blk-ctrl
21 - const: syscon
26 '#power-domain-cells':
[all …]
H A Dfsl,imx8mq-vpu-blk-ctrl.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/soc/imx/fsl,imx8mq-vpu-blk-ctrl.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: NXP i.MX8MQ VPU blk-ctrl
10 - Lucas Stach <l.stach@pengutronix.de>
13 The i.MX8MQ VPU blk-ctrl is a top-level peripheral providing access to
20 - const: fsl,imx8mq-vpu-blk-ctrl
25 '#power-domain-cells':
28 power-domains:
[all …]
H A Dfsl,imx8mp-hsio-blk-ctrl.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/soc/imx/fsl,imx8mp-hsio-blk-ctrl.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: NXP i.MX8MP HSIO blk-ctrl
10 - Lucas Stach <l.stach@pengutronix.de>
13 The i.MX8MP HSIO blk-ctrl is a top-level peripheral providing access to
14 the NoC and ensuring proper power sequencing of the high-speed IO
20 - const: fsl,imx8mp-hsio-blk-ctrl
21 - const: syscon
[all …]
H A Dfsl,imx8mp-hdmi-blk-ctrl.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/soc/imx/fsl,imx8mp-hdmi-blk-ctrl.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: NXP i.MX8MP HDMI blk-ctrl
10 - Lucas Stach <l.stach@pengutronix.de>
13 The i.MX8MP HDMMI blk-ctrl is a top-level peripheral providing access to
20 - const: fsl,imx8mp-hdmi-blk-ctrl
21 - const: syscon
26 '#power-domain-cells':
[all …]
H A Dfsl,imx8mm-disp-blk-ctrl.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/soc/imx/fsl,imx8mm-disp-blk-ctrl.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: NXP i.MX8MM DISP blk-ctrl
10 - Lucas Stach <l.stach@pengutronix.de>
13 The i.MX8MM DISP blk-ctrl is a top-level peripheral providing access to
20 - const: fsl,imx8mm-disp-blk-ctrl
21 - const: syscon
26 '#power-domain-cells':
[all …]
H A Dfsl,imx8mn-disp-blk-ctrl.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/soc/imx/fsl,imx8mn-disp-blk-ctrl.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: NXP i.MX8MN DISP blk-ctrl
10 - Lucas Stach <l.stach@pengutronix.de>
13 The i.MX8MN DISP blk-ctrl is a top-level peripheral providing access to
20 - const: fsl,imx8mn-disp-blk-ctrl
21 - const: syscon
26 '#power-domain-cells':
[all …]
H A Dfsl,imx8mp-media-blk-ctrl.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/soc/imx/fsl,imx8mp-media-blk-ctrl.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Paul Elder <paul.elder@ideasonboard.com>
13 The i.MX8MP Media Block Control (MEDIA BLK_CTRL) is a top-level peripheral
20 - const: fsl,imx8mp-media-blk-ctrl
21 - const: syscon
26 '#address-cells':
29 '#size-cells':
[all …]
/linux/Documentation/devicetree/bindings/display/bridge/
H A Dfsl,imx93-mipi-dsi.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/display/bridge/fsl,imx93-mipi-dsi.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Liu Ying <victor.liu@nxp.com>
15 and extensions to them are controlled by i.MX93 media blk-ctrl.
18 - $ref: snps,dw-mipi-dsi.yaml#
22 const: fsl,imx93-mipi-dsi
26 - description: apb clock
27 - description: pixel clock
[all …]
/linux/drivers/pmdomain/imx/
H A DMakefile1 # SPDX-License-Identifier: GPL-2.0-only
2 obj-$(CONFIG_HAVE_IMX_GPC) += gpc.o
3 obj-$(CONFIG_IMX_GPCV2_PM_DOMAINS) += gpcv2.o
4 obj-$(CONFIG_IMX_SCU_PD) += scu-pd.o
5 obj-$(CONFIG_IMX8M_BLK_CTRL) += imx8m-blk-ctrl.o
6 obj-$(CONFIG_IMX8M_BLK_CTRL) += imx8mp-blk-ctrl.o
7 obj-$(CONFIG_SOC_IMX9) += imx93-pd.o
8 obj-$(CONFIG_IMX9_BLK_CTRL) += imx93-blk-ctrl.o
H A Dimx93-blk-ctrl.c1 // SPDX-License-Identifier: GPL-2.0
17 #include <dt-bindings/power/fsl,imx93-power.h>
113 const struct imx93_blk_ctrl_domain_data *data = domain->data; in imx93_blk_ctrl_set_qos()
114 struct imx93_blk_ctrl *bc = domain->bc; in imx93_blk_ctrl_set_qos()
119 for (i = 0; i < data->num_qos; i++) { in imx93_blk_ctrl_set_qos()
120 qos = &data->qos[i]; in imx93_blk_ctrl_set_qos()
122 mask = PRIO_MASK << qos->cfg_off; in imx93_blk_ctrl_set_qos()
123 mask |= PRIO_MASK << (qos->cfg_off + 4); in imx93_blk_ctrl_set_qos()
124 val = qos->cfg_prio << qos->cfg_off; in imx93_blk_ctrl_set_qos()
125 val |= qos->default_prio << (qos->cfg_off + 4); in imx93_blk_ctrl_set_qos()
[all …]
H A Dimx8m-blk-ctrl.c1 // SPDX-License-Identifier: GPL-2.0+
19 #include <dt-bindings/power/imx8mm-power.h>
20 #include <dt-bindings/power/imx8mn-power.h>
21 #include <dt-bindings/power/imx8mp-power.h>
22 #include <dt-bindings/power/imx8mq-power.h>
53 * an if-statement should be used before setting and clearing this
59 * VC8000E reset de-assertion edge and AXI clock may have a timing issue.
63 * de-asserted by HW)
97 const struct imx8m_blk_ctrl_domain_data *data = domain->data; in imx8m_blk_ctrl_power_on()
98 struct imx8m_blk_ctrl *bc = domain->bc; in imx8m_blk_ctrl_power_on()
[all …]
/linux/drivers/pci/hotplug/
H A Dibmphp_ebda.c1 // SPDX-License-Identifier: GPL-2.0+
7 * Copyright (C) 2001,2003 Greg Kroah-Hartman (greg@kroah.com)
8 * Copyright (C) 2001-2003 IBM Corp.
26 * POST builds data blocks(in this data block definition, a char-1
27 * byte, short(or word)-2 byte, long(dword)-4 byte) in the Extended
28 * BIOS Data Area which describe the configuration of the hot-plug
29 * controllers and resources used by the PCI Hot-Plug devices.
76 controller->slots = slots; in alloc_ebda_hpc()
81 controller->buses = buses; in alloc_ebda_hpc()
85 kfree(controller->slots); in alloc_ebda_hpc()
[all …]
/linux/drivers/usb/gadget/function/
H A Df_midi2.c1 // SPDX-License-Identifier: GPL-2.0+
3 * f_midi2.c -- USB MIDI 2.0 class function driver
21 #include <linux/usb/midi-v2.h>
32 unsigned int index; /* array index: 0-31 */
85 struct f_midi2_usb_ep ep_in; /* USB MIDI EP-in */
86 struct f_midi2_usb_ep ep_out; /* USB MIDI EP-out */
88 u8 in_group_to_cable[SNDRV_UMP_MAX_GROUPS]; /* map to cable; 1-based! */
97 /* 1-based GTB id to string id */
98 #define gtb_to_str_id(id) (STR_GTB1 + (id) - 1)
128 /* conversion for MIDI 1.0 EP-in */
[all …]
/linux/drivers/gpu/drm/imx/dcss/
H A Ddcss-blkctl.c1 // SPDX-License-Identifier: GPL-2.0
10 #include "dcss-dev.h"
31 if (blkctl->dcss->hdmi_output) in dcss_blkctl_cfg()
32 dcss_writel(0, blkctl->base_reg + DCSS_BLKCTL_CONTROL0); in dcss_blkctl_cfg()
35 blkctl->base_reg + DCSS_BLKCTL_CONTROL0); in dcss_blkctl_cfg()
38 blkctl->base_reg + DCSS_BLKCTL_RESET_CTRL); in dcss_blkctl_cfg()
45 blkctl = devm_kzalloc(dcss->dev, sizeof(*blkctl), GFP_KERNEL); in dcss_blkctl_init()
47 return -ENOMEM; in dcss_blkctl_init()
49 blkctl->base_reg = devm_ioremap(dcss->dev, blkctl_base, SZ_4K); in dcss_blkctl_init()
50 if (!blkctl->base_reg) { in dcss_blkctl_init()
[all …]
/linux/drivers/nvme/host/
H A Dnvme.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Copyright (c) 2011-2014, Intel Corporation.
13 #include <linux/blk-mq.h>
14 #include <linux/sed-opal.h>
15 #include <linux/fault-inject.h>
18 #include <linux/t10-pi.h>
124 * Use non-standard 128 bytes SQEs.
173 * MSI (but not MSI-X) interrupts are broken and never fire.
246 * this structure as the first member of their request-private data.
258 struct nvme_ctrl *ctrl; member
[all …]
H A Dapple.c1 // SPDX-License-Identifier: GPL-2.0
7 * Copyright (c) 2011-2014, Intel Corporation.
9 * Copyright (c) 2015-2016 HGST, a Western Digital Company.
14 #include <linux/blk-mq.h>
16 #include <linux/dma-mapping.h>
19 #include <linux/io-64-nonatomic-lo-hi.h>
72 #define APPLE_NVME_AQ_MQ_TAG_DEPTH (APPLE_NVME_AQ_DEPTH - 1)
89 * An exception to this are Apple's vendor-specific commands (opcode 0xD8 on the
154 return smp_load_acquire(&q->enabled); in apple_nvme_queue_enabled()
159 /* Publish queue initialization before setting q->enabled. */ in apple_nvme_enable_queue()
[all …]
H A Dioctl.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (c) 2011-2014, Intel Corporation.
4 * Copyright (c) 2017-2021 Christoph Hellwig.
6 #include <linux/blk-integrity.h>
17 static bool nvme_admin_cmd_allowed(struct nvme_ctrl *ctrl, in nvme_admin_cmd_allowed() argument
26 switch (c->common.opcode) { in nvme_admin_cmd_allowed()
28 switch (c->identify.cns) { in nvme_admin_cmd_allowed()
42 * only armed for fabrics - on other transports it has no in nvme_admin_cmd_allowed()
45 switch (le32_to_cpu(c->features.fid) & 0xff) { in nvme_admin_cmd_allowed()
47 if (ctrl->ops->flags & NVME_F_FABRICS) in nvme_admin_cmd_allowed()
[all …]
H A Dpci.c1 // SPDX-License-Identifier: GPL-2.0
4 * Copyright (c) 2011-2014, Intel Corporation.
10 #include <linux/blk-mq-dma.h>
11 #include <linux/blk-integrity.h>
25 #include <linux/t10-pi.h>
27 #include <linux/io-64-nonatomic-lo-hi.h>
28 #include <linux/io-64-nonatomic-hi-lo.h>
29 #include <linux/sed-opal.h>
34 #define SQ_SIZE(q) ((q)->q_depth << (q)->sqes)
35 #define CQ_SIZE(q) ((q)->q_depth * sizeof(struct nvme_completion))
[all …]
H A Drdma.c1 // SPDX-License-Identifier: GPL-2.0
4 * Copyright (c) 2015-2016 HGST, a Western Digital Company.
14 #include <linux/blk-mq.h>
15 #include <linux/blk-integrity.h>
26 #include <linux/nvme-rdma.h>
97 struct nvme_rdma_ctrl *ctrl; member
139 struct nvme_ctrl ctrl; member
144 static inline struct nvme_rdma_ctrl *to_rdma_ctrl(struct nvme_ctrl *ctrl) in to_rdma_ctrl() argument
146 return container_of(ctrl, struct nvme_rdma_ctrl, ctrl); in to_rdma_ctrl()
169 return queue - queue->ctrl->queues; in nvme_rdma_queue_idx()
[all …]
/linux/drivers/net/ethernet/intel/ice/
H A Dice_flex_pipe.c1 // SPDX-License-Identifier: GPL-2.0
77 * ice_sect_id - returns section ID
78 * @blk: block type
84 static u32 ice_sect_id(enum ice_block blk, enum ice_sect sect) in ice_sect_id() argument
86 return ice_sect_lkup[blk][sect]; in ice_sect_id()
90 * ice_hw_ptype_ena - check if the PTYPE is enabled or not
97 test_bit(ptype, hw->hw_ptype); in ice_hw_ptype_ena()
112 * ice_gen_key_word - generate 16-bits of a key/mask word
120 * This function generates 16-bits from a 8-bit value, an 8-bit don't care mask
121 * and an 8-bit never match mask. The 16-bits of output are divided into 8 bits
[all …]
/linux/drivers/clk/imx/
H A Dclk-imx8mp-audiomix.c1 // SPDX-License-Identifier: GPL-2.0-or-later
9 #include <linux/clk-provider.h>
18 #include <dt-bindings/clock/imx8mp-clock.h>
237 if (!of_property_present(dev->of_node, "#reset-cells")) in clk_imx8mp_audiomix_reset_controller_register()
242 return -ENODEV; in clk_imx8mp_audiomix_reset_controller_register()
260 void __iomem *base = priv->base; in clk_imx8mp_audiomix_save_restore()
265 priv->regs_save[i] = readl(base + audiomix_regs[i]); in clk_imx8mp_audiomix_save_restore()
268 writel(priv->regs_save[i], base + audiomix_regs[i]); in clk_imx8mp_audiomix_save_restore()
276 struct device *dev = &pdev->dev; in clk_imx8mp_audiomix_probe()
285 return -ENOMEM; in clk_imx8mp_audiomix_probe()
[all …]
H A Dclk-imx95-blk-ctl.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright 2024-2025 NXP
6 #include <dt-bindings/clock/nxp,imx94-clock.h>
7 #include <dt-bindings/clock/nxp,imx95-clock.h>
9 #include <linux/clk-provider.h>
366 struct device *dev = &pdev->dev; in imx95_bc_probe()
375 return -ENOMEM; in imx95_bc_probe()
376 bc->dev = dev; in imx95_bc_probe()
377 dev_set_drvdata(&pdev->dev, bc); in imx95_bc_probe()
379 spin_lock_init(&bc->lock); in imx95_bc_probe()
[all …]
/linux/drivers/mtd/nand/raw/
H A Dfsl_elbc_nand.c1 // SPDX-License-Identifier: GPL-2.0-or-later
4 * Copyright © 2006-2007, 2010 Freescale Semiconductor
9 * Roy Zang <tie-fei.zang@freescale.com>
38 struct fsl_lbc_ctrl *ctrl; member
74 if (section >= chip->ecc.steps) in fsl_elbc_ooblayout_ecc()
75 return -ERANGE; in fsl_elbc_ooblayout_ecc()
77 oobregion->offset = (16 * section) + 6; in fsl_elbc_ooblayout_ecc()
78 if (priv->fmr & FMR_ECCM) in fsl_elbc_ooblayout_ecc()
79 oobregion->offset += 2; in fsl_elbc_ooblayout_ecc()
81 oobregion->length = chip->ecc.bytes; in fsl_elbc_ooblayout_ecc()
[all …]
/linux/drivers/firmware/cirrus/
H A Dcs_dsp.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * cs_dsp.c -- Cirrus Logic DSP firmware support
8 * Copyright (C) 2015-2021 Cirrus Logic, Inc. and
33 * When the KUnit test is running the error-case tests will cause a lot
34 * of messages. Rate-limit to prevent overflowing the kernel log buffer
56 dev_err(_dsp->dev, "%s: " fmt, _dsp->name, ##__VA_ARGS__); \
62 dev_warn(_dsp->dev, "%s: " fmt, _dsp->name, ##__VA_ARGS__); \
68 dev_info(_dsp->dev, "%s: " fmt, _dsp->name, ##__VA_ARGS__); \
74 dev_dbg(_dsp->dev, "%s: " fmt, _dsp->name, ##__VA_ARGS__); \
112 #define ADSP1_WDMA_BUFFER_LENGTH_MASK 0x00FF /* DSP1_WDMA_BUFFER_LENGTH - [7:0] */
[all …]
/linux/drivers/mtd/nand/onenand/
H A Donenand_base.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright © 2005-2009 Samsung Electronics
9 * Adrian Hunter <ext-adrian.hunter@nokia.com>:
10 * auto-placement support, read-while load support, various fixes
13 * Flex-OneNAND support
39 /* Default Flex-OneNAND boundary and lock respectively */
40 static int flex_bdry[MAX_DIES * 2] = { -1, 0, -1, 0 };
43 MODULE_PARM_DESC(flex_bdry, "SLC Boundary information for Flex-OneNAND"
47 " : 0->Set boundary in unlocked status"
48 " : 1->Set boundary in locked status");
[all …]

12