| /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-4.19/drivers/iio/adc/ |
| D | cpcap-adc.c | 7 * Copyright (C) 2009-2010 Motorola, Inc. 35 #include <linux/mfd/motorola-cpcap.h> 53 #define CPCAP_BIT_ADEN BIT(0) /* Currently unused */ 75 #define CPCAP_BIT_TS_M0 BIT(0) /* Currently unused */ 94 * struct cpcap_adc_ato - timing settings for cpcap adc 111 * struct cpcap-adc - cpcap adc device driver data 133 * enum cpcap_adc_channel - cpcap adc channels 164 * enum cpcap_adc_timing - cpcap adc timing options 176 * struct cpcap_adc_phasing_tbl - cpcap phasing table 192 * struct cpcap_adc_conversion_tbl - cpcap conversion table [all …]
|
| /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-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-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-4.19/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-4.19/drivers/net/ethernet/hisilicon/hns/ |
| D | hns_dsaf_rcb.h | 2 * Copyright (c) 2014-2015 Hisilicon Limited. 22 #define HNS_RCB_IRQ_IDX_TX 0 24 #define HNS_RCB_TX_REG_OFFSET 0x40 36 #define HNS_RCB_REG_OFFSET 0x10000 40 #define HNS_RCB_TX_FRAMES_HIGH 1023 41 #define HNS_RCB_RX_FRAMES_HIGH 1023 44 #define HNS_RCB_TX_USECS_HIGH 1023 45 #define HNS_RCB_RX_USECS_HIGH 1023 46 #define HNS_RCB_MAX_COALESCED_FRAMES 1023 51 #define HNS_RCB_MAX_COALESCED_USECS 0x3ff [all …]
|
| /kernel/linux/linux-4.19/lib/ |
| D | test_bitmap.c | 93 int result = 0; \ 113 memset(bmap, 0xff, 128); in test_zero_clear() 115 expect_eq_pbl("0-22", bmap, 23); in test_zero_clear() 116 expect_eq_pbl("0-1023", bmap, 1024); in test_zero_clear() 118 /* single-word bitmaps */ in test_zero_clear() 119 bitmap_clear(bmap, 0, 9); in test_zero_clear() 120 expect_eq_pbl("9-1023", bmap, 1024); in test_zero_clear() 123 expect_eq_pbl("64-1023", bmap, 1024); in test_zero_clear() 127 expect_eq_pbl("64-78,98-1023", bmap, 1024); in test_zero_clear() 130 expect_eq_pbl("128-1023", bmap, 1024); in test_zero_clear() [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-4.19/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 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 …]
|
| /kernel/linux/linux-4.19/drivers/hid/ |
| D | wacom_wac.c | 4 * USB Wacom tablet support - Wacom specific code 33 * 2^14/pi is a good approximation on Intuos5 and 3rd-gen Bamboo 64 bool changed = battery->bat_status != bat_status || in __wacom_notify_battery() 65 battery->battery_capacity != bat_capacity || in __wacom_notify_battery() 66 battery->bat_charging != bat_charging || in __wacom_notify_battery() 67 battery->bat_connected != bat_connected || in __wacom_notify_battery() 68 battery->ps_connected != ps_connected; in __wacom_notify_battery() 71 battery->bat_status = bat_status; in __wacom_notify_battery() 72 battery->battery_capacity = bat_capacity; in __wacom_notify_battery() 73 battery->bat_charging = bat_charging; in __wacom_notify_battery() [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-4.19/drivers/gpu/drm/selftests/ |
| D | test-drm-helper.c | 20 return -EINVAL; \ 22 } while (0) 30 plane_state->src_x = src_x; in set_src() 31 plane_state->src_y = src_y; in set_src() 32 plane_state->src_w = src_w; in set_src() 33 plane_state->src_h = src_h; in set_src() 40 if (plane_state->src.x1 < 0) { in check_src_eq() 41 pr_err("src x coordinate %x should never be below 0.\n", plane_state->src.x1); in check_src_eq() 42 drm_rect_debug_print("src: ", &plane_state->src, true); in check_src_eq() 45 if (plane_state->src.y1 < 0) { in check_src_eq() [all …]
|
| /kernel/linux/linux-4.19/drivers/gpu/drm/meson/ |
| D | meson_viu.c | 37 * - OSD1 RGB565/RGB888/xRGB8888 scanout 38 * - RGB conversion to x/cb/cr 39 * - Progressive or Interlace buffer scanout 40 * - OSD1 Commit on Vsync 41 * - HDR OSD matrix for GXL/GXM 45 * - BGR888/xBGR8888/BGRx8888/BGRx8888 modes 46 * - YUV4:2:2 Y0CbY1Cr scanout 47 * - Conversion to YUV 4:4:4 from 4:2:2 input 48 * - Colorkey Alpha matching 49 * - Big endian scanout [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-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-4.19/Documentation/misc-devices/ |
| D | apds990x.txt | 14 ----------- 45 ----- 49 RO - shows detected chip type and version 52 RW - enable / disable chip. Uses counting logic 54 0 disables the chip 56 RO - measured lux value 60 RO - lux0_input max value. Actually never reaches since sensor tends 65 RW - measurement rate in Hz 68 RO - supported measurement rates 71 RW - calibration value. Set to neutral value by default. [all …]
|
| /kernel/linux/linux-4.19/net/phonet/ |
| D | sysctl.c | 8 * Author: Rémi Denis-Courmont 22 * 02110-1301 USA 34 #define DYNAMIC_PORT_MIN 0x40 35 #define DYNAMIC_PORT_MAX 0x7f 38 static int local_port_range_min[2] = {0, 0}; 39 static int local_port_range_max[2] = {1023, 1023}; 46 local_port_range[0] = range[0]; in set_local_port_range() 58 *min = local_port_range[0]; in phonet_get_local_port_range() 69 int range[2] = {local_port_range[0], local_port_range[1]}; in proc_local_port_range() 73 .mode = table->mode, in proc_local_port_range() [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-4.19/drivers/net/ethernet/ibm/ehea/ |
| D | ehea.h | 10 * Jan-Bernd Themann <themann@de.ibm.com> 61 #define EHEA_MAX_CQE_COUNT 1023 62 #define EHEA_DEF_ENTRIES_SQ 1023 63 #define EHEA_DEF_ENTRIES_RQ1 1023 64 #define EHEA_DEF_ENTRIES_RQ2 1023 78 #define EHEA_SG_RQ2 0 79 #define EHEA_SG_RQ3 0 88 #define EHEA_PD_ID 0xaabcdeff 97 #define EHEA_SPEED_AUTONEG 0 100 #define EHEA_BCMC_SCOPE_ALL 0x08 [all …]
|
| /kernel/linux/linux-5.10/Documentation/misc-devices/ |
| D | apds990x.rst | 1 .. 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 …]
|
| /kernel/linux/linux-5.10/lib/ |
| 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-4.19/arch/mips/math-emu/ |
| D | ieee754dp.h | 7 * Copyright (C) 1994-2000 Algorithmics Ltd. 20 * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 27 #define assert(expr) ((void)0) 29 #define DP_EBIAS 1023 30 #define DP_EMIN (-1022) 31 #define DP_EMAX 1023 50 ((rs > (DP_FBITS+3))?1:((v) >> (rs)) | ((v) << (64-(rs)) != 0)) 63 while ((m >> DP_FBITS) == 0) { m <<= 1; e--; } 72 assert((s) == 0 || (s) == 1); in builddp() 73 assert((bx) >= DP_EMIN - 1 + DP_EBIAS in builddp() [all …]
|