Home
last modified time | relevance | path

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

12345678910>>...45

/kernel/linux/linux-6.6/drivers/clk/berlin/
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 …]
/kernel/linux/linux-5.10/drivers/clk/berlin/
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 …]
/kernel/linux/linux-6.6/drivers/rtc/
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 …]
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 …]
/kernel/linux/linux-5.10/drivers/rtc/
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 …]
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 …]
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/
Datom.c37 #include "atom-names.h"
38 #include "atom-bits.h"
44 #define ATOM_COND_BELOW 3
57 #define PLL_DATA 3
82 {1, 2, 3, 0},
83 {1, 2, 3, 0},
84 {1, 2, 3, 0},
90 static int atom_def_dst[8] = { 0, 0, 1, 2, 0, 1, 2, 3 };
96 while (n--) in debug_print_spaces()
107 static uint32_t atom_iio_execute(struct atom_context *ctx, int base, in atom_iio_execute() argument
[all …]
/kernel/linux/linux-6.6/drivers/gpu/drm/radeon/
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 …]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
Datom.c35 #include "atom-names.h"
36 #include "atom-bits.h"
42 #define ATOM_COND_BELOW 3
55 #define PLL_DATA 3
81 {1, 2, 3, 0},
82 {1, 2, 3, 0},
83 {1, 2, 3, 0},
89 static int atom_def_dst[8] = { 0, 0, 1, 2, 0, 1, 2, 3 };
95 while (n--) in debug_print_spaces()
106 static uint32_t atom_iio_execute(struct atom_context *ctx, int base, in atom_iio_execute() argument
[all …]
/kernel/linux/linux-5.10/drivers/scsi/
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 …]
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 …]
/kernel/linux/linux-6.6/drivers/scsi/
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 …]
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 …]
/kernel/linux/linux-5.10/drivers/crypto/mediatek/
Dmtk-platform.c1 // SPDX-License-Identifier: GPL-2.0-only
15 #include "mtk-platform.h"
18 #define MTK_BURST_SIZE(x) ((x) << 4) argument
19 #define MTK_DESC_SIZE(x) ((x) << 0) argument
20 #define MTK_DESC_OFFSET(x) ((x) << 16) argument
21 #define MTK_DESC_FETCH_SIZE(x) ((x) << 0) argument
22 #define MTK_DESC_FETCH_THRESH(x) ((x) << 16) argument
26 #define MTK_DFSE_IDLE GENMASK(3, 0)
29 #define MTK_DFSE_RING_ID(x) (((x) >> 12) & GENMASK(3, 0)) argument
30 #define MTK_DFSE_MIN_DATA(x) ((x) << 0) argument
[all …]
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdgpu/
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 …]
/kernel/linux/linux-6.6/drivers/net/ethernet/qualcomm/emac/
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 …]
/kernel/linux/linux-5.10/drivers/net/ethernet/qualcomm/emac/
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 …]
/kernel/linux/linux-6.6/drivers/i3c/master/mipi-i3c-hci/
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 …]
/kernel/linux/linux-6.6/sound/soc/sof/intel/
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 …]
/kernel/linux/linux-6.6/drivers/scsi/pcmcia/
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 …]
/kernel/linux/linux-5.10/drivers/media/platform/exynos-gsc/
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 …]
/kernel/linux/linux-6.6/drivers/media/platform/samsung/exynos-gsc/
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 …]
/kernel/linux/linux-5.10/drivers/gpu/drm/exynos/
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 …]
/kernel/linux/linux-6.6/drivers/gpu/drm/exynos/
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 …]
/kernel/linux/linux-6.6/tools/perf/tests/shell/
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 …]

12345678910>>...45