/openbmc/linux/drivers/net/phy/ |
H A D | phy-core.c | 1 // SPDX-License-Identifier: GPL-2.0+ 10 * phy_speed_to_str - Return a string representing the PHY link speed 57 return "Unsupported (update phy-core.c)"; in phy_speed_to_str() 63 * phy_duplex_to_str - Return string describing the duplex 72 return "Full"; in phy_duplex_to_str() 75 return "Unsupported (update phy-core.c)"; in phy_duplex_to_str() 80 * phy_rate_matching_to_str - Return a string describing the rate matching 94 return "open-loop"; in phy_rate_matching_to_str() 96 return "Unsupported (update phy-core.c)"; in phy_rate_matching_to_str() 101 * phy_interface_num_ports - Return the number of links that can be carried by [all …]
|
/openbmc/linux/drivers/acpi/acpica/ |
H A D | utmath.c | 1 // SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 4 * Module Name: utmath - Integer math support routines 14 /* Structures used only for 64-bit divide */ 22 u64 full; member 28 * Optional support for 64-bit double-precision integer multiply and shift. 29 * This code is configurable and is implemented in order to support 32-bit 30 * kernel environments where a 64-bit double-precision math library is not 39 * PARAMETERS: multiplicand - 64-bit multiplicand 40 * multiplier - 32-bit multiplier 41 * out_product - Pointer to where the product is returned [all …]
|
/openbmc/linux/drivers/comedi/drivers/ |
H A D | jr3_pci.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 4 * is 16 bits, but aligned on a 32 bit PCI boundary 31 * two-byte words. 42 * Channels 1-6 contain the coupled force data Fx through Mz. Channel 43 * 7 contains the sensor's calibration data. The use of channels 8-15 70 * the full scales. 84 * which axes to use in computing the vectors. Each bit signifies 85 * selection of a single axis. The V1x axis bit corresponds to a hex 86 * value of 0x0001 and the V2z bit corresponds to a hex value of 91 * calculated. Setting the changeV1 bit or the changeV2 bit will [all …]
|
/openbmc/linux/drivers/net/ethernet/sunplus/ |
H A D | spl2sw_define.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 9 #define MAX_NETDEV_NUM 2 /* Maximum # of net-device */ 12 #define MAC_INT_DAISY_MODE_CHG BIT(31) /* Daisy Mode Change */ 13 #define MAC_INT_IP_CHKSUM_ERR BIT(23) /* IP Checksum Append Error */ 14 #define MAC_INT_WDOG_TIMER1_EXP BIT(22) /* Watchdog Timer1 Expired */ 15 #define MAC_INT_WDOG_TIMER0_EXP BIT(21) /* Watchdog Timer0 Expired */ 16 #define MAC_INT_INTRUDER_ALERT BIT(20) /* Atruder Alert */ 17 #define MAC_INT_PORT_ST_CHG BIT(19) /* Port Status Change */ 18 #define MAC_INT_BC_STORM BIT(18) /* Broad Cast Storm */ 19 #define MAC_INT_MUST_DROP_LAN BIT(17) /* Global Queue Exhausted */ [all …]
|
/openbmc/linux/include/linux/ |
H A D | cnt32_to_63.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Extend a 32-bit counter to 63 bits 31 * cnt32_to_63 - Expand a 32-bit counter to a 63-bit counter 35 * a relatively short period making wrap-arounds rather frequent. This 36 * is a problem when implementing sched_clock() for example, where a 64-bit 37 * non-wrapping monotonic value is expected to be returned. 39 * To overcome that limitation, let's extend a 32-bit counter to 63 bits 41 * by the hardware while bits 32 to 62 are stored in memory. The top bit in 42 * memory is used to synchronize with the hardware clock half-period. When 43 * the top bit of both counters (hardware and in memory) differ then the [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/dma/ |
H A D | st,stm32-dma.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/dma/st,stm32-dma.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 The STM32 DMA is a general-purpose direct memory access controller capable of 13 described in the dma.txt file, using a four-cell specifier for each 17 3. A 32bit mask specifying the DMA channel configuration which are device 19 -bit 9: Peripheral Increment Address 22 -bit 10: Memory Increment Address 25 -bit 15: Peripheral Increment Offset Size [all …]
|
/openbmc/linux/drivers/net/ethernet/stmicro/stmmac/ |
H A D | dwmac1000.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 Copyright (C) 2007-2009 STMicroelectronics Ltd 23 #define GMAC_WAKEUP_FILTER 0x00000028 /* Wake-up Frame Filter */ 26 #define GMAC_INT_STATUS_PMT BIT(3) 27 #define GMAC_INT_STATUS_MMCIS BIT(4) 28 #define GMAC_INT_STATUS_MMCRIS BIT(5) 29 #define GMAC_INT_STATUS_MMCTIS BIT(6) 30 #define GMAC_INT_STATUS_MMCCSUM BIT(7) 31 #define GMAC_INT_STATUS_TSTAMP BIT(9) 32 #define GMAC_INT_STATUS_LPIIS BIT(10) [all …]
|
/openbmc/linux/include/asm-generic/bitops/ |
H A D | instrumented-atomic.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 4 * This file provides wrappers with sanitizer instrumentation for atomic bit 8 * the below bit operations with an arch_ prefix (e.g. arch_set_bit(), 17 * set_bit - Atomically set a bit in memory 18 * @nr: the bit to set 24 * restricted to acting on a single-word quantity. 33 * clear_bit - Clears a bit in memory 34 * @nr: Bit to clear 46 * change_bit - Toggle a bit in memory 47 * @nr: Bit to change [all …]
|
/openbmc/linux/tools/perf/pmu-events/arch/arm64/ampere/ampereone/ |
H A D | core-imp-def.json | 93 … "PublicDescription": "Count predict pipe stalls due to speculative return address predictor full", 96 … "BriefDescription": "Count predict pipe stalls due to speculative return address predictor full" 99 "PublicDescription": "Macro-ops speculatively decoded", 102 "BriefDescription": "Macro-ops speculatively decoded" 117 "PublicDescription": "ETM extout bit 0", 120 "BriefDescription": "ETM extout bit 0" 123 "PublicDescription": "ETM extout bit 1", 126 "BriefDescription": "ETM extout bit 1" 129 "PublicDescription": "ETM extout bit 2", 132 "BriefDescription": "ETM extout bit 2" [all …]
|
/openbmc/linux/drivers/power/supply/ |
H A D | cpcap-battery.c | 1 // SPDX-License-Identifier: GPL-2.0-only 10 * Copyright (C) 2009-2010 Motorola, Inc. 23 #include <linux/nvmem-consumer.h> 28 #include <linux/mfd/motorola-cpcap.h> 31 * Register bit defines for CPCAP_REG_BPEOL. Some of these seem to 32 * map to MC13783UG.pdf "Table 5-19. Register 13, Power Control 0" 36 #define CPCAP_REG_BPEOL_BIT_EOL9 BIT(9) /* Set for EOL irq */ 37 #define CPCAP_REG_BPEOL_BIT_EOL8 BIT(8) /* Set for EOL irq */ 38 #define CPCAP_REG_BPEOL_BIT_UNKNOWN7 BIT(7) 39 #define CPCAP_REG_BPEOL_BIT_UNKNOWN6 BIT(6) [all …]
|
/openbmc/linux/drivers/scsi/ |
H A D | aha1542.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 10 #define STST BIT(7) /* Self Test in Progress */ 11 #define DIAGF BIT(6) /* Internal Diagnostic Failure */ 12 #define INIT BIT(5) /* Mailbox Initialization Required */ 13 #define IDLE BIT(4) /* SCSI Host Adapter Idle */ 14 #define CDF BIT(3) /* Command/Data Out Port Full */ 15 #define DF BIT(2) /* Data In Port Full */ 16 /* BIT(1) is reserved */ 17 #define INVDCMD BIT(0) /* Invalid H A Command */ 21 #define ANYINTR BIT(7) /* Any Interrupt */ [all …]
|
/openbmc/linux/arch/x86/include/asm/ |
H A D | perf_event.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 134 /* Steal the highest bit of pebs_data_cfg for SW usage */ 148 unsigned int full; member 161 unsigned int full; member 172 unsigned int full; member 185 /* Counters Sub-Leaf */ 187 /* Auto Counter Reload Sub-Leaf */ 189 /* Events Sub-Leaf */ 193 unsigned int full; member 200 /* EQ-bit Supported */ [all …]
|
/openbmc/qemu/include/qemu/ |
H A D | fifo32.h | 4 * Copyright (c) 2016 Jean-Christophe Dubois 27 * @capacity: capacity of the newly created FIFO expressed in 32 bit words 35 fifo8_create(&fifo->fifo, capacity * sizeof(uint32_t)); in fifo32_create() 48 fifo8_destroy(&fifo->fifo); in fifo32_destroy() 57 * Returns: Number of free 32 bit words. 62 return DIV_ROUND_UP(fifo8_num_free(&fifo->fifo), sizeof(uint32_t)); in fifo32_num_free() 71 * Returns: Number of used 32 bit words. 76 return DIV_ROUND_UP(fifo8_num_used(&fifo->fifo), sizeof(uint32_t)); in fifo32_num_used() 85 * is full. Clients are responsible for checking for fullness using 94 fifo8_push(&fifo->fifo, data & 0xff); in fifo32_push() [all …]
|
/openbmc/u-boot/include/linux/ |
H A D | mii.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 3 * linux/mii.h: definitions for MII-compatible transceivers 20 #define MII_CTRL1000 0x09 /* 1000BASE-T control */ 21 #define MII_STAT1000 0x0a /* 1000BASE-T status */ 27 #define MII_NWAYTEST 0x14 /* N-way auto-neg test reg */ 41 #define BMCR_FULLDPLX 0x0100 /* Full duplex */ 52 #define BMSR_ERCAP 0x0001 /* Ext-reg capability */ 55 #define BMSR_ANEGCAPABLE 0x0008 /* Able to do auto-negotiation */ 57 #define BMSR_ANEGCOMPLETE 0x0020 /* Auto-negotiation complete */ 60 #define BMSR_100HALF2 0x0200 /* Can do 100BASE-T2 HDX */ [all …]
|
/openbmc/qemu/hw/audio/ |
H A D | asc.c | 7 * Copyright (c) 2012-2018 Laurent Vivier <laurent@vivier.eu> 8 * Copyright (c) 2022 Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> 10 * SPDX-License-Identifier: GPL-2.0-or-later 19 #include "hw/qdev-properties.h" 39 * bit 0=analog or PWM output, 43 * bit 7=clear FIFO, 44 * bit 1="non-ROM companding", 45 * bit 0="ROM companding") 47 * bit 0=ch A 1/2 full, 48 * 1=ch A full, [all …]
|
/openbmc/linux/arch/m68k/include/asm/ |
H A D | mcfuart.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 5 * mcfuart.h -- ColdFire internal UART support defines. 7 * (C) Copyright 1999-2003, Greg Ungerer (gerg@snapgear.com) 52 #define MCFUART_UOP1 0x38 /* Output Port Bit Set (w) */ 53 #define MCFUART_UOP0 0x3c /* Output Port Bit Reset (w) */ 57 * Define bit flags in Mode Register 1 (MR1). 60 #define MCFUART_MR1_RXIRQFULL 0x40 /* RX IRQ type FULL */ 77 * Define bit flags in Mode Register 2 (MR2). 85 #define MCFUART_MR2_STOP1 0x07 /* 1 stop bit */ 90 * Define bit flags in Status Register (USR). [all …]
|
/openbmc/linux/Documentation/networking/device_drivers/can/ |
H A D | can327.rst | 1 .. SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) 7 -------- 14 ----------- 26 ------------- 29 into full fledged (as far as possible) CAN interfaces. 33 order to fake full-duplex operation. 36 enough to implement simple request-response protocols (such as OBD II), 50 ----------- 59 ---------------------------------- 68 --debug \ [all …]
|
/openbmc/linux/tools/testing/selftests/kvm/ |
H A D | dirty_log_test.c | 1 // SPDX-License-Identifier: GPL-2.0 47 # define BITOP_LE_SWIZZLE ((BITS_PER_LONG-1) & ~0x7) 147 * is the only place that we'll guarantee both "dirty bit" and "dirty data" 149 * after setting dirty bit but before the data is written. 154 * ring-full event. It should only be read until a sem_wait() of 160 * tricky case when the ring just got full, kvm will do userspace exit due to 161 * ring full. When that happens, the very last PFN is set but actually the 163 * we found that the dirty ring is full, refused to continue the vcpu, and 167 * bit, because it's a redundant bit, and when the write happens later the bit 212 while (ret == -1 && errno == EINTR); in sem_wait_until() [all …]
|
/openbmc/linux/drivers/pwm/ |
H A D | pwm-pca9685.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Driver for PCA9685 16-channel 12-bit PWM LED controller 8 * based on the pwm-twl-led.c driver 59 #define LED_FULL BIT(4) 60 #define MODE1_ALLCALL BIT(0) 61 #define MODE1_SUB3 BIT(1) 62 #define MODE1_SUB2 BIT(2) 63 #define MODE1_SUB1 BIT(3) 64 #define MODE1_SLEEP BIT(4) 65 #define MODE2_INVRT BIT(4) [all …]
|
/openbmc/linux/drivers/hwtracing/coresight/ |
H A D | coresight-tmc.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 10 #include <linux/dma-mapping.h> 45 /* TMC_CTL - 0x020 */ 46 #define TMC_CTL_CAPT_EN BIT(0) 47 /* TMC_STS - 0x00C */ 49 #define TMC_STS_FULL BIT(0) 50 #define TMC_STS_TRIGGERED BIT(1) 51 #define TMC_STS_MEMERR BIT(5) 53 * TMC_AXICTL - 0x110 55 * TMC AXICTL format for SoC-400 [all …]
|
/openbmc/linux/Documentation/admin-guide/hw-vuln/ |
H A D | tsx_async_abort.rst | 1 .. SPDX-License-Identifier: GPL-2.0 3 TAA - TSX Asynchronous Abort 11 ------------------- 14 Transactional Synchronization Extensions (TSX) when the TAA_NO bit (bit 8) 15 is 0 in the IA32_ARCH_CAPABILITIES MSR. On processors where the MDS_NO bit 16 (bit 5) is 0 in the IA32_ARCH_CAPABILITIES MSR, the existing MDS mitigations 23 ------------ 28 CVE-2019-11135 TAA TSX Asynchronous Abort (TAA) condition on some 36 ------- 43 hardware transactional memory support to improve performance of multi-threaded [all …]
|
/openbmc/linux/arch/mips/include/asm/ |
H A D | cmpxchg.h | 6 * Copyright (C) 2003, 06, 07 by Ralf Baechle (ralf@linux-mips.org) 20 * - Get an error at compile-time due to __compiletime_error, if supported by 25 * - Get an error at link-time due to the call to the missing function. 44 " " __SYNC(full, loongson3_war) " \n" \ 122 " " __SYNC(full, loongson3_war) " \n" \ 131 "2: " __SYNC(full, loongson3_war) " \n" \ 223 # include <asm-generic/cmpxchg-local.h> 236 * The assembly below has to combine 32 bit values into a 64 bit in __cmpxchg64() 237 * register, and split 64 bit values from one register into two. If we in __cmpxchg64() 240 * most significant 32 bits of the 64 bit values we're using. In order in __cmpxchg64() [all …]
|
/openbmc/linux/Documentation/filesystems/ext4/ |
H A D | checksums.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 --------- 10 structures did not have space to fit a full 32-bit checksum, so only the 11 lower 16 bits are stored. Enabling the 64bit feature increases the data 12 structure size so that full 32-bit checksums can be stored for many data 13 structures. However, existing 32-bit filesystems cannot be extended to 14 enable 64bit mode, at least not without the experimental resize2fs 18 ``tune2fs -O metadata_csum`` against the underlying device. If tune2fs 20 checksum, it will request that you run ``e2fsck -D`` to have the 30 .. list-table:: [all …]
|
/openbmc/linux/drivers/usb/host/ |
H A D | max3421-hcd.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Author: David Mosberger-Tang <davidm@egauge.net> 7 * (C) Copyright 2014 David Mosberger-Tang <davidm@egauge.net> 9 * MAX3421 is a chip implementing a USB 2.0 Full-/Low-Speed host 16 * https://www.hdl.co.jp/ftpdata/utl-001/AN3785.pdf 24 * Important note on worst-case (full-speed) packet size constraints 27 * - control: 64 bytes 28 * - isochronous: 1023 bytes 29 * - interrupt: 64 bytes 30 * - bulk: 64 bytes [all …]
|
/openbmc/linux/sound/soc/sprd/ |
H A D | sprd-mcdt.c | 1 // SPDX-License-Identifier: GPL-2.0 14 #include "sprd-mcdt.h" 121 u32 orig = readl_relaxed(mcdt->base + reg); in sprd_mcdt_update() 125 writel_relaxed(tmp, mcdt->base + reg); in sprd_mcdt_update() 129 u32 full, u32 empty) in sprd_mcdt_dac_set_watermark() argument 135 water_mark |= full & MCDT_CH_FIFO_AF_MASK; in sprd_mcdt_dac_set_watermark() 141 u32 full, u32 empty) in sprd_mcdt_adc_set_watermark() argument 147 water_mark |= full & MCDT_CH_FIFO_AF_MASK; in sprd_mcdt_adc_set_watermark() 158 sprd_mcdt_update(mcdt, MCDT_DMA_EN, BIT(shift), BIT(shift)); in sprd_mcdt_dac_dma_enable() 160 sprd_mcdt_update(mcdt, MCDT_DMA_EN, 0, BIT(shift)); in sprd_mcdt_dac_dma_enable() [all …]
|