/openbmc/linux/sound/usb/line6/ |
H A D | midibuf.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2004-2010 Markus Grabner (grabner@icg.tugraz.at) 18 message_length = -1; in midibuf_message_length() 20 static const int length[] = { 3, 3, 3, 3, 2, 2, 3 }; in midibuf_message_length() local 22 message_length = length[(code >> 4) - 8]; in midibuf_message_length() 24 static const int length[] = { -1, 2, 2, 2, -1, -1, 1, 1, 1, -1, in midibuf_message_length() local 25 1, 1, 1, -1, 1, 1 in midibuf_message_length() 27 message_length = length[code & 0x0f]; in midibuf_message_length() 35 return (this->pos_read == this->pos_write) && !this->full; in midibuf_is_empty() 40 return this->full; in midibuf_is_full() [all …]
|
H A D | midibuf.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 5 * Copyright (C) 2004-2010 Markus Grabner (grabner@icg.tugraz.at) 19 int full; member 26 extern int line6_midibuf_ignore(struct midi_buffer *mb, int length); 29 int length, int read_type); 32 int length);
|
/openbmc/openbmc-build-scripts/config/ |
H A D | .gitlint | 4 # Rules and sections can be referenced by their full name or by id. For example 5 # section "[body-max-line-length]" could also be written as "[B1]". Full section names are 9 # Ignore body-max-line-length and body-hard-tab and rely on the custom 10 # OpenBMC-specific rule that covers both of these rules. 11 ignore=body-max-line-length,body-hard-tab 13 # verbosity should be a value between 1 and 3, the commandline -v flags take precedence over this 17 # ignore-merge-commits=true 18 # ignore-revert-commits=true 19 # ignore-fixup-commits=true 20 # ignore-squash-commits=true [all …]
|
/openbmc/linux/drivers/s390/crypto/ |
H A D | zcrypt_ccamisc.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 17 #define TOKTYPE_NON_CCA 0x00 /* Non-CCA key token */ 27 #define TOKVER_CCA_VLSC 0x05 /* var length sym cipher key token */ 29 /* Max size of a cca variable length cipher key token */ 36 u16 len; /* vlsc token: total length in bytes */ 57 /* inside view of a variable length symmetric cipher AES key token */ 61 u16 len; /* total key token length in bytes */ 74 u16 adslen; /* associated data section length */ 75 u8 kllen; /* optional key label length */ 76 u8 ieaslen; /* optional extended associated data length */ [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/qemu/tests/qemu-iotests/ |
H A D | 125 | 38 echo $(($(stat -c '%b * %B' "$TEST_IMG_FILE"))) 47 # Growing a file with a backing file (without preallocation=full or 52 if [ -z "$TEST_IMG_FILE" ]; then 59 # $ rm -f foo 62 # $ fallocate -o $((block_size / 2)) -l $block_size foo 67 # rounds up the length to the block size, but independently. As 82 fallocate -o 65535 -l 2 "$TEST_IMG_FILE" 86 # (Thus, the on-disk size should not increase) 90 if [ $len1 -gt $len0 ]; then 94 rm -f "$TEST_IMG_FILE" [all …]
|
/openbmc/qemu/docs/system/arm/ |
H A D | cpu-features.rst | 10 Cortex-A15 and the Cortex-A57, which respectively implement Arm 11 architecture reference manuals ARMv7-A and ARMv8-A, may both optionally 12 implement PMUs. For example, if a user wants to use a Cortex-A15 without 13 a PMU, then the ``-cpu`` parameter should contain ``pmu=off`` on the QEMU 14 command line, i.e. ``-cpu cortex-a15,pmu=off``. 18 that implement the ARMv8-A architecture reference manual may optionally 20 ``aarch64`` CPU property. A CPU type such as the Cortex-A15, which does 21 not implement ARMv8-A, will not have the ``aarch64`` CPU property. 30 prefixed with "kvm-" and are described in "KVM VCPU Features". 36 CPU type is possible with the ``query-cpu-model-expansion`` QMP command. [all …]
|
/openbmc/linux/include/linux/ |
H A D | ring_buffer.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 22 * enum ring_buffer_type - internal ring buffer types 30 * array[0] holds the actual length 31 * size = 4 + length (bytes) 47 * array[0] holds the actual length 48 * array[1..(length+3)/4] holds data 49 * size = 4 + length (bytes) 51 * length = type_len << 2 52 * array[0..(length+3)/4-1] holds data 53 * size = 4 + length (bytes) [all …]
|
/openbmc/linux/include/uapi/linux/usb/ |
H A D | functionfs.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 29 /* Descriptor of an non-audio endpoint */ 42 __le32 length; member 53 __le32 length; member 93 * |-----+-----------+--------------+--------------------------------------| 95 * | 4 | length | LE32 | length of the whole data chunk | 98 * | | fs_count | LE32 | number of full-speed descriptors | 99 * | | hs_count | LE32 | number of high-speed descriptors | 100 * | | ss_count | LE32 | number of super-speed descriptors | 102 * | | fs_descrs | Descriptor[] | list of full-speed descriptors | [all …]
|
/openbmc/linux/Documentation/networking/ |
H A D | fib_trie.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 LC-trie implementation notes 8 ---------- 11 with 'hlist' with routing table entries sorted by prefix length. 19 ------------------------ 22 child array - the "child index". See Level Compression. 41 children of a full child (see "full_children") up one level, so that 46 in order to avoid ever-increasing child arrays. 57 (The word "full" here is used more in the sense of "complete" than 61 --------- [all …]
|
H A D | udplite.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 The UDP-Lite protocol (RFC 3828) 8 UDP-Lite is a Standards-Track IETF transport protocol whose characteristic 9 is a variable-length checksum. This has advantages for transport of multimedia 14 For in-depth information, you can consult: 16 - The UDP-Lite Homepage: 17 http://web.archive.org/web/%2E/http://www.erg.abdn.ac.uk/users/gerrit/udp-lite/ 21 - The UDP-Lite HOWTO on 22 …http://web.archive.org/web/%2E/http://www.erg.abdn.ac.uk/users/gerrit/udp-lite/files/UDP-Lite-HOWT… 24 - The Wireshark UDP-Lite WiKi (with capture files): [all …]
|
/openbmc/linux/drivers/acpi/acpica/ |
H A D | nsnames.c | 1 // SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 4 * Module Name: nsnames - Name manipulation and search 20 * PARAMETERS: node - Namespace node whose pathname is needed 26 * DESCRIPTION: Used to obtain the full pathname to a namespace node, usually 44 * PARAMETERS: node - Namespace node 46 * RETURN: Length of path, including prefix 48 * DESCRIPTION: Get the length of the pathname string for this node 73 * PARAMETERS: target_handle - Handle of named object whose name is 75 * buffer - Where the name is returned 79 * DESCRIPTION: Build and return a full namespace name [all …]
|
/openbmc/linux/drivers/scsi/ |
H A D | aha1542.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 14 #define CDF BIT(3) /* Command/Data Out Port Full */ 15 #define DF BIT(2) /* Data In Port Full */ 25 #define MBIF BIT(0) /* MBI Full */ 42 #define CMD_BUSON_TIME 0x07 /* Set Bus-On Time */ 43 #define CMD_BUSOFF_TIME 0x08 /* Set Bus-Off Time */ 59 /* This is used with scatter-gather */ 88 /* Bits 7-5: op=0, 2: Target ID, op=1: Initiator ID */ 89 /* Bit 4: Outbound data transfer, length is checked */ 90 /* Bit 3: Inbound data transfer, length is checked */ [all …]
|
/openbmc/linux/kernel/trace/ |
H A D | trace_seq.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2008-2014 Red Hat Inc, Steven Rostedt <srostedt@redhat.com> 31 #define TRACE_SEQ_BUF_LEFT(s) seq_buf_buffer_left(&(s)->seq) 38 if (unlikely(!s->seq.size)) in __trace_seq_init() 43 * trace_print_seq - move the contents of trace_seq into a seq_file 57 ret = seq_buf_print_seq(m, &s->seq); in trace_print_seq() 71 * trace_seq_printf - sequence printing of trace information 83 unsigned int save_len = s->seq.len; in trace_seq_printf() 86 if (s->full) in trace_seq_printf() 92 seq_buf_vprintf(&s->seq, fmt, ap); in trace_seq_printf() [all …]
|
H A D | ring_buffer.c | 1 // SPDX-License-Identifier: GPL-2.0 80 * +------+ 83 * +------+ +---+ +---+ +---+ 84 * | |-->| |-->| | 85 * +---+ +---+ +---+ 88 * +---------------+ 91 * +------+ 93 * |page |------------------v 94 * +------+ +---+ +---+ +---+ 95 * | |-->| |-->| | [all …]
|
/openbmc/ipmitool/lib/ |
H A D | ipmi_sdr.c | 2 * Copyright (c) 2012 Hewlett-Packard Development Company, L.P. 25 * PARTICULAR PURPOSE OR NON-INFRINGEMENT, ARE HEREBY EXCLUDED. 72 /* ipmi_sdr_get_unit_string - return units for base/modifier 86 * By default, if units are supposed to be percent, we will pre-pend in ipmi_sdr_get_unit_string() 117 /* sdr_sensor_has_analog_reading - Determine if sensor has an analog reading 125 if (!sr->full) { in sdr_sensor_has_analog_reading() 130 * Only Full Threshold sensors are identified as providing in sdr_sensor_has_analog_reading() 135 * readings into some of their non-Threshold Sensor. There is in sdr_sensor_has_analog_reading() 137 * an Analog reading is available in a Non-Threshod sensor and in sdr_sensor_has_analog_reading() 140 * non-Threshold. To be safe, we provide this extension for in sdr_sensor_has_analog_reading() [all …]
|
/openbmc/linux/include/scsi/fc/ |
H A D | fc_fcp.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 5 * Maintained at www.Open-FCoE.org 15 * From T10 FCP-3, T10 project 1560-D Rev 4, Sept. 13, 2005. 44 __be32 fc_dl; /* data length (must follow fc_cdb) */ 47 #define FCP_CMND_LEN 32 /* expected length of structure */ 56 __be32 fc_dl; /* data length (must follow fc_cdb) */ 59 #define FCP_CMND32_LEN 48 /* expected length of structure */ 60 #define FCP_CMND32_ADD_LEN (16 / 4) /* Additional cdb length */ 74 * fc_tm_flags - task management flags field. 78 deprecated as of FCP-3 */ [all …]
|
/openbmc/linux/drivers/scsi/lpfc/ |
H A D | lpfc_sli.h | 4 * Copyright (C) 2017-2022 Broadcom. All Rights Reserved. The term * 6 * Copyright (C) 2004-2016 Emulex. All rights reserved. * 16 * FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT, ARE * 73 uint16_t iotag; /* pre-assigned IO tag */ 74 uint16_t sli4_lxritag; /* logical pre-assigned XRI. */ 75 uint16_t sli4_xritag; /* pre-assigned XRI, (OXID) tag. */ 80 union lpfc_wqe128 wqe; /* SLI-4 */ 81 IOCB_t iocb; /* SLI-3 */ 86 /* Pack the u8's together and make them module-4. */ 91 u8 retry; /* retry counter for IOCB cmd - if needed */ [all …]
|
/openbmc/u-boot/include/ |
H A D | membuff.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 13 * @struct membuff: holds the state of a membuff - it is used for input and 14 * output buffers. The buffer extends from @start to (@start + @size - 1). 17 * and full when adding another character would make @head == @tail. We 19 * to determine whether (when @head == @tail) the membuff is empty or full. 34 char *end; /** the end of the buffer (start + length) */ 40 * membuff_purge() - reset a membuff to the empty state 49 * membuff_putraw() - find out where bytes can be written 70 * membuff_getraw() - find and return a pointer to available bytes 88 * membuff_putbyte() - Writes a byte to a membuff [all …]
|
/openbmc/libmctp/docs/bindings/ |
H A D | vendor-ibm-astlpc.md | 18 …<https://www.intel.com/content/dam/www/program/design/us/en/documents/low-pin-count-interface-spec… 29 MCTP-compliant endpoints must accept. 31 ### IBF: Input Buffer Full 33 A hardware-defined flag bit in a KCS device's Status Register (STR). The IBF 42 ### KCS: Keyboard-Controller-Style 48 systems. This interface is available built-in to several commercially available 49 microcontrollers. Data is transferred across the KCS interface using a per-byte 68 values larger than the BTU may improve throughput for data-intensive transfers. 70 ### OBF: Output Buffer Full 72 A hardware-defined flag bit in a KCS device's Status Register (STR). The OBF [all …]
|
/openbmc/linux/tools/testing/selftests/bpf/progs/ |
H A D | test_sysctl_prog.c | 1 // SPDX-License-Identifier: GPL-2.0 12 /* Max supported length of a string with unsigned long in base 10 (pow2 - 1). */ 15 /* Max supported length of sysctl value string (pow2). */ 31 if (ret < 0 || ret != sizeof(tcp_mem_name) - 1) in is_tcp_mem() 34 #pragma clang loop unroll(full) in is_tcp_mem() 50 if (ctx->write) in sysctl_tcp_mem() 60 #pragma clang loop unroll(full) in sysctl_tcp_mem()
|
/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/platform/chrome/wilco_ec/ |
H A D | event.c | 1 // SPDX-License-Identifier: GPL-2.0 23 * /dev/wilco_event{n}, where n is some small non-negative integer, 29 * $ cat /dev/wilco_event0 | hexdump -ve '1/1 "%x\n"' 73 * struct ec_event - Extended event returned by the EC. 84 #define ec_event_num_words(ev) (ev->size - 1) 88 * struct ec_event_queue - Circular queue for events. 113 q->capacity = capacity; in event_queue_new() 120 /* head==tail when both full and empty, but head==NULL when empty */ in event_queue_empty() 121 return q->head == q->tail && !q->entries[q->head]; in event_queue_empty() 126 /* head==tail when both full and empty, but head!=NULL when full */ in event_queue_full() [all …]
|
/openbmc/linux/drivers/infiniband/sw/rxe/ |
H A D | rxe_verbs.c | 1 // SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB 7 #include <linux/dma-mapping.h> 25 if (udata->inlen || udata->outlen) { in rxe_query_device() 27 err = -EINVAL; in rxe_query_device() 31 memcpy(attr, &rxe->attr, sizeof(*attr)); in rxe_query_device() 47 err = -EINVAL; in rxe_query_port() 52 memcpy(attr, &rxe->port.attr, sizeof(*attr)); in rxe_query_port() 54 mutex_lock(&rxe->usdev_lock); in rxe_query_port() 55 ret = ib_get_eth_speed(ibdev, port_num, &attr->active_speed, in rxe_query_port() 56 &attr->active_width); in rxe_query_port() [all …]
|
/openbmc/qemu/crypto/ |
H A D | xts.c | 4 * Copyright (c) 2015-2016 Red Hat, Inc. 39 D->u[0] = S1->u[0] ^ S2->u[0]; in xts_uint128_xor() 40 D->u[1] = S1->u[1] ^ S2->u[1]; in xts_uint128_xor() 45 cpu_to_le64s(&v->u[0]); in xts_uint128_cpu_to_les() 46 cpu_to_le64s(&v->u[1]); in xts_uint128_cpu_to_les() 51 le64_to_cpus(&v->u[0]); in xts_uint128_le_to_cpus() 52 le64_to_cpus(&v->u[1]); in xts_uint128_le_to_cpus() 61 tt = I->u[0] >> 63; in xts_mult_x() 62 I->u[0] <<= 1; in xts_mult_x() 64 if (I->u[1] >> 63) { in xts_mult_x() [all …]
|