Home
last modified time | relevance | path

Searched +full:3 +full:base +full:- +full:x (Results 1 – 25 of 1129) sorted by relevance

12345678910>>...46

/openbmc/linux/drivers/clk/berlin/
H A Dberlin2-avpll.c1 // SPDX-License-Identifier: GPL-2.0
6 * Alexandre Belloni <alexandre.belloni@free-electrons.com>
8 #include <linux/clk-provider.h>
15 #include "berlin2-avpll.h"
19 * VCO with 8 channels each, channel 8 is the odd-one-out and does
31 #define AVPLL_CTRL(x) ((x) * 0x4) argument
40 #define VCO_REG1V45_SEL(x) ((x) << VCO_REG1V45_SEL_SHIFT) argument
44 #define VCO_REG1V45_SEL_1V55 VCO_REG1V45_SEL(3)
45 #define VCO_REG1V45_SEL_MASK VCO_REG1V45_SEL(3)
49 #define VCO_VTHCAL(x) ((x) << VCO_VTHCAL_SHIFT) argument
[all …]
/openbmc/linux/drivers/rtc/
H A Drtc-88pm80x.c1 // SPDX-License-Identifier: GPL-2.0
53 regmap_update_bits(info->map, PM800_RTC_CONTROL, mask | PM800_ALARM1_EN, in rtc_update_handler()
55 rtc_update_irq(info->rtc_dev, 1, RTC_AF); in rtc_update_handler()
64 regmap_update_bits(info->map, PM800_RTC_CONTROL, in pm80x_rtc_alarm_irq_enable()
67 regmap_update_bits(info->map, PM800_RTC_CONTROL, in pm80x_rtc_alarm_irq_enable()
82 next->tm_year = now->tm_year; in rtc_next_alarm_time()
83 next->tm_mon = now->tm_mon; in rtc_next_alarm_time()
84 next->tm_mday = now->tm_mday; in rtc_next_alarm_time()
85 next->tm_hour = alrm->tm_hour; in rtc_next_alarm_time()
86 next->tm_min = alrm->tm_min; in rtc_next_alarm_time()
[all …]
H A Drtc-88pm860x.c1 // SPDX-License-Identifier: GPL-2.0-only
49 #define ALARM_EN (1 << 3)
62 pm860x_set_bits(info->i2c, PM8607_RTC1, mask | ALARM_EN, mask); in rtc_update_handler()
63 rtc_update_irq(info->rtc_dev, 1, RTC_AF); in rtc_update_handler()
72 pm860x_set_bits(info->i2c, PM8607_RTC1, ALARM_EN, ALARM_EN); in pm860x_rtc_alarm_irq_enable()
74 pm860x_set_bits(info->i2c, PM8607_RTC1, ALARM_EN, 0); in pm860x_rtc_alarm_irq_enable()
82 unsigned long ticks, base, data; in pm860x_rtc_read_time() local
84 pm860x_page_bulk_read(info->i2c, REG0_ADDR, 8, buf); in pm860x_rtc_read_time()
85 dev_dbg(info->dev, "%x-%x-%x-%x-%x-%x-%x-%x\n", buf[0], buf[1], in pm860x_rtc_read_time()
86 buf[2], buf[3], buf[4], buf[5], buf[6], buf[7]); in pm860x_rtc_read_time()
[all …]
/openbmc/linux/drivers/gpu/drm/radeon/
H A Datom.c38 #include "atom-names.h"
39 #include "atom-bits.h"
45 #define ATOM_COND_BELOW 3
58 #define PLL_DATA 3
83 {1, 2, 3, 0},
84 {1, 2, 3, 0},
85 {1, 2, 3, 0},
91 static int atom_def_dst[8] = { 0, 0, 1, 2, 0, 1, 2, 3 };
97 while (n--) in debug_print_spaces()
108 static uint32_t atom_iio_execute(struct atom_context *ctx, int base, in atom_iio_execute() argument
[all …]
/openbmc/linux/drivers/scsi/
H A Dnsp32_debug.c2 * Workbit NinjaSCSI-32Bi/UDE PCI/CardBus SCSI Host Bus Adapter driver
15 /* 00-03 */ "Test Unit Ready", "Rezero Unit", unknown, "Request Sense",
16 /* 04-07 */ "Format Unit", "Read Block Limits", unknown, "Reassign Blocks",
17 /* 08-0d */ "Read (6)", unknown, "Write (6)", "Seek (6)", unknown, unknown,
18 /* 0e-12 */ unknown, "Read Reverse", "Write Filemarks", "Space", "Inquiry",
19 /* 13-16 */ unknown, "Recover Buffered Data", "Mode Select", "Reserve",
20 /* 17-1b */ "Release", "Copy", "Erase", "Mode Sense", "Start/Stop Unit",
21 /* 1c-1d */ "Receive Diagnostic", "Send Diagnostic",
22 /* 1e-1f */ "Prevent/Allow Medium Removal", unknown,
27 /* 20-22 */ unknown, unknown, unknown,
[all …]
H A Dnsp32.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * NinjaSCSI-32Bi Cardbus, NinjaSCSI-32UDE PCI/CardBus SCSI driver
28 #include <linux/dma-mapping.h>
60 MODULE_DESCRIPTION("Workbit NinjaSCSI-32Bi/UDE CardBus/PCI SCSI host bus adapter module");
130 static nsp32_hw_data nsp32_data_base; /* probe <-> detect glue */
146 {0x7, 3, 0x32, 0x32, SMPL_20M}, /* 5.0 : 200ns, 100ns */
147 {0x8, 3, 0x33, 0x38, SMPL_10M}, /* 4.4 : 225ns, 100ns */
148 {0x9, 3, 0x39, 0x3e, SMPL_10M}, /* 4.0 : 250ns, 100ns */
158 {0x7, 3, 0x58, 0x64, SMPL_10M}, /* 2.5 : 400ns, 200ns */
159 {0x8, 3, 0x65, 0x70, SMPL_10M}, /* 2.2 : 450ns, 200ns */
[all …]
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/
H A Datom.c38 #include "atom-names.h"
39 #include "atom-bits.h"
45 #define ATOM_COND_BELOW 3
58 #define PLL_DATA 3
84 {1, 2, 3, 0},
85 {1, 2, 3, 0},
86 {1, 2, 3, 0},
92 static int atom_def_dst[8] = { 0, 0, 1, 2, 0, 1, 2, 3 };
98 while (n--) in debug_print_spaces()
109 static uint32_t atom_iio_execute(struct atom_context *ctx, int base, in atom_iio_execute() argument
[all …]
/openbmc/linux/drivers/net/ethernet/qualcomm/emac/
H A Demac-sgmii-fsm9900.c1 // SPDX-License-Identifier: GPL-2.0-only
2 /* Copyright (c) 2015-2016, The Linux Foundation. All rights reserved.
50 #define PLL_IPSETI(x) ((x) & 0x3f) argument
52 #define PLL_CPSETI(x) ((x) & 0xff) argument
54 #define PLL_IPSETP(x) ((x) & 0x3f) argument
56 #define PLL_CPSETP(x) ((x) & 0x1f) argument
58 #define PLL_RCTRL(x) (((x) & 0xf) << 4) argument
59 #define PLL_CCTRL(x) ((x) & 0xf) argument
61 #define LANE_MODE(x) ((x) & 0x1f) argument
64 #define SYSCLK_AC_COUPLE BIT(3)
[all …]
/openbmc/u-boot/arch/powerpc/include/asm/
H A Dfsl_pci.h1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * Copyright 2007,2009-2012 Freescale Semiconductor, Inc.
17 /* Freescale-specific PCI config registers */
40 u32 potar; /* 0x00 - Address */
41 u32 potear; /* 0x04 - Address Extended */
42 u32 powbar; /* 0x08 - Window Base Address */
44 u32 powar; /* 0x10 - Window Attributes */
50 u32 res2[3];
54 u32 pitar; /* 0x00 - Address */
56 u32 piwbar; /* 0x08 - Window Base Address */
[all …]
/openbmc/linux/drivers/i3c/master/mipi-i3c-hci/
H A Dext_caps.c1 // SPDX-License-Identifier: BSD-3-Clause
24 static int hci_extcap_hardware_id(struct i3c_hci *hci, void __iomem *base) in hci_extcap_hardware_id() argument
26 hci->vendor_mipi_id = readl(base + 0x04); in hci_extcap_hardware_id()
27 hci->vendor_version_id = readl(base + 0x08); in hci_extcap_hardware_id()
28 hci->vendor_product_id = readl(base + 0x0c); in hci_extcap_hardware_id()
30 dev_info(&hci->master.dev, "vendor MIPI ID: %#x\n", hci->vendor_mipi_id); in hci_extcap_hardware_id()
31 dev_info(&hci->master.dev, "vendor version ID: %#x\n", hci->vendor_version_id); in hci_extcap_hardware_id()
32 dev_info(&hci->master.dev, "vendor product ID: %#x\n", hci->vendor_product_id); in hci_extcap_hardware_id()
35 switch (hci->vendor_mipi_id) { in hci_extcap_hardware_id()
37 hci->quirks |= HCI_QUIRK_RAW_CCC; in hci_extcap_hardware_id()
[all …]
/openbmc/linux/sound/soc/sof/intel/
H A Dpci-tng.c1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause)
6 // Copyright(c) 2018-2021 Intel Corporation. All rights reserved.
13 #include <sound/soc-acpi.h>
14 #include <sound/soc-acpi-intel-match.h>
18 #include "../sof-pci-dev.h"
19 #include "../sof-audio.h"
28 .sof_tplg_filename = "sof-byt.tplg",
54 struct snd_sof_pdata *pdata = sdev->pdata; in tangier_pci_probe()
55 const struct sof_dev_desc *desc = pdata->desc; in tangier_pci_probe()
56 struct pci_dev *pci = to_pci_dev(sdev->dev); in tangier_pci_probe()
[all …]
/openbmc/u-boot/include/faraday/
H A Dftsdmc021.h1 /* SPDX-License-Identifier: GPL-2.0+ */
4 * Po-Yu Chuang <ratbert@faraday-tech.com>
11 * FTSDMC021 - SDRAM Controller
18 unsigned int tp1; /* 0x00 - SDRAM Timing Parameter 1 */
19 unsigned int tp2; /* 0x04 - SDRAM Timing Parameter 2 */
20 unsigned int cr1; /* 0x08 - SDRAM Configuration Reg 1 */
21 unsigned int cr2; /* 0x0c - SDRAM Configuration Reg 2 */
22 unsigned int bank0_bsr; /* 0x10 - Ext. Bank Base/Size Reg 0 */
23 unsigned int bank1_bsr; /* 0x14 - Ext. Bank Base/Size Reg 1 */
24 unsigned int bank2_bsr; /* 0x18 - Ext. Bank Base/Size Reg 2 */
[all …]
/openbmc/linux/drivers/media/platform/samsung/exynos-gsc/
H A Dgsc-regs.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright (c) 2011 - 2012 Samsung Electronics Co., Ltd.
6 * Register definition file for Samsung G-Scaler driver
12 /* G-Scaler enable */
18 /* G-Scaler S/W reset */
22 /* G-Scaler IRQ */
29 /* G-Scaler input control */
36 #define GSC_IN_ROT_180 (3 << 16)
39 #define GSC_IN_RGB_TYPE_MASK (3 << 14)
40 #define GSC_IN_RGB_HD_NARROW (3 << 14)
[all …]
/openbmc/linux/drivers/gpu/drm/exynos/
H A Dregs-gsc.h1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /* linux/drivers/gpu/drm/exynos/regs-gsc.h
7 * Register definition file for Samsung G-Scaler driver
13 /* G-Scaler enable */
28 #define GSC_ENABLE_QOS_ENABLE (1 << 3)
33 /* G-Scaler S/W reset */
37 /* G-Scaler IRQ */
45 /* G-Scaler input control */
56 #define GSC_IN_ROT_180 (3 << 16)
59 #define GSC_IN_RGB_TYPE_MASK (3 << 14)
[all …]
/openbmc/qemu/tests/qemu-iotests/
H A D122.out2 Formatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=67108864
4 64 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
6 === Check allocation status regression with -B ===
8 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 backing_file=TEST_DIR/t.IMGFMT.base backin…
10 3 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
13 0x300000 0x3d00000 TEST_DIR/t.IMGFMT.base
17 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 backing_file=TEST_DIR/t.IMGFMT.base backin…
19 3 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
21 3 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
23 3 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
[all …]
/openbmc/linux/drivers/scsi/pcmcia/
H A Dnsp_cs.c3 NinjaSCSI-3 / NinjaSCSI-32Bi PCMCIA SCSI host adapter card driver
21 I-O DATA PCSC-F (Workbit NinjaSCSI-3)
22 "WBT", "NinjaSCSI-3", "R1.0"
23 I-O DATA CBSC-II (Workbit NinjaSCSI-32Bi in 16bit mode)
56 MODULE_DESCRIPTION("WorkBit NinjaSCSI-3 / NinjaSCSI-32Bi(16bit) PCMCIA SCSI host adapter module");
81 .name = "WorkBit NinjaSCSI-3/32Bi(16bit)",
90 .dma_boundary = PAGE_SIZE - 1,
94 static nsp_hw_data nsp_data_base; /* attach <-> detect glue */
116 #define NSP_DEBUG_INTR BIT(3)
169 printk("nsp_cs-debug: 0x%x %s (%d): %s\n", mask, func, line, buf); in nsp_cs_dmessage()
[all …]
/openbmc/linux/tools/perf/tests/shell/
H A Ddaemon.sh3 # SPDX-License-Identifier: GPL-2.0
9 local base=$3
17 line_base=`echo "${line}" | awk 'BEGIN { FS = ":" } ; { print $3 }'`
30 if [ "${base}" != "${line_base}" ]; then
31 echo "FAILED: wrong base"
55 local run=$3
56 local base=$4
65 line_run=`echo "${line}" | awk 'BEGIN { FS = ":" } ; { print $3 }'`
87 if [ "${base}" != "${line_base}" ]; then
88 echo "FAILED: wrong base"
[all …]
/openbmc/linux/drivers/input/touchscreen/
H A Dsun4i-ts.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Copyright (C) 2013 - 2014 Hans de Goede <hdegoede@redhat.com>
12 * The sun4i-ts controller is capable of detecting a second touch, but when a
18 * open / close movement, and then reports emulated multi-touch events around
19 * the last touch coordinate (as the dual-touch coordinates are worthless).
26 * (looks like the description in the A20 User Manual v1.3 is better
54 #define ADC_FIRST_DLY(x) ((x) << 24) /* 8 bits */ argument
55 #define ADC_FIRST_DLY_MODE(x) ((x) << 23) argument
56 #define ADC_CLK_SEL(x) ((x) << 22) argument
57 #define ADC_CLK_DIV(x) ((x) << 20) /* 3 bits */ argument
[all …]
/openbmc/linux/tools/testing/selftests/mm/
H A Dmap_fixed_noreplace.c1 // SPDX-License-Identifier: GPL-2.0
30 addr = mmap(NULL, size, PROT_NONE, flags, -1, 0); in find_base_addr()
51 //let's find a base addr that is free before we start the tests in main()
65 p = mmap((void *)addr, size, PROT_NONE, flags, -1, 0); in main()
67 printf("mmap() @ 0x%lx-0x%lx p=%p result=%m\n", addr, addr + size, p); in main()
85 size = 3 * page_size; in main()
86 p = mmap((void *)addr, size, PROT_NONE, flags, -1, 0); in main()
87 printf("mmap() @ 0x%lx-0x%lx p=%p result=%m\n", addr, addr + size, p); in main()
97 * base | free | new in main()
100 * +3 | mapped | new in main()
[all …]
/openbmc/linux/tools/testing/selftests/x86/
H A Dfsgsbase.c1 // SPDX-License-Identifier: GPL-2.0-only
4 * Copyright (c) 2014-2016 Andy Lutomirski
32 # error This test is 64-bit only
74 segv_addr = (unsigned long)si->si_addr; in sigsegv()
76 ctx->uc_mcontext.gregs[REG_RIP] += 4; /* Skip the faulting mov */ in sigsegv()
131 /* Use a constant-length instruction here. */ in read_base()
161 unsigned long base; in check_gs_value() local
164 printf("[RUN]\tARCH_SET_GS to 0x%lx\n", value); in check_gs_value()
169 base = read_base(GS); in check_gs_value()
170 if (base == value) { in check_gs_value()
[all …]
/openbmc/u-boot/board/keymile/km83xx/
H A Dkm83xx.c1 // SPDX-License-Identifier: GPL-2.0+
12 * (C) Copyright 2008 - 2010
38 {0, 1, 3, 0, 2}, /* MDIO */
41 /* UCC4 - UEC */
51 {2, 15, 2, 0, 1}, /* TX_CLK - CLK16 */
52 {2, 16, 2, 0, 1}, /* RX_CLK - CLK17 */
54 /* DUART - UART2 */
57 {5, 3, 2, 0, 2}, /* UART2_SIN */
58 {5, 1, 2, 0, 3}, /* UART2_CTS */
61 {0, 16, 1, 0, 3}, /* LA00 */
[all …]
/openbmc/linux/drivers/spi/
H A Dspi-intel.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2016 - 2022, Intel Corporation
13 #include <linux/mtd/spi-nor.h>
17 #include <linux/spi/spi-mem.h>
19 #include "spi-intel.h"
21 /* Offsets are from @ispi->base */
60 /* Offset is from @ispi->pregs */
68 /* Offsets are from @ispi->sregs */
80 #define SSFSTS_CTL_FCERR BIT(3)
91 #define OPTYPE_WRITE_WITH_ADDR 3
[all …]
/openbmc/linux/drivers/gpu/drm/sun4i/
H A Dsun8i_mixer.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
15 #define SUN8I_MIXER_SIZE(w, h) (((h) - 1) << 16 | ((w) - 1))
16 #define SUN8I_MIXER_COORD(x, y) ((y) << 16 | (x)) argument
38 #define SUN8I_MIXER_BLEND_PIPE_CTL(base) ((base) + 0) argument
39 #define SUN8I_MIXER_BLEND_ATTR_FCOLOR(base, x) ((base) + 0x4 + 0x10 * (x)) argument
40 #define SUN8I_MIXER_BLEND_ATTR_INSIZE(base, x) ((base) + 0x8 + 0x10 * (x)) argument
41 #define SUN8I_MIXER_BLEND_ATTR_COORD(base, x) ((base) + 0xc + 0x10 * (x)) argument
42 #define SUN8I_MIXER_BLEND_ROUTE(base) ((base) + 0x80) argument
43 #define SUN8I_MIXER_BLEND_PREMULTIPLY(base) ((base) + 0x84) argument
44 #define SUN8I_MIXER_BLEND_BKCOLOR(base) ((base) + 0x88) argument
[all …]
/openbmc/u-boot/drivers/net/pfe_eth/
H A Dpfe_cmd.c1 // SPDX-License-Identifier: GPL-2.0+
3 * Copyright 2015-2016 Freescale Semiconductor, Inc.
21 if (argc >= 3 && strcmp(argv[2], "pmem") == 0) { in pfe_command_pe()
22 if (argc >= 4 && strcmp(argv[3], "read") == 0) { in pfe_command_pe()
46 if (!(i & 3)) in pfe_command_pe()
47 printf("%08x: ", addr); in pfe_command_pe()
48 printf("%08x%s", val, i == num - 1 || (i & 3) in pfe_command_pe()
49 == 3 ? "\n" : " "); in pfe_command_pe()
55 } else if (argc >= 3 && strcmp(argv[2], "dmem") == 0) { in pfe_command_pe()
56 if (argc >= 4 && strcmp(argv[3], "read") == 0) { in pfe_command_pe()
[all …]
/openbmc/linux/drivers/gpu/drm/i915/display/
H A Dintel_crtc_state_dump.c1 // SPDX-License-Identifier: MIT
17 drm_dbg_kms(&i915->drm, "crtc timings: clock=%d, " in intel_dump_crtc_timings()
18 "hd=%d hb=%d-%d hs=%d-%d ht=%d, " in intel_dump_crtc_timings()
19 "vd=%d vb=%d-%d vs=%d-%d vt=%d, " in intel_dump_crtc_timings()
20 "flags=0x%x\n", in intel_dump_crtc_timings()
21 mode->crtc_clock, in intel_dump_crtc_timings()
22 mode->crtc_hdisplay, mode->crtc_hblank_start, mode->crtc_hblank_end, in intel_dump_crtc_timings()
23 mode->crtc_hsync_start, mode->crtc_hsync_end, mode->crtc_htotal, in intel_dump_crtc_timings()
24 mode->crtc_vdisplay, mode->crtc_vblank_start, mode->crtc_vblank_end, in intel_dump_crtc_timings()
25 mode->crtc_vsync_start, mode->crtc_vsync_end, mode->crtc_vtotal, in intel_dump_crtc_timings()
[all …]

12345678910>>...46