Home
last modified time | relevance | path

Searched +full:addr +full:- +full:mode (Results 1 – 25 of 1133) sorted by relevance

12345678910>>...46

/openbmc/linux/arch/s390/boot/
H A Dvmem.c1 // SPDX-License-Identifier: GPL-2.0
35 static void pgtable_populate(unsigned long addr, unsigned long end, enum populate_mode mode);
48 static inline void kasan_populate(unsigned long start, unsigned long end, enum populate_mode mode) in kasan_populate() argument
52 pgtable_populate(start, end, mode); in kasan_populate()
75 * +- 0 -------------+ +- shadow start -+ in kasan_populate_shadow()
78 * +-end of ident map+ / +----------------+ in kasan_populate_shadow()
81 * +- vmalloc area -+ / | mapping | in kasan_populate_shadow()
83 * +- modules vaddr -+ / +----------------+ in kasan_populate_shadow()
85 * +- shadow start -+ +----------------+ in kasan_populate_shadow()
86 * | 1/8 addr space | | zero pg mapping| (untracked) in kasan_populate_shadow()
[all …]
/openbmc/linux/Documentation/devicetree/bindings/leds/
H A Dleds-netxbig.txt5 - compatible: "lacie,netxbig-leds".
6 - gpio-ext: Phandle for the gpio-ext bus.
9 - timers: Timer array. Each timer entry is represented by three integers:
10 Mode (gpio-ext bus), delay_on and delay_off.
12 Each LED is represented as a sub-node of the netxbig-leds device.
14 Required sub-node properties:
15 - mode-addr: Mode register address on gpio-ext bus.
16 - mode-val: Mode to value mapping. Each entry is represented by two integers:
17 A mode and the corresponding value on the gpio-ext bus.
18 - bright-addr: Brightness register address on gpio-ext bus.
[all …]
/openbmc/linux/include/trace/events/
H A Dmigrate.h1 /* SPDX-License-Identifier: GPL-2.0 */
52 unsigned long thp_split, enum migrate_mode mode, int reason),
55 thp_split, mode, reason),
63 __field( enum migrate_mode, mode)
68 __entry->succeeded = succeeded;
69 __entry->failed = failed;
70 __entry->thp_succeeded = thp_succeeded;
71 __entry->thp_failed = thp_failed;
72 __entry->thp_split = thp_split;
73 __entry->mode = mode;
[all …]
/openbmc/linux/drivers/isdn/hardware/mISDN/
H A DmISDNinfineon.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * - ISAC + HSCX
6 * - IPAC and IPAC-X
7 * - ISAC-SX + HSCX
10 * - Dialogic Diva 2.0
11 * - Dialogic Diva 2.0U
12 * - Dialogic Diva 2.01
13 * - Dialogic Diva 2.02
14 * - Sedlbauer Speedwin
15 * - HST Saphir3
[all …]
/openbmc/linux/arch/arm/boot/dts/marvell/
H A Dkirkwood-net5big.dts1 // SPDX-License-Identifier: GPL-2.0
9 * Based on netxbig_v2-setup.c,
14 /dts-v1/;
17 #include "kirkwood-6281.dtsi"
18 #include "kirkwood-netxbig.dtsi"
22 compatible = "lacie,net5big_v2", "lacie,netxbig", "marvell,kirkwood-88f6281", "marvell,kirkwood";
33 compatible = "regulator-fixed";
35 regulator-name = "hdd1power";
36 regulator-min-microvolt = <5000000>;
37 regulator-max-microvolt = <5000000>;
[all …]
H A Dkirkwood-netxbig.dtsi1 // SPDX-License-Identifier: GPL-2.0
9 * Based on netxbig_v2-setup.c,
14 #include <dt-bindings/leds/leds-netxbig.h>
16 #include "kirkwood-6281.dtsi"
21 stdout-path = &uart0;
33 #address-cells = <1>;
34 #size-cells = <1>;
35 compatible = "mxicy,mx25l4005a", "jedec,spi-nor";
37 spi-max-frequency = <20000000>;
38 mode = <0>;
[all …]
/openbmc/linux/arch/sh/kernel/cpu/shmobile/
H A Dpm.c1 // SPDX-License-Identifier: GPL-2.0
27 * Sleep mode is just plain "sleep" instruction
28 * Sleep Self-Refresh mode is above plus RAM put in Self-Refresh
29 * Standby Self-Refresh mode is above plus stopped clocks
37 * U-standby mode is unsupported since it needs bootloader hacks
46 void sh_mobile_call_standby(unsigned long mode) in sh_mobile_call_standby() argument
56 mode, NULL); in sh_mobile_call_standby()
59 if (mode & SUSP_SH_MMU) in sh_mobile_call_standby()
62 /* Let assembly snippet in on-chip memory handle the rest */ in sh_mobile_call_standby()
63 standby_onchip_mem(mode, RAM_BASE); in sh_mobile_call_standby()
[all …]
/openbmc/qemu/util/
H A Duserfaultfd.c2 * Linux UFFD-WP support
10 * later. See the COPYING file in the top-level directory.
15 #include "qemu/error-report.h"
58 return -EINVAL; in uffd_open()
73 int ret = -1; in uffd_query_features()
78 return -1; in uffd_query_features()
99 * Returns non-negative file descriptor or negative value in case of an error
102 * @non_blocking: create UFFD file descriptor for non-blocking operation
115 return -1; in uffd_create_fd()
133 return -1; in uffd_create_fd()
[all …]
/openbmc/u-boot/arch/arm/dts/
H A Dkirkwood-netxbig.dtsi1 // SPDX-License-Identifier: GPL-2.0
9 * Based on netxbig_v2-setup.c,
14 #include <dt-bindings/leds/leds-netxbig.h>
16 #include "kirkwood-6281.dtsi"
21 stdout-path = &uart0;
33 #address-cells = <1>;
34 #size-cells = <1>;
35 compatible = "mxicy,mx25l4005a", "jedec,spi-nor", "spi-flash";
37 spi-max-frequency = <20000000>;
38 mode = <0>;
[all …]
/openbmc/linux/drivers/usb/dwc2/
H A Dcore.c1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
3 * core.c - DesignWare HS OTG Controller common routines
5 * Copyright (C) 2004-2013 Synopsys, Inc.
18 #include <linux/dma-mapping.h>
31 * dwc2_backup_global_registers() - Backup global controller registers.
41 dev_dbg(hsotg->dev, "%s\n", __func__); in dwc2_backup_global_registers()
44 gr = &hsotg->gr_backup; in dwc2_backup_global_registers()
46 gr->gotgctl = dwc2_readl(hsotg, GOTGCTL); in dwc2_backup_global_registers()
47 gr->gintmsk = dwc2_readl(hsotg, GINTMSK); in dwc2_backup_global_registers()
48 gr->gahbcfg = dwc2_readl(hsotg, GAHBCFG); in dwc2_backup_global_registers()
[all …]
/openbmc/linux/drivers/net/wan/
H A Dslic_ds26522.c1 // SPDX-License-Identifier: GPL-2.0-or-later
37 static void slic_write(struct spi_device *spi, u16 addr, in slic_write() argument
42 addr = bitrev16(addr) >> 1; in slic_write()
44 temp[0] = (u8)((addr >> 8) & 0x7f); in slic_write()
45 temp[1] = (u8)(addr & 0xfe); in slic_write()
48 /* write spi addr and value */ in slic_write()
52 static u8 slic_read(struct spi_device *spi, u16 addr) in slic_read() argument
57 addr = bitrev16(addr) >> 1; in slic_read()
58 temp[0] = (u8)(((addr >> 8) & 0x7f) | 0x80); in slic_read()
59 temp[1] = (u8)(addr & 0xfe); in slic_read()
[all …]
/openbmc/phosphor-power/tools/i2c/
H A Di2c_interface.hpp19 uint8_t addr, int errorCode = 0) : in I2CException() argument
20 bus(bus), addr(addr), errorCode(errorCode) in I2CException()
23 ss << "I2CException: " << info << ": bus " << bus << ", addr 0x" in I2CException()
24 << std::hex << static_cast<int>(addr); in I2CException()
39 uint8_t addr; member in i2c::I2CException
60 /** @brief The block transaction mode */
61 enum class Mode enum in i2c::I2CInterface
83 * The interface can later be re-opened by calling open().
96 * @param[out] data - The data read from the i2c device
104 * @param[in] addr - The register address of the i2c device
[all …]
/openbmc/qemu/hw/display/
H A Dtrace-events4 jazz_led_read(uint64_t addr, uint8_t val) "read addr=0x%"PRIx64": 0x%x"
5 jazz_led_write(uint64_t addr, uint8_t new) "write addr=0x%"PRIx64": 0x%x"
13 g364fb_read(uint64_t addr, uint32_t val) "read addr=0x%"PRIx64": 0x%x"
14 g364fb_write(uint64_t addr, uint32_t new) "write addr=0x%"PRIx64": 0x%x"
27 vmware_update_rect_delayed_flush(void) "display update FIFO full - forcing flush"
29 # virtio-gpu-base.c
32 # virtio-gpu-3d.c
33 # virtio-gpu.c
56 virtio_gpu_inc_inflight_fences(uint32_t inflight) "in-flight+ %u"
57 virtio_gpu_dec_inflight_fences(uint32_t inflight) "in-flight- %u"
[all …]
/openbmc/linux/drivers/leds/
H A Dleds-netxbig.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * leds-netxbig.c - Driver for the 2Big and 5Big Network series LEDs
21 struct gpio_desc **addr; member
42 enum netxbig_led_mode mode; member
68 static void gpio_ext_set_addr(struct netxbig_gpio_ext *gpio_ext, int addr) in gpio_ext_set_addr() argument
72 for (pin = 0; pin < gpio_ext->num_addr; pin++) in gpio_ext_set_addr()
73 gpiod_set_value(gpio_ext->addr[pin], (addr >> pin) & 1); in gpio_ext_set_addr()
80 for (pin = 0; pin < gpio_ext->num_data; pin++) in gpio_ext_set_data()
81 gpiod_set_value(gpio_ext->data[pin], (data >> pin) & 1); in gpio_ext_set_data()
87 gpiod_set_value(gpio_ext->enable, 0); in gpio_ext_enable_select()
[all …]
/openbmc/linux/Documentation/devicetree/bindings/powerpc/fsl/
H A Dmpc5200.txt2 ----------------------------
4 (c) 2006-2009 Secret Lab Technologies Ltd
8 ------------------
9 For mpc5200 on-chip devices, the format for each compatible value is
10 <chip>-<device>[-<mode>]. The OS should be able to match a device driver
21 "fsl,mpc5200-<device>".
26 devices have extra functions but still have a backwards compatible mode.
29 compatible = "fsl,mpc5200b-<device>","fsl,mpc5200-<device>";
34 ie. ethernet on mpc5200: compatible = "fsl,mpc5200-fec";
35 ethernet on mpc5200b: compatible = "fsl,mpc5200b-fec", "fsl,mpc5200-fec";
[all …]
/openbmc/linux/arch/microblaze/kernel/
H A Dexceptions.c4 * Copyright (C) 2008-2009 Michal Simek <monstr@monstr.eu>
13 * This file handles the architecture-dependent parts of hardware exceptions
56 _exception(SIGTRAP, regs, TRAP_BRKPT, regs->r16); in sw_exception()
57 flush_dcache_range(regs->r16, regs->r16 + 0x4); in sw_exception()
58 flush_icache_range(regs->r16, regs->r16 + 0x4); in sw_exception()
61 void _exception(int signr, struct pt_regs *regs, int code, unsigned long addr) in _exception() argument
64 die("Exception in kernel mode", regs, signr); in _exception()
66 force_sig_fault(signr, code, (void __user *)addr); in _exception()
70 int fsr, int addr) in full_exception() argument
72 addr = regs->pc; in full_exception()
[all …]
/openbmc/u-boot/drivers/power/regulator/
H A Ds2mps11_regulator.c1 // SPDX-License-Identifier: GPL-2.0
16 #define MODE(_id, _val, _name) { \ macro
24 MODE(OP_OFF, S2MPS11_BUCK_MODE_OFF, "OFF"),
25 MODE(OP_STANDBY, S2MPS11_BUCK_MODE_STANDBY, "ON/OFF"),
26 MODE(OP_ON, S2MPS11_BUCK_MODE_STANDBY, "ON"),
30 MODE(OP_OFF, S2MPS11_LDO_MODE_OFF, "OFF"),
31 MODE(OP_STANDBY, S2MPS11_LDO_MODE_STANDBY, "ON/OFF"),
32 MODE(OP_STANDBY_LPM, S2MPS11_LDO_MODE_STANDBY_LPM, "ON/LPM"),
33 MODE(OP_ON, S2MPS11_LDO_MODE_ON, "ON"),
78 return -EINVAL; in s2mps11_buck_hex2volt()
[all …]
/openbmc/u-boot/board/freescale/p1022ds/
H A Ddiu.c1 // SPDX-License-Identifier: GPL-2.0+
3 * Copyright 2010-2011 Freescale Semiconductor, Inc.
37 * Note that we need to byte-swap the value before it's written to the AD
78 temp = in_be32(&gur->clkdvdr) & 0x2000FFFF; in diu_set_pixel_clock()
79 out_be32(&gur->clkdvdr, temp); /* turn off clock */ in diu_set_pixel_clock()
80 out_be32(&gur->clkdvdr, temp | 0x80000000 | ((pixval & 0x1F) << 16)); in diu_set_pixel_clock()
92 * Indirect mode requires both BR0 and BR1 to be set to "GPCM", in platform_diu_init()
96 * In FCM mode, writes go to the NAND controller, which does not pass in platform_diu_init()
98 * mode, since we don't care about what's behind the localbus any in platform_diu_init()
132 * We know that the upper bits are 0 for 32-bit addressing, or 0xF for in platform_diu_init()
[all …]
/openbmc/u-boot/arch/arm/mach-uniphier/boot-device/
H A Dboot-device-ld11.c1 // SPDX-License-Identifier: GPL-2.0+
3 * Copyright (C) 2016-2017 Socionext Inc.
12 #include "boot-device.h"
15 {BOOT_DEVICE_NAND, "NAND (Mirror 8, ECC 8, EraseSize 128KB, Addr 4)"},
16 {BOOT_DEVICE_NAND, "NAND (Mirror 8, ECC 16, EraseSize 128KB, Addr 4)"},
17 {BOOT_DEVICE_NAND, "NAND (Mirror 8, ECC 8, EraseSize 128KB, Addr 5)"},
18 {BOOT_DEVICE_NAND, "NAND (Mirror 8, ECC 16, EraseSize 128KB, Addr 5)"},
19 {BOOT_DEVICE_NAND, "NAND (Mirror 8, ECC 8, EraseSize 256KB, Addr 5)"},
20 {BOOT_DEVICE_NAND, "NAND (Mirror 8, ECC 16, EraseSize 256KB, Addr 5)"},
21 {BOOT_DEVICE_NAND, "NAND (Mirror 8, ECC 8, EraseSize 512KB, Addr 5)"},
[all …]
/openbmc/linux/drivers/net/ethernet/netronome/nfp/nfpcore/
H A Dnfp_target.c1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 /* Copyright (C) 2015-2018 Netronome Systems, Inc. */
26 * 32-bit or 64-bit words. All others are not listed.
40 return -EINVAL; in target_rw()
51 return -EINVAL; in nfp6000_nbi_dma()
62 return -EINVAL; in nfp6000_nbi_stats()
73 return -EINVAL; in nfp6000_nbi_tm()
84 return -EINVAL; in nfp6000_nbi_ppc()
102 * 32-bit or 64-bit words. All others are not listed.
150 return -EINVAL; in nfp6000_mu_common()
[all …]
/openbmc/linux/drivers/crypto/ccree/
H A Dcc_hw_queue_defs.h1 /* SPDX-License-Identifier: GPL-2.0 */
2 /* Copyright (C) 2012-2019 ARM Limited (or its affiliates). */
21 #define CC_REG_HIGH(name) (CC_REG_LOW(name) + name ## _BIT_SIZE - 1)
75 DESC_DIRECTION_ILLEGAL = -1,
83 DMA_MODE_NULL = -1,
92 FLOW_MODE_NULL = -1,
180 #define CC_LAST_HW_KEY_SLOT (CC_FIRST_HW_KEY_SLOT + CC_NUM_HW_KEY_SLOTS - 1)
185 CC_NUM_CPP_KEY_SLOTS - 1)
208 * hw_desc_init() - Init a HW descriptor struct
217 * set_queue_last_ind_bit() - Indicate the end of current HW descriptors flow
[all …]
/openbmc/linux/arch/parisc/include/asm/
H A Dfloppy.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
4 * Linux/PA-RISC Project (http://www.parisc-linux.org/)
23 (!(vdma) && ((unsigned long)(a)/K_64 != ((unsigned long)(a) + (s) - 1) / K_64))
42 #define fd_dma_setup(addr, size, mode, io) SW._dma_setup(addr, size, mode, io) argument
77 for (lcount = virtual_dma_count; lcount; lcount--) { in floppy_hardint()
168 static void _fd_dma_mem_free(unsigned long addr, unsigned long size) in _fd_dma_mem_free() argument
170 if((unsigned int) addr >= (unsigned int) high_memory) in _fd_dma_mem_free()
171 return vfree((void *)addr); in _fd_dma_mem_free()
173 free_pages(addr, get_order(size)); in _fd_dma_mem_free()
176 #define fd_dma_mem_free(addr, size) _fd_dma_mem_free(addr, size) argument
[all …]
/openbmc/u-boot/board/xilinx/zynqmp/
H A Dcmds.c1 // SPDX-License-Identifier: GPL-2.0
16 u64 src_addr, addr; in do_zynqmp_verify_secure() local
38 return -EINVAL; in do_zynqmp_verify_secure()
57 addr = (u64)ret_payload[1] << 32 | ret_payload[2]; in do_zynqmp_verify_secure()
58 printf("Verified image at 0x%llx\n", addr); in do_zynqmp_verify_secure()
59 env_set_hex("zynqmp_verified_img_addr", addr); in do_zynqmp_verify_secure()
68 u32 read_val, addr; in do_zynqmp_mmio_read() local
71 if (argc != cmdtp->maxargs) in do_zynqmp_mmio_read()
74 addr = simple_strtoul(argv[2], NULL, 16); in do_zynqmp_mmio_read()
76 ret = zynqmp_mmio_read(addr, &read_val); in do_zynqmp_mmio_read()
[all …]
/openbmc/u-boot/drivers/gpio/
H A Ddb8500_gpio.c2 * Code ported from Nomadik GPIO driver in ST-Ericsson Linux kernel code.
4 * copy-paste it to U-Boot.
11 * Ported to U-Boot by:
29 * The GPIO module in the db8500 Systems-on-Chip is an
37 #define GPIO_BLOCK(pin) (((pin + GPIO_PINS_PER_BLOCK) >> 5) - 1)
83 /* Can only be called from config_pin. Don't configure alt-mode directly */
84 static void gpio_set_mode(unsigned gpio, enum db8500_gpio_alt mode) in gpio_set_mode() argument
86 void __iomem *addr = get_gpio_addr(gpio); in gpio_set_mode() local
91 afunc = readl(addr + DB8500_GPIO_AFSLA) & ~bit; in gpio_set_mode()
92 bfunc = readl(addr + DB8500_GPIO_AFSLB) & ~bit; in gpio_set_mode()
[all …]
/openbmc/linux/tools/testing/selftests/net/
H A Dgre_gso.sh2 # SPDX-License-Identifier: GPL-2.0
7 # Kselftest framework requirement - SKIP code is 4.
10 # all tests in this script. Can be overridden with -t option
16 IP="ip -netns ns1"
27 if [ ${rc} -eq ${expected} ]; then
28 printf " TEST: %-60s [ OK ]\n" "${msg}"
33 printf " TEST: %-60s [FAIL]\n" "${msg}"
52 set -e
69 rm -rf $TMPFILE
70 [ -n "$PID" ] && kill $PID
[all …]

12345678910>>...46