Home
last modified time | relevance | path

Searched +full:4 +full:- +full:data (Results 1 – 25 of 1089) sorted by relevance

12345678910>>...44

/linux/scripts/gdb/linux/
H A Dpgtable.py1 # SPDX-License-Identifier: GPL-2.0-only
19 # 4KB
38 def is_bit_defined_tupled(data, offset):
39 return offset, bool(data >> offset & 1)
41 def content_tupled(data, bit_start, bit_end):
42 return (bit_start, bit_end), data >> bit_start & ((1 << (1 + bit_end - bit_star
40 is_bit_defined_tupled(data, offset) global() argument
43 content_tupled(data, bit_start, bit_end) global() argument
[all...]
/linux/drivers/net/wireless/broadcom/b43/
H A Dphy_lp.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 IEEE 802.11a/g LP-PHY driver
7 Copyright (c) 2008-2009 Michael Buesch <m@bues.ch>
37 if (b43_current_band(dev->wl) == NL80211_BAND_2GHZ) in b43_lpphy_op_get_default_chan()
48 return -ENOMEM; in b43_lpphy_op_allocate()
49 dev->phy.lp = lpphy; in b43_lpphy_op_allocate()
56 struct b43_phy *phy = &dev->phy; in b43_lpphy_op_prepare_structs()
57 struct b43_phy_lp *lpphy = phy->lp; in b43_lpphy_op_prepare_structs()
60 lpphy->antenna = B43_ANTENNA_DEFAULT; in b43_lpphy_op_prepare_structs()
67 struct b43_phy_lp *lpphy = dev->phy.lp; in b43_lpphy_op_free()
[all …]
/linux/sound/soc/codecs/
H A Dcs-amp-lib-test.c1 // SPDX-License-Identifier: GPL-2.0-only
10 #include <kunit/test-bug.h>
21 #include <sound/cs-amp-lib.h>
63 struct cs_amp_lib_test_priv *priv = test->priv; in cs_amp_lib_test_cal_blob_dup()
66 KUNIT_ASSERT_EQ(test, struct_size(priv->cal_blob, data, priv->cal_blob->count), in cs_amp_lib_test_cal_blob_dup()
67 priv->cal_blob->size); in cs_amp_lib_test_cal_blob_dup()
68 temp = kunit_kmalloc(test, priv->cal_blob->size, GFP_KERNEL); in cs_amp_lib_test_cal_blob_dup()
70 memcpy(temp, priv->cal_blob, priv->cal_blob->size); in cs_amp_lib_test_cal_blob_dup()
77 struct cs_amp_lib_test_priv *priv = test->priv; in cs_amp_lib_test_init_dummy_cal_blob()
81 blob_size = struct_size(priv->cal_blob, data, num_amps); in cs_amp_lib_test_init_dummy_cal_blob()
[all …]
/linux/drivers/media/test-drivers/vivid/
H A Dvivid-rds-gen.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * vivid-rds-gen.c - rds (radio data system) generator support functions.
13 #include "vivid-rds-gen.h"
19 return (rds->dyn_pty << 2) | (grp & 3); in vivid_get_di()
21 return (rds->compressed << 2) | (grp & 3); in vivid_get_di()
23 return (rds->art_head << 2) | (grp & 3); in vivid_get_di()
25 return (rds->mono_stereo << 2) | (grp & 3); in vivid_get_di()
32 * Groups 0-3, 22-25 and 44-47 (spaced 22 groups apart) are filled with a
35 * Groups 4-19 and 26-41 use group 2A for the radio text.
37 * Group 56 contains the time (group 4A).
[all …]
/linux/drivers/iio/light/
H A Dzopt2201.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * zopt2201.c - Support for IDT ZOPT2201 ambient light and UV B sensor
5 * Copyright 2017 Peter Meerwald-Stadler <pmeerw@pmeerw.net>
7 * Datasheet: https://www.idt.com/document/dst/zopt2201-datasheet
8 * 7-bit I2C slave addresses 0x53 (default) or 0x52 (programmed)
47 #define ZOPT2201_MEAS_RES_16BIT 4 /* takes 25 ms */
49 #define ZOPT2201_MEAS_RES_SHIFT 4
56 #define ZOPT2201_MEAS_FREQ_500MS 4
65 #define ZOPT2201_LS_GAIN_18 4
69 #define ZOPT2201_MAIN_STATUS_INT BIT(4)
[all …]
/linux/lib/crypto/x86/
H A Dblake2s-core.S1 /* SPDX-License-Identifier: GPL-2.0 OR MIT */
3 * Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
4 * Copyright (C) 2017-2019 Samuel Neves <sneves@dei.uc.pt>. All Rights Reserved.
28 .byte 0, 2, 4, 6, 1, 3, 5, 7, 14, 8, 10, 12, 15, 9, 11, 13
29 .byte 14, 4, 9, 13, 10, 8, 15, 6, 5, 1, 0, 11, 3, 12, 2, 7
30 .byte 11, 12, 5, 15, 8, 0, 2, 13, 9, 10, 3, 7, 4, 14, 6, 1
31 .byte 7, 3, 13, 11, 9, 1, 12, 14, 15, 2, 5, 4, 8, 6, 10, 0
32 .byte 9, 5, 2, 10, 0, 7, 4, 15, 3, 14, 11, 6, 13, 1, 12, 8
33 .byte 2, 6, 0, 8, 12, 10, 11, 3, 1, 4, 7, 15, 9, 13, 5, 14
34 .byte 12, 1, 14, 4, 5, 15, 13, 10, 8, 0, 6, 9, 11, 7, 3, 2
[all …]
/linux/include/sound/
H A Dcs8427.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
14 #define CS8427_REG_AUTOINC 0x80 /* flag - autoincrement */
34 #define CS8427_REG_QSUBCODE 0x14 /* 0x14-0x1d (10 bytes) */
41 #define CS8427_VSET (1<<6) /* 0 = valid PCM data, 1 = invalid PCM data */
43 #define CS8427_MUTEAES (1<<4) /* mute control for the AES transmitter output, 0 = disabled, 1 = en…
55 #define CS8427_RMCKF (1<<4) /* 0 = 256*Fsi, 1 = 128*Fsi */
58 #define CS8427_MMTCS (1<<1) /* 0 = use A + B CS data, 1 = use MMTLR CS data */
59 #define CS8427_MMTLR (1<<0) /* 0 = use A CS data, 1 = use B CS data */
63 #define CS8427_AESBP (1<<5) /* AES3 hardware bypass mode, 0 = normal, 1 = bypass (RX->TX) */
64 #define CS8427_TXDMASK (3<<3) /* AES3 Transmitter Data Source Mask */
[all …]
H A Dump_msg.h1 // SPDX-License-Identifier: GPL-2.0-or-later
8 /* MIDI 1.0 / 2.0 Status Code (4bit) */
32 UMP_CC_FOOT = 4,
131 u32 type:4;
132 u32 group:4;
133 u32 status:4;
134 u32 channel:4;
140 u32 channel:4;
141 u32 status:4;
142 u32 group:4;
[all …]
/linux/arch/loongarch/kvm/intc/
H A Deiointc.c1 // SPDX-License-Identifier: GPL-2.0
16 ipnum = (s->ipmap >> (irq / 32 * 8)) & 0xff; in eiointc_set_sw_coreisr()
17 if (!(s->status & BIT(EIOINTC_ENABLE_INT_ENCODE))) { in eiointc_set_sw_coreisr()
19 ipnum = (ipnum >= 0 && ipnum < 4) ? ipnum : 0; in eiointc_set_sw_coreisr()
22 cpuid = ((u8 *)s->coremap)[irq]; in eiointc_set_sw_coreisr()
23 vcpu = kvm_get_vcpu_by_cpuid(s->kvm, cpuid); in eiointc_set_sw_coreisr()
27 cpu = vcpu->vcpu_id; in eiointc_set_sw_coreisr()
28 if (test_bit(irq, (unsigned long *)s->coreisr[cpu])) in eiointc_set_sw_coreisr()
29 __set_bit(irq, s->sw_coreisr[cpu][ipnum]); in eiointc_set_sw_coreisr()
31 __clear_bit(irq, s->sw_coreisr[cpu][ipnum]); in eiointc_set_sw_coreisr()
[all …]
/linux/tools/perf/pmu-events/arch/x86/alderlaken/
H A Dcache.json4 "Counter": "0,1,2,3,4,5",
12 "Counter": "0,1,2,3,4,5",
21 "Counter": "0,1,2,3,4,5",
30 "Counter": "0,1,2,3,4,5",
39 "Counter": "0,1,2,3,4,5",
47 …talled due to an instruction cache or TLB miss which hit in the L2, LLC, DRAM or MMIO (Non-DRAM).",
48 "Counter": "0,1,2,3,4,5",
51 …che or translation lookaside buffer (TLB) miss which hit in the L2, LLC, DRAM or MMIO (Non-DRAM).",
56 …the core is stalled due to an instruction cache or TLB miss which hit in DRAM or MMIO (Non-DRAM).",
57 "Counter": "0,1,2,3,4,5",
[all …]
/linux/sound/firewire/motu/
H A Dmotu-protocol-v3.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * motu-protocol-v3.c - a part of driver for MOTU FireWire series
5 * Copyright (c) 2015-2017 Takashi Sakamoto <o-takashi@sakamocchi.jp>
41 u32 data; in snd_motu_protocol_v3_get_clock_rate() local
48 data = be32_to_cpu(reg); in snd_motu_protocol_v3_get_clock_rate()
50 data = (data & V3_CLOCK_RATE_MASK) >> V3_CLOCK_RATE_SHIFT; in snd_motu_protocol_v3_get_clock_rate()
51 if (data >= ARRAY_SIZE(snd_motu_clock_rates)) in snd_motu_protocol_v3_get_clock_rate()
52 return -EIO; in snd_motu_protocol_v3_get_clock_rate()
54 *rate = snd_motu_clock_rates[data]; in snd_motu_protocol_v3_get_clock_rate()
63 u32 data; in snd_motu_protocol_v3_set_clock_rate() local
[all …]
/linux/drivers/input/joystick/
H A Da3d.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright (c) 1998-2001 Vojtech Pavlik
7 * FP-Gaming Assassin 3D joystick driver for Linux
17 #define DRIVER_DESC "FP-Gaming Assassin 3D joystick driver"
30 #define A3D_MODE_PXL 4 /* Panther XL */
32 static char *a3d_names[] = { NULL, "FP-Gaming Assassin 3D", "MadCatz Panther", "OEM Panther",
39 int axes[4];
52 static int a3d_read_packet(struct gameport *gameport, int length, char *data) in a3d_read_packet() argument
68 t--; in a3d_read_packet()
71 data[i++] = v >> 5; in a3d_read_packet()
[all …]
H A Dtmdc.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright (c) 1998-2001 Vojtech Pavlik
6 * Trystan Larey-Williams
33 #define TMDC_MODE_AT 4
42 #define TMDC_ABS_HAT 4
45 static const unsigned char tmdc_byte_a[16] = { 0, 1, 3, 4, 6, 7 };
53 { ABS_X, ABS_Y, ABS_RUDDER, -1, ABS_THROTTLE };
71 } tmdc_hat_to_axis[] = {{ 0, 0}, { 1, 0}, { 0,-1}, {-1, 0}, { 0, 1}};
78 char btnc[4];
79 char btno[4];
[all …]
/linux/drivers/pinctrl/samsung/
H A Dpinctrl-exynos-arm64.c1 // SPDX-License-Identifier: GPL-2.0+
17 #include <linux/soc/samsung/exynos-regs-pmu.h>
19 #include "pinctrl-samsung.h"
20 #include "pinctrl-exynos.h"
23 .fld_width = { 4, 1, 2, 2, 2, 2, },
28 .fld_width = { 4, 1, 2, 2, },
32 /* Exynos5433 has the 4bit widths for PINCFG_TYPE_DRV bitfields. */
34 .fld_width = { 4, 1, 2, 4, 2, 2, },
39 .fld_width = { 4, 1, 2, 4, },
45 * CON: 4, DAT: 1, PUD: 2, DRV: 3
[all …]
/linux/drivers/gpu/drm/amd/amdgpu/
H A Dhdp_v4_0.c42 if (amdgpu_ip_version(adev, HDP_HWIP, 0) == IP_VERSION(4, 4, 0) || in hdp_v4_0_invalidate_hdp()
43 amdgpu_ip_version(adev, HDP_HWIP, 0) == IP_VERSION(4, 4, 2) || in hdp_v4_0_invalidate_hdp()
44 amdgpu_ip_version(adev, HDP_HWIP, 0) == IP_VERSION(4, 4, 5)) in hdp_v4_0_invalidate_hdp()
47 if (!ring || !ring->funcs->emit_wreg) { in hdp_v4_0_invalidate_hdp()
61 err_data->ue_count = 0; in hdp_v4_0_query_ras_error_count()
62 err_data->ce_count = 0; in hdp_v4_0_query_ras_error_count()
68 err_data->ue_count += RREG32_SOC15(HDP, 0, mmHDP_EDC_CNT); in hdp_v4_0_query_ras_error_count()
76 if (amdgpu_ip_version(adev, HDP_HWIP, 0) >= IP_VERSION(4, 4, 0)) in hdp_v4_0_reset_ras_error_count()
86 uint32_t def, data; in hdp_v4_0_update_clock_gating() local
88 if (amdgpu_ip_version(adev, HDP_HWIP, 0) == IP_VERSION(4, 0, 0) || in hdp_v4_0_update_clock_gating()
[all …]
/linux/drivers/hwmon/
H A Dw83792d.c1 // 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>
42 static unsigned short force_subclients[4];
91 0xB8, /* FAN 4 Count in DataSheet */
100 0xBB, /* FAN 4 Count Low Limit in DataSheet */
106 static const u8 W83792D_REG_FAN_DIV[4] = {
116 0xA3, /* FAN 4 Duty Cycle, be used to control */
153 0x87, /* (bit3-0)SmartFan Fan1 tolerance */
[all …]
H A Demc2103.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * emc2103.c - Support for SMSC EMC2103
13 #include <linux/hwmon-sysfs.h>
20 static const u8 REG_TEMP[4] = { 0x00, 0x02, 0x04, 0x06 };
21 static const u8 REG_TEMP_MIN[4] = { 0x3c, 0x38, 0x39, 0x3a };
22 static const u8 REG_TEMP_MAX[4]
125 struct emc2103_data *data = i2c_get_clientdata(client); read_fan_config_from_i2c() local
137 struct emc2103_data *data = dev_get_drvdata(dev); emc2103_update_device() local
178 struct emc2103_data *data = emc2103_update_device(dev); temp_show() local
188 struct emc2103_data *data = emc2103_update_device(dev); temp_min_show() local
197 struct emc2103_data *data = emc2103_update_device(dev); temp_max_show() local
206 struct emc2103_data *data = emc2103_update_device(dev); temp_fault_show() local
216 struct emc2103_data *data = emc2103_update_device(dev); temp_min_alarm_show() local
226 struct emc2103_data *data = emc2103_update_device(dev); temp_max_alarm_show() local
235 struct emc2103_data *data = dev_get_drvdata(dev); temp_min_store() local
257 struct emc2103_data *data = dev_get_drvdata(dev); temp_max_store() local
278 struct emc2103_data *data = emc2103_update_device(dev); fan1_input_show() local
288 struct emc2103_data *data = emc2103_update_device(dev); fan1_div_show() local
302 struct emc2103_data *data = emc2103_update_device(dev); fan1_div_store() local
363 struct emc2103_data *data = emc2103_update_device(dev); fan1_target_show() local
378 struct emc2103_data *data = emc2103_update_device(dev); fan1_target_store() local
407 struct emc2103_data *data = emc2103_update_device(dev); fan1_fault_show() local
415 struct emc2103_data *data = emc2103_update_device(dev); pwm1_enable_show() local
423 struct emc2103_data *data = dev_get_drvdata(dev); pwm1_enable_store() local
556 struct emc2103_data *data; emc2103_probe() local
[all...]
/linux/tools/perf/pmu-events/arch/x86/pantherlake/
H A Dcache.json3 "BriefDescription": "Counts the number of cache lines replaced in L0 data cache.",
4 "Counter": "0,1,2,3,4,5,6,7,8,9",
7 …n": "Counts L0 data line replacements including opportunistic replacements, and replacements that …
13 …iption": "Cachelines replaced into the L1 d-cache. Successful replacements only (not blocked) and …
14 "Counter": "0,1,2,3,4,5,6,7,8,9",
17 "PublicDescription": "Counts cachelines replaced into the L1 d-cache.",
23 …: "Cachelines replaced into the L0 and L1 d-cache. Successful replacements only (not blocked) and …
24 "Counter": "0,1,2,3,4,5,6,7,8,9",
27 "PublicDescription": "Counts cachelines replaced into the L0 and L1 d-cache.",
34 "Counter": "0,1,2,3,4,5,6,7,8,9",
[all …]
/linux/drivers/mfd/
H A Drc5t583-irq.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (c) 2011-2012, NVIDIA CORPORATION. All rights reserved.
99 [RC5T583_IRQ_CLKSTP] = RC5T583_IRQ(SYS_INT, 0, 4, 4, 0),
116 [RC5T583_IRQ_AIN1L] = RC5T583_IRQ(ADC_INT, 3, 0, 0, 4),
117 [RC5T583_IRQ_AIN2L] = RC5T583_IRQ(ADC_INT, 3, 1, 1, 4),
118 [RC5T583_IRQ_AIN3L] = RC5T583_IRQ(ADC_INT, 3, 2, 2, 4),
119 [RC5T583_IRQ_VBATL] = RC5T583_IRQ(ADC_INT, 3, 3, 3, 4),
120 [RC5T583_IRQ_VIN3L] = RC5T583_IRQ(ADC_INT, 3, 4, 4, 4),
121 [RC5T583_IRQ_VIN8L] = RC5T583_IRQ(ADC_INT, 3, 5, 5, 4),
126 [RC5T583_IRQ_VIN3H] = RC5T583_IRQ(ADC_INT, 3, 10, 4, 5),
[all …]
/linux/arch/powerpc/kernel/
H A Dalign.c1 // SPDX-License-Identifier: GPL-2.0-or-later
2 /* align.c - handle alignment exceptions for the Power PC.
5 * Copyright (c) 1998-1999 TiVo, Inc.
9 * Copyright (c) 2001-2002 PPC64 team, IBM Corp
10 * 64-bit and Power4 support
40 #define SE 2 /* sign-extend value, or FP ld/st as word */
56 { 4, LD }, /* 0 10 00: evlwhe[x] */
58 { 4, LD }, /* 0 10 10: evlwhou[x] */
59 { 4, LD+SE }, /* 0 10 11: evlwhos[x] */
60 { 4, LD+E4 }, /* 0 11 00: evlwwsplat[x] */
[all …]
/linux/drivers/base/regmap/
H A Dregmap-spi-avmm.c1 // SPDX-License-Identifier: GPL-2.0
3 // Register map access API - SPI AVMM support
5 // Copyright (C) 2018-2020 Intel Corporation. All rights reserved.
17 * The "SPI slave to Avalon Master Bridge" (spi-avmm) IP should be integrated
34 * Chapter "Avalon-ST Bytes to Packets and Packets to Bytes Converter Cores"
37 * Chapter "Avalon-ST Serial Peripheral Interface Core" describes the
47 * The spi-avmm IP on the slave chip decodes the byte stream and initiates
52 * and finally gets the response value (read out data for register read,
73 #define SPI_AVMM_REG_SIZE 4UL
75 #define SPI_AVMM_VAL_SIZE 4UL
[all …]
/linux/tools/testing/selftests/net/mptcp/
H A Dpm_nl_ctl.c1 // SPDX-License-Identifier: GPL-2.0
31 fprintf(stderr, "\tann <local-ip> id <local-id> token <token> [port <local-port>] [dev <name>]\n"); in syntax()
32 fprintf(stderr, "\trem id <local-id> token <token>\n"); in syntax()
33 …fprintf(stderr, "\tcsf lip <local-ip> lid <local-id> rip <remote-ip> rport <remote-port> token <to… in syntax()
34 …fprintf(stderr, "\tdsf lip <local-ip> lport <local-port> rip <remote-ip> rport <remote-port> token… in syntax()
42 fprintf(stderr, "\tlisten <local-ip> <local-port>\n"); in syntax()
46 static int init_genl_req(char *data, int family, int cmd, int version) in init_genl_req() argument
48 struct nlmsghdr *nh = (void *)data; in init_genl_req()
52 nh->nlmsg_type = family; in init_genl_req()
53 nh->nlmsg_flags = NLM_F_REQUEST; in init_genl_req()
[all …]
/linux/Documentation/userspace-api/media/v4l/
H A Dmetafmt-vsp1-hgo.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
4 .. _v4l2-meta-fmt-vsp1-hgo:
10 Renesas R-Car VSP1 1-D Histogram Data
16 This format describes histogram data generated by the Renesas R-Car VSP1 1-D
20 or HSV data. It operates on a possibly cropped and subsampled input image and
21 computes the minimum, maximum and sum of all pixels as well as per-channel
25 three channels (RGB data only) or on the Y channel only (YCbCr only). It can
29 - In *64 bins normal mode*, the HGO operates on the three channels independently
30 to compute three 64-bins histograms. RGB, YCbCr and HSV image formats are
32 - In *64 bins maximum mode*, the HGO operates on the maximum of the (R, G, B)
[all …]
/linux/drivers/spi/
H A Dspi-microchip-core-qspi.c1 // SPDX-License-Identifier: (GPL-2.0)
5 * Copyright (C) 2018-2022 Microchip Technology Inc. and its subsidiaries
22 #include <linux/spi/spi-mem.h>
61 #define IEN_RXFIFOEMPTY BIT(4)
71 #define STATUS_RXFIFOEMPTY BIT(4)
103 * struct mchp_coreqspi - Defines qspi driver instance
128 u32 control = readl_relaxed(qspi->regs + REG_CONTROL); in mchp_coreqspi_set_mode()
137 * bit[13]: Sets whether multiple bit SPI uses 2 or 4 bits of data in mchp_coreqspi_set_mode()
138 * 0: 2-bits (BSPI) in mchp_coreqspi_set_mode()
139 * 1: 4-bits (QSPI) in mchp_coreqspi_set_mode()
[all …]
/linux/drivers/rtc/
H A Drtc-rs5c313.c5 * 2005-09-19 modified by kogiidena
28 * 1.10 Paul Barton-Davis: add support for async I/O
37 * 1.12 Venkatesh Pallipadi: Hooks for emulating rtc on HPET base-timer
81 /* SCSPTR1 data */
90 /* Set SCK as I/O port and Initialize SCSPTR1 data & I/O port. */ in rs5c313_init_port()
102 static void rs5c313_write_data(unsigned char data) in rs5c313_write_data() argument
107 /* SDA:Write Data */ in rs5c313_write_data()
109 ((((0x80 >> i) & data) >> (7 - i)) << 2); in rs5c313_write_data()
130 unsigned char data = 0; in rs5c313_read_data() local
134 /* SDA:Read Data */ in rs5c313_read_data()
[all …]

12345678910>>...44