Home
last modified time | relevance | path

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

12345678910>>...46

/Linux-v5.10/drivers/nvme/host/
Dfabrics.h1 /* SPDX-License-Identifier: GPL-2.0 */
4 * Copyright (c) 2015-2016 HGST, a Western Digital Company.
35 * enum nvmf_parsing_opts - used to define the sysfs parsing options used.
62 * struct nvmf_ctrl_options - Used to hold the options specified
71 * @traddr: The transport-specific TRADDR field for a port on the
73 * @trsvcid: The transport-specific TRSVCID field for a port on the
75 * @host_traddr: A transport-specific field identifying the NVME host port
80 * @discovery_nqn: indicates if the subsysnqn is the well-known discovery NQN.
81 * @kato: Keep-alive timeout.
84 * the controller, (-1) means reconnect forever, zero means remove
[all …]
Dfabrics.c1 // SPDX-License-Identifier: GPL-2.0
4 * Copyright (c) 2015-2016 HGST, a Western Digital Company.
9 #include <linux/module.h>
29 if (!strcmp(host->nqn, hostnqn)) in __nvmf_host_find()
43 kref_get(&host->ref); in nvmf_host_add()
51 kref_init(&host->ref); in nvmf_host_add()
52 strlcpy(host->nqn, hostnqn, NVMF_NQN_SIZE); in nvmf_host_add()
54 list_add_tail(&host->list, &nvmf_hosts); in nvmf_host_add()
68 kref_init(&host->ref); in nvmf_host_default()
69 uuid_gen(&host->id); in nvmf_host_default()
[all …]
/Linux-v5.10/Documentation/devicetree/bindings/net/
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 …]
/Linux-v5.10/drivers/spmi/
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>
35 struct spmi_controller *ctrl = to_spmi_controller(dev); in spmi_ctrl_release() local
36 ida_simple_remove(&ctrl_ida, ctrl->nr); in spmi_ctrl_release()
37 kfree(ctrl); in spmi_ctrl_release()
49 if (drv->name) in spmi_device_match()
50 return strncmp(dev_name(dev), drv->name, in spmi_device_match()
57 * spmi_device_add() - add a device previously constructed via spmi_device_alloc()
[all …]
/Linux-v5.10/drivers/net/ethernet/stmicro/stmmac/
Ddwmac-socfpga.c1 // SPDX-License-Identifier: GPL-2.0-only
4 * Adopted from dwmac-sti.c
7 #include <linux/mfd/altera-sysmgr.h>
64 void __iomem *splitter_base = dwmac->splitter_base; in socfpga_dwmac_fix_mac_speed()
65 void __iomem *tse_pcs_base = dwmac->pcs.tse_pcs_base; in socfpga_dwmac_fix_mac_speed()
66 void __iomem *sgmii_adapter_base = dwmac->pcs.sgmii_adapter_base; in socfpga_dwmac_fix_mac_speed()
67 struct device *dev = dwmac->dev; in socfpga_dwmac_fix_mac_speed()
69 struct phy_device *phy_dev = ndev->phydev; in socfpga_dwmac_fix_mac_speed()
97 tse_pcs_fix_mac_speed(&dwmac->pcs, phy_dev, speed); in socfpga_dwmac_fix_mac_speed()
102 struct device_node *np = dev->of_node; in socfpga_dwmac_parse_data()
[all …]
/Linux-v5.10/arch/m68k/include/asm/
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 …]
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 …]
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 …]
/Linux-v5.10/drivers/slimbus/
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 …]
/Linux-v5.10/include/linux/
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);
39 struct mii_bus *alloc_mdio_bitbang(struct mdiobb_ctrl *ctrl);
Dspmi.h1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /* Copyright (c) 2012-2013, The Linux Foundation. All rights reserved.
34 * struct spmi_device - Basic representation of an SPMI device
36 * @ctrl: SPMI controller managing the bus hosting this device.
41 struct spmi_controller *ctrl; member
52 return dev_get_drvdata(&sdev->dev); in spmi_device_get_drvdata()
57 dev_set_drvdata(&sdev->dev, data); in spmi_device_set_drvdata()
60 struct spmi_device *spmi_device_alloc(struct spmi_controller *ctrl);
65 put_device(&sdev->dev); in spmi_device_put()
73 * struct spmi_controller - interface to the SPMI master controller
[all …]
/Linux-v5.10/drivers/nvme/target/
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 …]
Dpassthru.c1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (c) 2017-2018 Western Digital Corporation or its
7 * Copyright (c) 2019-2020, Eideticom Inc.
11 #include <linux/module.h>
25 struct nvmet_ctrl *ctrl = req->sq->ctrl; in nvmet_passthru_override_id_ctrl() local
26 struct nvme_ctrl *pctrl = ctrl->subsys->passthru_ctrl; in nvmet_passthru_override_id_ctrl()
40 id->cntlid = cpu_to_le16(ctrl->cntlid); in nvmet_passthru_override_id_ctrl()
41 id->ver = cpu_to_le32(ctrl->subsys->ver); in nvmet_passthru_override_id_ctrl()
48 max_hw_sectors = min_not_zero(pctrl->max_segments << (PAGE_SHIFT - 9), in nvmet_passthru_override_id_ctrl()
49 pctrl->max_hw_sectors); in nvmet_passthru_override_id_ctrl()
[all …]
/Linux-v5.10/drivers/tty/serdev/
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 …]
/Linux-v5.10/drivers/staging/comedi/drivers/
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>
78 outb(s->state, dev->iobase + PARPORT_DATA_REG); in parport_data_reg_insn_bits()
80 data[1] = inb(dev->iobase + PARPORT_DATA_REG); in parport_data_reg_insn_bits()
82 return insn->n; in parport_data_reg_insn_bits()
90 unsigned int ctrl; in parport_data_reg_insn_config() local
[all …]
Daddi_apci_1032.c1 // SPDX-License-Identifier: GPL-2.0+
4 * Copyright (C) 2004,2005 ADDI-DATA GmbH for the source code of this module.
7 * ADDI-DATA GmbH
9 * D-77833 Ottersweier
10 * Tel: +19(0)7223/9493-0
11 * Fax: +49(0)7223/9493-92
12 * http://www.addi-data.com
13 * info@addi-data.com
18 * Description: ADDI-DATA APCI-1032 Digital Input Board
19 * Author: ADDI-DATA GmbH <info@addi-data.com>,
[all …]
/Linux-v5.10/drivers/mfd/
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 …]
Dti_am335x_tscadc.c4 * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/
16 #include <linux/module.h>
41 spin_lock_irqsave(&tscadc->reg_lock, flags); in am335x_tsc_se_set_cache()
42 tscadc->reg_se_cache |= val; in am335x_tsc_se_set_cache()
43 if (tscadc->adc_waiting) in am335x_tsc_se_set_cache()
44 wake_up(&tscadc->reg_se_wait); in am335x_tsc_se_set_cache()
45 else if (!tscadc->adc_in_use) in am335x_tsc_se_set_cache()
46 regmap_write(tscadc->regmap, REG_SE, tscadc->reg_se_cache); in am335x_tsc_se_set_cache()
48 spin_unlock_irqrestore(&tscadc->reg_lock, flags); in am335x_tsc_se_set_cache()
57 regmap_read(tscadc->regmap, REG_ADCFSM, &reg); in am335x_tscadc_need_adc()
[all …]
/Linux-v5.10/arch/mips/sgi-ip32/
Dip32-reset.c14 #include <linux/module.h>
50 /* If the first __symbol_get failed, our module wasn't loaded. */ in ip32_poweroff()
52 request_module("rtc-ds1685"); in ip32_poweroff()
58 pr_emerg("RTC not available for power-off. Spinning forever ...\n"); in ip32_poweroff()
71 crime->control = CRIME_CONTROL_HARD_RESET; in ip32_machine_restart()
77 unsigned long led = mace->perif.ctrl.misc ^ MACEISA_LED_RED; in blink_timeout()
78 mace->perif.ctrl.misc = led; in blink_timeout()
121 led = mace->perif.ctrl.misc | MACEISA_LED_GREEN; in panic_event()
122 mace->perif.ctrl.misc = led; in panic_event()
137 unsigned long led = mace->perif.ctrl.misc; in ip32_reboot_setup()
[all …]
/Linux-v5.10/drivers/pci/hotplug/
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 …]
/Linux-v5.10/drivers/scsi/arm/
Dcumana_1.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright 1995-2002, Russell King
7 #include <linux/module.h>
17 #define priv(host) ((struct NCR5380_hostdata *)(host)->hostdata)
31 unsigned ctrl
39 #define CTRL 0x16fc macro
48 u8 __iomem *base = hostdata->io; in cumanascsi_pwrite()
49 u8 __iomem *dma = hostdata->pdma_io + 0x2000; in cumanascsi_pwrite()
53 writeb(0x02, base + CTRL); in cumanascsi_pwrite()
72 len -= 32; in cumanascsi_pwrite()
[all …]
/Linux-v5.10/Documentation/devicetree/bindings/phy/
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 …]
/Linux-v5.10/drivers/w1/masters/
Dmxc_w1.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright 2005-2008 Freescale Semiconductor, Inc. All Rights Reserved.
11 #include <linux/module.h>
22 # define MXC_W1_CONTROL_WR(x) BIT(5 - (x))
45 writeb(MXC_W1_CONTROL_RPP, dev->regs + MXC_W1_CONTROL); in mxc_w1_ds2_reset_bus()
53 u8 ctrl = readb(dev->regs + MXC_W1_CONTROL); in mxc_w1_ds2_reset_bus() local
55 /* PST bit is valid after the RPP bit is self-cleared */ in mxc_w1_ds2_reset_bus()
56 if (!(ctrl & MXC_W1_CONTROL_RPP)) in mxc_w1_ds2_reset_bus()
57 return !(ctrl & MXC_W1_CONTROL_PST); in mxc_w1_ds2_reset_bus()
73 writeb(MXC_W1_CONTROL_WR(bit), dev->regs + MXC_W1_CONTROL); in mxc_w1_ds2_touch_bit()
[all …]
/Linux-v5.10/drivers/net/mdio/
Dmdio-bitbang.c1 // SPDX-License-Identifier: GPL-2.0
17 #include <linux/module.h>
18 #include <linux/mdio-bitbang.h>
44 static void mdiobb_send_bit(struct mdiobb_ctrl *ctrl, int val) in mdiobb_send_bit() argument
46 const struct mdiobb_ops *ops = ctrl->ops; in mdiobb_send_bit()
48 ops->set_mdio_data(ctrl, val); in mdiobb_send_bit()
50 ops->set_mdc(ctrl, 1); in mdiobb_send_bit()
52 ops->set_mdc(ctrl, 0); in mdiobb_send_bit()
56 static int mdiobb_get_bit(struct mdiobb_ctrl *ctrl) in mdiobb_get_bit() argument
58 const struct mdiobb_ops *ops = ctrl->ops; in mdiobb_get_bit()
[all …]
/Linux-v5.10/drivers/gpu/drm/msm/dp/
Ddp_power.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (c) 2012-2020, The Linux Foundation. All rights reserved.
6 #define pr_fmt(fmt) "[drm-dp] %s: " fmt, __func__
9 #include <linux/clk-provider.h>
27 struct regulator_bulk_data *s = power->supplies; in dp_power_regulator_disable()
28 const struct dp_reg_entry *regs = power->parser->regulator_cfg->regs; in dp_power_regulator_disable()
29 int num = power->parser->regulator_cfg->num; in dp_power_regulator_disable()
33 for (i = num - 1; i >= 0; i--) in dp_power_regulator_disable()
43 struct regulator_bulk_data *s = power->supplies; in dp_power_regulator_enable()
44 const struct dp_reg_entry *regs = power->parser->regulator_cfg->regs; in dp_power_regulator_enable()
[all …]

12345678910>>...46