Home
last modified time | relevance | path

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

1234

/openbmc/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,imx93-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,imx93-media-blk-ctrl.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: NXP i.MX93 Media blk-ctrl
10 - Peng Fan <peng.fan@nxp.com>
15 clocking, reset, and miscellaneous top-level controls for peripherals
21 - const: fsl,imx93-media-blk-ctrl
22 - const: syscon
27 '#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 …]
/openbmc/qemu/hw/block/
H A Dswim.c4 * Copyright (c) 2014-2018 Laurent Vivier <laurent@vivier.eu>
7 * the COPYING file in the top-level directory.
14 #include "qemu/main-loop.h"
16 #include "sysemu/block-backend.h"
21 #include "hw/qdev-properties.h"
155 blk_set_perm(drive->blk, 0, BLK_PERM_ALL, &error_abort); in swim_change_cb()
157 if (!blkconf_apply_backend_options(drive->conf, in swim_change_cb()
158 !blk_supports_write_perm(drive->blk), in swim_change_cb()
170 DEFINE_PROP_INT32("unit", SWIMDrive, unit, -1),
178 SWIMBus *bus = SWIM_BUS(qdev->parent_bus); in swim_drive_realize()
[all …]
/openbmc/linux/drivers/gpu/drm/arm/display/komeda/d71/
H A Dd71_component.c1 // SPDX-License-Identifier: GPL-2.0
58 static u32 get_valid_inputs(struct block_header *blk) in get_valid_inputs() argument
63 for (i = 0; i < PIPELINE_INFO_N_VALID_INPUTS(blk->pipeline_info); i++) { in get_valid_inputs()
64 get_resources_id(blk->input_ids[i], NULL, &comp_id); in get_valid_inputs()
115 if (!d71->periph_addr) in __get_blk_line_size()
123 return __get_blk_line_size(d71, reg, d71->max_line_size); in get_blk_line_size()
176 struct komeda_component_output *input = &st->inputs[idx]; in to_d71_input_id()
179 if (has_bit(idx, st->active_inputs)) in to_d71_input_id()
180 return input->component->hw_id + input->output_port; in to_d71_input_id()
189 struct drm_framebuffer *fb = &kfb->base; in d71_layer_update_fb()
[all …]
/openbmc/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 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
88 const struct imx8m_blk_ctrl_domain_data *data = domain->data; in imx8m_blk_ctrl_power_on()
89 struct imx8m_blk_ctrl *bc = domain->bc; in imx8m_blk_ctrl_power_on()
93 ret = pm_runtime_get_sync(bc->bus_power_dev); in imx8m_blk_ctrl_power_on()
95 pm_runtime_put_noidle(bc->bus_power_dev); in imx8m_blk_ctrl_power_on()
[all …]
H A Dimx8mp-blk-ctrl.c1 // SPDX-License-Identifier: GPL-2.0+
9 #include <linux/clk-provider.h>
19 #include <dt-bindings/power/imx8mp-power.h>
104 regmap_update_bits(clk->regmap, GPR_REG2, in clk_hsio_pll_prepare()
110 /* de-assert PLL reset */ in clk_hsio_pll_prepare()
111 regmap_update_bits(clk->regmap, GPR_REG3, PLL_RST, PLL_RST); in clk_hsio_pll_prepare()
114 regmap_update_bits(clk->regmap, GPR_REG3, PLL_CKE, PLL_CKE); in clk_hsio_pll_prepare()
116 return regmap_read_poll_timeout(clk->regmap, GPR_REG1, val, in clk_hsio_pll_prepare()
124 regmap_update_bits(clk->regmap, GPR_REG3, PLL_RST | PLL_CKE, 0); in clk_hsio_pll_unprepare()
131 return regmap_test_bits(clk->regmap, GPR_REG1, PLL_LOCK); in clk_hsio_pll_is_prepared()
[all …]
H A Dimx93-blk-ctrl.c1 // SPDX-License-Identifier: GPL-2.0
16 #include <dt-bindings/power/fsl,imx93-power.h>
103 const struct imx93_blk_ctrl_domain_data *data = domain->data; in imx93_blk_ctrl_set_qos()
104 struct imx93_blk_ctrl *bc = domain->bc; in imx93_blk_ctrl_set_qos()
109 for (i = 0; i < data->num_qos; i++) { in imx93_blk_ctrl_set_qos()
110 qos = &data->qos[i]; in imx93_blk_ctrl_set_qos()
112 mask = PRIO_MASK << qos->cfg_off; in imx93_blk_ctrl_set_qos()
113 mask |= PRIO_MASK << (qos->cfg_off + 4); in imx93_blk_ctrl_set_qos()
114 val = qos->cfg_prio << qos->cfg_off; in imx93_blk_ctrl_set_qos()
115 val |= qos->default_prio << (qos->cfg_off + 4); in imx93_blk_ctrl_set_qos()
[all …]
/openbmc/u-boot/drivers/nvme/
H A Dnvme_show.c1 // SPDX-License-Identifier: GPL-2.0+
16 printf("Blk device %d: Optional Admin Command Support:\n", in print_optional_admin_cmd()
30 printf("Blk device %d: Optional NVM Command Support:\n", in print_optional_nvm_cmd()
46 printf("Blk device %d: Format NVM Attributes:\n", devnum); in print_format_nvme_attributes()
59 printf("\t\tMetadata Size: %d\n", le16_to_cpu(lbaf->ms)); in print_format()
60 printf("\t\tLBA Data Size: %d\n", 1 << lbaf->ds); in print_format()
61 printf("\t\tRelative Performance: %s\n", str[lbaf->rp & 0x03]); in print_format()
68 printf("Blk device %d: LBA Format Support:\n", ns->devnum); in print_formats()
70 for (i = 0; i < id->nlbaf; i++) { in print_formats()
72 if (i == ns->flbas) in print_formats()
[all …]
/openbmc/linux/Documentation/devicetree/bindings/media/
H A Dnxp,imx8-isi.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/media/nxp,imx8-isi.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Laurent Pinchart <laurent.pinchart@ideasonboard.com>
16 number and nature is SoC-dependent. They cover both capture interfaces (MIPI
17 CSI-2 RX, HDMI RX, ...) and display engine outputs for writeback support.
22 - fsl,imx8mn-isi
23 - fsl,imx8mp-isi
24 - fsl,imx93-isi
[all …]
/openbmc/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 …]
/openbmc/qemu/hw/arm/
H A Dimx25_pdk.c2 * Copyright (c) 2013 Jean-Christophe Dubois <jcd@tribudubois.net>
9 * Written by Hans at OK-Labs
28 #include "hw/qdev-properties.h"
29 #include "hw/arm/fsl-imx25.h"
32 #include "qemu/error-report.h"
38 * 0x00000000-0x7fffffff See i.MX25 SOC fr support
39 * 0x80000000-0x87ffffff RAM + Alias EMULATED
40 * 0x90000000-0x9fffffff RAM + Alias EMULATED
41 * 0xa0000000-0xa7ffffff Flash IGNORED
42 * 0xa8000000-0xafffffff Flash IGNORED
[all …]
/openbmc/linux/Documentation/devicetree/bindings/clock/
H A Dimx8mp-audiomix.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/clock/imx8mp-audiomix.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Marek Vasut <marex@denx.de>
18 const: fsl,imx8mp-audio-blk-ctrl
23 power-domains:
30 clock-names:
32 - const: ahb
33 - const: sai1
[all …]
/openbmc/qemu/include/hw/block/
H A Dswim.h4 * Copyright (c) 2014-2018 Laurent Vivier <laurent@vivier.eu>
7 * the COPYING file in the top-level directory.
22 #define TYPE_SWIM_DRIVE "swim-drive"
31 #define TYPE_SWIM_BUS "swim-bus"
36 struct SWIMCtrl *ctrl; member
41 BlockBackend *blk; member
70 SWIMCtrl ctrl; member
/openbmc/linux/include/acpi/
H A Dactbl.h1 /* SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 */
4 * Name: actbl.h - Basic ACPI Table Definitions
6 * Copyright (C) 2000 - 2023, Intel Corp.
18 * by ACPICA. All other tables are consumed by the OS-dependent ACPI-related
44 * All tables and structures must be byte-packed to match the ACPI
54 * essentially useless for dealing with packed data in on-disk formats or
82 * GAS - Generic Address Structure (ACPI 2.0+)
86 * 64-bit Address field must be performed with care.
95 u64 address; /* 64-bit address of struct or register */
100 * RSDP - Root System Description Pointer (Signature is "RSD PTR ")
[all …]
/openbmc/qemu/hw/nvme/
H A Dctrl.c14 * https://nvmexpress.org/developers/nvme-specification/
18 * ---------------------
24 * -----
28 * -drive file=<file>,if=none,id=<drive_id>
29 * -device nvme-subsys,id=<subsys_id>,nqn=<nqn_id>
30 * -device nvme,serial=<serial>,id=<bus_name>, \
47 * -device nvme-ns,drive=<drive_id>,bus=<bus_name>,nsid=<nsid>,\
60 * device will use the "v1.4 CMB scheme" - use the `legacy-cmb` parameter to
63 * Enabling pmr emulation can be achieved by pointing to memory-backend-file.
65 * -object memory-backend-file,id=<mem_id>,share=on,mem-path=<file_path>, \
[all …]
H A Dns.c11 * COPYING file in the top-level directory.
18 #include "qemu/error-report.h"
22 #include "sysemu/block-backend.h"
32 NvmeIdNs *id_ns = &ns->id_ns; in nvme_ns_init_format()
33 NvmeIdNsNvm *id_ns_nvm = &ns->id_ns_nvm; in nvme_ns_init_format()
38 ns->lbaf = id_ns->lbaf[NVME_ID_NS_FLBAS_INDEX(id_ns->flbas)]; in nvme_ns_init_format()
39 ns->lbasz = 1 << ns->lbaf.ds; in nvme_ns_init_format()
41 nlbas = ns->size / (ns->lbasz + ns->lbaf.ms); in nvme_ns_init_format()
43 id_ns->nsze = cpu_to_le64(nlbas); in nvme_ns_init_format()
46 id_ns->ncap = id_ns->nsze; in nvme_ns_init_format()
[all …]
/openbmc/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
20 #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 …]
/openbmc/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()
47 return -ENOMEM; in dcss_blkctl_init()
49 blkctl->base_reg = ioremap(blkctl_base, SZ_4K); in dcss_blkctl_init()
50 if (!blkctl->base_reg) { in dcss_blkctl_init()
51 dev_err(dcss->dev, "unable to remap BLK CTRL base\n"); in dcss_blkctl_init()
[all …]

1234