Home
last modified time | relevance | path

Searched +full:0 +full:deg (Results 1 – 25 of 52) sorted by relevance

123

/Linux-v6.1/lib/
Dbch.c97 #define dbg(_fmt, args...) do {} while (0)
104 unsigned int deg; /* polynomial degree */ member
118 0x00, 0x80, 0x40, 0xc0, 0x20, 0xa0, 0x60, 0xe0,
119 0x10, 0x90, 0x50, 0xd0, 0x30, 0xb0, 0x70, 0xf0,
120 0x08, 0x88, 0x48, 0xc8, 0x28, 0xa8, 0x68, 0xe8,
121 0x18, 0x98, 0x58, 0xd8, 0x38, 0xb8, 0x78, 0xf8,
122 0x04, 0x84, 0x44, 0xc4, 0x24, 0xa4, 0x64, 0xe4,
123 0x14, 0x94, 0x54, 0xd4, 0x34, 0xb4, 0x74, 0xf4,
124 0x0c, 0x8c, 0x4c, 0xcc, 0x2c, 0xac, 0x6c, 0xec,
125 0x1c, 0x9c, 0x5c, 0xdc, 0x3c, 0xbc, 0x7c, 0xfc,
[all …]
Dpolynomial.c29 * where T = [-48.380, 147.438]C and N = [0, 1023].
42 * where T = [-48380, 147438] mC and N = [0, 1023].
51 * {0, 1720400, 1, 1}
62 * {0, -48380, 1, 1}
83 long tmp, ret = 0; in polynomial_calc()
84 int deg; in polynomial_calc() local
98 for (deg = 0; deg < term->deg; ++deg) in polynomial_calc()
101 } while ((term++)->deg); in polynomial_calc()
/Linux-v6.1/include/linux/input/
Dadxl34x.h22 * form with a scale factor of 15.6 mg/LSB (i.e. 0x7F = +2 g)
31 * Y, or Z participation in Tap detection. A '0' excludes the
42 #define ADXL_TAP_Z_EN (1 << 0)
50 * (i.e. 0xFF = +16 g). A zero value may result in undesirable
90 * or inactivity detection. A '0' excludes the selected axis from
93 * AC/DC: A '0' = DC coupled operation and a '1' = AC coupled
119 #define ADXL_INACT_Z_EN (1 << 0)
168 * enabled. Values between 300 and 600 mg (0x05 to 0x09) are
181 * Values between 100 to 350 ms (0x14 to 0x46) are recommended.
189 * RATE = 3200 Hz / (2^(15 - x)). Default value is 0x0A, or 100 Hz
[all …]
/Linux-v6.1/Documentation/devicetree/bindings/regulator/
Dmps,mpq7920.yaml14 pattern: "pmic@[0-9a-f]{1,2}"
33 enum: [0, 1, 2, 3]
55 enum: [0, 1, 2, 3]
62 enum: [0, 1, 2, 3]
65 corresponding values 0deg, 90deg, 180deg, 270deg
87 #size-cells = <0>;
91 reg = <0x69>;
/Linux-v6.1/drivers/thermal/ti-soc-thermal/
Domap4xxx-bandgap.h27 #define OMAP4430_FUSE_OPP_BGAP 0x0
30 #define OMAP4430_TEMP_SENSOR_CTRL_OFFSET 0xCC
46 #define OMAP4430_BGAP_TEMP_SENSOR_DTEMP_MASK (0xff << 0)
82 #define OMAP4460_FUSE_OPP_BGAP 0x0
85 #define OMAP4460_TEMP_SENSOR_CTRL_OFFSET 0xCC
88 #define OMAP4460_BGAP_CTRL_OFFSET 0x118
91 #define OMAP4460_BGAP_COUNTER_OFFSET 0x11C
94 #define OMAP4460_BGAP_THRESHOLD_OFFSET 0x120
97 #define OMAP4460_BGAP_TSHUT_OFFSET 0x124
100 #define OMAP4460_BGAP_STATUS_OFFSET 0x128
[all …]
/Linux-v6.1/include/linux/
Dpolynomial.h11 * @deg: degree of the term.
17 unsigned int deg; member
26 * @terms: polynomial terms, last term must have degree of 0
/Linux-v6.1/tools/testing/selftests/drivers/net/mlxsw/
Dqos_mc_aware.sh22 # thus TC 0).
32 # | traffic | | | e-qos-map 0:1 |
49 # | | prio qdisc: {0..7} -> 7 |
66 lib_dir=$(dirname $0)/../../../net/forwarding
91 ip link set dev $h2.111 type vlan egress-qos-map 0:1
137 ip link add name br1 type bridge vlan_filtering 0
142 ip link add name br111 type bridge vlan_filtering 0
149 devlink_port_pool_th_save $swp1 0
150 devlink_port_pool_th_set $swp1 0 5
151 devlink_tc_bind_pool_th_save $swp1 0 ingress
[all …]
/Linux-v6.1/drivers/iio/imu/
Dadis16400.c29 #define ADIS16400_FLASH_CNT 0x00 /* Flash memory write count */
30 #define ADIS16400_SUPPLY_OUT 0x02 /* Power supply measurement */
31 #define ADIS16400_XGYRO_OUT 0x04 /* X-axis gyroscope output */
32 #define ADIS16400_YGYRO_OUT 0x06 /* Y-axis gyroscope output */
33 #define ADIS16400_ZGYRO_OUT 0x08 /* Z-axis gyroscope output */
34 #define ADIS16400_XACCL_OUT 0x0A /* X-axis accelerometer output */
35 #define ADIS16400_YACCL_OUT 0x0C /* Y-axis accelerometer output */
36 #define ADIS16400_ZACCL_OUT 0x0E /* Z-axis accelerometer output */
37 #define ADIS16400_XMAGN_OUT 0x10 /* X-axis magnetometer measurement */
38 #define ADIS16400_YMAGN_OUT 0x12 /* Y-axis magnetometer measurement */
[all …]
/Linux-v6.1/include/uapi/linux/
Dinput.h53 #define EV_VERSION 0x010001
56 * IOCTLs (0x00 - 0x7f)
74 * joydev interface and reported as 0 instead.
91 * (units/deg/s) for rotational axes (ABS_RX, ABS_RY, ABS_RZ).
118 #define INPUT_KEYMAP_BY_INDEX (1 << 0)
132 #define EVIOCGVERSION _IOR('E', 0x01, int) /* get driver version */
133 #define EVIOCGID _IOR('E', 0x02, struct input_id) /* get device ID */
134 #define EVIOCGREP _IOR('E', 0x03, unsigned int[2]) /* get repeat settings */
135 #define EVIOCSREP _IOW('E', 0x03, unsigned int[2]) /* set repeat settings */
137 #define EVIOCGKEYCODE _IOR('E', 0x04, unsigned int[2]) /* get keycode */
[all …]
/Linux-v6.1/lib/reed_solomon/
Ddecode_rs.c24 int count = 0;
43 BUG_ON(pad < 0 || pad >= nn - nroots);
47 for (i = 0; i < nroots; i++) {
56 return 0;
61 for (i = 0; i < nroots; i++)
62 syn[i] = (((uint16_t) data[0]) ^ invmsk) & msk;
65 for (i = 0; i < nroots; i++) {
66 if (syn[i] == 0) {
78 for (j = 0; j < nroots; j++) {
79 for (i = 0; i < nroots; i++) {
[all …]
/Linux-v6.1/drivers/hwmon/
Dlm92.c10 * its own temperature with a 0.0625 deg resolution and a 0.33 deg
17 * (1.0 deg). Complete datasheet can be obtained from Maxim's website
44 static const unsigned short normal_i2c[] = { 0x48, 0x49, 0x4a, 0x4b,
49 #define LM92_REG_CONFIG 0x01 /* 8-bit, RW */
50 #define LM92_REG_TEMP 0x00 /* 16-bit, RO */
51 #define LM92_REG_TEMP_HYST 0x02 /* 16-bit, RW */
52 #define LM92_REG_TEMP_CRIT 0x03 /* 16-bit, RW */
53 #define LM92_REG_TEMP_LOW 0x04 /* 16-bit, RW */
54 #define LM92_REG_TEMP_HIGH 0x05 /* 16-bit, RW */
55 #define LM92_REG_MAN_ID 0x07 /* 16-bit, RO, LM92 only */
[all …]
Dbt1-pvt.h18 #define PVT_CTRL 0x00
19 #define PVT_CTRL_EN BIT(0)
22 #define PVT_CTRL_MODE_TEMP 0x0
23 #define PVT_CTRL_MODE_VOLT 0x1
24 #define PVT_CTRL_MODE_LVT 0x2
25 #define PVT_CTRL_MODE_HVT 0x4
26 #define PVT_CTRL_MODE_SVT 0x6
29 #define PVT_DATA 0x04
31 #define PVT_DATA_DATA_FLD 0
33 #define PVT_TTHRES 0x08
[all …]
Dw83l785ts.c8 * by Winbond. It reports a single external temperature with a 1 deg
9 * resolution and a 3 deg accuracy. Datasheet can be obtained from
39 static const unsigned short normal_i2c[] = { 0x2e, I2C_CLIENT_END };
43 * Manufacturer ID is 0x5CA3 for Winbond.
46 #define W83L785TS_REG_MAN_ID1 0x4D
47 #define W83L785TS_REG_MAN_ID2 0x4C
48 #define W83L785TS_REG_CHIP_ID 0x4E
49 #define W83L785TS_REG_CONFIG 0x40
50 #define W83L785TS_REG_TYPE 0x52
51 #define W83L785TS_REG_TEMP 0x27
[all …]
Dlm83.c9 * temperatures (its own plus up to three external ones) with a 1 deg
10 * resolution and a 3-4 deg accuracy. Complete datasheet can be obtained
14 * here: 0x03 (at register 0xff).
37 0x18, 0x19, 0x1a, 0x29, 0x2a, 0x2b, 0x4c, 0x4d, 0x4e, I2C_CLIENT_END };
43 * Manufacturer ID is 0x01 for National Semiconductor.
46 #define LM83_REG_R_MAN_ID 0xFE
47 #define LM83_REG_R_CHIP_ID 0xFF
48 #define LM83_REG_R_CONFIG 0x03
49 #define LM83_REG_W_CONFIG 0x09
50 #define LM83_REG_R_STATUS1 0x02
[all …]
Dadm1025.c14 * reported with a 1 deg resolution and a 3 deg accuracy. Complete
48 * ADM1025 and ADM1025A have three possible addresses: 0x2c, 0x2d and 0x2e.
49 * NE1619 has two possible addresses: 0x2c and 0x2d.
52 static const unsigned short normal_i2c[] = { 0x2c, 0x2d, 0x2e, I2C_CLIENT_END };
60 #define ADM1025_REG_MAN_ID 0x3E
61 #define ADM1025_REG_CHIP_ID 0x3F
62 #define ADM1025_REG_CONFIG 0x40
63 #define ADM1025_REG_STATUS1 0x41
64 #define ADM1025_REG_STATUS2 0x42
65 #define ADM1025_REG_IN(nr) (0x20 + (nr))
[all …]
/Linux-v6.1/drivers/clk/rockchip/
Dclk-mmc-phase.c34 #define ROCKCHIP_MMC_DEGREE_MASK 0x3
36 #define ROCKCHIP_MMC_DELAYNUM_MASK (0xff << ROCKCHIP_MMC_DELAYNUM_OFFSET)
42 * simplify calculations. So 45degs could be anywhere between 33deg and 57.8deg.
52 u32 delay_num = 0; in rockchip_mmc_get_phase()
56 return 0; in rockchip_mmc_get_phase()
135 raw_value = delay_num ? ROCKCHIP_MMC_DELAY_SEL : 0; in rockchip_mmc_set_phase()
138 writel(HIWORD_UPDATE(raw_value, 0x07ff, mmc_clock->shift), in rockchip_mmc_set_phase()
141 pr_debug("%s->set_phase(%d) delay_nums=%u reg[0x%p]=0x%03x actual_degrees=%d\n", in rockchip_mmc_set_phase()
147 return 0; in rockchip_mmc_set_phase()
205 init.flags = 0; in rockchip_clk_register_mmc()
/Linux-v6.1/drivers/misc/habanalabs/include/gaudi/
Dgaudi_fw_if.h18 #define UBOOT_FW_OFFSET 0x100000 /* 1MB in SRAM */
19 #define LINUX_FW_OFFSET 0x800000 /* 8MB in HBM */
21 /* HBM thermal delta in [Deg] added to composite (CTemp) */
37 * @id: can be either 0 or 1, to further describe unit with interrupt cause
/Linux-v6.1/drivers/iio/gyro/
Dmpu3050.h9 * enum mpu3050_fullscale - indicates the full range of the sensor in deg/sec
12 FS_250_DPS = 0,
23 LPF_256_HZ_NOLPF = 0,
35 AXIS_X = 0,
Dmpu3050-core.c35 #define MPU3050_CHIP_ID 0x68
36 #define MPU3050_CHIP_ID_MASK 0x7E
43 #define MPU3050_CHIP_ID_REG 0x00
44 #define MPU3050_PRODUCT_ID_REG 0x01
45 #define MPU3050_XG_OFFS_TC 0x05
46 #define MPU3050_YG_OFFS_TC 0x08
47 #define MPU3050_ZG_OFFS_TC 0x0B
48 #define MPU3050_X_OFFS_USR_H 0x0C
49 #define MPU3050_Y_OFFS_USR_H 0x0E
50 #define MPU3050_Z_OFFS_USR_H 0x10
[all …]
/Linux-v6.1/Documentation/devicetree/bindings/mmc/
Drockchip-dw-mshc.yaml76 minimum: 0
78 default: 0
82 If not specified 0 deg will be used.
86 minimum: 0
110 reg = <0xff0c0000 0x4000>;
117 fifo-depth = <0x100>;
/Linux-v6.1/drivers/clk/sunxi-ng/
Dccu_phase.c96 * formula to get the outphasing in degrees is deg = in ccu_phase_set_phase()
107 delay = 0; in ccu_phase_set_phase()
117 return 0; in ccu_phase_set_phase()
/Linux-v6.1/drivers/power/supply/
Dsmb347-charger.c36 #define CFG_CHARGE_CURRENT 0x00
37 #define CFG_CHARGE_CURRENT_FCC_MASK 0xe0
39 #define CFG_CHARGE_CURRENT_PCC_MASK 0x18
41 #define CFG_CHARGE_CURRENT_TC_MASK 0x07
42 #define CFG_CURRENT_LIMIT 0x01
43 #define CFG_CURRENT_LIMIT_DC_MASK 0xf0
45 #define CFG_CURRENT_LIMIT_USB_MASK 0x0f
46 #define CFG_FLOAT_VOLTAGE 0x03
47 #define CFG_FLOAT_VOLTAGE_FLOAT_MASK 0x3f
48 #define CFG_FLOAT_VOLTAGE_THRESHOLD_MASK 0xc0
[all …]
/Linux-v6.1/drivers/thermal/
Dmax77620_thermal.c42 * else 120degC or 140deG based on the PMIC die temp threshold status.
44 * Return 0 on success otherwise error number to show reason of failure.
54 if (ret < 0) { in max77620_thermal_read_temp()
66 return 0; in max77620_thermal_read_temp()
97 mtherm->irq_tjalarm1 = platform_get_irq(pdev, 0); in max77620_thermal_probe()
99 if ((mtherm->irq_tjalarm1 < 0) || (mtherm->irq_tjalarm2 < 0)) { in max77620_thermal_probe()
117 mtherm->tz_device = devm_thermal_of_zone_register(&pdev->dev, 0, in max77620_thermal_probe()
130 if (ret < 0) { in max77620_thermal_probe()
139 if (ret < 0) { in max77620_thermal_probe()
146 return 0; in max77620_thermal_probe()
/Linux-v6.1/drivers/staging/media/meson/vdec/
Dcodec_vp9.c19 #define VP9_HEAD_PARSER_DONE 0xf0
36 #define DECODE_MODE_SINGLE 0
46 #define MV_MEM_UNIT 0x240
47 #define ADAPT_PROB_SIZE 0xf80
50 KEY_FRAME = 0,
56 #define MPRED_MV_BUF_SIZE 0x120000
58 #define IPP_SIZE 0x4000
59 #define SAO_ABV_SIZE 0x30000
60 #define SAO_VB_SIZE 0x30000
61 #define SH_TM_RPS_SIZE 0x800
[all …]
/Linux-v6.1/include/linux/iio/
Diio.h367 #define INDIO_DIRECT_MODE 0x01
368 #define INDIO_BUFFER_TRIGGERED 0x02
369 #define INDIO_BUFFER_SOFTWARE 0x04
370 #define INDIO_BUFFER_HARDWARE 0x08
371 #define INDIO_EVENT_TRIGGERED 0x10
372 #define INDIO_HARDWARE_TRIGGERED 0x20
391 * mask specifies which value. Note 0 means a reading of
396 * mask specifies which value. Note 0 means a reading of
404 * mask specifies which value. Note 0 means the available
428 * When #iio-cells is greater than '0', the driver could
[all …]

123