/openbmc/linux/Documentation/devicetree/bindings/clock/ |
H A D | xlnx,clocking-wizard.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/clock/xlnx,clocking-wizard.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Shubhrajyoti Datta <shubhrajyoti.datta@amd.com> 20 - xlnx,clocking-wizard 21 - xlnx,clocking-wizard-v5.2 22 - xlnx,clocking-wizard-v6.0 28 "#clock-cells": 33 - description: clock input [all …]
|
/openbmc/linux/arch/nios2/mm/ |
H A D | cacheflush.c | 23 start &= ~(cpuinfo.dcache_line_size - 1); in __flush_dcache() 24 end += (cpuinfo.dcache_line_size - 1); in __flush_dcache() 25 end &= ~(cpuinfo.dcache_line_size - 1); in __flush_dcache() 32 : /* Outputs */ in __flush_dcache() 42 start &= ~(cpuinfo.dcache_line_size - 1); in __invalidate_dcache() 43 end += (cpuinfo.dcache_line_size - 1); in __invalidate_dcache() 44 end &= ~(cpuinfo.dcache_line_size - 1); in __invalidate_dcache() 48 : /* Outputs */ in __invalidate_dcache() 58 start &= ~(cpuinfo.icache_line_size - 1); in __flush_icache() 59 end += (cpuinfo.icache_line_size - 1); in __flush_icache() [all …]
|
/openbmc/u-boot/arch/arm/cpu/armv8/ |
H A D | sec_firmware_asm.S | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 57 * x1: machine nr 61 * @param outputs for secure firmware: 64 * x2: machine nr
|
/openbmc/linux/drivers/s390/char/ |
H A D | uvdevice.c | 1 // SPDX-License-Identifier: GPL-2.0 14 * to existing UV-calls. 36 /* Mapping from IOCTL-nr to UVC-bit */ 48 .supp_uvio_cmds = GENMASK_ULL(UVIO_IOCTL_NUM_IOCTLS - 1, 0), 65 * uvio_uvdev_info() - get information about the uvdevice 73 void __user *user_buf_arg = (void __user *)uv_ioctl->argument_addr; in uvio_uvdev_info() 75 if (uv_ioctl->argument_len < sizeof(uvdev_info)) in uvio_uvdev_info() 76 return -EINVAL; in uvio_uvdev_info() 78 return -EFAULT; in uvio_uvdev_info() 80 uv_ioctl->uv_rc = UVC_RC_EXECUTED; in uvio_uvdev_info() [all …]
|
/openbmc/linux/drivers/soc/renesas/ |
H A D | pwc-rzv2m.c | 1 // SPDX-License-Identifier: GPL-2.0-only 38 writel(reg, priv->base + PWC_GPIO); in rzv2m_pwc_gpio_set() 40 assign_bit(offset, priv->ch_en_bits, value); in rzv2m_pwc_gpio_set() 47 return test_bit(offset, priv->ch_en_bits); in rzv2m_pwc_gpio_get() 51 unsigned int nr, int value) in rzv2m_pwc_gpio_direction_output() argument 53 if (nr > 1) in rzv2m_pwc_gpio_direction_output() 54 return -EINVAL; in rzv2m_pwc_gpio_direction_output() 56 rzv2m_pwc_gpio_set(gc, nr, value); in rzv2m_pwc_gpio_direction_output() 69 .base = -1, 74 struct rzv2m_pwc_priv *priv = data->cb_data; in rzv2m_pwc_poweroff() [all …]
|
/openbmc/linux/drivers/hwmon/ |
H A D | pc87427.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * pc87427.c - hardware monitoring driver for the 4 * National Semiconductor PC87427 Super-I/O chip 10 * PC87427 - 8 4 6 0xF2 13 * Only fans are fully supported so far. Temperatures are in read-only 25 #include <linux/hwmon-sysfs.h> 79 * Super-I/O registers and operations 104 return -EBUSY; in superio_enter() 133 #define BANK_FM(nr) (nr) argument 134 #define BANK_FT(nr) (0x08 + (nr)) argument [all …]
|
H A D | abituguru.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * abituguru.c Copyright (c) 2005-2006 Hans de Goede <hdegoede@redhat.com> 23 #include <linux/hwmon-sysfs.h> 32 /* max nr of sensors in bank1, a bank1 sensor can be in, temp or nc */ 38 /* max nr of sensors in bank2, currently mb's with max 6 fans are known */ 40 /* max nr of pwm outputs, currently mb's with max 5 pwm outputs are known */ 64 * of the time it will reach this status within 30 - 90 ISA reads, and thus we 125 /* Two i/o-ports are used by uGuru */ 143 * correspond to 300-3000 RPM 165 static int bank1_types[ABIT_UGURU_MAX_BANK1_SENSORS] = { -1, -1, -1, -1, -1, [all …]
|
H A D | adm1026.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * adm1026.c - Part of lm_sensors, Linux kernel modules for hardware 19 #include <linux/hwmon-sysfs.h> 20 #include <linux/hwmon-vid.h> 27 static int gpio_input[17] = { -1, -1, -1, -1, -1, -1, -1, -1, -1, 28 -1, -1, -1, -1, -1, -1, -1, -1 }; 29 static int gpio_output[17] = { -1, -1, -1, -1, -1, -1, -1, -1, -1, 30 -1, -1, -1, -1, -1, -1, -1, -1 }; 31 static int gpio_inverted[17] = { -1, -1, -1, -1, -1, -1, -1, -1, -1, 32 -1, -1, -1, -1, -1, -1, -1, -1 }; [all …]
|
H A D | lm85.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * lm85.c - Part of lm_sensors, Linux kernel modules for hardware 7 * Copyright (c) 2003 Margit Schubert-While <margitsw@t-online.de> 9 * Copyright (C) 2007--2014 Jean Delvare <jdelvare@suse.de> 21 #include <linux/hwmon-vid.h> 22 #include <linux/hwmon-sysfs.h> 38 #define LM85_REG_IN(nr) (0x20 + (nr)) argument 39 #define LM85_REG_IN_MIN(nr) (0x44 + (nr) * 2) argument 40 #define LM85_REG_IN_MAX(nr) (0x45 + (nr) * 2) argument 42 #define LM85_REG_TEMP(nr) (0x25 + (nr)) argument [all …]
|
H A D | nct6683.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * nct6683 - Driver for the hardware monitoring functionality of 6 * Copyright (C) 2013 Guenter Roeck <linux@roeck-us.net> 9 * Copyright (C) 2012, 2013 Guenter Roeck <linux@roeck-us.net> 31 #include <linux/hwmon-sysfs.h> 58 * Super-I/O constants and functions 104 return -EBUSY; in superio_enter() 297 /* ------------------------------------------------------- */ 354 u8 nr; member 359 bool s2; /* true if both index and nr are used */ [all …]
|
H A D | w83792d.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * w83792d.c - Part of lm_sensors, Linux kernel modules for hardware 13 * calculation method to in6-in7(measured value, limits) is a little 30 #include <linux/hwmon-sysfs.h> 153 0x87, /* (bit3-0)SmartFan Fan1 tolerance */ 154 0x87, /* (bit7-4)SmartFan Fan2 tolerance */ 155 0x97 /* (bit3-0)SmartFan Fan3 tolerance */ 174 { 0x88, /* (bit3-0) SmartFanII: Fan1 Non-Stop */ 175 0x88, /* (bit7-4) SmartFanII: Fan1 Level 1 */ 176 0xE0, /* (bit7-4) SmartFanII: Fan1 Level 2 */ [all …]
|
/openbmc/linux/drivers/i2c/busses/ |
H A D | i2c-acorn.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 * - PCF8583 real time clock & static RAM 12 #include <linux/i2c-algo-bit.h> 23 * We must preserve all non-i2c output bits in IOC_CONTROL. 25 * SDA outputs as well (which may be different from the 80 .nr = 0,
|
/openbmc/linux/Documentation/devicetree/bindings/interrupt-controller/ |
H A D | samsung,exynos4210-combiner.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/interrupt-controller/samsung,exynos4210-combiner.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Krzysztof Kozlowski <krzk@kernel.org> 19 interrupt sources can be connected to a combiner. The combiner outputs one 26 combiners. For example, a 32-bit interrupt enable/disable config register can 31 - $ref: /schemas/interrupt-controller.yaml# 35 const: samsung,exynos4210-combiner 37 interrupt-controller: true [all …]
|
/openbmc/linux/arch/sparc/include/asm/ |
H A D | io_64.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 11 #include <asm-generic/pci_iomap.h> 73 : /* no outputs */ in __raw_writeb() 81 : /* no outputs */ in __raw_writew() 89 : /* no outputs */ in __raw_writel() 97 : /* no outputs */ in __raw_writeq() 161 : /* no outputs */ in writeb() 171 : /* no outputs */ in writew() 181 : /* no outputs */ in writel() 191 : /* no outputs */ in writeq() [all …]
|
/openbmc/qemu/hw/vfio/ |
H A D | igd.c | 10 * the COPYING file in the top-level directory. 15 #include "qemu/error-report.h" 29 * "Universal Pass-Through" mode, or UPT. Theoretically in UPT mode, nothing 33 * physical outputs. 46 * NB - It is possible to enable physical outputs in UPT mode by supplying 57 * supportable, some of them don't even support VT-d. 62 if ((vdev->device_id & 0xfff) == 0xa84) { in igd_gen() 66 switch (vdev->device_id & 0xff00) { in igd_gen() 76 return -1; in igd_gen() 106 return -1; in igd_gen() [all …]
|
/openbmc/linux/tools/perf/util/ |
H A D | data-convert-json.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 #include "data-convert.h" 31 #include <traceevent/event-parse.h> 41 // Outputs a JSON-encoded string surrounded by quotes with characters escaped. 71 // Outputs an optional comma, newline and indentation to delimit a new value 84 // Outputs a printf format string (with delimiter) as a JSON value. 96 // Outputs a JSON key-value pair where the value is a string. 106 // Outputs a JSON key-value pair where the value is a printf format string. 125 FILE *out = c->out; in output_sample_callchain_entry() 130 if (al && al->sym && al->sym->namelen) { in output_sample_callchain_entry() [all …]
|
/openbmc/linux/arch/sparc/kernel/ |
H A D | smp_64.c | 1 // SPDX-License-Identifier: GPL-2.0 63 { [0 ... NR_CPUS-1] = CPU_MASK_NONE }; 66 [0 ... NR_CPUS-1] = CPU_MASK_NONE }; 69 [0 ... NR_CPUS - 1] = CPU_MASK_NONE }; 127 current_thread_info()->new_child = 0; in smp_callin() 131 current->active_mm = &init_mm; in smp_callin() 156 * initiates the synchonization instead of the slave. -DaveM 177 t0 = tick_ops->get_tick(); in get_delta() 184 t1 = tick_ops->get_tick(); in get_delta() 186 if (t1 - t0 < best_t1 - best_t0) in get_delta() [all …]
|
/openbmc/u-boot/arch/mips/include/asm/ |
H A D | system.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * Copyright (C) 1994 - 1999 by Ralf Baechle 5 * Copyright (C) 1994 - 1999 by Ralf Baechle 8 * vector address value - necessary for "borrowing" vectors. 36 : /* no outputs */ in __sti() 64 : /* no outputs */ in __cli() 191 * switch_to(n) should switch tasks to task nr n, first 238 #endif /* Processor-dependent optimization */ in xchg_u32()
|
/openbmc/linux/drivers/net/ethernet/sfc/falcon/ |
H A D | falcon_boards.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Copyright 2007-2012 Solarflare Communications Inc. 52 #define LM87_IN_LIMITS(nr, _min, _max) \ argument 53 0x2B + (nr) * 2, _max, 0x2C + (nr) * 2, _min 54 #define LM87_AIN_LIMITS(nr, _min, _max) \ argument 55 0x3B + (nr), _max, 0x1A + (nr), _min 91 struct i2c_client *client = i2c_new_client_device(&board->i2c_adap, info); in ef4_init_lm87() 97 /* Read-to-clear alarm/interrupt status */ in ef4_init_lm87() 108 board->hwmon_client = client; in ef4_init_lm87() 118 i2c_unregister_device(falcon_board(efx)->hwmon_client); in ef4_fini_lm87() [all …]
|
/openbmc/linux/arch/alpha/boot/ |
H A D | main.c | 1 // SPDX-License-Identifier: GPL-2.0 22 extern unsigned long switch_to_osf_pal(unsigned long nr, 48 * This function moves into OSF/1 pal-code, and has a temporary 53 * code has the L1 page table identity-map itself in the second PTE 54 * in the L1 page table. Thus the L1-page is virtually addressable 69 pcb_va->ksp = 0; in pal_init() 70 pcb_va->usp = 0; in pal_init() 71 pcb_va->ptbr = L1[1] >> 32; in pal_init() 72 pcb_va->asn = 0; in pal_init() 73 pcb_va->pcc = 0; in pal_init() [all …]
|
H A D | bootp.c | 1 // SPDX-License-Identifier: GPL-2.0 25 extern unsigned long switch_to_osf_pal(unsigned long nr, 54 * This function moves into OSF/1 pal-code, and has a temporary 59 * code has the L1 page table identity-map itself in the second PTE 60 * in the L1 page table. Thus the L1-page is virtually addressable 75 pcb_va->ksp = 0; in pal_init() 76 pcb_va->usp = 0; in pal_init() 77 pcb_va->ptbr = L1[1] >> 32; in pal_init() 78 pcb_va->asn = 0; in pal_init() 79 pcb_va->pcc = 0; in pal_init() [all …]
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
H A D | dp.c | 42 #define AMPERE_IED_HACK(disp) ((disp)->engine.subdev.device->card_type >= GA100) 60 struct nvkm_outp *outp = lt->outp; in nvkm_dp_train_sense() 66 if (lt->repeater) in nvkm_dp_train_sense() 67 addr = DPCD_LTTPR_LANE0_1_STATUS(lt->repeater); in nvkm_dp_train_sense() 71 ret = nvkm_rdaux(outp->dp.aux, addr, <->stat[0], 3); in nvkm_dp_train_sense() 75 if (lt->repeater) in nvkm_dp_train_sense() 76 addr = DPCD_LTTPR_LANE0_1_ADJUST(lt->repeater); in nvkm_dp_train_sense() 80 ret = nvkm_rdaux(outp->dp.aux, addr, <->stat[4], 2); in nvkm_dp_train_sense() 85 ret = nvkm_rdaux(outp->dp.aux, DPCD_LS0C, <->pc2stat, 1); in nvkm_dp_train_sense() 87 lt->pc2stat = 0x00; in nvkm_dp_train_sense() [all …]
|
/openbmc/linux/drivers/tty/serial/8250/ |
H A D | 8250_exar.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Probe module for 8250/16550-type Exar chips PCI serial ports. 111 #define UART_EXAR_TXTRG 0x0a /* Tx FIFO trigger level write-only */ 112 #define UART_EXAR_RXTRG 0x0b /* Rx FIFO trigger level write-only */ 133 * ---- ---- -------- 137 * 3 - <reserved> 141 * 7 - <reserved> 144 * 10 - Red LED 145 * 11..15 - <unused> 162 #define IOT2040_UARTS_GPIO_HI_MODE 0xF8 /* enable & LED as outputs */ [all …]
|
/openbmc/linux/arch/arm/boot/dts/samsung/ |
H A D | exynos5.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd. 13 #include <dt-bindings/interrupt-controller/arm-gic.h> 14 #include <dt-bindings/interrupt-controller/irq.h> 17 interrupt-parent = <&gic>; 18 #address-cells = <1>; 19 #size-cells = <1>; 33 compatible = "simple-bus"; 34 #address-cells = <1>; 35 #size-cells = <1>; [all …]
|
/openbmc/linux/drivers/tty/serial/ |
H A D | sccnxp.c | 1 // SPDX-License-Identifier: GPL-2.0+ 24 #include <linux/platform_data/serial-sccnxp.h> 27 #define SCCNXP_NAME "uart-sccnxp" 93 #define MCTRL_IBIT(cfg, sig) ((((cfg) >> (sig)) & 0xf) - LINE_IP0) 94 #define MCTRL_OBIT(cfg, sig) ((((cfg) >> (sig)) & 0xf) - LINE_OP0) 101 unsigned int nr; member 137 .nr = 2, 148 .nr = 1, 159 .nr = 2, 170 .nr = 1, [all …]
|