Home
last modified time | relevance | path

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

12345678910>>...41

/openbmc/linux/drivers/nvme/host/
H A Dfabrics.h1 /* SPDX-License-Identifier: GPL-2.0 */
4 * Copyright (c) 2015-2016 HGST, a Western Digital Company.
18 /* default is -1: the fail fast mechanism is disabled */
19 #define NVMF_DEF_FAIL_FAST_TMO -1
37 * enum nvmf_parsing_opts - used to define the sysfs parsing options used.
69 * struct nvmf_ctrl_options - Used to hold the options specified
74 * the controller, (-1) means reconnect forever, zero means remove
81 * @traddr: The transport-specific TRADDR field for a port on the
83 * @trsvcid: The transport-specific TRSVCID field for a port on the
85 * @host_traddr: A transport-specific field identifying the NVME host port
[all …]
/openbmc/linux/Documentation/devicetree/bindings/net/
H A Ddavinci_emac.txt7 - compatible: "ti,davinci-dm6467-emac", "ti,am3517-emac" or
8 "ti,dm816-emac"
9 - reg: Offset and length of the register set for the device
10 - ti,davinci-ctrl-reg-offset: offset to control register
11 - ti,davinci-ctrl-mod-reg-offset: offset to control module register
12 - ti,davinci-ctrl-ram-offset: offset to control module ram
13 - ti,davinci-ctrl-ram-size: size of control module ram
14 - interrupts: interrupt mapping for the davinci emac interrupts sources:
21 - phy-handle: See ethernet.txt file in the same directory.
23 - ti,davinci-rmii-en: 1 byte, 1 means use RMII
[all …]
/openbmc/linux/drivers/spmi/
H A Dspmi.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (c) 2012-2015, The Linux Foundation. All rights reserved.
9 #include <linux/module.h>
16 #include <dt-bindings/spmi/spmi.h>
36 struct spmi_controller *ctrl = to_spmi_controller(dev); in spmi_ctrl_release() local
38 ida_free(&ctrl_ida, ctrl->nr); in spmi_ctrl_release()
39 kfree(ctrl); in spmi_ctrl_release()
51 if (drv->name) in spmi_device_match()
52 return strncmp(dev_name(dev), drv->name, in spmi_device_match()
59 * spmi_device_add() - add a device previously constructed via spmi_device_alloc()
[all …]
/openbmc/qemu/include/hw/timer/
H A Dnpcm7xx_timer.h23 /* Each Timer Module (TIM) instance holds five 25 MHz timers. */
35 #define NPCM7XX_WATCHDOG_RESET_GPIO_OUT "npcm7xx-clk-watchdog-reset-gpio-out"
40 * struct NPCM7xxBaseTimer - Basic functionality that both regular timer and
53 * struct NPCM7xxTimer - Individual timer state.
54 * @ctrl: The timer module that owns this timer.
61 NPCM7xxTimerCtrlState *ctrl; member
71 * struct NPCM7xxWatchdogTimer - The watchdog timer state.
72 * @ctrl: The timer module that owns this timer.
79 NPCM7xxTimerCtrlState *ctrl; member
89 * struct NPCM7xxTimerCtrlState - Timer Module device state.
[all …]
/openbmc/linux/arch/m68k/include/asm/
H A Dm5307sim.h1 /* SPDX-License-Identifier: GPL-2.0 */
5 * m5307sim.h -- ColdFire 5307 System Integration Module support.
33 #define MCFSIM_PLLCR (MCF_MBAR + 0x08) /* PLL Ctrl Reg */
34 #define MCFSIM_MPARK (MCF_MBAR + 0x0C) /* BUS Master Ctrl */
37 #define MCFSIM_AVR (MCF_MBAR + 0x4b) /* Autovector Ctrl */
38 #define MCFSIM_ICR0 (MCF_MBAR + 0x4c) /* Intr Ctrl reg 0 */
39 #define MCFSIM_ICR1 (MCF_MBAR + 0x4d) /* Intr Ctrl reg 1 */
40 #define MCFSIM_ICR2 (MCF_MBAR + 0x4e) /* Intr Ctrl reg 2 */
41 #define MCFSIM_ICR3 (MCF_MBAR + 0x4f) /* Intr Ctrl reg 3 */
42 #define MCFSIM_ICR4 (MCF_MBAR + 0x50) /* Intr Ctrl reg 4 */
[all …]
H A Dm5407sim.h1 /* SPDX-License-Identifier: GPL-2.0 */
5 * m5407sim.h -- ColdFire 5407 System Integration Module support.
33 #define MCFSIM_PLLCR (MCF_MBAR + 0x08) /* PLL Ctrl */
34 #define MCFSIM_MPARK (MCF_MBAR + 0x0C) /* BUS Master Ctrl */
37 #define MCFSIM_AVR (MCF_MBAR + 0x4b) /* Autovector Ctrl */
38 #define MCFSIM_ICR0 (MCF_MBAR + 0x4c) /* Intr Ctrl reg 0 */
39 #define MCFSIM_ICR1 (MCF_MBAR + 0x4d) /* Intr Ctrl reg 1 */
40 #define MCFSIM_ICR2 (MCF_MBAR + 0x4e) /* Intr Ctrl reg 2 */
41 #define MCFSIM_ICR3 (MCF_MBAR + 0x4f) /* Intr Ctrl reg 3 */
42 #define MCFSIM_ICR4 (MCF_MBAR + 0x50) /* Intr Ctrl reg 4 */
[all …]
H A Dm525xsim.h1 /* SPDX-License-Identifier: GPL-2.0 */
5 * m525xsim.h -- ColdFire 525x System Integration Module support.
39 #define MCFSIM_MPARK (MCF_MBAR + 0x0C) /* BUS Master Ctrl */
42 #define MCFSIM_ICR0 (MCF_MBAR + 0x4c) /* Intr Ctrl reg 0 */
43 #define MCFSIM_ICR1 (MCF_MBAR + 0x4d) /* Intr Ctrl reg 1 */
44 #define MCFSIM_ICR2 (MCF_MBAR + 0x4e) /* Intr Ctrl reg 2 */
45 #define MCFSIM_ICR3 (MCF_MBAR + 0x4f) /* Intr Ctrl reg 3 */
46 #define MCFSIM_ICR4 (MCF_MBAR + 0x50) /* Intr Ctrl reg 4 */
47 #define MCFSIM_ICR5 (MCF_MBAR + 0x51) /* Intr Ctrl reg 5 */
48 #define MCFSIM_ICR6 (MCF_MBAR + 0x52) /* Intr Ctrl reg 6 */
[all …]
/openbmc/linux/drivers/net/ethernet/stmicro/stmmac/
H A Ddwmac-socfpga.c1 // SPDX-License-Identifier: GPL-2.0-only
4 * Adopted from dwmac-sti.c
7 #include <linux/mfd/altera-sysmgr.h>
13 #include <linux/mdio/mdio-regmap.h>
14 #include <linux/pcs-lynx.h>
67 void __iomem *splitter_base = dwmac->splitter_base; in socfpga_dwmac_fix_mac_speed()
68 void __iomem *sgmii_adapter_base = dwmac->sgmii_adapter_base; in socfpga_dwmac_fix_mac_speed()
69 struct device *dev = dwmac->dev; in socfpga_dwmac_fix_mac_speed()
71 struct phy_device *phy_dev = ndev->phydev; in socfpga_dwmac_fix_mac_speed()
105 struct device_node *np = dev->of_node; in socfpga_dwmac_parse_data()
[all …]
/openbmc/linux/include/linux/
H A Dmdio-bitbang.h1 /* SPDX-License-Identifier: GPL-2.0 */
7 struct module;
12 struct module *owner;
17 void (*set_mdc)(struct mdiobb_ctrl *ctrl, int level);
22 void (*set_mdio_dir)(struct mdiobb_ctrl *ctrl, int output);
28 void (*set_mdio_data)(struct mdiobb_ctrl *ctrl, int value);
31 int (*get_mdio_data)(struct mdiobb_ctrl *ctrl);
47 struct mii_bus *alloc_mdio_bitbang(struct mdiobb_ctrl *ctrl);
/openbmc/linux/drivers/slimbus/
H A Dcore.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (c) 2011-2017, The Linux Foundation
22 while (id->manf_id != 0 || id->prod_code != 0) { in slim_match()
23 if (id->manf_id == sbdev->e_addr.manf_id && in slim_match()
24 id->prod_code == sbdev->e_addr.prod_code && in slim_match()
25 id->dev_index == sbdev->e_addr.dev_index && in slim_match()
26 id->instance == sbdev->e_addr.instance) in slim_match()
42 return !!slim_match(sbdrv->id_table, sbdev); in slim_device_match()
50 if (sbdev->status == status) in slim_device_update_status()
53 sbdev->status = status; in slim_device_update_status()
[all …]
/openbmc/linux/drivers/nvme/target/
H A Dloop.c1 // SPDX-License-Identifier: GPL-2.0
4 * Copyright (c) 2015-2016 HGST, a Western Digital Company.
8 #include <linux/blk-mq.h>
10 #include <linux/module.h>
37 struct nvme_ctrl ctrl; member
42 static inline struct nvme_loop_ctrl *to_loop_ctrl(struct nvme_ctrl *ctrl) in to_loop_ctrl() argument
44 return container_of(ctrl, struct nvme_loop_ctrl, ctrl); in to_loop_ctrl()
54 struct nvme_loop_ctrl *ctrl; member
65 static void nvme_loop_delete_ctrl(struct nvmet_ctrl *ctrl);
71 return queue - queue->ctrl->queues; in nvme_loop_queue_idx()
[all …]
/openbmc/phosphor-webui/app/common/components/
H A Dfile-upload.js4 const template = `<div class="file-upload">
7 class="file-upload-btn btn btn-secondary"
8 ng-if="!$ctrl.file"
15 file=$ctrl.file
16 class="file-upload-input"
17 accept="{{$ctrl.fileType}}"/>
18 <div class="file-upload-container"
19 ng-class="{
20 'file-upload-error' : $ctrl.fileStatus ==='error'}"
21 ng-if="$ctrl.file">
[all …]
H A Dalert-banner.js32 <div class="alert-banner"
33 ng-class="{
34 'alert-banner--info': $ctrl.type === 'info',
35 'alert-banner--warn': $ctrl.type === 'warn',
36 'alert-banner--error': $ctrl.type === 'error',
37 'alert-banner--success': $ctrl.type === 'success'}">
38 <status-icon
39 ng-if="$ctrl.type !== 'info'"
40 status="{{$ctrl.status}}"
41 class="status-icon">
[all …]
/openbmc/linux/drivers/mfd/
H A Djanz-cmodio.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Janz CMOD-IO MODULbus Carrier Board PCI Driver
11 #include <linux/module.h>
21 #define DRV_NAME "janz-cmodio"
23 /* Size of each MODULbus module in PCI BAR4 */
26 /* Maximum number of MODULbus modules on a CMOD-IO carrier board */
29 /* Module Parameters */
46 struct janz_cmodio_onboard_regs __iomem *ctrl; member
51 /* mfd-core API */
58 * Subdevices using the mfd-core API
[all …]
/openbmc/phosphor-webui/app/configuration/components/
H A Dcard.js14 <div class="card-component">
16 ng-class="{
17 'card__header--success' : $ctrl.status === 'success',
18 'card__header--error' : $ctrl.status === 'error' }">
19 <p class="card__header__label inline">{{$ctrl.headerLabel}}</p>
20 <p class="card__header__value inline">{{$ctrl.headerValue}}</p>
23 ng-if="$ctrl.body">
25 <div class="column small-6">
27 {{$ctrl.bmcStatus || 'n/a'}}
29 <div class="column small-6">
[all …]
/openbmc/u-boot/arch/m68k/include/asm/
H A Dimmap_520x.h1 /* SPDX-License-Identifier: GPL-2.0+ */
5 * Copyright (C) 2004-2009 Freescale Semiconductor, Inc.
6 * TsiChung Liew (Tsi-Chung.Liew@freescale.com)
46 /* System Controller Module */
50 u32 pacra; /* 0x20 Peripheral Access Ctrl A */
51 u32 pacrb; /* 0x24 Peripheral Access Ctrl B */
52 u32 pacrc; /* 0x28 Peripheral Access Ctrl C */
53 u32 pacrd; /* 0x2C Peripheral Access Ctrl D */
55 u32 pacre; /* 0x40 Peripheral Access Ctrl E */
56 u32 pacrf; /* 0x44 Peripheral Access Ctrl F */
[all …]
H A Dimmap_5301x.h1 /* SPDX-License-Identifier: GPL-2.0+ */
5 * Copyright (C) 2004-2008 Freescale Semiconductor, Inc.
6 * TsiChung Liew (Tsi-Chung.Liew@freescale.com)
63 /* System Controller Module */
67 u32 pacra; /* 0x20 Peripheral Access Ctrl A */
68 u32 pacrb; /* 0x24 Peripheral Access Ctrl B */
69 u32 pacrc; /* 0x28 Peripheral Access Ctrl C */
70 u32 pacrd; /* 0x2C Peripheral Access Ctrl D */
72 u32 pacre; /* 0x40 Peripheral Access Ctrl E */
73 u32 pacrf; /* 0x44 Peripheral Access Ctrl F */
[all …]
/openbmc/linux/arch/mips/sgi-ip32/
H A Dip32-reset.c14 #include <linux/module.h>
51 /* If the first __symbol_get failed, our module wasn't loaded. */ in ip32_poweroff()
53 request_module("rtc-ds1685"); in ip32_poweroff()
59 pr_emerg("RTC not available for power-off. Spinning forever ...\n"); in ip32_poweroff()
72 crime->control = CRIME_CONTROL_HARD_RESET; in ip32_machine_restart()
78 unsigned long led = mace->perif.ctrl.misc ^ MACEISA_LED_RED; in blink_timeout()
79 mace->perif.ctrl.misc = led; in blink_timeout()
122 led = mace->perif.ctrl.misc | MACEISA_LED_GREEN; in panic_event()
123 mace->perif.ctrl.misc = led; in panic_event()
138 unsigned long led = mace->perif.ctrl.misc; in ip32_reboot_setup()
[all …]
/openbmc/linux/drivers/comedi/drivers/
H A Dcomedi_parport.c1 // SPDX-License-Identifier: GPL-2.0+
9 * COMEDI - Linux Control and Measurement Device Interface
19 * Updated: Tue, 30 Apr 2002 21:11:45 -0700
32 * ----- ------ ---- ---- --------------
50 * 18-25 ground
58 #include <linux/module.h>
77 outb(s->state, dev->iobase + PARPORT_DATA_REG); in parport_data_reg_insn_bits()
79 data[1] = inb(dev->iobase + PARPORT_DATA_REG); in parport_data_reg_insn_bits()
81 return insn->n; in parport_data_reg_insn_bits()
89 unsigned int ctrl; in parport_data_reg_insn_config() local
[all …]
/openbmc/linux/drivers/platform/surface/aggregator/
H A Dcore.c1 // SPDX-License-Identifier: GPL-2.0+
4 * Aggregator Module (SSAM/SAM).
6 * Provides access to a SAM-over-SSH connected EC via a controller device.
10 * Copyright (C) 2019-2022 Maximilian Luz <luzmaximilian@gmail.com>
19 #include <linux/module.h>
34 /* -- Static controller reference. ------------------------------------------ */
44 * ssam_get_controller() - Get reference to SSAM controller.
54 struct ssam_controller *ctrl; in ssam_get_controller() local
58 ctrl = __ssam_controller; in ssam_get_controller()
59 if (!ctrl) in ssam_get_controller()
[all …]
/openbmc/linux/Documentation/devicetree/bindings/phy/
H A Dti-phy.txt6 - compatible: Should be one of
7 "ti,control-phy-otghs" - if it has otghs_control mailbox register as on OMAP4.
8 "ti,control-phy-usb2" - if it has Power down bit in control_dev_conf register
10 "ti,control-phy-pipe3" - if it has DPLL and individual Rx & Tx power control
12 "ti,control-phy-pcie" - for pcie to support external clock for pcie and to
15 "ti,control-phy-usb2-dra7" - if it has power down register like USB2 PHY on
17 "ti,control-phy-usb2-am437" - if it has power down register like USB2 PHY on
19 - reg : register ranges as listed in the reg-names property
20 - reg-names: "otghs_control" for control-phy-otghs
21 "power", "pcie_pcs" and "control_sma" for control-phy-pcie
[all …]
/openbmc/linux/drivers/gpio/
H A Dgpio-en7523.c1 // SPDX-License-Identifier: GPL-2.0-only
8 #include <linux/module.h>
15 * airoha_gpio_ctrl - Airoha GPIO driver data
37 struct airoha_gpio_ctrl *ctrl = gc_to_ctrl(gc); in airoha_dir_set() local
38 u32 dir = ioread32(ctrl->dir[gpio / 16]); in airoha_dir_set()
39 u32 output = ioread32(ctrl->output); in airoha_dir_set()
50 iowrite32(dir, ctrl->dir[gpio / 16]); in airoha_dir_set()
53 gc->set(gc, gpio, val); in airoha_dir_set()
55 iowrite32(output, ctrl->output); in airoha_dir_set()
73 struct airoha_gpio_ctrl *ctrl = gc_to_ctrl(gc); in airoha_get_dir() local
[all …]
/openbmc/linux/drivers/tty/serdev/
H A Dcore.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (C) 2016-2017 Linaro Ltd., Rob Herring <robh@kernel.org>
6 * Copyright (c) 2012-2015, The Linux Foundation. All rights reserved.
13 #include <linux/module.h>
31 len = acpi_device_modalias(dev, buf, PAGE_SIZE - 1); in modalias_show()
32 if (len != -ENODEV) in modalias_show()
52 if (rc != -ENODEV) in serdev_device_uevent()
72 return dev->type == &serdev_device_type; in is_serdev_device()
77 struct serdev_controller *ctrl = to_serdev_controller(dev); in serdev_ctrl_release() local
78 ida_simple_remove(&ctrl_ida, ctrl->nr); in serdev_ctrl_release()
[all …]
/openbmc/linux/drivers/pci/hotplug/
H A Dshpchp_pci.c1 // SPDX-License-Identifier: GPL-2.0+
6 * Copyright (C) 2001 Greg Kroah-Hartman (greg@kroah.com)
8 * Copyright (C) 2003-2004 Intel Corporation
16 #include <linux/module.h>
26 struct controller *ctrl = p_slot->ctrl; in shpchp_configure_device() local
27 struct pci_dev *bridge = ctrl->pci_dev; in shpchp_configure_device()
28 struct pci_bus *parent = bridge->subordinate; in shpchp_configure_device()
33 dev = pci_get_slot(parent, PCI_DEVFN(p_slot->device, 0)); in shpchp_configure_device()
35 ctrl_err(ctrl, "Device %s already exists at %04x:%02x:%02x, cannot hot-add\n", in shpchp_configure_device()
37 p_slot->bus, p_slot->device); in shpchp_configure_device()
[all …]
/openbmc/linux/drivers/hid/surface-hid/
H A Dsurface_kbd.c1 // SPDX-License-Identifier: GPL-2.0+
3 * Surface System Aggregator Module (SSAM) HID transport driver for the legacy
7 * Copyright (C) 2019-2021 Maximilian Luz <luzmaximilian@gmail.com>
13 #include <linux/module.h>
22 /* -- SAM interface (KBD). -------------------------------------------------- */
40 rqst.target_category = shid->uid.category; in ssam_kbd_get_descriptor()
41 rqst.target_id = shid->uid.target; in ssam_kbd_get_descriptor()
43 rqst.instance_id = shid->uid.instance; in ssam_kbd_get_descriptor()
52 status = ssam_retry(ssam_request_do_sync_onstack, shid->ctrl, &rqst, &rsp, sizeof(entry)); in ssam_kbd_get_descriptor()
57 dev_err(shid->dev, "invalid descriptor length: got %zu, expected, %zu\n", in ssam_kbd_get_descriptor()
[all …]

12345678910>>...41