/openbmc/linux/drivers/net/ethernet/8390/ |
H A D | stnic.c | 1 // SPDX-License-Identifier: GPL-2.0-only 2 /* stnic.c : A SH7750 specific part of driver for NS DP83902A ST-NIC. 18 #include <mach-se/mach/se.h> 29 #define half unsigned short macro 97 *(vhalf *) (PA_83902 + ((reg) << 1)) = ((half) (val) << 8); in STNIC_WRITE() 109 return -ENODEV; in stnic_probe() 114 return -ENOMEM; in stnic_probe() 122 dev->base_addr = 0x1000; in stnic_probe() 123 dev->irq = IRQ_STNIC; in stnic_probe() 124 dev->netdev_ops = &ei_netdev_ops; in stnic_probe() [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/pidgin/pidgin-sipe/ |
H A D | 0001-Migrate-to-use-g_memdup2.patch | 3 Date: Mon, 5 Apr 2021 11:36:50 -0700 6 g_memdup has been deprecated for long and latest glib-2.0 2.68+ has 9 The fall-back to g_memdup isn't needed because pidgin provides g_memdup2 10 in pidgin-sipe/1.25.0-r0/recipe-sysroot/usr/include/libpurple/glibcompat.h 11 based on glib-2.0 version: 13 * see https://mail.gnome.org/archives/desktop-devel-list/2021-February/msg00000.html 30 Upstream-Status: Pending 31 Signed-off-by: Khem Raj <raj.khem@gmail.com> 32 --- 33 src/api/sipe-common.h | 3 +++ [all …]
|
/openbmc/qemu/include/qemu/ |
H A D | bitops.h | 9 * See the COPYING.LIB file in the top-level directory. 16 #include "host-utils.h" 27 #define MAKE_64BIT_MASK(shift, length) \ argument 28 (((~0ULL) >> (64 - (length))) << (shift)) 33 * We provide a set of functions which work on arbitrary-length arrays of 37 * - Bits stored in an array of 'unsigned long': set_bit(), clear_bit(), etc 38 * - Bits stored in an array of 'uint32_t': set_bit32(), clear_bit32(), etc 43 * be some guest-visible register view of the bit array. 63 * set_bit - Set a bit in memory 76 * set_bit_atomic - Set a bit in memory atomically [all …]
|
/openbmc/linux/drivers/nvdimm/ |
H A D | badrange.c | 1 // SPDX-License-Identifier: GPL-2.0-only 16 #include "nd-core.h" 21 INIT_LIST_HEAD(&badrange->list); in badrange_init() 22 spin_lock_init(&badrange->lock); in badrange_init() 27 struct badrange_entry *bre, u64 addr, u64 length) in append_badrange_entry() argument 29 lockdep_assert_held(&badrange->lock); in append_badrange_entry() 30 bre->start = addr; in append_badrange_entry() 31 bre->length = length; in append_badrange_entry() 32 list_add_tail(&bre->list, &badrange->list); in append_badrange_entry() 36 u64 addr, u64 length, gfp_t flags) in alloc_and_append_badrange_entry() argument [all …]
|
/openbmc/linux/drivers/net/usb/ |
H A D | gl620a.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * GeneSys GL620USB-A based links 4 * Copyright (C) 2001 by Jiun-Jie Huang <huangjj@genesyslogic.com.tw> 23 * GeneSys GL620USB-A (www.genesyslogic.com.tw) 29 * - GL620USB-A is full duplex; GL620USB is only half duplex for bulk. 30 * (Some cables, like the BAFO-100c, use the half duplex version.) 31 * - For the full duplex model, the low bit of the version code says 33 * - For the half duplex type, a control/interrupt handshake settles 37 * Original code from Jiun-Jie Huang <huangjj@genesyslogic.com.tw> 51 // max packet length [all …]
|
/openbmc/linux/drivers/mtd/spi-nor/ |
H A D | sfdp.c | 1 // SPDX-License-Identifier: GPL-2.0 8 #include <linux/mtd/spi-nor.h> 14 #define SFDP_PARAM_HEADER_ID(p) (((p)->id_msb << 8) | (p)->id_lsb) 16 (((p)->parameter_table_pointer[2] << 16) | \ 17 ((p)->parameter_table_pointer[1] << 8) | \ 18 ((p)->parameter_table_pointer[0] << 0)) 19 #define SFDP_PARAM_HEADER_PARAM_LEN(p) ((p)->length * 4) 23 #define SFDP_4BAIT_ID 0xff84 /* 4-byte Address Instruction Table */ 31 * Register Map Offsets for Multi-Chip 41 u8 nph; /* 0-base number of parameter headers */ [all …]
|
/openbmc/linux/Documentation/filesystems/ |
H A D | qnx6.rst | 1 .. SPDX-License-Identifier: GPL-2.0 29 ------ 39 --------------- 65 Unused block pointers are always set to ~0 - regardless of root node, 79 0x1000 is the size reserved for each superblock - regardless of the 83 ------ 104 ----------- 114 Eeach filename record additionally got a filename length field. 118 These got set a filename length field of 0xff in the corresponding directory 125 ------------- [all …]
|
/openbmc/linux/net/ethtool/ |
H A D | eeprom.c | 1 // SPDX-License-Identifier: GPL-2.0-only 11 u32 length; member 19 u32 length; member 33 u32 offset = request->offset; in fallback_set_params() 34 u32 length = request->length; in fallback_set_params() local 36 if (request->page) in fallback_set_params() 37 offset = request->page * ETH_MODULE_EEPROM_PAGE_LEN + offset; in fallback_set_params() 39 if (modinfo->type == ETH_MODULE_SFF_8472 && in fallback_set_params() 40 request->i2c_address == 0x51) in fallback_set_params() 43 if (offset >= modinfo->eeprom_len) in fallback_set_params() [all …]
|
/openbmc/linux/net/dccp/ |
H A D | feat.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 17 /* Ack Ratio takes 2-byte integer values (11.3) */ 19 /* Wmin=32 and Wmax=2^46-1 from 7.5.2 */ 23 #define DCCP_FEAT_MAX_SP_VALS (DCCP_SINGLE_OPT_MAXLEN - 2) 26 FEAT_AT_RX = 1, /* located at RX side of half-connection */ 27 FEAT_AT_TX = 2, /* located at TX side of half-connection */ 28 FEAT_SP = 4, /* server-priority reconciliation (6.3.1) */ 29 FEAT_NN = 8, /* non-negotiable reconciliation (6.3.2) */ 42 * dccp_feat_val - Container for SP or NN feature values 45 * @sp.len: length of @sp.vec in bytes [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/memory-controllers/ |
H A D | ti,gpmc-child.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/memory-controllers/ti,gpmc-child.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Tony Lindgren <tony@atomide.com> 11 - Roger Quadros <rogerq@kernel.org> 24 gpmc,sync-clk-ps: 28 # Chip-select signal timings corresponding to GPMC_CONFIG2: 29 gpmc,cs-on-ns: 33 gpmc,cs-rd-off-ns: [all …]
|
/openbmc/linux/include/linux/ |
H A D | stringhash.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 10 * Routines for hashing strings of bytes to a 32-bit hash value. 14 * (E.g. they may depend on boot-time hardware detection or be 35 * abuses it to hash 16-bit values. 60 * If CONFIG_DCACHE_WORD_ACCESS is defined (meaning <asm/word-at-a-time.h> 70 * half and the length in the high half. 76 /* Return the "hash_len" (hash and length) of a null-terminated string */
|
/openbmc/linux/arch/xtensa/lib/ |
H A D | memset.S | 19 * void *memset(void *dst, int c, size_t length) 25 * 8B, 4B, 2B, and 1B stores conditional on the length. 28 * This code tries to use fall-through branches for the common 38 # a2/ dst, a3/ c, a4/ length 54 * Destination is word-aligned. 56 # set 16 bytes per iteration for word-aligned dst 106 bbci.l a5, 0, .L20 # branch if dst alignment half-aligned 111 addi a4, a4, -1 115 # dst half-aligned 119 addi a4, a4, -2
|
/openbmc/linux/Documentation/userspace-api/media/v4l/ |
H A D | vidioc-g-dv-timings.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 13 VIDIOC_G_DV_TIMINGS - VIDIOC_S_DV_TIMINGS - VIDIOC_SUBDEV_G_DV_TIMINGS - VIDIOC_SUBDEV_S_DV_TIMINGS… 56 registered in read-only mode is not allowed. An error is returned and the errno 57 variable is set to ``-EPERM``. 59 The ``linux/v4l2-dv-timings.h`` header can be used to get the timings of 68 On success 0 is returned, on error -1 and the ``errno`` variable is set 70 :ref:`Generic Error Codes <gen-errors>` chapter. 83 ``VIDIOC_SUBDEV_S_DV_TIMINGS`` has been called on a read-only subdevice. 91 .. flat-table:: struct v4l2_bt_timings 92 :header-rows: 0 [all …]
|
/openbmc/linux/include/soc/mscc/ |
H A D | ocelot_vcap.h | 1 /* SPDX-License-Identifier: (GPL-2.0 OR MIT) 17 #define OCELOT_VCAP_IS2_MRP_REDIRECT(ocelot, port) ((ocelot)->num_phys_ports + (port)) 18 #define OCELOT_VCAP_IS2_MRP_TRAP(ocelot) ((ocelot)->num_phys_ports * 2) 19 #define OCELOT_VCAP_IS2_L2_PTP_TRAP(ocelot) ((ocelot)->num_phys_ports * 2 + 1) 20 #define OCELOT_VCAP_IS2_IPV4_GEN_PTP_TRAP(ocelot) ((ocelot)->num_phys_ports * 2 + 2) 21 #define OCELOT_VCAP_IS2_IPV4_EV_PTP_TRAP(ocelot) ((ocelot)->num_phys_ports * 2 + 3) 22 #define OCELOT_VCAP_IS2_IPV6_GEN_PTP_TRAP(ocelot) ((ocelot)->num_phys_ports * 2 + 4) 23 #define OCELOT_VCAP_IS2_IPV6_EV_PTP_TRAP(ocelot) ((ocelot)->num_phys_ports * 2 + 5) 40 u16 tg_width; /* Type-group width (in bits) */ 62 /* VCAP Type-Group values */ [all …]
|
/openbmc/linux/Documentation/networking/ |
H A D | dccp.rst | 1 .. SPDX-License-Identifier: GPL-2.0 9 - Introduction 10 - Missing features 11 - Socket options 12 - Sysctl variables 13 - IOCTLs 14 - Other tunables 15 - Notes 22 for real-time and multimedia (streaming) traffic. 26 implementation, this is the TCP-like CCID2 (RFC 4341). Additional CCIDs, such as [all …]
|
/openbmc/linux/drivers/net/ethernet/atheros/atl1e/ |
H A D | atl1e_hw.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 6 * Copyright(c) 1999 - 2005 Intel Corporation. All rights reserved. 200 /* IRQ Anti-Lost Timer Initial Value Register */ 206 #define IDLE_STATUS_RXMAC 1 /* 1: RXMAC state machine is in non-IDLE state. 0: RXMAC i… 207 #define IDLE_STATUS_TXMAC 2 /* 1: TXMAC state machine is in non-IDLE state. 0: TXMAC i… 208 #define IDLE_STATUS_RXQ 4 /* 1: RXQ state machine is in non-IDLE state. 0: RXQ is … 209 #define IDLE_STATUS_TXQ 8 /* 1: TXQ state machine is in non-IDLE state. 0: TXQ is … 210 #define IDLE_STATUS_DMAR 0x10 /* 1: DMAR state machine is in non-IDLE state. 0: DMAR is… 211 #define IDLE_STATUS_DMAW 0x20 /* 1: DMAW state machine is in non-IDLE state. 0: DMAW is… 212 #define IDLE_STATUS_SMB 0x40 /* 1: SMB state machine is in non-IDLE state. 0: SMB is … [all …]
|
/openbmc/linux/arch/parisc/include/asm/ |
H A D | checksum.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 8 * computes the checksum of a memory block at buff, length len, 9 * and adds in "sum" (32-bit) 11 * returns a 32-bit number suitable for feeding into itself 17 * it's best to have buff aligned on a 32-bit boundary 34 " addib,<= -4, %2, 2f\n" in ip_fast_csum() 43 " addib,> -1, %2, 1b\n" in ip_fast_csum() 51 " subi -1, %0, %0\n" in ip_fast_csum() 66 /* add the swapped two 16-bit halves of sum, in csum_fold() 67 a possible carry from adding the two 16-bit halves, in csum_fold() [all …]
|
/openbmc/u-boot/drivers/net/ |
H A D | e1000.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 5 Copyright(c) 1999 - 2002 Intel Corporation. All rights reserved. 10 Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497 36 printf("e1000: %s: ERROR: " fmt, (NIC)->name ,##args) 40 printf("e1000: %s: DEBUG: " fmt, (NIC)->name ,##args) 51 writel((value), ((a)->hw_addr + E1000_##reg)) 53 readl((a)->hw_addr + E1000_##reg) 55 writel((value), ((a)->hw_addr + E1000_##reg + ((offset) << 2))) 57 readl((a)->hw_addr + E1000_##reg + ((offset) << 2)) 349 #define IFE_PHY_MDIX_CONTROL 0x1C /* MDI/MDI-X Control register */ [all …]
|
/openbmc/linux/drivers/cpuidle/governors/ |
H A D | teo.c | 1 // SPDX-License-Identifier: GPL-2.0 6 * Copyright (C) 2018 - 2021 Intel Corporation 9 * Util-awareness mechanism: 15 * DOC: teo-description 23 * timer event, referred to as the sleep length, is likely to be suitable for 27 * Of course, non-timer wakeup sources are more important in some use cases 30 * consider idle duration values greater than the sleep length, because the 35 * a CPU is likely to be significantly shorter than the sleep length and selects 54 * sleep length and the idle duration measured after CPU wakeup fall into the 56 * length). In turn, the "intercepts" metric reflects the relative frequency of [all …]
|
/openbmc/linux/drivers/net/ethernet/intel/e1000/ |
H A D | e1000_hw.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* Copyright(c) 1999 - 2006 Intel Corporation. */ 295 #define E1000_HI_MAX_MNG_DATA_LENGTH 0x6F8 /* Host Interface data length */ 299 #define E1000_MNG_DHCP_COOKIE_LENGTH 0x10 /* Cookie length */ 320 u8 command_data[E1000_HI_MAX_MNG_DATA_LENGTH]; /* Command data can length 0..0x658 */ 422 /* MAC decode size is 128K - This is the size of BAR0 */ 443 (MINIMUM_ETHERNET_FRAME_SIZE - ETHERNET_FCS_SIZE) 486 * E1000_RAR_ENTRIES - 1 multicast addresses. 496 __le16 length; /* Length of data DMAed into data buffer */ member 503 /* Receive Descriptor - Extended */ [all …]
|
/openbmc/linux/drivers/gpu/drm/i915/display/ |
H A D | intel_tv_regs.h | 1 /* SPDX-License-Identifier: MIT */ 41 /* Sets the colorburst to PAL mode. Required for non-M PAL modes. */ 56 /* Read-only state that reports all features enabled */ 58 /* Read-only state that reports that Macrovision is disabled in hardware*/ 60 /* Read-only state that reports that TV-out is disabled in hardware. */ 64 /* Encoder test pattern 1 - combo pattern */ 66 /* Encoder test pattern 2 - full screen vertical 75% color bars */ 68 /* Encoder test pattern 3 - full screen horizontal 75% color bars */ 70 /* Encoder test pattern 4 - random noise */ 72 /* Encoder test pattern 5 - linear color ramps */ [all …]
|
/openbmc/linux/arch/powerpc/include/asm/ |
H A D | checksum.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 12 * Computes the checksum of a memory block at src, length len, 13 * and adds in "sum" (32-bit), while copying the block to dst. 14 * If an access exception occurs on src or dst, it stores -EFAULT 36 * turns a 32-bit partial checksum (e.g. from csum_partial) into a 37 * 1's complement 16-bit checksum. 44 * swap the two 16-bit halves of sum in csum_fold() 45 * if there is a carry from adding the two 16-bit halves, in csum_fold() 46 * it will carry from the lower half into the upper half, in csum_fold() 47 * giving us the correct sum in the upper half. in csum_fold() [all …]
|
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/Inventory/Item/ |
H A D | PCIeSlot.interface.yaml | 6 - name: Generation 12 - name: Lanes 17 - name: SlotType 23 - name: HotPluggable 29 - name: Generations 33 - name: "Gen1" 37 - name: "Gen2" 41 - name: "Gen3" 45 - name: "Gen4" 49 - name: "Gen5" [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/rtc/ |
H A D | microchip,pic32-rtc.txt | 3 The RTCC keeps time in hours, minutes, and seconds, and one half second. It 8 - compatible: should be: "microchip,pic32mzda-rtc" 9 - reg: physical base address of the controller and length of memory mapped 11 - interrupts: RTC alarm/event interrupt 12 - clocks: clock phandle 17 compatible = "microchip,pic32mzda-rtc";
|
/openbmc/u-boot/lib/zlib/ |
H A D | deflate.h | 1 /* deflate.h -- internal compression state 2 * Copyright (C) 1995-2010 Jean-loup Gailly 31 /* number of length codes, not counting the special END_BLOCK code */ 37 /* number of Literal or Length codes, including the END_BLOCK code */ 69 ush len; /* length of bit string */ 111 uInt w_mask; /* w_size - 1 */ 114 /* Sliding window. Input bytes are read into the second half of the window, 115 * and move to the first half later to keep a dictionary of at least wSize 117 * wSize-MAX_MATCH bytes, but this ensures that IO is always 118 * performed with a length multiple of the block size. Also, it limits [all …]
|