Home
last modified time | relevance | path

Searched +full:0 +full:- +full:1023 (Results 1 – 25 of 394) sorted by relevance

12345678910>>...16

/Linux-v5.10/drivers/staging/media/atomisp/pci/hive_isp_css_common/host/
Dgdc.c1 // SPDX-License-Identifier: GPL-2.0
4 * Copyright (c) 2010-2015, Intel Corporation.
51 for (i = 0; i < HRT_GDC_N; i++) { in gdc_lut_store()
52 hrt_data entry_0 = data[0][i] & HRT_GDC_BCI_COEF_MASK; in gdc_lut_store()
70 * c0[0-1023], c1[0-1023], c2[0-1023] c3[0-1023]
73 * c0[0], c1[0], c2[0], c3[0], c0[1], c1[1], c2[1], c3[1], ....
74 * c0[1023], c1[1023], c2[1023], c3[1023]
76 * The first format needs c0[0], c1[0] (which are 1024 words apart)
92 for (i = 0; i < HRT_GDC_N; i++) { in gdc_lut_convert_to_isp_format()
93 out[0] = in_lut[0][i]; in gdc_lut_convert_to_isp_format()
/Linux-v5.10/drivers/iio/adc/
Dcpcap-adc.c1 // SPDX-License-Identifier: GPL-2.0-only
8 * Copyright (C) 2009-2010 Motorola, Inc.
27 #include <linux/mfd/motorola-cpcap.h>
45 #define CPCAP_BIT_ADEN BIT(0) /* Currently unused */
67 #define CPCAP_BIT_TS_M0 BIT(0) /* Currently unused */
86 * struct cpcap_adc_ato - timing settings for cpcap adc
103 * struct cpcap-adc - cpcap adc device driver data
125 * enum cpcap_adc_channel - cpcap adc channels
156 * enum cpcap_adc_timing - cpcap adc timing options
168 * struct cpcap_adc_phasing_tbl - cpcap phasing table
[all …]
/Linux-v5.10/drivers/net/ethernet/hisilicon/hns/
Dhns_dsaf_rcb.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * Copyright (c) 2014-2015 Hisilicon Limited.
18 #define HNS_RCB_IRQ_IDX_TX 0
20 #define HNS_RCB_TX_REG_OFFSET 0x40
32 #define HNS_RCB_REG_OFFSET 0x10000
36 #define HNS_RCB_TX_FRAMES_HIGH 1023
37 #define HNS_RCB_RX_FRAMES_HIGH 1023
40 #define HNS_RCB_TX_USECS_HIGH 1023
41 #define HNS_RCB_RX_USECS_HIGH 1023
42 #define HNS_RCB_MAX_COALESCED_FRAMES 1023
[all …]
/Linux-v5.10/fs/affs/
Dsymlink.c1 // SPDX-License-Identifier: GPL-2.0
5 * 1995 Hans-Joachim Widmaier - Modified for affs.
17 struct inode *inode = page->mapping->host; in affs_symlink_readpage()
24 pr_debug("get_link(ino=%lu)\n", inode->i_ino); in affs_symlink_readpage()
26 bh = affs_bread(inode->i_sb, inode->i_ino); in affs_symlink_readpage()
29 i = 0; in affs_symlink_readpage()
30 j = 0; in affs_symlink_readpage()
31 lf = (struct slink_front *)bh->b_data; in affs_symlink_readpage()
32 lc = 0; in affs_symlink_readpage()
34 if (strchr(lf->symname,':')) { /* Handle assign or volume name */ in affs_symlink_readpage()
[all …]
/Linux-v5.10/drivers/staging/media/atomisp/i2c/ov5693/
Dad5823.h1 /* SPDX-License-Identifier: GPL-2.0 */
24 #define AD5823_VCM_ADDR 0x0c
26 #define AD5823_REG_RESET 0x01
27 #define AD5823_REG_MODE 0x02
28 #define AD5823_REG_VCM_MOVE_TIME 0x03
29 #define AD5823_REG_VCM_CODE_MSB 0x04
30 #define AD5823_REG_VCM_CODE_LSB 0x05
31 #define AD5823_REG_VCM_THRESHOLD_MSB 0x06
32 #define AD5823_REG_VCM_THRESHOLD_LSB 0x07
34 #define AD5823_REG_LENGTH 0x1
[all …]
/Linux-v5.10/arch/arm/vfp/
Dvfpdouble.c8 * This C source file is part of the SoftFloat IEC/IEEE Floating-point
14 * National Science Foundation under grant MIP-9311980. The original version
15 * of this code was written as part of a project to build a fixed-point vector
44 .sign = 0,
51 str, d->sign != 0, d->exponent, d->significand); in vfp_double_dump()
56 int bits = 31 - fls(vd->significand >> 32); in vfp_double_normalise_denormal()
58 bits = 63 - fls(vd->significand); in vfp_double_normalise_denormal()
63 vd->exponent -= bits - 1; in vfp_double_normalise_denormal()
64 vd->significand <<= bits; in vfp_double_normalise_denormal()
81 if (vd->exponent == 2047 && (vd->significand == 0 || exceptions)) in vfp_double_normaliseround()
[all …]
/Linux-v5.10/drivers/hid/
Dwacom_wac.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * USB Wacom tablet support - Wacom specific code
29 * 2^14/pi is a good approximation on Intuos5 and 3rd-gen Bamboo
60 bool changed = battery->bat_status != bat_status || in __wacom_notify_battery()
61 battery->battery_capacity != bat_capacity || in __wacom_notify_battery()
62 battery->bat_charging != bat_charging || in __wacom_notify_battery()
63 battery->bat_connected != bat_connected || in __wacom_notify_battery()
64 battery->ps_connected != ps_connected; in __wacom_notify_battery()
67 battery->bat_status = bat_status; in __wacom_notify_battery()
68 battery->battery_capacity = bat_capacity; in __wacom_notify_battery()
[all …]
Dhid-lg.c1 // SPDX-License-Identifier: GPL-2.0-or-later
6 * Copyright (c) 2000-2005 Vojtech Pavlik <vojtech@suse.cz>
7 * Copyright (c) 2005 Michael Haboustak <mike-@cinci.rr.com> for Concept2, Inc
8 * Copyright (c) 2006-2007 Jiri Kosina
25 #include "hid-ids.h"
26 #include "hid-lg.h"
27 #include "hid-lg4ff.h"
29 #define LG_RDESC 0x001
30 #define LG_BAD_RELATIVE_KEYS 0x002
31 #define LG_DUPLICATE_USAGES 0x004
[all …]
/Linux-v5.10/drivers/gpu/drm/selftests/
Dtest-drm_plane_helper.c1 // SPDX-License-Identifier: GPL-2.0
12 #include "test-drm_modeset_common.h"
18 plane_state->src_x = src_x; in set_src()
19 plane_state->src_y = src_y; in set_src()
20 plane_state->src_w = src_w; in set_src()
21 plane_state->src_h = src_h; in set_src()
28 if (plane_state->src.x1 < 0) { in check_src_eq()
29 pr_err("src x coordinate %x should never be below 0.\n", plane_state->src.x1); in check_src_eq()
30 drm_rect_debug_print("src: ", &plane_state->src, true); in check_src_eq()
33 if (plane_state->src.y1 < 0) { in check_src_eq()
[all …]
/Linux-v5.10/net/phonet/
Dsysctl.c1 // SPDX-License-Identifier: GPL-2.0-only
9 * Author: Rémi Denis-Courmont
21 #define DYNAMIC_PORT_MIN 0x40
22 #define DYNAMIC_PORT_MAX 0x7f
25 static int local_port_range_min[2] = {0, 0};
26 static int local_port_range_max[2] = {1023, 1023};
33 local_port_range[0] = range[0]; in set_local_port_range()
45 *min = local_port_range[0]; in phonet_get_local_port_range()
55 int range[2] = {local_port_range[0], local_port_range[1]}; in proc_local_port_range()
59 .mode = table->mode, in proc_local_port_range()
[all …]
/Linux-v5.10/arch/mips/math-emu/
Dieee754dp.h1 /* SPDX-License-Identifier: GPL-2.0-only */
8 * Copyright (C) 1994-2000 Algorithmics Ltd.
15 #define assert(expr) ((void)0)
17 #define DP_EBIAS 1023
18 #define DP_EMIN (-1022)
19 #define DP_EMAX 1023
38 ((rs > (DP_FBITS+3))?1:((v) >> (rs)) | ((v) << (64-(rs)) != 0))
51 while ((m >> DP_FBITS) == 0) { m <<= 1; e--; }
60 assert((s) == 0 || (s) == 1); in builddp()
61 assert((bx) >= DP_EMIN - 1 + DP_EBIAS in builddp()
[all …]
/Linux-v5.10/drivers/net/ethernet/ibm/ehea/
Dehea.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
11 * Jan-Bernd Themann <themann@de.ibm.com>
47 #define EHEA_MAX_CQE_COUNT 1023
48 #define EHEA_DEF_ENTRIES_SQ 1023
49 #define EHEA_DEF_ENTRIES_RQ1 1023
50 #define EHEA_DEF_ENTRIES_RQ2 1023
64 #define EHEA_SG_RQ2 0
65 #define EHEA_SG_RQ3 0
74 #define EHEA_PD_ID 0xaabcdeff
83 #define EHEA_SPEED_AUTONEG 0
[all …]
/Linux-v5.10/lib/
Dtest_bitmap.c1 // SPDX-License-Identifier: GPL-2.0-only
27 BITMAP_FROM_U64(0x0000ffff),
28 BITMAP_FROM_U64(0xffff0000),
29 BITMAP_FROM_U64(0x55555555),
30 BITMAP_FROM_U64(0xaaaaaaaa),
31 BITMAP_FROM_U64(0x11111111),
32 BITMAP_FROM_U64(0x22222222),
33 BITMAP_FROM_U64(0xffffffff),
34 BITMAP_FROM_U64(0xfffffffe),
35 BITMAP_FROM_U64(0x3333333311111111ULL),
[all …]
/Linux-v5.10/Documentation/misc-devices/
Dapds990x.rst1 .. SPDX-License-Identifier: GPL-2.0
17 -----------
48 -----
52 RO - shows detected chip type and version
55 RW - enable / disable chip. Uses counting logic
58 0 disables the chip
60 RO - measured lux value
65 RO - lux0_input max value.
72 RW - measurement rate in Hz
75 RO - supported measurement rates
[all …]
/Linux-v5.10/drivers/net/ethernet/pasemi/
Dpasemi_mac_ethtool.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2006-2008 PA Semi, Inc
19 { "rx-drops" },
20 { "rx-bytes" },
21 { "rx-packets" },
22 { "rx-broadcast-packets" },
23 { "rx-multicast-packets" },
24 { "rx-crc-errors" },
25 { "rx-undersize-errors" },
26 { "rx-oversize-errors" },
[all …]
/Linux-v5.10/drivers/hwmon/
Dda9052-hwmon.c1 // SPDX-License-Identifier: GPL-2.0-or-later
12 #include <linux/hwmon-sysfs.h>
43 [DA9052_ADC_TSI_XN] = "ADC TS X-",
44 [DA9052_ADC_TSI_YN] = "ADC TS Y-",
46 [DA9052_ADC_VBBAT] = "BACK-UP BATTERY VOLTAGE",
52 return DIV_ROUND_CLOSEST(value * 2000, 1023) + 2500; in volt_reg_to_mv()
58 return DIV_ROUND_CLOSEST(value * 2500, 1023); in input_reg_to_mv()
64 return DIV_ROUND_CLOSEST(value * 5000, 1023); in vbbat_reg_to_mv()
69 return DIV_ROUND_CLOSEST(value * hwmon->tsiref_mv, 1023); in input_tsireg_to_mv()
82 DA9052_ADCCONT_AUTOVDDEN, 0); in da9052_disable_vddout_channel()
[all …]
/Linux-v5.10/drivers/gpu/drm/meson/
Dmeson_viu.c1 // SPDX-License-Identifier: GPL-2.0-or-later
24 * - OSD1 RGB565/RGB888/xRGB8888 scanout
25 * - RGB conversion to x/cb/cr
26 * - Progressive or Interlace buffer scanout
27 * - OSD1 Commit on Vsync
28 * - HDR OSD matrix for GXL/GXM
32 * - BGR888/xBGR8888/BGRx8888/BGRx8888 modes
33 * - YUV4:2:2 Y0CbY1Cr scanout
34 * - Conversion to YUV 4:4:4 from 4:2:2 input
35 * - Colorkey Alpha matching
[all …]
/Linux-v5.10/drivers/input/touchscreen/
Dda9052_tsi.c1 // SPDX-License-Identifier: GPL-2.0-or-later
18 #define TSI_PEN_DOWN_STATUS 0x40
30 da9052_reg_update(tsi->da9052, DA9052_TSI_CONT_A_REG, 1 << 0, on); in da9052_ts_adc_toggle()
31 tsi->adc_on = on; in da9052_ts_adc_toggle()
38 if (!tsi->stopped) { in da9052_ts_pendwn_irq()
40 da9052_disable_irq_nosync(tsi->da9052, DA9052_IRQ_PENDOWN); in da9052_ts_pendwn_irq()
41 da9052_enable_irq(tsi->da9052, DA9052_IRQ_TSIREADY); in da9052_ts_pendwn_irq()
45 schedule_delayed_work(&tsi->ts_pen_work, HZ / 50); in da9052_ts_pendwn_irq()
53 struct input_dev *input = tsi->dev; in da9052_ts_read()
58 ret = da9052_reg_read(tsi->da9052, DA9052_TSI_X_MSB_REG); in da9052_ts_read()
[all …]
Dipaq-micro-ts.c1 // SPDX-License-Identifier: GPL-2.0-only
20 #include <linux/mfd/ipaq-micro.h>
32 input_report_abs(ts->input, ABS_X, in micro_ts_receive()
34 input_report_abs(ts->input, ABS_Y, in micro_ts_receive()
35 be16_to_cpup((__be16 *) &msg[0])); in micro_ts_receive()
36 input_report_key(ts->input, BTN_TOUCH, 1); in micro_ts_receive()
37 input_sync(ts->input); in micro_ts_receive()
38 } else if (len == 0) { in micro_ts_receive()
39 input_report_abs(ts->input, ABS_X, 0); in micro_ts_receive()
40 input_report_abs(ts->input, ABS_Y, 0); in micro_ts_receive()
[all …]
/Linux-v5.10/drivers/clk/davinci/
Dpll-dm365.c1 // SPDX-License-Identifier: GPL-2.0
17 #define OCSEL_OCSRC_ENABLE 0
21 .pllm_mask = GENMASK(9, 0),
23 .pllm_max = 1023,
67 clk_register_clkdev(clk, "pll1_sysclk1", "dm365-psc"); in dm365_pll1_init()
70 clk_register_clkdev(clk, "pll1_sysclk2", "dm365-psc"); in dm365_pll1_init()
73 clk_register_clkdev(clk, "pll1_sysclk3", "dm365-psc"); in dm365_pll1_init()
76 clk_register_clkdev(clk, "pll1_sysclk4", "dm365-psc"); in dm365_pll1_init()
79 clk_register_clkdev(clk, "pll1_sysclk5", "dm365-psc"); in dm365_pll1_init()
86 clk_register_clkdev(clk, "pll1_sysclk8", "dm365-psc"); in dm365_pll1_init()
[all …]
/Linux-v5.10/drivers/usb/gadget/function/
Df_sourcesink.c1 // SPDX-License-Identifier: GPL-2.0+
3 * f_sourcesink.c - USB peripheral source/sink configuration driver
5 * Copyright (C) 2003-2008 David Brownell
30 * plus two that support control-OUT tests. If the optional "autoresume"
32 * test harness from USB-IF.
58 /*-------------------------------------------------------------------------*/
64 .bAlternateSetting = 0,
104 .wMaxPacketSize = cpu_to_le16(1023),
114 .wMaxPacketSize = cpu_to_le16(1023),
194 .bMaxBurst = 0,
[all …]
/Linux-v5.10/Documentation/ABI/testing/
Dconfigfs-usb-gadget-sourcesink1 What: /config/usb-gadget/gadget/functions/SourceSink.name
8 pattern 0 (all zeros), 1 (mod63), 2 (none)
10 isoc_maxpacket 0 - 1023 (fs), 0 - 1024 (hs/ss)
11 isoc_mult 0..2 (hs/ss only)
12 isoc_maxburst 0..15 (ss only)
/Linux-v5.10/drivers/ide/
Dide-floppy_proc.c1 // SPDX-License-Identifier: GPL-2.0
7 #include "ide-floppy.h"
11 ide_drive_t*drive = (ide_drive_t *)m->private; in idefloppy_capacity_proc_show()
14 return 0; in idefloppy_capacity_proc_show()
29 IDE_PROC_DEVSET(bios_cyl, 0, 1023),
30 IDE_PROC_DEVSET(bios_head, 0, 255),
31 IDE_PROC_DEVSET(bios_sect, 0, 63),
32 IDE_PROC_DEVSET(ticks, 0, 255),
/Linux-v5.10/arch/powerpc/sysdev/
Ddcr-low.S1 /* SPDX-License-Identifier: GPL-2.0-or-later */
19 bge- 1f; \
23 EMIT_BUG_ENTRY 1b,__FILE__,__LINE__,0; \
35 mfdcr r3,0; blr
37 mtdcr 0,r4; blr
40 .rept 1023
/Linux-v5.10/tools/edid/
Dedid.S18 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
26 #define SERIAL 0
31 #define XY_RATIO_16_10 0b00
32 #define XY_RATIO_4_3 0b01
33 #define XY_RATIO_5_4 0b10
34 #define XY_RATIO_16_9 0b11
38 #define ESTABLISHED_TIMING1_BITS 0x00
41 #define ESTABLISHED_TIMING2_BITS 0x00
44 #define ESTABLISHED_TIMING3_BITS 0x00
48 ((((v1-'@')&0x1f)<<10)+(((v2-'@')&0x1f)<<5)+((v3-'@')&0x1f))
[all …]

12345678910>>...16