| /kernel/linux/linux-6.6/drivers/staging/media/atomisp/pci/hive_isp_css_common/host/ |
| D | gdc.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * Copyright (c) 2010-2015, Intel Corporation. 47 for (i = 0; i < HRT_GDC_N; i++) { in gdc_lut_store() 48 hrt_data entry_0 = data[0][i] & HRT_GDC_BCI_COEF_MASK; in gdc_lut_store() 66 * c0[0-1023], c1[0-1023], c2[0-1023] c3[0-1023] 69 * c0[0], c1[0], c2[0], c3[0], c0[1], c1[1], c2[1], c3[1], .... 70 * c0[1023], c1[1023], c2[1023], c3[1023] 72 * The first format needs c0[0], c1[0] (which are 1024 words apart) 88 for (i = 0; i < HRT_GDC_N; i++) { in gdc_lut_convert_to_isp_format() 89 out[0] = in_lut[0][i]; in gdc_lut_convert_to_isp_format()
|
| /kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/hive_isp_css_common/host/ |
| D | gdc.c | 1 // 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()
|
| /kernel/linux/linux-5.10/drivers/iio/adc/ |
| D | cpcap-adc.c | 1 // 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 …]
|
| /kernel/linux/linux-6.6/drivers/iio/adc/ |
| D | cpcap-adc.c | 1 // 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 …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns/ |
| D | hns_dsaf_rcb.h | 1 /* 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 …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/hisilicon/hns/ |
| D | hns_dsaf_rcb.h | 1 /* 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 …]
|
| /kernel/linux/linux-5.10/fs/affs/ |
| D | symlink.c | 1 // 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 …]
|
| /kernel/linux/linux-6.6/fs/affs/ |
| D | symlink.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * 1995 Hans-Joachim Widmaier - Modified for affs. 17 struct inode *inode = folio->mapping->host; in affs_symlink_read_folio() 24 pr_debug("get_link(ino=%lu)\n", inode->i_ino); in affs_symlink_read_folio() 26 bh = affs_bread(inode->i_sb, inode->i_ino); in affs_symlink_read_folio() 29 i = 0; in affs_symlink_read_folio() 30 j = 0; in affs_symlink_read_folio() 31 lf = (struct slink_front *)bh->b_data; in affs_symlink_read_folio() 32 lc = 0; in affs_symlink_read_folio() 34 if (strchr(lf->symname,':')) { /* Handle assign or volume name */ in affs_symlink_read_folio() [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/tests/ |
| D | drm_plane_helper_test.c | 1 // SPDX-License-Identifier: GPL-2.0 20 DRM_MODE("1024x768", 0, 65000, 1024, 1048, 21 1184, 1344, 0, 768, 771, 777, 806, 0, 49 const struct drm_check_plane_state_test *params = test->param_value; in drm_plane_helper_init() 59 fb->width = 2048; in drm_plane_helper_init() 60 fb->height = 2048; in drm_plane_helper_init() 64 mock->plane = plane; in drm_plane_helper_init() 65 mock->crtc = ZERO_SIZE_PTR; in drm_plane_helper_init() 66 mock->fb = fb; in drm_plane_helper_init() 67 mock->rotation = params->rotation; in drm_plane_helper_init() [all …]
|
| /kernel/linux/linux-5.10/lib/ |
| D | test_ida.c | 1 // SPDX-License-Identifier: GPL-2.0+ 4 * Copyright (c) 2016-2018 Microsoft Corporation 26 } while (0) 35 for (i = 0; i < 10000; i++) in ida_check_alloc() 40 for (i = 0; i < 3; i++) { in ida_check_alloc() 42 IDA_BUG_ON(ida, id < 0); in ida_check_alloc() 47 for (i = 0; i < 5000; i++) in ida_check_alloc() 68 /* Destroy an already-empty IDA */ in ida_check_destroy() 73 ida_check_destroy_1(ida, 0); in ida_check_destroy() 75 ida_check_destroy_1(ida, 1023); in ida_check_destroy() [all …]
|
| D | test_bitmap.c | 1 // 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 …]
|
| /kernel/linux/linux-6.6/lib/ |
| D | test_ida.c | 1 // SPDX-License-Identifier: GPL-2.0+ 4 * Copyright (c) 2016-2018 Microsoft Corporation 26 } while (0) 35 for (i = 0; i < 10000; i++) in ida_check_alloc() 40 for (i = 0; i < 3; i++) { in ida_check_alloc() 42 IDA_BUG_ON(ida, id < 0); in ida_check_alloc() 47 for (i = 0; i < 5000; i++) in ida_check_alloc() 68 /* Destroy an already-empty IDA */ in ida_check_destroy() 73 ida_check_destroy_1(ida, 0); in ida_check_destroy() 75 ida_check_destroy_1(ida, 1023); in ida_check_destroy() [all …]
|
| /kernel/linux/linux-6.6/drivers/staging/media/atomisp/i2c/ov5693/ |
| D | ad5823.h | 1 /* 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 …]
|
| /kernel/linux/linux-5.10/drivers/staging/media/atomisp/i2c/ov5693/ |
| D | ad5823.h | 1 /* 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 …]
|
| /kernel/linux/linux-5.10/arch/arm/vfp/ |
| D | vfpdouble.c | 8 * 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 …]
|
| /kernel/linux/linux-6.6/arch/arm/vfp/ |
| D | vfpdouble.c | 8 * 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 …]
|
| /kernel/linux/linux-5.10/drivers/hid/ |
| D | wacom_wac.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * USB Wacom tablet support - Wacom specific code 30 * 2^14/pi is a good approximation on Intuos5 and 3rd-gen Bamboo 48 struct input_dev *input = wacom_wac->pen_input; in wacom_force_proxout() 50 wacom_wac->shared->stylus_in_proximity = 0; in wacom_force_proxout() 52 input_report_key(input, BTN_TOUCH, 0); in wacom_force_proxout() 53 input_report_key(input, BTN_STYLUS, 0); in wacom_force_proxout() 54 input_report_key(input, BTN_STYLUS2, 0); in wacom_force_proxout() 55 input_report_key(input, BTN_STYLUS3, 0); in wacom_force_proxout() 56 input_report_key(input, wacom_wac->tool[0], 0); in wacom_force_proxout() [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/selftests/ |
| D | test-drm_plane_helper.c | 1 // 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 …]
|
| /kernel/linux/linux-5.10/net/phonet/ |
| D | sysctl.c | 1 // 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 …]
|
| /kernel/linux/linux-6.6/net/phonet/ |
| D | sysctl.c | 1 // 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 …]
|
| /kernel/linux/linux-5.10/arch/mips/math-emu/ |
| D | ieee754dp.h | 1 /* 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 …]
|
| /kernel/linux/linux-6.6/arch/mips/math-emu/ |
| D | ieee754dp.h | 1 /* 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 …]
|
| /kernel/linux/linux-6.6/drivers/hid/ |
| D | wacom_wac.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * USB Wacom tablet support - Wacom specific code 25 * 2^14/pi is a good approximation on Intuos5 and 3rd-gen Bamboo 43 struct input_dev *input = wacom_wac->pen_input; in wacom_force_proxout() 45 wacom_wac->shared->stylus_in_proximity = 0; in wacom_force_proxout() 47 input_report_key(input, BTN_TOUCH, 0); in wacom_force_proxout() 48 input_report_key(input, BTN_STYLUS, 0); in wacom_force_proxout() 49 input_report_key(input, BTN_STYLUS2, 0); in wacom_force_proxout() 50 input_report_key(input, BTN_STYLUS3, 0); in wacom_force_proxout() 51 input_report_key(input, wacom_wac->tool[0], 0); in wacom_force_proxout() [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/ibm/ehea/ |
| D | ehea.h | 1 /* 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 …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/ibm/ehea/ |
| D | ehea.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 11 * Jan-Bernd Themann <themann@de.ibm.com> 48 #define EHEA_MAX_CQE_COUNT 1023 49 #define EHEA_DEF_ENTRIES_SQ 1023 50 #define EHEA_DEF_ENTRIES_RQ1 1023 51 #define EHEA_DEF_ENTRIES_RQ2 1023 65 #define EHEA_SG_RQ2 0 66 #define EHEA_SG_RQ3 0 75 #define EHEA_PD_ID 0xaabcdeff 84 #define EHEA_SPEED_AUTONEG 0 [all …]
|