| /linux/drivers/net/ethernet/ti/ |
| H A D | cpsw_sl.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * Texas Instruments Ethernet Switch media-access-controller (MAC) submodule/ 33 CPSW_SL_CTL_RX_FLOW_EN = BIT(3), /* Receive Flow Control Enable */ 34 CPSW_SL_CTL_TX_FLOW_EN = BIT(4), /* Transmit Flow Control Enable */ 43 CPSW_SL_CTL_IFCTL_A = BIT(15), /* Interface Control A */ 44 CPSW_SL_CTL_IFCTL_B = BIT(16), /* Interface Control B */ 46 CPSW_SL_CTL_EXT_EN = BIT(18), /* External Control Enable */ 47 CPSW_SL_CTL_EXT_EN_RX_FLO = BIT(19), /* Ext RX Flow Control Enable */ 48 CPSW_SL_CTL_EXT_EN_TX_FLO = BIT(20), /* Ext TX Flow Control Enable */ 52 CPSW_SL_CTL_RX_CMF_EN = BIT(24), /* RX Copy MAC Control Frames Enable */ [all …]
|
| /linux/Documentation/devicetree/bindings/regulator/ |
| H A D | tps65090.txt | 4 - compatible: "ti,tps65090" 5 - reg: I2C slave address 6 - interrupts: the interrupt outputs of the controller 7 - regulators: A node that houses a sub-node for each regulator within the 8 device. Each sub-node is identified using the node's name, with valid 9 values listed below. The content of each sub-node is defined by the 11 dcdc[1-3], fet[1-7] and ldo[1-2] respectively. 12 - vsys[1-3]-supply: The input supply for DCDC[1-3] respectively. 13 - infet[1-7]-supply: The input supply for FET[1-7] respectively. 14 - vsys-l[1-2]-supply: The input supply for LDO[1-2] respectively. [all …]
|
| H A D | as3722-regulator.txt | 5 -------------------- 7 regulator node. The AS3722 is having 7 DCDC step-down regulators as 8 sd[0-6], 10 LDOs as ldo[0-7], ldo[9-11]. The input supply of these 10 vsup-sd2-supply: Input supply for SD2. 11 vsup-sd3-supply: Input supply for SD3. 12 vsup-sd4-supply: Input supply for SD4. 13 vsup-sd5-supply: Input supply for SD5. 14 vin-ldo0-supply: Input supply for LDO0. 15 vin-ldo1-6-supply: Input supply for LDO1 and LDO6. 16 vin-ldo2-5-7-supply: Input supply for LDO2, LDO5 and LDO7. [all …]
|
| /linux/drivers/extcon/ |
| H A D | extcon-intel-cht-wc.c | 1 // SPDX-License-Identifier: GPL-2.0 7 * Copyright (C) 2013-2015 Intel Corporation. All rights reserved. 10 #include <linux/extcon-provider.h> 24 #include "extcon-intel.h" 67 /* 0 - open drain, 1 - regular push-pull output */ 69 /* 0 - pin is controlled by SW, 1 - by HW */ 117 static int cht_wc_extcon_get_id(struct cht_wc_extcon_data *ext, int pwrsrc_sts) in cht_wc_extcon_get_id() argument 125 * According to the spec. we should read the USB-ID pin ADC value here in cht_wc_extcon_get_id() 126 * to determine the resistance of the used pull-down resister and then in cht_wc_extcon_get_id() 129 * a combination of a charging port with one or more USB-A ports, so in cht_wc_extcon_get_id() [all …]
|
| /linux/Documentation/userspace-api/media/v4l/ |
| H A D | common.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 11 - Opening the device 13 - Changing device properties, selecting a video and audio input, video 16 - Negotiating a data format 18 - Negotiating an input/output method 20 - The actual input/output loop 22 - Closing the device 35 app-pri 40 dv-timings 41 control [all …]
|
| /linux/arch/arm/boot/dts/nvidia/ |
| H A D | tegra30-asus-nexus7-grouper-ti-pmic.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 #include <dt-bindings/interrupt-controller/arm-gic.h> 4 #include <dt-bindings/gpio/gpio.h> 13 #interrupt-cells = <2>; 14 interrupt-controller; 15 wakeup-source; 17 ti,en-gpio-sleep = <0 0 1 0 0 0 0 0 0>; 18 ti,system-power-controller; 19 ti,sleep-keep-ck32k; 20 ti,sleep-enable; [all …]
|
| /linux/drivers/net/ethernet/intel/igb/ |
| H A D | e1000_regs.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* Copyright(c) 2007 - 2018 Intel Corporation. */ 7 #define E1000_CTRL 0x00000 /* Device Control - RW */ 8 #define E1000_STATUS 0x00008 /* Device Status - RO */ 9 #define E1000_EECD 0x00010 /* EEPROM/Flash Control - RW */ 10 #define E1000_EERD 0x00014 /* EEPROM Read - RW */ 11 #define E1000_CTRL_EXT 0x00018 /* Extended Device Control - RW */ 12 #define E1000_MDIC 0x00020 /* MDI Control - RW */ 13 #define E1000_MDICNFG 0x00E04 /* MDI Config - RW */ 14 #define E1000_SCTL 0x00024 /* SerDes Control - RW */ [all …]
|
| /linux/drivers/net/ethernet/netronome/nfp/flower/ |
| H A D | main.h | 1 /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */ 2 /* Copyright (C) 2017-2018 Netronome Systems, Inc. */ 89 * struct nfp_fl_tunnel_offloads - priv data for tunnel offloads 109 * struct nfp_tun_neigh_lag - lag info 119 * struct nfp_tun_neigh - basic neighbour data 122 * @port_id: NFP port to output packet on - associated with source IPv4 131 * struct nfp_tun_neigh_ext - extended neighbour data 143 * struct nfp_tun_neigh_v4 - neighbour/route entry on the NFP for IPv4 147 * @ext: Neighbour/route extended info 154 struct nfp_tun_neigh_ext ext; member [all …]
|
| /linux/Documentation/devicetree/bindings/sound/ |
| H A D | sirf-audio.txt | 4 - compatible: "sirf,sirf-audio-card" 5 - sirf,audio-platform: phandle for the platform node 6 - sirf,audio-codec: phandle for the SiRF internal codec node 9 - hp-pa-gpios: Need to be present if the board need control external 11 - spk-pa-gpios: Need to be present if the board need control external 13 - hp-switch-gpios: Need to be present if the board capable to detect jack 16 Available audio endpoints for the audio-routing table: 20 * Ext Spk 28 * Ext Mic 34 compatible = "sirf,sirf-audio-card"; [all …]
|
| /linux/Documentation/devicetree/bindings/mfd/ |
| H A D | as3722.txt | 4 ------------------- 5 - compatible: Must be "ams,as3722". 6 - reg: I2C device address. 7 - interrupt-controller: AS3722 has internal interrupt controller which takes the 8 interrupt request from internal sub-blocks like RTC, regulators, GPIOs as well 10 - #interrupt-cells: Should be set to 2 for IRQ number and flags. 12 of AS3722 are defined at dt-bindings/mfd/as3722.h 14 interrupts.txt, using dt-bindings/irq. 17 -------------------- 18 - ams,enable-internal-int-pullup: Boolean property, to enable internal pullup on [all …]
|
| /linux/drivers/tty/serial/ |
| H A D | zs.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 38 * Per-SCC state for locking and the interrupt handler. 53 #define ZS_BPS_TO_BRG(bps, freq) ((((freq) + (bps)) / (2 * (bps))) - 2) 79 #define RES_EXT_INT 0x10 /* Reset Ext. Status Interrupts */ 90 /* Write Register 1 (Tx/Rx/Ext Int Enable and WAIT/DMA Commands) */ 91 #define EXT_INT_ENAB 0x1 /* Ext Int Enable */ 107 /* Write Register 3 (Receive Parameters and Control) */ 144 #define SDLC_CRC 0x4 /* SDLC/CRC-16 */ 154 /* Write Register 6 (Sync bits 0-7/SDLC Address Field) */ 156 /* Write Register 7 (Sync bits 8-15/SDLC 01111110) */ [all …]
|
| H A D | ip22zilog.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 10 volatile unsigned char control; member 14 volatile unsigned char control; 32 #define BPS_TO_BRG(bps, freq) ((((freq) + (bps)) / (2 * (bps))) - 2) 58 #define RES_EXT_INT 0x10 /* Reset Ext. Status Interrupts */ 71 #define EXT_INT_ENAB 0x1 /* Ext Int Enable */ 126 #define SDLC_CRC 0x4 /* SDLC/CRC-16 */ 136 /* Write Register 6 (Sync bits 0-7/SDLC Address Field) */ 138 /* Write Register 7 (Sync bits 8-15/SDLC 01111110) */ 142 /* Write Register 9 (Master interrupt control) */ [all …]
|
| H A D | sunzilog.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 6 volatile unsigned char control; member 24 #define BPS_TO_BRG(bps, freq) ((((freq) + (bps)) / (2 * (bps))) - 2) 50 #define RES_EXT_INT 0x10 /* Reset Ext. Status Interrupts */ 63 #define EXT_INT_ENAB 0x1 /* Ext Int Enable */ 118 #define SDLC_CRC 0x4 /* SDLC/CRC-16 */ 128 /* Write Register 6 (Sync bits 0-7/SDLC Address Field) */ 130 /* Write Register 7 (Sync bits 8-15/SDLC 01111110) */ 143 /* Write Register 9 (Master interrupt control) */ 155 /* Write Register 10 (misc control bits) */ [all …]
|
| H A D | pmac_zilog.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 25 * of "escc" node (ie. ch-a or ch-b) 64 if (uap->flags & PMACZILOG_FLAG_IS_CHANNEL_A) in pmz_get_port_A() 66 return uap->mate; in pmz_get_port_A() 78 writeb(reg, port->control_reg); in read_zsreg() 79 return readb(port->control_reg); in read_zsreg() 85 writeb(reg, port->control_reg); in write_zsreg() 86 writeb(value, port->control_reg); in write_zsreg() 91 return readb(port->data_reg); in read_zsdata() 96 writeb(data, port->data_reg); in write_zsdata() [all …]
|
| /linux/Documentation/devicetree/bindings/clock/ |
| H A D | sprd,sc9863a-clk.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 4 --- 5 $id: http://devicetree.org/schemas/clock/sprd,sc9863a-clk.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: SC9863A Clock Control Unit 11 - Orson Zhai <orsonzhai@gmail.com> 12 - Baolin Wang <baolin.wang7@gmail.com> 13 - Chunyan Zhang <zhang.lyra@gmail.com> 16 "#clock-cells": 21 - sprd,sc9863a-ap-clk [all …]
|
| /linux/drivers/regulator/ |
| H A D | ab8500-ext.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) ST-Ericsson SA 2010 11 * ab8500-ext supports the following regulators: 12 * - VextSupply3 41 REGULATOR_SUPPLY("vinvsim", "sim-detect.0"), 51 .name = "ab8500-ext-supply1", 62 .name = "ab8500-ext-supply2", 70 .name = "ab8500-ext-supply3", 83 * struct ab8500_ext_regulator_info - ab8500 regulator information 87 * @update_bank: bank to control on/off [all …]
|
| /linux/drivers/power/supply/ |
| H A D | cros_charge-control.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * ChromeOS EC driver for charge control 70 lockdep_assert_held(&priv->lock); in cros_chctl_configure_ec() 74 switch (priv->current_behaviour) { in cros_chctl_configure_ec() 85 return -EINVAL; in cros_chctl_configure_ec() 88 if (priv->current_behaviour == POWER_SUPPLY_CHARGE_BEHAVIOUR_AUTO && in cros_chctl_configure_ec() 89 !(priv->current_start_threshold == 0 && priv->current_end_threshold == 100)) { in cros_chctl_configure_ec() 90 req.sustain_soc.lower = priv->current_start_threshold; in cros_chctl_configure_ec() 91 req.sustain_soc.upper = priv->current_end_threshold; in cros_chctl_configure_ec() 94 req.sustain_soc.lower = -1; in cros_chctl_configure_ec() [all …]
|
| /linux/drivers/net/hamradio/ |
| H A D | z8530.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 26 #define RES_EXT_INT 0x10 /* Reset Ext. Status Interrupts */ 39 #define EXT_INT_ENAB 0x1 /* Ext Int Enable */ 91 #define SDLC_CRC 0x4 /* SDLC/CRC-16 */ 100 /* Write Register 6 (Sync bits 0-7/SDLC Address Field) */ 102 /* Write Register 7 (Sync bits 8-15/SDLC 01111110) */ 106 /* Write Register 9 (Master interrupt control) */ 117 /* Write Register 10 (misc control bits) */ 129 /* Write Register 11 (Clock Mode control) */ 149 /* Write Register 14 (Misc control bits) */ [all …]
|
| /linux/Documentation/devicetree/bindings/iio/dac/ |
| H A D | adi,ad5755.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Analog Devices AD5755 Multi-Channel DAC 10 - Sean Nyekjaer <sean.nyekjaer@prevas.dk> 15 - adi,ad5755 16 - adi,ad5755-1 17 - adi,ad5757 18 - adi,ad5735 19 - adi,ad5737 [all …]
|
| /linux/drivers/net/ethernet/intel/igbvf/ |
| H A D | regs.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* Copyright(c) 2009 - 2018 Intel Corporation. */ 7 #define E1000_CTRL 0x00000 /* Device Control - RW */ 8 #define E1000_STATUS 0x00008 /* Device Status - RO */ 9 #define E1000_ITR 0x000C4 /* Interrupt Throttling Rate - RW */ 10 #define E1000_EICR 0x01580 /* Ext. Interrupt Cause Read - R/clr */ 12 #define E1000_EICS 0x01520 /* Ext. Interrupt Cause Set - W0 */ 13 #define E1000_EIMS 0x01524 /* Ext. Interrupt Mask Set/Read - RW */ 14 #define E1000_EIMC 0x01528 /* Ext. Interrupt Mask Clear - WO */ 15 #define E1000_EIAC 0x0152C /* Ext. Interrupt Auto Clear - RW */ [all …]
|
| /linux/Documentation/devicetree/bindings/dpll/ |
| H A D | microchip,zl30731.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Ivan Vecera <ivecera@redhat.com> 15 single-ended inputs and 10 differential or 20 single-ended outputs. 21 - microchip,zl30731 22 - microchip,zl30732 23 - microchip,zl30733 24 - microchip,zl30734 25 - microchip,zl30735 [all …]
|
| /linux/drivers/net/ethernet/atheros/atl1c/ |
| H A D | atl1c_hw.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 * Copyright(c) 1999 - 2005 Intel Corporation. All rights reserved. 37 * 00-0B-6A-F6-00-DC in atl1c_hw_set_mac_addr() 78 /* MAC-address from BIOS is the 1st priority */ in atl1c_get_permanent_address() 79 if (atl1c_read_current_addr(hw, hw->perm_mac_addr)) in atl1c_get_permanent_address() 85 if (hw->nic_type == athr_l1c || hw->nic_type == athr_l2c) { in atl1c_get_permanent_address() 95 if (hw->nic_type == athr_l2c_b || hw->nic_type == athr_l2c_b2) { in atl1c_get_permanent_address() 116 return -1; in atl1c_get_permanent_address() 119 if ((hw->nic_type == athr_l1c || hw->nic_type == athr_l2c)) { in atl1c_get_permanent_address() 134 if (atl1c_read_current_addr(hw, hw->perm_mac_addr)) in atl1c_get_permanent_address() [all …]
|
| /linux/drivers/misc/mei/ |
| H A D | interrupt.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (c) 2003-2018, Intel Corporation. All rights reserved. 23 * mei_irq_compl_handler - dispatch complete handlers 35 cl = cb->cl; in mei_irq_compl_handler() 36 list_del_init(&cb->list); in mei_irq_compl_handler() 45 * mei_cl_hbm_equal - check if hbm is addressed to the client 55 return mei_cl_host_addr(cl) == mei_hdr->host_addr && in mei_cl_hbm_equal() 56 mei_cl_me_id(cl) == mei_hdr->me_addr; in mei_cl_hbm_equal() 60 * mei_irq_discard_msg - discard received message 69 if (hdr->dma_ring) { in mei_irq_discard_msg() [all …]
|
| /linux/Documentation/devicetree/bindings/rtc/ |
| H A D | rtc-omap.txt | 4 - compatible: 5 - "ti,da830-rtc" - for RTC IP used similar to that on DA8xx SoC family. 6 - "ti,am3352-rtc" - for RTC IP used similar to that on AM335x SoC family. 7 This RTC IP has special WAKE-EN Register to enable 9 used to control an external PMIC via the 11 - "ti,am4372-rtc" - for RTC IP used similar to that on AM437X SoC family. 12 - reg: Address range of rtc register set 13 - interrupts: rtc timer, alarm interrupts in order 16 - system-power-controller: whether the rtc is controlling the system power 18 - clocks: Any internal or external clocks feeding in to rtc [all …]
|
| /linux/arch/s390/include/uapi/asm/ |
| H A D | cmb.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 8 * struct cmbdata - channel measurement block data for user space 16 * @control_unit_queuing_time: time of control unit queuing 18 * @device_busy_time: time of device busy (ext. format) 19 * @initial_command_response_time: initial command response time (ext. format)
|