| /OK3568_Linux_fs/kernel/drivers/nvme/host/ |
| H A D | fabrics.h | 1 /* 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 …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/net/ |
| H A D | davinci_emac.txt | 7 - 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 …]
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/stmicro/stmmac/ |
| H A D | dwmac-socfpga.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Adopted from dwmac-sti.c 7 #include <linux/mfd/altera-sysmgr.h> 61 void __iomem *splitter_base = dwmac->splitter_base; in socfpga_dwmac_fix_mac_speed() 62 void __iomem *sgmii_adapter_base = dwmac->pcs.sgmii_adapter_base; in socfpga_dwmac_fix_mac_speed() 63 struct device *dev = dwmac->dev; in socfpga_dwmac_fix_mac_speed() 65 struct phy_device *phy_dev = ndev->phydev; in socfpga_dwmac_fix_mac_speed() 95 tse_pcs_fix_mac_speed(&dwmac->pcs, phy_dev, speed); in socfpga_dwmac_fix_mac_speed() 101 struct device_node *np = dev->of_node; in socfpga_dwmac_parse_data() 112 altr_sysmgr_regmap_lookup_by_phandle(np, "altr,sysmgr-syscon"); in socfpga_dwmac_parse_data() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/spmi/ |
| H A D | spmi.c | 1 // 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 …]
|
| /OK3568_Linux_fs/kernel/arch/m68k/include/asm/ |
| H A D | m5307sim.h | 1 /* 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 D | m5407sim.h | 1 /* 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 D | m525xsim.h | 1 /* 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 …]
|
| /OK3568_Linux_fs/kernel/drivers/slimbus/ |
| H A D | core.c | 1 // 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 …]
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | mdio-bitbang.h | 1 /* 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);
|
| /OK3568_Linux_fs/kernel/drivers/nvme/target/ |
| H A D | loop.c | 1 // 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 …]
|
| H A D | passthru.c | 1 // 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 …]
|
| /OK3568_Linux_fs/kernel/drivers/tty/serdev/ |
| H A D | serdev-ttyport.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (C) 2016-2017 Linaro Ltd., Rob Herring <robh@kernel.org> 11 #include <linux/module.h> 34 struct serdev_controller *ctrl = port->client_data; in ttyport_receive_buf() local 35 struct serport *serport = serdev_controller_get_drvdata(ctrl); in ttyport_receive_buf() 38 if (!test_bit(SERPORT_ACTIVE, &serport->flags)) in ttyport_receive_buf() 41 ret = serdev_controller_receive_buf(ctrl, cp, count); in ttyport_receive_buf() 43 dev_WARN_ONCE(&ctrl->dev, ret < 0 || ret > count, in ttyport_receive_buf() 56 struct serdev_controller *ctrl = port->client_data; in ttyport_write_wakeup() local 57 struct serport *serport = serdev_controller_get_drvdata(ctrl); in ttyport_write_wakeup() [all …]
|
| H A D | core.c | 1 // 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() 36 if (len != -ENODEV) in modalias_show() 39 if (dev->parent->parent->bus == &platform_bus_type) { in modalias_show() 41 to_platform_device(dev->parent->parent); in modalias_show() 43 len = snprintf(buf, PAGE_SIZE, "platform:%s\n", pdev->name); in modalias_show() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/media/i2c/ |
| H A D | dw9800w.c | 1 // SPDX-License-Identifier: GPL-2.0 10 #include <linux/module.h> 12 #include <linux/rk-camera-module.h> 14 #include <media/v4l2-ctrls.h> 15 #include <media/v4l2-device.h> 74 static inline struct dw9800w_device *to_dw9800w_vcm(struct v4l2_ctrl *ctrl) in to_dw9800w_vcm() argument 76 return container_of(ctrl->handler, struct dw9800w_device, ctrls_vcm); in to_dw9800w_vcm() 93 return -EINVAL; in dw9800w_write_reg() 100 val_i = 4 - len; in dw9800w_write_reg() 106 dev_err(&client->dev, "Failed to write 0x%04x,0x%x\n", reg, val); in dw9800w_write_reg() [all …]
|
| H A D | dw9763.c | 1 // SPDX-License-Identifier: GPL-2.0 10 #include <linux/module.h> 12 #include <linux/rk-camera-module.h> 14 #include <media/v4l2-ctrls.h> 15 #include <media/v4l2-device.h> 74 static inline struct dw9763_device *to_dw9763_vcm(struct v4l2_ctrl *ctrl) in to_dw9763_vcm() argument 76 return container_of(ctrl->handler, struct dw9763_device, ctrls_vcm); in to_dw9763_vcm() 93 return -EINVAL; in dw9763_write_reg() 100 val_i = 4 - len; in dw9763_write_reg() 106 dev_err(&client->dev, "Failed to write 0x%04x,0x%x\n", reg, val); in dw9763_write_reg() [all …]
|
| H A D | aw8601.c | 1 // SPDX-License-Identifier: GPL-2.0 10 #include <linux/module.h> 12 #include <linux/rk-camera-module.h> 14 #include <media/v4l2-ctrls.h> 15 #include <media/v4l2-device.h> 69 static inline struct aw8601_device *to_aw8601_vcm(struct v4l2_ctrl *ctrl) in to_aw8601_vcm() argument 71 return container_of(ctrl->handler, struct aw8601_device, ctrls_vcm); in to_aw8601_vcm() 88 return -EINVAL; in aw8601_write_reg() 95 val_i = 4 - len; in aw8601_write_reg() 101 dev_err(&client->dev, "Failed to write 0x%04x,0x%x\n", reg, val); in aw8601_write_reg() [all …]
|
| /OK3568_Linux_fs/u-boot/arch/m68k/include/asm/ |
| H A D | immap_5301x.h | 4 * Copyright (C) 2004-2008 Freescale Semiconductor, Inc. 5 * TsiChung Liew (Tsi-Chung.Liew@freescale.com) 7 * SPDX-License-Identifier: GPL-2.0+ 64 /* System Controller Module */ 68 u32 pacra; /* 0x20 Peripheral Access Ctrl A */ 69 u32 pacrb; /* 0x24 Peripheral Access Ctrl B */ 70 u32 pacrc; /* 0x28 Peripheral Access Ctrl C */ 71 u32 pacrd; /* 0x2C Peripheral Access Ctrl D */ 73 u32 pacre; /* 0x40 Peripheral Access Ctrl E */ 74 u32 pacrf; /* 0x44 Peripheral Access Ctrl F */ [all …]
|
| H A D | immap_520x.h | 4 * Copyright (C) 2004-2009 Freescale Semiconductor, Inc. 5 * TsiChung Liew (Tsi-Chung.Liew@freescale.com) 7 * SPDX-License-Identifier: GPL-2.0+ 47 /* System Controller Module */ 51 u32 pacra; /* 0x20 Peripheral Access Ctrl A */ 52 u32 pacrb; /* 0x24 Peripheral Access Ctrl B */ 53 u32 pacrc; /* 0x28 Peripheral Access Ctrl C */ 54 u32 pacrd; /* 0x2C Peripheral Access Ctrl D */ 56 u32 pacre; /* 0x40 Peripheral Access Ctrl E */ 57 u32 pacrf; /* 0x44 Peripheral Access Ctrl F */ [all …]
|
| /OK3568_Linux_fs/kernel/drivers/mfd/ |
| H A D | janz-cmodio.c | 1 // 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 …]
|
| /OK3568_Linux_fs/kernel/drivers/staging/comedi/drivers/ |
| H A D | comedi_parport.c | 1 // 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 …]
|
| H A D | addi_apci_1032.c | 1 // 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 …]
|
| /OK3568_Linux_fs/kernel/drivers/leds/ |
| H A D | leds-rgb13h.c | 1 // SPDX-License-Identifier: GPL-2.0 6 #include <media/v4l2-ctrls.h> 7 #include <media/v4l2-subdev.h> 10 #include <linux/led-class-flash.h> 12 #include <linux/module.h> 17 #include <linux/rk-camera-module.h> 18 #include <linux/rk-led-flash.h> 49 /* assures led-triggers compatibility */ 79 mutex_lock(&led->lock); in rgb13h_set_output() 80 if (!IS_ERR(led->gpio_en)) in rgb13h_set_output() [all …]
|
| /OK3568_Linux_fs/kernel/arch/mips/sgi-ip32/ |
| H A D | ip32-reset.c | 14 #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 …]
|
| /OK3568_Linux_fs/u-boot/drivers/spi/ |
| H A D | fsl_dspi.c | 2 * (C) Copyright 2000-2003 5 * Copyright (C) 2004-2009, 2015 Freescale Semiconductor, Inc. 6 * TsiChung Liew (Tsi-Chung.Liew@freescale.com) 10 * SPDX-License-Identifier: GPL-2.0+ 43 /* CTAR register pre-configure value */ 52 /* CTAR register pre-configure mask */ 62 * struct fsl_dspi_platdata - platform data for Freescale DSPI 77 * struct fsl_dspi_priv - private data for Freescale DSPI 137 mcr_val = dspi_read32(priv->flags, &priv->regs->mcr); in dspi_halt() 144 dspi_write32(priv->flags, &priv->regs->mcr, mcr_val); in dspi_halt() [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/phy/ |
| H A D | ti-phy.txt | 6 - 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 …]
|