/linux/Documentation/devicetree/bindings/usb/ |
H A D | usb251xb.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Microchip USB 2.0 Hi-Speed Hub Controller 10 - Richard Leitner <richard.leitner@skidata.com> 15 - microchip,usb2422 16 - microchip,usb2512b 17 - microchip,usb2512bi 18 - microchip,usb2513b 19 - microchip,usb2513bi [all …]
|
/linux/drivers/cpufreq/ |
H A D | e_powersaver.c | 1 // SPDX-License-Identifier: GPL-2.0-only 61 return -ENOMEM; in eps_acpi_init() 63 if (!zalloc_cpumask_var(&eps_acpi_cpu_perf->shared_cpu_map, in eps_acpi_init() 67 return -ENOMEM; in eps_acpi_init() 71 free_cpumask_var(eps_acpi_cpu_perf->shared_cpu_map); in eps_acpi_init() 74 return -EIO; in eps_acpi_init() 83 free_cpumask_var(eps_acpi_cpu_perf->shared_cpu_map); in eps_acpi_exit() 94 u32 lo, hi; in eps_get() local 103 rdmsr(MSR_IA32_PERF_STATUS, lo, hi); in eps_get() 104 return centaur->fsb * ((lo >> 8) & 0xff); in eps_get() [all …]
|
H A D | longhaul.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * (C) 2001-2004 Dave Jones. 13 * Present in Samuel 2 (steppings 1-7 only) (C5B), and Ezra (C5C). 16 * It is present in Ezra-T (C5M), Nehemiah (C5X) and above. 90 static char *print_speed(int speed) in print_speed() argument 92 if (speed < 1000) { in print_speed() 93 snprintf(speedbuffer, sizeof(speedbuffer), "%dMHz", speed); in print_speed() 97 if (speed%1000 == 0) in print_speed() 99 "%dGHz", speed/1000); in print_speed() 102 "%d.%dGHz", speed/1000, (speed%1000)/100); in print_speed() [all …]
|
H A D | acpi-cpufreq.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * acpi-cpufreq.c - ACPI Processor P-States Driver 7 * Copyright (C) 2002 - 2004 Dominik Brodowski <linux@brodo.de> 39 MODULE_DESCRIPTION("ACPI Processor P-States Driver"); 67 return per_cpu_ptr(acpi_perf_data, data->acpi_perf_cpu); in to_perf_data() 76 u32 lo, hi; in boost_state() local 83 rdmsr_on_cpu(cpu, MSR_IA32_MISC_ENABLE, &lo, &hi); in boost_state() 84 msr = lo | ((u64)hi << 32); in boost_state() 88 rdmsr_on_cpu(cpu, MSR_K7_HWCR, &lo, &hi); in boost_state() 89 msr = lo | ((u64)hi << 32); in boost_state() [all …]
|
/linux/Documentation/devicetree/bindings/iio/accel/ |
H A D | lis302.txt | 8 - compatible: should be set to "st,lis3lv02d-spi" 9 - reg: the chipselect index 10 - spi-max-frequency: maximal bus speed, should be set to 1000000 unless 12 - interrupts: the interrupt generated by the device 15 - compatible: should be set to "st,lis3lv02d" 16 - reg: i2c slave address 17 - Vdd-supply: The input supply for Vdd 18 - Vdd_IO-supply: The input supply for Vdd_IO 23 - st,click-single-{x,y,z}: if present, tells the device to issue an 26 - st,click-double-{x,y,z}: if present, tells the device to issue an [all …]
|
/linux/drivers/net/ethernet/ti/icssg/ |
H A D | icssg_switch_map.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 4 * Copyright (C) 2022 Texas Instruments Incorporated - https://www.ti.com/ 49 /* VLAN-FID Table offset. 4096 VIDs. 2B per VID = 8KB = 0x2000 */ 52 /* VLAN-FID Table offset for EMAC */ 88 /* IEP count hi roll over count */ 91 /* IEP count hi sw counter */ 112 /* pktTxDelay for P1 = link speed dependent p1 mac delay + p1 phy delay */ 115 /* pktTxDelay for P2 = link speed dependent p2 mac delay + p2 phy delay */ 173 * cut-through/S&F. 180 /* Used to notify the FW of the current link speed */ [all …]
|
/linux/drivers/net/ethernet/chelsio/cxgb/ |
H A D | pm3393.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 * PMC/SIERRA (pm3393) MAC-PHY functionality. * 14 * Copyright (c) 2003 - 2005 Chelsio Communications, Inc. * 87 t1_tpi_read(cmac->adapter, OFFSET(reg), data32); in pmread() 93 t1_tpi_write(cmac->adapter, OFFSET(reg), data32); in pmwrite() 115 /* PM3393 - Enabling all hardware block interrupts. in pm3393_interrupt_enable() 138 /* PM3393 - Global interrupt enable in pm3393_interrupt_enable() 140 /* TBD XXX Disable for now until we figure out why error interrupts keep asserting. */ in pm3393_interrupt_enable() 144 /* TERMINATOR - PL_INTERUPTS_EXT */ in pm3393_interrupt_enable() 145 pl_intr = readl(cmac->adapter->regs + A_PL_ENABLE); in pm3393_interrupt_enable() [all …]
|
H A D | vsc7326_reg.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 8 * Straight off the data sheet, VMDS-10038 Rev 2.0 and 9 * PD0011-01-14-Meigs-II 2002-12-12 26 #define REG_PLL_CLK_SPEED CRA(0x7,0xf,0x19) /* Clock Speed Selection */ 55 #define BIST_COMMAND 0x01 /* BIST enable/disable */ 58 #define BIST_ERR_CNT_MSB 0x04 /* BIST error count hi 8b */ 60 #define BIST_ERR_SEL_MSB 0x06 /* BIST error select hi 8b */ 65 #define BIST_ERR_ADR3 0x0b /* BIST error address hi 8b */ 69 * fn = FIFO number, 0-9 84 * bn = bucket number 0-10 (yes, 11 buckets) [all …]
|
/linux/drivers/usb/dwc2/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 10 Say Y here if your system has a Dual Role Hi-Speed USB 18 dwc2_platform.ko. For all modes(host, gadget and dual-role), there 33 The Designware USB2.0 high-speed host controller 35 driver to operate in Host-only mode. 37 comment "Gadget/Dual-role mode requires USB Gadget support to be enabled" 43 The Designware USB2.0 high-speed gadget controller 45 driver to operate in Peripheral-only mode. This option requires 52 Select this option if you want the driver to work in a dual-role 54 the role will be determined by the cable that gets plugged-in. This [all …]
|
/linux/Documentation/usb/ |
H A D | iuu_phoenix.rst | 5 Hi all, 10 bring a ttyUSB[0-x] interface. This driver must be 23 How to tune the reader speed? 50 - clockmode will provide 3 different base settings commonly adopted by 57 - boost provide a way to overclock the reader ( my favorite :-) ) 64 the speed to a score 10 to 20% better than the simple clockmode=3 !!! 67 - cdmode permit to setup the signal used to inform the userland ( ioctl answer ) 70 - xmas is completely useless except for your eyes. This is one of my friend who was 75 - debug will produce a lot of debugging messages... 82 is an abstraction, so use any speed or parity setting will [all …]
|
/linux/Documentation/devicetree/bindings/net/dsa/ |
H A D | microchip,ksz.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Marek Vasut <marex@denx.de> 11 - Woojung Huh <Woojung.Huh@microchip.com> 14 - $ref: /schemas/spi/spi-peripheral-props.yaml# 21 - microchip,ksz8765 22 - microchip,ksz8794 23 - microchip,ksz8795 24 - microchip,ksz8863 [all …]
|
/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_ptp_hw.c | 1 // SPDX-License-Identifier: GPL-2.0 25 { "CVL-SDP22", ZL_REF0P, DPLL_PIN_TYPE_INT_OSCILLATOR, 27 { "CVL-SDP20", ZL_REF0N, DPLL_PIN_TYPE_INT_OSCILLATOR, 29 { "C827_0-RCLKA", ZL_REF1P, DPLL_PIN_TYPE_MUX, 0, }, 30 { "C827_0-RCLKB", ZL_REF1N, DPLL_PIN_TYPE_MUX, 0, }, 35 { "GNSS-1PPS", ZL_REF4P, DPLL_PIN_TYPE_GNSS, 40 { "CVL-SDP22", ZL_REF0P, DPLL_PIN_TYPE_INT_OSCILLATOR, 42 { "CVL-SDP20", ZL_REF0N, DPLL_PIN_TYPE_INT_OSCILLATOR, 44 { "C827_0-RCLKA", ZL_REF1P, DPLL_PIN_TYPE_MUX, }, 45 { "C827_0-RCLKB", ZL_REF1N, DPLL_PIN_TYPE_MUX, }, [all …]
|
/linux/drivers/net/ethernet/qlogic/qed/ |
H A D | qed_init_fw_funcs.c | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) 3 * Copyright (c) 2015-2017 QLogic Corporation 4 * Copyright (c) 2019-2021 Marvell International Ltd. 36 0x100) - 1 : 0) 39 /* Max link speed (in Mbps) */ 53 #define VOQS_BIT_MASK (BIT(MAX_NUM_VOQS) - 1) 79 #define QM_VP_WFQ_BYPASS_THRESH (QM_VP_WFQ_MIN_INC_VAL - 100) 98 /* RL increment value - rate is specified in mbps */ 113 /* QCN RL Upper bound, speed is in Mpbs */ 114 #define QM_GLOBAL_RL_UPPER_BOUND(speed) ((u32)max_t( \ argument [all …]
|
/linux/arch/mips/cavium-octeon/executive/ |
H A D | cvmx-helper-rgmii.c | 7 * Copyright (C) 2003-2018 Cavium, Inc. 14 * AS-IS and WITHOUT ANY WARRANTY; without even the implied warranty 21 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 34 #include <asm/octeon/cvmx-config.h> 36 #include <asm/octeon/cvmx-pko.h> 37 #include <asm/octeon/cvmx-helper.h> 38 #include <asm/octeon/cvmx-helper-board.h> 40 #include <asm/octeon/cvmx-npi-defs.h> 41 #include <asm/octeon/cvmx-gmxx-defs.h> 42 #include <asm/octeon/cvmx-asxx-defs.h> [all …]
|
/linux/drivers/net/ethernet/atheros/atlx/ |
H A D | atl1.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright(c) 2005 - 2006 Attansic Corporation. All rights reserved. 4 * Copyright(c) 2006 - 2007 Chris Snook <csnook@redhat.com> 5 * Copyright(c) 2006 - 2008 Jay Cliburn <jcliburn@gmail.com> 8 * Copyright(c) 1999 - 2005 Intel Corporation. All rights reserved. 20 * Fix abstruse irq enable/disable condition described here: 21 * http://marc.theaimsgroup.com/?l=linux-netdev&m=116398508500553&w=2 37 #include <linux/dma-mapping.h> 84 #define OPTION_UNSET -1 93 * Valid Range: 10-65535 [all …]
|
/linux/drivers/net/ethernet/intel/igb/ |
H A D | igb_ptp.c | 1 // SPDX-License-Identifier: GPL-2.0+ 38 * +--------------+ +---+---+------+ 40 * +--------------+ +---+---+------+ 43 * +----------+---+ +--------------+ 45 * +----------+---+ +--------------+ 50 * 2^45 * 10^-9 / 3600 = 9.77 hours. 53 * 2^40 * 10^-9 / 60 = 18.3 minutes. 67 #define INCVALUE_82576_MASK GENMASK(E1000_TIMINCA_16NS_SHIFT - 1, 0) 79 struct e1000_hw *hw = &igb->hw; in igb_ptp_read_82576() 81 u32 lo, hi; in igb_ptp_read_82576() local [all …]
|
/linux/drivers/net/ethernet/xscale/ |
H A D | ixp4xx_eth.c | 1 // SPDX-License-Identifier: GPL-2.0-only 10 * NPE 0 (NPE-A) 1 (NPE-B) 2 (NPE-C) 13 * RX-free queue 26 27 28 14 * TX-done queue is always 31, per-port RX and TX-ready queues are configurable 17 * bits 0 -> 1 - NPE ID (RX and TX-done) 18 * bits 0 -> 2 - priority (TX, per 802.1D) 19 * bits 3 -> 4 - port ID (user-set?) 20 * bits 5 -> 31 - physical descriptor address 24 #include <linux/dma-mapping.h> 75 #define MAX_MRU (14320 - VLAN_ETH_HLEN) [all …]
|
/linux/drivers/net/dsa/qca/ |
H A D | qca8k-8xxx.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * Copyright (C) 2011-2012 Gabor Juhos <juhosg@openwrt.org> 47 ret = bus->write(bus, phy_id, regnum, lo); in qca8k_mii_write_lo() 49 dev_err_ratelimited(&bus->dev, in qca8k_mii_write_lo() 59 u16 hi; in qca8k_mii_write_hi() local 61 hi = (u16)(val >> 16); in qca8k_mii_write_hi() 62 ret = bus->write(bus, phy_id, regnum, hi); in qca8k_mii_write_hi() 64 dev_err_ratelimited(&bus->dev, in qca8k_mii_write_hi() 65 "failed to write qca8k 32bit hi register\n"); in qca8k_mii_write_hi() 75 ret = bus->read(bus, phy_id, regnum); in qca8k_mii_read_lo() [all …]
|
/linux/drivers/net/ethernet/freescale/enetc/ |
H A D | enetc_qos.c | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 17 void enetc_sched_speed_set(struct enetc_ndev_priv *priv, int speed) in enetc_sched_speed_set() argument 19 struct enetc_hw *hw = &priv->si->hw; in enetc_sched_speed_set() 20 u32 old_speed = priv->speed; in enetc_sched_speed_set() 23 if (speed == old_speed) in enetc_sched_speed_set() 26 switch (speed) { in enetc_sched_speed_set() 41 priv->speed = speed; in enetc_sched_speed_set() 49 struct enetc_hw *hw = &priv->si->hw; in enetc_setup_taprio() 63 for (i = 0; i < priv->num_tx_rings; i++) in enetc_setup_taprio() 64 if (priv->tx_ring[i]->tsd_enable) in enetc_setup_taprio() [all …]
|
/linux/Documentation/devicetree/bindings/pinctrl/ |
H A D | realtek,rtd1619b-pinctrl.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 4 --- 5 $id: http://devicetree.org/schemas/pinctrl/realtek,rtd1619b-pinctrl.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - TY Chang <tychang@realtek.com> 14 The Realtek DHC RTD1619B is a high-definition media processor SoC. The 20 const: realtek,rtd1619b-pinctrl 26 '-pins$': 29 - $ref: pincfg-node.yaml# 30 - $ref: pinmux-node.yaml# [all …]
|
/linux/drivers/usb/misc/ |
H A D | usb251xb.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Driver for Microchip USB251xB USB 2.0 Hi-Speed Hub Controller 9 * a not-accepted patch by Fabien Lahoudere, see: 110 #define DRIVER_DESC "Microchip USB 2.0 Hi-Speed Hub Controller" 234 if (dev->type == &i2c_adapter_type) { in usb251xb_check_dev_children() 244 struct gpio_chip *gc = gpiod_to_chip(hub->gpio_reset); in usb251x_check_gpio_chip() 245 struct i2c_adapter *adap = hub->i2c->adapter; in usb251x_check_gpio_chip() 248 if (!hub->gpio_reset) in usb251x_check_gpio_chip() 252 return -EINVAL; in usb251x_check_gpio_chip() 254 ret = usb251xb_check_dev_children(&adap->dev, gc->parent); in usb251x_check_gpio_chip() [all …]
|
/linux/include/linux/usb/ |
H A D | r8a66597.h | 1 // SPDX-License-Identifier: GPL-2.0 124 #define XTAL 0xC000 /* b15-14: Crystal selection */ 133 #define HSE 0x0080 /* b7: Hi-speed enable */ 135 #define DRPD 0x0020 /* b5: D+/- pull down control */ 140 #define OVCBIT 0x8000 /* b15-14: Over-current bit */ 141 #define OVCMON 0xC000 /* b15-14: Over-current monitor */ 143 #define IDMON 0x0004 /* b3: ID-pin monitor */ 144 #define LNST 0x0003 /* b1-0: D+, D- line status */ 146 #define FS_KSTS 0x0002 /* Full-Speed K State */ 147 #define FS_JSTS 0x0001 /* Full-Speed J State */ [all …]
|
/linux/Documentation/driver-api/usb/ |
H A D | power-management.rst | 1 .. _usb-power-management: 7 :Date: Last-updated: February 2014 11 --------- 17 * Changing the default idle-delay time 31 ------------------------- 35 component is ``suspended`` it is in a nonfunctional low-power state; it 37 ``resumed`` (returned to a functional full-power state) when the kernel 67 ---------------------- 85 -------------------------- 101 ------------------- [all …]
|
/linux/drivers/usb/gadget/udc/ |
H A D | m66592-udc.h | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2006-2007 Renesas Solutions Corp. 17 #define M66592_XTAL 0xC000 /* b15-14: Crystal selection */ 26 #define M66592_HSE 0x0080 /* b7: Hi-speed enable */ 28 #define M66592_DMRPD 0x0020 /* b5: D- pull down control */ 30 #define M66592_FSRPC 0x0004 /* b2: Full-speed receiver enable */ 35 #define M66592_LNST 0x0003 /* b1-0: D+, D- line status */ 47 #define M66592_RHST 0x0003 /* b1-0: Reset handshake status */ 48 #define M66592_HSMODE 0x0003 /* Hi-Speed mode */ 49 #define M66592_FSMODE 0x0002 /* Full-Speed mode */ [all …]
|
/linux/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_ptp.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright(c) 2013 - 2018 Intel Corporation. */ 5 #include <linux/posix-clock.h> 15 * Much like the 82599, the update period is dependent upon the link speed: 39 CANT_DO_PINS = -1, 52 end = -2, 66 led_end = -2, 145 * i40e_ptp_extts0_work - workqueue task function 154 struct i40e_hw *hw = &pf->hw; in i40e_ptp_extts0_work() 156 u32 hi, lo; in i40e_ptp_extts0_work() local [all …]
|