/openbmc/u-boot/doc/device-tree-bindings/serial/ |
H A D | snps-dw-apb-uart.txt | 4 - compatible : "snps,dw-apb-uart" 5 - reg : offset and length of the register set for the device. 6 - interrupts : should contain uart interrupt. 10 - clock-frequency : the input clock frequency for the UART. 11 - clocks : phandle to the input clock 14 - clock-names: tuple listing input clock names. 18 - snps,uart-16550-compatible : reflects the value of UART_16550_COMPATIBLE 21 - resets : phandle to the parent reset controller. 22 - reg-shift : quantity to shift the register offsets by. If this property is 24 - reg-io-width : the size (in bytes) of the IO accesses that should be [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/serial/ |
H A D | snps-dw-apb-uart.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/serial/snps-dw-apb-uart.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Rob Herring <robh@kernel.org> 13 - $ref: serial.yaml# 18 - items: 19 - enum: 20 - renesas,r9a06g032-uart 21 - renesas,r9a06g033-uart [all …]
|
/openbmc/linux/arch/riscv/boot/dts/canaan/ |
H A D | k210.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Copyright (C) 2019-20 Sean Anderson <seanga2@gmail.com> 6 #include <dt-bindings/clock/k210-clk.h> 7 #include <dt-bindings/pinctrl/k210-fpioa.h> 8 #include <dt-bindings/reset/k210-rst.h> 12 * Although the K210 is a 64-bit CPU, the address bus is only 32-bits 15 #address-cells = <1>; 16 #size-cells = <1>; 17 compatible = "canaan,kendryte-k210"; 28 * Since this is a non-ratified draft specification, the kernel does not [all …]
|
/openbmc/u-boot/scripts/dtc/ |
H A D | livetree.c | 17 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 33 if (streq(new->label, label)) { in add_label() 34 new->deleted = 0; in add_label() 40 new->label = label; in add_label() 41 new->next = *labels; in add_label() 50 label->deleted = 1; in delete_labels() 59 new->name = name; in build_property() 60 new->val = val; in build_property() 71 new->name = name; in build_property_delete() 72 new->deleted = 1; in build_property_delete() [all …]
|
/openbmc/linux/drivers/net/ethernet/microchip/vcap/ |
H A D | vcap_api_kunit.c | 1 // SPDX-License-Identifier: BSD-3-Clause 39 if (kslist->cnt > 0) { in test_val_keyset() 40 switch (admin->vtype) { in test_val_keyset() 42 for (idx = 0; idx < kslist->cnt; idx++) { in test_val_keyset() 43 if (kslist->keysets[idx] == VCAP_KFS_ETAG) in test_val_keyset() 44 return kslist->keysets[idx]; in test_val_keyset() 45 if (kslist->keysets[idx] == VCAP_KFS_PURE_5TUPLE_IP4) in test_val_keyset() 46 return kslist->keysets[idx]; in test_val_keyset() 47 if (kslist->keysets[idx] == VCAP_KFS_NORMAL_5TUPLE_IP4) in test_val_keyset() 48 return kslist->keysets[idx]; in test_val_keyset() [all …]
|
/openbmc/qemu/hw/scsi/ |
H A D | vmw_pvscsi.c | 9 * http://lists.gnu.org/archive/html/qemu-devel/2011-08/msg00729.html 17 * See the COPYING file in the top-level directory. 19 * NOTE about MSI-X: 20 * MSI-X support has been removed for the moment because it leads Windows OS 22 * MSI-X shared memory to be part of the same BAR used for rings state 24 * BAR created from MSI-X purposes. Windows driver fails to deal with 2 BARs. 30 #include "qemu/main-loop.h" 36 #include "hw/qdev-properties.h" 54 ldl_le_pci_dma(&container_of(m, PVSCSIState, rings)->parent_obj, \ 55 (m)->rs_pa + offsetof(struct PVSCSIRingsState, field), \ [all …]
|
/openbmc/qemu/target/arm/ |
H A D | cpregs.h | 18 * <http://www.gnu.org/licenses/gpl-2.0.html> 25 #include "target/arm/kvm-consts.h" 51 /* Flag: For ARM_CP_STATE_AA32, sysreg is 64-bit. */ 59 * Flag: Permit a register definition to override a previous definition 91 * Flag: Writes to the sysreg might change the exception level - typically 92 * on older ARM chips. For those cases we need to re-read the new el when 110 * - UNDEF: discard the cpreg, 111 * - KEEP: retain the cpreg as is, 112 * - C_NZ: set const on the cpreg, but retain resetvalue, 113 * - else: set const on the cpreg, zero resetvalue, aka RES0. [all …]
|
H A D | helper.c | 6 * SPDX-License-Identifier: GPL-2.0-or-later 14 #include "cpu-features.h" 15 #include "exec/helper-proto.h" 16 #include "qemu/main-loop.h" 20 #include "qemu/qemu-print.h" 21 #include "exec/exec-all.h" 24 #include "sysemu/cpu-timers.h" 28 #include "qemu/guest-random.h" 30 #include "semihosting/common-semi.h" 39 static uint64_t raw_read(CPUARMState *env, const ARMCPRegInfo *ri) in raw_read() argument [all …]
|
H A D | cpu.c | 18 * <http://www.gnu.org/licenses/gpl-2.0.html> 22 #include "qemu/qemu-print.h" 25 #include "exec/page-vary.h" 31 #include "hw/core/tcg-cpu-ops.h" 34 #include "cpu-features.h" 35 #include "exec/exec-all.h" 36 #include "hw/qdev-properties.h" 51 #include "target/arm/cpu-qom.h" 57 CPUARMState *env = &cpu->env; in arm_cpu_set_pc() 60 env->pc = value; in arm_cpu_set_pc() [all …]
|
/openbmc/linux/scripts/dtc/ |
H A D | livetree.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 19 if (streq(new->label, label)) { in add_label() 20 new->deleted = 0; in add_label() 26 new->label = label; in add_label() 27 new->next = *labels; in add_label() 36 label->deleted = 1; in delete_labels() 46 new->name = name; in build_property() 47 new->val = val; in build_property() 48 new->srcpos = srcpos_copy(srcpos); in build_property() 59 new->name = name; in build_property_delete() [all …]
|
/openbmc/qemu/target/arm/hvf/ |
H A D | hvf.c | 8 * See the COPYING file in the top-level directory. 13 #include "qemu/error-report.h" 24 #include "exec/address-spaces.h" 27 #include "qemu/main-loop.h" 29 #include "arm-powerctl.h" 548 CPUARMState *env = &arm_cpu->env; in hvf_get_registers() 555 ret = hv_vcpu_get_reg(cpu->accel->fd, hvf_reg_match[i].reg, &val); in hvf_get_registers() 561 ret = hv_vcpu_get_simd_fp_reg(cpu->accel->fd, hvf_fpreg_match[i].reg, in hvf_get_registers() 568 ret = hv_vcpu_get_reg(cpu->accel->fd, HV_REG_FPCR, &val); in hvf_get_registers() 573 ret = hv_vcpu_get_reg(cpu->accel->fd, HV_REG_FPSR, &val); in hvf_get_registers() [all …]
|
/openbmc/linux/arch/ia64/kernel/ |
H A D | kprobes.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 9 * 2005-Apr Rusty Lynch <rusty.lynch@intel.com> and Anil S Keshavamurthy 69 s64 rel = ((s64) to - (s64) from) >> 4; in set_brl_inst() 72 brl->quad0.template = 0x05; /* [MLX](stop) */ in set_brl_inst() 73 brl->quad0.slot0 = NOP_M_INST; /* nop.m 0x0 */ in set_brl_inst() 74 brl->quad0.slot1_p0 = ((rel >> 20) & 0x7fffffffff) << 2; in set_brl_inst() 75 brl->quad1.slot1_p1 = (((rel >> 20) & 0x7fffffffff) << 2) >> (64 - 46); in set_brl_inst() 77 brl->quad1.slot2 = BRL_INST(rel >> 59, rel & 0xfffff); in set_brl_inst() 90 p->ainsn.inst_flag = 0; in update_kprobe_inst_flag() 91 p->ainsn.target_br_reg = 0; in update_kprobe_inst_flag() [all …]
|
H A D | ptrace.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 1999-2005 Hewlett-Packard Co 6 * David Mosberger-Tang <davidm@hpl.hp.com> 8 * 2006-08-12 - IA64 Native Utrace implementation support added by 42 * ri (restart instruction; two bits) 48 #define MASK(nbits) ((1UL << (nbits)) - 1) /* mask with NBITS bits set */ 60 /* Return TRUE if PT was created due to kernel-entry via a system-call. */ 65 return (long) pt->cr_ifs >= 0; in in_syscall() 69 * Collect the NaT bits for r1-r31 from scratch_unat and return a NaT 77 unsigned long bit = ia64_unat_pos(&pt->r##first); \ in ia64_get_scratch_nat_bits() [all …]
|
/openbmc/linux/net/mac80211/ |
H A D | util.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright 2002-2005, Instant802 Networks, Inc. 4 * Copyright 2005-2006, Devicescape Software, Inc. 5 * Copyright 2006-2007 Jiri Benc <jbenc@suse.cz> 7 * Copyright 2013-2014 Intel Mobile Communications GmbH 8 * Copyright (C) 2015-2017 Intel Deutschland GmbH 9 * Copyright (C) 2018-2023 Intel Corporation 29 #include "driver-ops.h" 44 return &local->hw; in wiphy_to_ieee80211_hw() 51 __le16 fc = hdr->frame_control; in ieee80211_get_bssid() [all …]
|
/openbmc/linux/net/ipv6/ |
H A D | ndisc.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 157 space -= pad; in __ndisc_fill_addr_option() 162 space -= data_len; in __ndisc_fill_addr_option() 171 __ndisc_fill_addr_option(skb, type, data, skb->dev->addr_len, in ndisc_fill_addr_option() 172 ndisc_addr_option_pad(skb->dev->type)); in ndisc_fill_addr_option() 173 ndisc_ops_fill_addr_option(skb->dev, skb, icmp6_type); in ndisc_fill_addr_option() 181 ndisc_ops_fill_redirect_addr_option(skb->dev, skb, ops_data); in ndisc_fill_redirect_addr_option() 190 type = cur->nd_opt_type; in ndisc_next_option() 192 cur = ((void *)cur) + (cur->nd_opt_len << 3); in ndisc_next_option() 193 } while (cur < end && cur->nd_opt_type != type); in ndisc_next_option() [all …]
|
/openbmc/qemu/rust/hw/char/pl011/src/ |
H A D | lib.rs | 3 // SPDX-License-Identifier: GPL-2.0-or-later 57 /// ARM DDI 0183G, Table 3-1 p.3-3 82 /// `IrDA` Low-Power Counter Register 121 fn try_from(value: u64) -> Result<Self, Self::Error> { in try_from() 148 //! All PL011 registers are essentially 32-bit wide, but are typed here as 151 //! as a 32-bit register where the unmentioned higher bits are always 162 /// - if the FIFOs are enabled, data written to this location is pushed onto 165 /// - if the FIFOs are not enabled, data is stored in the transmitter 176 /// - if the FIFOs are enabled, the data byte and the 4-bit status (break, 178 /// and overrun) is pushed onto the 12-bit wide receive FIFO [all …]
|
/openbmc/linux/net/core/ |
H A D | filter.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Linux Socket Filter - Kernel level socket filtering 8 * Copyright (c) 2011 - 2014 PLUMgrid, http://plumgrid.com 16 * Andi Kleen - Fix a few bad bugs and races. 17 * Kris Katterjohn - Added many additional checks in bpf_check_classic() 96 return -EINVAL; in copy_bpf_fprog_from_user() 98 return -EFAULT; in copy_bpf_fprog_from_user() 100 dst->len = f32.len; in copy_bpf_fprog_from_user() 101 dst->filter = compat_ptr(f32.filter); in copy_bpf_fprog_from_user() 104 return -EINVAL; in copy_bpf_fprog_from_user() [all …]
|
/openbmc/linux/drivers/tty/serial/8250/ |
H A D | 8250_dw.c | 1 // SPDX-License-Identifier: GPL-2.0+ 99 struct dw8250_data *d = to_dw8250_data(p->private_data); in dw8250_modify_msr() 101 /* Override any modem control signals if needed */ in dw8250_modify_msr() 103 value |= d->msr_mask_on; in dw8250_modify_msr() 104 value &= ~d->msr_mask_off; in dw8250_modify_msr() 122 if (up->fcr & UART_FCR_ENABLE_FIFO) { in dw8250_force_idle() 123 lsr = p->serial_in(p, UART_LSR); in dw8250_force_idle() 128 (void)p->serial_in(p, UART_RX); in dw8250_force_idle() 133 void __iomem *offset = p->membase + (UART_LCR << p->regshift); in dw8250_check_lcr() 137 while (tries--) { in dw8250_check_lcr() [all …]
|
/openbmc/openbmc/poky/meta/recipes-devtools/gcc/gcc/ |
H A D | gcc.git-ab884fffe3fc82a710bea66ad651720d71c938b8.patch | 27 Since making this change on trunk, the tzdata-2024b release started 37 https://mm.icann.org/pipermail/tz/2024-April/058891.html 41 tzdata file uses "-" for an empty letters field, which libstdc++ was 43 preserve the "-" in the Rule object, so that "" can be used for the case 48 Upstream-Status: Backport [https://gcc.gnu.org/git/gitweb.cgi?p=gcc.git;h=5ceea2ac106d6dd1aa8175670… 50 Signed-off-by: Markus Volk <f_l_k@t-online.de> 51 --- 52 libstdc++-v3/src/c++20/tzdb.cc | 265 +++++++++++------- 54 libstdc++-v3/testsuite/std/time/tzdb/1.cc | 6 +- 55 3 files changed, 274 insertions(+), 103 deletions(-) [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dce/ |
H A D | dce_i2c_hw.c | 35 dce_i2c_hw->ctx 37 dce_i2c_hw->regs->reg 41 dce_i2c_hw->shifts->field_name, dce_i2c_hw->masks->field_name 59 DC_I2C_TRANSACTION_COUNT, dce_i2c_hw->transaction_count - 1); in execute_transaction() 67 dce_i2c_hw->transaction_count = 0; in execute_transaction() 68 dce_i2c_hw->buffer_used_bytes = 0; in execute_transaction() 80 else if (value & dce_i2c_hw->masks->DC_I2C_SW_STOPPED_ON_NACK) in get_channel_status() 82 else if (value & dce_i2c_hw->masks->DC_I2C_SW_TIMEOUT) in get_channel_status() 84 else if (value & dce_i2c_hw->masks->DC_I2C_SW_ABORTED) in get_channel_status() 86 else if (value & dce_i2c_hw->masks->DC_I2C_SW_DONE) in get_channel_status() [all …]
|
/openbmc/linux/drivers/usb/serial/ |
H A D | ark3116.c | 1 // SPDX-License-Identifier: GPL-2.0+ 9 * - implements a driver for the arkmicro ark3116 chipset (vendor=0x6547, 10 * productid=0x0232) (used in a datacable called KQ-U8A) 52 struct usb_device *dev = serial->dev; in is_irda() 53 if (le16_to_cpu(dev->descriptor.idVendor) == 0x18ec && in is_irda() 54 le16_to_cpu(dev->descriptor.idProduct) == 0x3118) in is_irda() 82 result = usb_control_msg(serial->dev, in ark3116_write_reg() 83 usb_sndctrlpipe(serial->dev, 0), in ark3116_write_reg() 97 result = usb_control_msg(serial->dev, in ark3116_read_reg() 98 usb_rcvctrlpipe(serial->dev, 0), in ark3116_read_reg() [all …]
|
/openbmc/linux/drivers/gpu/drm/i915/display/ |
H A D | intel_display_types.h | 3 * Copyright (c) 2007-2008 Intel Corporation 47 #include <media/cec-notifier.h> 69 /* these are outputs from the chip - integrated only 87 HDMI_AUDIO_OFF_DVI = -2, /* no aux data for HDMI-DVI converter */ 103 * create the DMA scatter-gather list for each FB color plane. This sg 115 * in the rotated and remapped GTT view all no-CCS formats (up to 2 206 * state. This must be called _after_ display->get_pipe_config has 207 * pre-filled the pipe config. Note that intel_encoder->base.crtc must 422 * and the bus-specific code. What that means is that HDCP over HDMI differs 427 * - DP AUX vs. DDC [all …]
|
/openbmc/linux/drivers/net/ethernet/broadcom/ |
H A D | tg3.c | 7 * Copyright (C) 2005-2016 Broadcom Corporation. 8 * Copyright (C) 2016-2017 Broadcom Limited. 14 * Copyright (C) 2000-2016 Broadcom Corporation. 15 * Copyright (C) 2016-2017 Broadcom Ltd. 52 #include <linux/dma-mapping.h> 56 #include <linux/hwmon-sysfs.h> 94 _tg3_flag(TG3_FLAG_##flag, (tp)->tg3_flags) 96 _tg3_flag_set(TG3_FLAG_##flag, (tp)->tg3_flags) 98 _tg3_flag_clear(TG3_FLAG_##flag, (tp)->tg3_flags) 124 * and dev->tx_timeout() should be called to fix the problem [all …]
|
/openbmc/qemu/tcg/i386/ |
H A D | tcg-target.c.inc | 25 #include "../tcg-ldst.c.inc" 26 #include "../tcg-pool.c.inc" 77 /* The Win64 ABI has xmm6-xmm15 as caller-saves, and we do not save 78 any of them. Therefore only allow xmm0-xmm5 to be allocated. */ 172 value -= (uintptr_t)tcg_splitwx_to_rx(code_ptr); 181 value -= (uintptr_t)tcg_splitwx_to_rx(code_ptr); 218 * TESTQ -> TESTL (uint32_t) 219 * TESTQ -> BT (is_power_of_2) 246 # define P_GS 0x8000 /* gs segment override */ 488 /* Group 1 opcode extensions for 0x80-0x83. [all …]
|
/openbmc/linux/drivers/net/fddi/skfp/ |
H A D | skfddi.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 41 * 02-Mar-98 CG Created. 43 * 10-Mar-99 CG Support for 2.2.x added. 44 * 25-Mar-99 CG Corrected IRQ routing for SMP (APIC) 45 * 26-Oct-99 CG Fixed compilation error on 2.2.13 46 * 12-Nov-99 CG Source code release 47 * 22-Nov-99 CG Included in kernel source. 48 * 07-May-00 DM 64 bit fixes, new dma interface 49 * 31-Jul-03 DB Audit copy_*_user in skfp_ioctl 51 * 03-Dec-03 SH Convert to PCI device model [all …]
|