| /linux/drivers/mmc/host/ |
| H A D | sdhci_f_sdh30.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2013 - 2015 Fujitsu Semiconductor, Ltd 20 #include "sdhci-pltfm.h" 26 struct reset_control *rst; member 42 u32 ctrl = 0; in sdhci_f_sdh30_soft_voltage_switch() local 45 ctrl = sdhci_readl(host, F_SDH30_IO_CONTROL2); in sdhci_f_sdh30_soft_voltage_switch() 46 ctrl |= F_SDH30_CRES_O_DN; in sdhci_f_sdh30_soft_voltage_switch() 47 sdhci_writel(host, ctrl, F_SDH30_IO_CONTROL2); in sdhci_f_sdh30_soft_voltage_switch() 48 ctrl |= F_SDH30_MSEL_O_1_8; in sdhci_f_sdh30_soft_voltage_switch() 49 sdhci_writel(host, ctrl, F_SDH30_IO_CONTROL2); in sdhci_f_sdh30_soft_voltage_switch() [all …]
|
| H A D | sdhci-of-ma35d1.c | 1 // SPDX-License-Identifier: GPL-2.0+ 5 * Author: Shan-Chun Hung <shanchun1218@gmail.com> 16 #include <linux/dma-mapping.h> 31 #include "sdhci-pltfm.h" 44 struct reset_control *rst; member 76 if (likely(!len || (ALIGN(addr, SZ_128M) == ALIGN(addr + len - 1, SZ_128M)))) { in ma35_adma_write_desc() 81 offset = addr & (SZ_128M - 1); in ma35_adma_write_desc() 82 tmplen = SZ_128M - offset; in ma35_adma_write_desc() 86 len -= tmplen; in ma35_adma_write_desc() 114 switch (ios->signal_voltage) { in ma35_start_signal_voltage_switch() [all …]
|
| /linux/drivers/iio/adc/ |
| H A D | sun20i-gpadc-iio.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * GPADC driver for sunxi platforms (D1, T113-S3 and R329) 17 #include <linux/iio/adc-helpers.h> 20 #define SUN20I_GPADC_DRIVER_NAME "sun20i-gpadc" 65 u32 ctrl; in sun20i_gpadc_adc_read() local 68 mutex_lock(&info->lock); in sun20i_gpadc_adc_read() 70 reinit_completion(&info->completion); in sun20i_gpadc_adc_read() 72 if (info->last_channel != chan->channel) { in sun20i_gpadc_adc_read() 73 info->last_channel = chan->channel; in sun20i_gpadc_adc_read() 76 writel(SUN20I_GPADC_CS_EN_ADC_CH(chan->channel), in sun20i_gpadc_adc_read() [all …]
|
| /linux/Documentation/devicetree/bindings/phy/ |
| H A D | brcm,ns2-drd-phy.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/phy/brcm,ns2-drd-phy.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Florian Fainelli <florian.fainelli@broadcom.com> 11 - Hauke Mehrtens <hauke@hauke-m.de> 12 - Rafał Miłecki <zajec5@gmail.com> 16 const: brcm,ns2-drd-phy 20 - description: DRD ICFG configurations 21 - description: DRD IDM reset [all …]
|
| /linux/drivers/net/wireless/ath/ath10k/ |
| H A D | ahb.c | 1 // SPDX-License-Identifier: ISC 3 * Copyright (c) 2016-2017 Qualcomm Atheros, Inc. All rights reserved. 17 { .compatible = "qcom,ipq4019-wifi", 30 return &ath10k_pci_priv(ar)->ahb[0]; in ath10k_ahb_priv() 37 iowrite32(value, ar_ahb->mem + offset); in ath10k_ahb_write32() 44 return ioread32(ar_ahb->mem + offset); in ath10k_ahb_read32() 51 return ioread32(ar_ahb->gcc_mem + offset); in ath10k_ahb_gcc_read32() 58 iowrite32(value, ar_ahb->tcsr_mem + offset); in ath10k_ahb_tcsr_write32() 65 return ioread32(ar_ahb->tcsr_mem + offset); in ath10k_ahb_tcsr_read32() 75 if (ar->hw_rev == ATH10K_HW_QCA4019) in ath10k_ahb_get_num_banks() [all …]
|
| /linux/drivers/usb/gadget/udc/aspeed-vhub/ |
| H A D | core.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * aspeed-vhub -- Driver for Aspeed SoC "vHub" USB gadget 5 * core.c - Top level support 25 #include <linux/dma-mapping.h> 33 bool internal = req->internal; in ast_vhub_done() 34 struct ast_vhub *vhub = ep->vhub; in ast_vhub_done() 38 list_del_init(&req->queue); in ast_vhub_done() 40 if ((req->req.status == -EINPROGRESS) || (status == -EOVERFLOW)) in ast_vhub_done() 41 req->req.status = status; in ast_vhub_done() 43 if (req->req.dma) { in ast_vhub_done() [all …]
|
| /linux/tools/testing/selftests/vfio/lib/drivers/igb/ |
| H A D | igb.c | 1 // SPDX-License-Identifier: GPL-2.0-only 67 return (struct igb *)device->driver.region.vaddr; in to_igb_state() 72 writel(val, igb->bar0 + reg); in igb_write32() 77 return readl(igb->bar0 + reg); in igb_read32() 93 * if this ever needs to run on a manageability-enabled NIC. in igb_write_phy() 110 return -1; in igb_write_phy() 113 return -1; in igb_write_phy() 127 * on this device." RCTL.LBM_MAC is still set elsewhere as a QEMU-only 133 u32 ctrl; in igb_setup_loopback() local 139 * autoneg-done timer, and without LU set its receive path in igb_setup_loopback() [all …]
|
| /linux/drivers/mtd/nand/raw/ |
| H A D | tegra_nand.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * Copyright (C) 2014-2015 Lucas Stach <dev@lynxeye.de> 10 #include <linux/dma-mapping.h> 34 #define COMMAND_TRANS_SIZE(size) ((((size) - 1) & 0xf) << 20) 40 #define COMMAND_CLE_SIZE(size) ((((size) - 1) & 0x3) << 4) 41 #define COMMAND_ALE_SIZE(size) ((((size) - 1) & 0xf) << 0) 156 #define OFFSET(val, off) ((val) < (off) ? 0 : (val) - (off)) 207 int bytes_per_step = DIV_ROUND_UP(BITS_PER_STEP_RS * chip->ecc.strength, in tegra_nand_ooblayout_rs_ecc() 211 return -ERANGE; in tegra_nand_ooblayout_rs_ecc() 213 oobregion->offset = SKIP_SPARE_BYTES; in tegra_nand_ooblayout_rs_ecc() [all …]
|
| /linux/include/linux/platform_data/ |
| H A D | max197.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 5 * Copyright (c) 2012 Savoir-faire Linux Inc. 8 * For further information, see the Documentation/hwmon/max197.rst file. 15 * struct max197_platform_data - MAX197 connectivity info 16 * @convert: Function used to start a conversion with control byte ctrl. 20 int (*convert)(u8 ctrl);
|
| /linux/Documentation/devicetree/bindings/ufs/ |
| H A D | hisilicon,ufs.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Li Wei <liwei213@huawei.com> 18 - hisilicon,hi3660-ufs 19 - hisilicon,hi3670-ufs 21 - compatible 24 - $ref: ufs-common.yaml 29 - items: 30 - const: hisilicon,hi3660-ufs [all …]
|
| /linux/drivers/media/platform/amlogic/meson-ge2d/ |
| H A D | ge2d.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 20 #include <media/v4l2-device.h> 21 #include <media/v4l2-event.h> 22 #include <media/v4l2-ioctl.h> 23 #include <media/v4l2-mem2mem.h> 24 #include <media/v4l2-ctrls.h> 25 #include <media/videobuf2-v4l2.h> 26 #include <media/videobuf2-dma-contig.h> 28 #include "ge2d-regs.h" 30 #define GE2D_NAME "meson-ge2d" [all …]
|
| /linux/drivers/spi/ |
| H A D | spi-stm32.c | 1 // SPDX-License-Identifier: GPL-2.0 5 // Copyright (C) 2017, STMicroelectronics - All Rights Reserved 12 #include <linux/dma-mapping.h> 202 #define STM32_SPI_HOST_MODE(stm32_spi) (!(stm32_spi)->device_mode) 203 #define STM32_SPI_DEVICE_MODE(stm32_spi) ((stm32_spi)->device_mode) 210 * struct stm32_spi_reg - stm32 SPI register & bitfield desc 222 * struct stm32_spi_regspec - stm32 registers definition, compatible dependent data 254 * struct stm32_spi_cfg - stm32 compatible configuration data 311 * struct stm32_spi - private data of the SPI controller 313 * @ctrl: controller interface [all …]
|
| /linux/drivers/input/serio/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 51 More information is available: <file:Documentation/input/input.rst> 69 More information is available: <file:Documentation/input/input.rst> 100 This driver provides support for the PS/2 ports on PA-RISC machines 115 built-in keyboard (as opposed to an external keyboard). 123 Left Ctrl Left Alt 124 Caps Lock Left Ctrl 125 Right Ctrl Caps Lock 129 in the left-hand column will be interpreted as the corresponding key 130 in the right-hand column. [all …]
|
| /linux/arch/arm64/boot/dts/hisilicon/ |
| H A D | hip06.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 8 #include <dt-bindings/interrupt-controller/arm-gic.h> 11 compatible = "hisilicon,hip06-d03"; 12 interrupt-parent = <&gic>; 13 #address-cells = <2>; 14 #size-cells = <2>; 17 compatible = "arm,psci-0.2"; 22 #address-cells = <1>; 23 #size-cells = <0>; 25 cpu-map { [all …]
|
| /linux/arch/arm/boot/dts/nvidia/ |
| H A D | tegra124-xiaomi-mocha.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 4 #include <dt-bindings/input/gpio-keys.h> 5 #include <dt-bindings/input/input.h> 6 #include <dt-bindings/input/ti-drv260x.h> 7 #include <dt-bindings/leds/common.h> 8 #include <dt-bindings/thermal/thermal.h> 15 chassis-type = "tablet"; 30 stdout-path = "serial0:115200n8"; 41 avdd-dsi-csi-supply = <&avdd_dsi_csi>; [all …]
|
| /linux/drivers/net/ethernet/intel/igbvf/ |
| H A D | vf.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright(c) 2009 - 2018 Intel Corporation. */ 22 * e1000_init_mac_params_vf - Inits MAC params 27 struct e1000_mac_info *mac = &hw->mac; in e1000_init_mac_params_vf() 29 /* VF's have no MTA Registers - PF feature only */ in e1000_init_mac_params_vf() 30 mac->mta_reg_count = 128; in e1000_init_mac_params_vf() 32 mac->rar_entry_count = 1; in e1000_init_mac_params_vf() 36 mac->ops.reset_hw = e1000_reset_hw_vf; in e1000_init_mac_params_vf() 38 mac->ops.init_hw = e1000_init_hw_vf; in e1000_init_mac_params_vf() 40 mac->ops.check_for_link = e1000_check_for_link_vf; in e1000_init_mac_params_vf() [all …]
|
| /linux/drivers/scsi/be2iscsi/ |
| H A D | be_cmds.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 7 * linux-drivers@broadcom.com 16 * using Work Request Blocks (WRBs) submitted to the MCC-WRB ring or via one 28 /* bits 0 - embedded */ 29 /* bits 1 - 2 reserved */ 30 /* bits 3 - 7 sge count */ 31 /* bits 8 - 23 reserved */ 32 /* bits 24 - 31 special */ 43 struct be_sge sgl[19]; /* used by non-embedded cmds */ 61 #define CQE_STATUS_COMPL_SHIFT 0 /* bits 0 - 15 */ [all …]
|
| /linux/Documentation/admin-guide/sysctl/ |
| H A D | kernel.rst | 5 .. See scripts/check-sysctl-docs to keep this up to date 13 Documentation/admin-guide/sysctl/index.rst. 15 ------------------------------------------------------------------------------ 39 If BSD-style process accounting is enabled these values control 58 See Documentation/power/video.rst. This allows the video resume mode to be set, 71 The machine hardware name, the same output as ``uname -m`` 98 Documentation/arch/x86/boot.rst for additional information. 108 Documentation/arch/x86/boot.rst for additional information. 129 Ctrl-Alt-Delete). Writing a value to this file which doesn't 130 correspond to a running process will result in ``-ESRCH``. [all …]
|
| /linux/Documentation/networking/ |
| H A D | snmp_counter.rst | 17 .. _RFC1213 ipInReceives: https://tools.ietf.org/html/rfc1213#page-26 30 .. _RFC1213 ipInDelivers: https://tools.ietf.org/html/rfc1213#page-28 41 .. _RFC1213 ipOutRequests: https://tools.ietf.org/html/rfc1213#page-28 60 .. _Explicit Congestion Notification: https://tools.ietf.org/html/rfc3168#page-6 73 .. _RFC1213 ipInHdrErrors: https://tools.ietf.org/html/rfc1213#page-27 81 .. _RFC1213 ipInAddrErrors: https://tools.ietf.org/html/rfc1213#page-27 98 .. _RFC1213 ipInUnknownProtos: https://tools.ietf.org/html/rfc1213#page-27 111 .. _RFC1213 ipInDiscards: https://tools.ietf.org/html/rfc1213#page-28 118 .. _RFC1213 ipOutDiscards: https://tools.ietf.org/html/rfc1213#page-28 125 .. _RFC1213 ipOutNoRoutes: https://tools.ietf.org/html/rfc1213#page-29 [all …]
|
| /linux/Documentation/fb/ |
| H A D | sh7760fb.rst | 6 ----------- 29 - drivers/video/sh7760fb.c 30 - include/asm-sh/sh7760fb.h 31 - Documentation/fb/sh7760fb.rst 34 ----------------- 47 -------------------- 62 * NEC NL6440bc26-01 640x480 TFT 82 .left_margin = 114, /* HTOT - (HSYNSLEN + HSYNSTART) */ 83 .right_margin = 16, /* HSYNSTART - XRES */ 84 .upper_margin = 33, /* VTOT - (VSYNLEN + VSYNSTART) */ [all …]
|
| /linux/drivers/net/usb/ |
| H A D | smsc95xx.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 4 * Copyright (C) 2007-2008 SMSC 38 /* SCSRs - System Control and Status Registers */ 126 #define AFC_CFG_HI_ (0x00FF0000) /* Auto Flow Ctrl High Level */ 127 #define AFC_CFG_LO_ (0x0000FF00) /* Auto Flow Ctrl Low Level */ 129 #define AFC_CFG_FC_MULT_ (0x00000008) /* Flow Ctrl on Mcast Frame */ 130 #define AFC_CFG_FC_BRD_ (0x00000004) /* Flow Ctrl on Bcast Frame */ 131 #define AFC_CFG_FC_ADD_ (0x00000002) /* Flow Ctrl on Addr. Decode */ 132 #define AFC_CFG_FC_ANY_ (0x00000001) /* Flow Ctrl on Any Frame */ 167 #define STRAP_STATUS_PWR_SEL_ (0x00000020) /* Device self-powered */ [all …]
|
| /linux/Documentation/networking/devlink/ |
| H A D | devlink-port.rst | 1 .. SPDX-License-Identifier: GPL-2.0 9 ``devlink-port`` is a port that exists on the device. It has a logically 19 .. list-table:: List of devlink port flavours 22 * - Flavour 23 - Description 24 * - ``DEVLINK_PORT_FLAVOUR_PHYSICAL`` 25 - Any kind of physical port. This can be an eswitch physical port or any 27 * - ``DEVLINK_PORT_FLAVOUR_DSA`` 28 - This indicates a DSA interconnect port. 29 * - ``DEVLINK_PORT_FLAVOUR_CPU`` [all …]
|
| /linux/arch/arm/boot/dts/st/ |
| H A D | ste-hrefv60plus.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright 2012 ST-Ericsson AB 6 #include "ste-href.dtsi" 9 model = "ST-Ericsson HREF (v60+) platform with Device Tree"; 10 compatible = "st-ericsson,hrefv60+", "st-ericsson,u8500"; 12 thermal-zones { 13 chassis-thermal { 15 polling-delay = <20000>; 17 polling-delay-passive = <2000>; 19 thermal-sensors = <&therm1>, <&therm2>; [all …]
|
| /linux/drivers/phy/hisilicon/ |
| H A D | phy-hi3670-pcie.c | 1 // SPDX-License-Identifier: GPL-2.0 36 /* PCIe CTRL registers */ 143 /* peri_crg ctrl */ 175 writel(val, phy->base + APB_PHY_START_ADDR + reg); in hi3670_apb_phy_writel() 180 return readl(phy->base + APB_PHY_START_ADDR + reg); in hi3670_apb_phy_readl() 197 writel(val, phy->base + reg); in kirin_apb_natural_phy_writel() 203 return readl(phy->base + reg); in kirin_apb_natural_phy_readl() 210 regmap_read(phy->sysctrl, SCTRL_PCIE_OE_OFFSET, &val); in hi3670_pcie_phy_oe_enable() 216 regmap_write(phy->sysctrl, SCTRL_PCIE_OE_OFFSET, val); in hi3670_pcie_phy_oe_enable() 221 struct device *dev = phy->dev; in hi3670_pcie_get_eyeparam() [all …]
|
| /linux/arch/arm64/boot/dts/tesla/ |
| H A D | fsd-pinctrl.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 * Tesla Full Self-Driving SoC device tree source 5 * Copyright (c) 2017-2021 Samsung Electronics Co., Ltd. 7 * Copyright (c) 2017-2021 Tesla, Inc. 11 #include "fsd-pinctrl.h" 14 gpf0: gpf0-gpio-bank { 15 gpio-controller; 16 #gpio-cells = <2>; 18 interrupt-controller; 19 #interrupt-cells = <2>; [all …]
|