| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/hal_g6/phy/rf/halrf_8852b/ |
| H A D | halrf_hwimg_raw_data_8852b.h | 3 * Copyright(c) 2007 - 2020 Realtek Corporation. 34 #if 0 39 PW_BYRATE_PARA_OFFS = 0xF 54 PW_BYRATE_RATE_NULL = 0xF 145 0xF0010000, 0x00000000, 146 0xF0020000, 0x00000001, 147 0xF0010001, 0x00000002, 148 0xF0020001, 0x00000003, 149 0xF0030001, 0x00000004, 150 0xF0040001, 0x00000005, [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/hal_g6/phy/rf/halrf_8852b/ |
| H A D | halrf_hwimg_raw_data_8852b.h | 3 * Copyright(c) 2007 - 2020 Realtek Corporation. 34 #if 0 39 PW_BYRATE_PARA_OFFS = 0xF 54 PW_BYRATE_RATE_NULL = 0xF 145 0xF0010000, 0x00000000, 146 0xF0020000, 0x00000001, 147 0xF0010001, 0x00000002, 148 0xF0020001, 0x00000003, 149 0xF0030001, 0x00000004, 150 0xF0040001, 0x00000005, [all …]
|
| /OK3568_Linux_fs/kernel/sound/synth/emux/ |
| H A D | emux_nrpn.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright (c) 1999-2000 Takashi Iwai <tiwai@suse.de> 15 /* NRPN / CC -> Emu8000 parameter converter */ 24 #define FX_CUTOFF 0 44 for (i = 0; i < num_tables; i++) { in send_converted_effect() 52 return 0; in send_converted_effect() 96 #define fx_env1_delay fx_delay /* [0,5900] 4msec */ 97 #define fx_env1_attack fx_attack /* [0,5940] 1msec */ 98 #define fx_env1_hold fx_hold /* [0,8191] 1msec */ 99 #define fx_env1_decay fx_decay /* [0,5940] 4msec */ [all …]
|
| /OK3568_Linux_fs/kernel/lib/ |
| H A D | test-kstrtox.c | 6 for (i = 0; i < ARRAY_SIZE(test); i++) 35 tmp = 0; \ 36 rv = fn(t->str, t->base, &tmp); \ 37 if (rv >= 0) { \ 38 WARN(1, "str '%s', base %u, expected -E, got %d/" fmt "\n", \ 39 t->str, t->base, rv, tmp); \ 50 const typeof(test[0]) *t = &test[i]; \ 54 rv = fn(t->str, t->base, &res); \ 55 if (rv != 0) { \ 56 WARN(1, "str '%s', base %u, expected 0/" fmt ", got %d\n", \ [all …]
|
| /OK3568_Linux_fs/kernel/drivers/hid/ |
| H A D | hid-lg3ff.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 15 #include "hid-lg.h" 21 * 0 - seems to be command field 22 * 1 - 30 deal with the x axis 23 * 31 -60 deal with the y axis 31 * 0 0 127 127 makes the joystick autocenter hard 33 * 127 0 127 127 makes the joystick loose on the right, 36 * -127 0 -127 -127 makes the joystick loose on the left, 39 * 0 0 -127 -127 makes the joystick rattle very hard 52 struct list_head *report_list = &hid->report_enum[HID_OUTPUT_REPORT].report_list; in hid_lg3ff_play() [all …]
|
| H A D | hid-udraw-ps3.c | 1 // SPDX-License-Identifier: GPL-2.0-only 11 #include "hid-ids.h" 21 * https://vvvv.org/contribution/udraw-hid 26 * - the touch area which works as a touchpad 27 * - the tablet area which works as a touchpad/drawing tablet 28 * - a joypad with a d-pad, and 7 buttons 29 * - an accelerometer device 66 #define MAX_PRESSURE (255 - PRESSURE_OFFSET) 76 * The device's two-finger support is pretty unreliable, as 95 axis = (axis - accel_limits[offset].min) / in clamp_accel() [all …]
|
| /OK3568_Linux_fs/external/mpp/mpp/hal/vpu/h264e/ |
| H A D | hal_h264e_vpu_tbl.c | 8 * http://www.apache.org/licenses/LICENSE-2.0 27 /* sqrt(2^((qp-12)/3))*8 */ 37 /* 31*sqrt(2^((qp-12)/3))/4 */ 70 /* 0 -> 10 */ 71 { 20, -15 }, { 2, 54 }, { 3, 74 }, { 20, -15 }, 72 { 2, 54 }, { 3, 74 }, { -28, 127 }, { -23, 104 }, 73 { -6, 53 }, { -1, 54 }, { 7, 51 }, 75 /* 11 -> 23 unsused for I */ 76 { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, 77 { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, [all …]
|
| /OK3568_Linux_fs/kernel/drivers/staging/media/rkvdec/ |
| H A D | rkvdec-h264.c | 1 // SPDX-License-Identifier: GPL-2.0 9 * Jeffy Chen <jeffy.chen@rock-chips.com> 12 #include <media/v4l2-h264.h> 13 #include <media/v4l2-mem2mem.h> 16 #include "rkvdec-regs.h" 43 #define SEQ_PARAMETER_SET_ID PS_FIELD(0, 4) 125 [0][(ctxidx)] = {idc0_m, idc0_n}, \ 136 /* Table 9-12 – Values of variables m and n for ctxIdx from 0 to 10 */ 137 CABAC_ENTRY(0, 20, -15, 20, -15, 20, -15, 20, -15), 140 CABAC_ENTRY(3, 20, -15, 20, -15, 20, -15, 20, -15), [all …]
|
| /OK3568_Linux_fs/kernel/drivers/media/platform/exynos4-is/ |
| H A D | fimc-is-param.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Samsung EXYNOS4x12 FIMC-IS (Imaging Subsystem) driver 5 * Copyright (C) 2011 - 2013 Samsung Electronics Co., Ltd. 35 #define FIMC_IS_MAGIC_NUMBER 0x01020304 106 #define FIMC_IS_INT_GENERAL 0 111 #define CONTROL_COMMAND_STOP 0 114 #define CONTROL_BYPASS_DISABLE 0 117 #define CONTROL_ERROR_NONE 0 119 /* OTF (On-The-Fly) input interface commands */ 120 #define OTF_INPUT_COMMAND_DISABLE 0 [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/rockchip/ |
| H A D | rockchip_drm_display_pattern.c | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 4 * Author: Sandy Huang <hjc@rock-chips.com> 28 (((-38 * (r) - 74 * (g) + 112 * (b) + 128) >> 8) + 128) 30 (((112 * (r) - 94 * (g) - 18 * (b) + 128) >> 8) + 128) 38 ((((r) >> (8 - (rgb)->red.length)) << (rgb)->red.offset) | \ 39 (((g) >> (8 - (rgb)->green.length)) << (rgb)->green.offset) | \ 40 (((b) >> (8 - (rgb)->blue.length)) << (rgb)->blue.offset) | \ 41 (((a) >> (8 - (rgb)->alpha.length)) << (rgb)->alpha.offset)) 43 #define MAKE_RGB24(rgb, r, g, b) { .value = MAKE_RGBA(rgb, r, g, b, 0) } 46 /* YUV semi-planar */ [all …]
|
| /OK3568_Linux_fs/buildroot/package/gstreamer1/gst1-plugins-good/ |
| H A D | 0002-HACK-flacparse-Handle-metadata-127.patch | 2 From: "james.lin" <james.lin@rock-chips.com> 4 Subject: [PATCH 02/12] HACK: flacparse: Handle metadata 127 6 Signed-off-by: james.lin <james.lin@rock-chips.com> 7 Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com> 8 --- 12 diff --git a/gst/audioparsers/gstflacparse.c b/gst/audioparsers/gstflacparse.c 14 --- a/gst/audioparsers/gstflacparse.c 16 @@ -1567,11 +1567,14 @@ gst_flac_parse_parse_frame (GstBaseParse * parse, GstBaseParseFrame * frame, 17 gboolean is_last = map.data[0] >> 7; 18 guint type = (map.data[0] & 0x7F); [all …]
|
| /OK3568_Linux_fs/yocto/meta-rockchip/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.20/ |
| H A D | 0002-HACK-flacparse-Handle-metadata-127.patch | 2 From: "james.lin" <james.lin@rock-chips.com> 4 Subject: [PATCH 2/5] HACK: flacparse: Handle metadata 127 6 Signed-off-by: james.lin <james.lin@rock-chips.com> 7 Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com> 8 --- 12 diff --git a/gst/audioparsers/gstflacparse.c b/gst/audioparsers/gstflacparse.c 14 --- a/gst/audioparsers/gstflacparse.c 16 @@ -1567,11 +1567,14 @@ gst_flac_parse_parse_frame (GstBaseParse * parse, GstBaseParseFrame * frame, 17 gboolean is_last = map.data[0] >> 7; 18 guint type = (map.data[0] & 0x7F); [all …]
|
| /OK3568_Linux_fs/yocto/meta-rockchip/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.22/ |
| H A D | 0002-HACK-flacparse-Handle-metadata-127.patch | 2 From: "james.lin" <james.lin@rock-chips.com> 4 Subject: [PATCH 02/12] HACK: flacparse: Handle metadata 127 6 Signed-off-by: james.lin <james.lin@rock-chips.com> 7 Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com> 8 --- 12 diff --git a/gst/audioparsers/gstflacparse.c b/gst/audioparsers/gstflacparse.c 14 --- a/gst/audioparsers/gstflacparse.c 16 @@ -1567,11 +1567,14 @@ gst_flac_parse_parse_frame (GstBaseParse * parse, GstBaseParseFrame * frame, 17 gboolean is_last = map.data[0] >> 7; 18 guint type = (map.data[0] & 0x7F); [all …]
|
| /OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/algos/asharp4/ |
| H A D | rk_aiq_asharp_algo_sharp_v4.cpp | 19 int gain_high = 0, gain_low = 0; in sharp_select_params_by_ISO_V4() 40 iso = pExpInfo->arIso[pExpInfo->hdr_mode]; in sharp_select_params_by_ISO_V4() 43 for (i = 0; i < max_iso_step - 1; i++) { in sharp_select_params_by_ISO_V4() 44 if (iso >= pParams->iso[i] && iso <= pParams->iso[i + 1] ) { in sharp_select_params_by_ISO_V4() 45 iso_low = pParams->iso[i] ; in sharp_select_params_by_ISO_V4() 46 iso_high = pParams->iso[i + 1]; in sharp_select_params_by_ISO_V4() 49 ratio = (float)(iso - iso_low) / (iso_high - iso_low); in sharp_select_params_by_ISO_V4() 54 if(iso < pParams->iso[0] ) { in sharp_select_params_by_ISO_V4() 55 iso_low = pParams->iso[0] ; in sharp_select_params_by_ISO_V4() 56 iso_high = pParams->iso[1]; in sharp_select_params_by_ISO_V4() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/realtek/rtw88/ |
| H A D | rtw8822c_table.c | 1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause 2 /* Copyright(c) 2018-2019 Realtek Corporation 16 0x80000015, 0x00000000, 0x40000000, 0x00000000, 17 0x1D90, 0x300001FF, 18 0x1D90, 0x300101FE, 19 0x1D90, 0x300201FD, 20 0x1D90, 0x300301FC, 21 0x1D90, 0x300401FB, 22 0x1D90, 0x300501FA, 23 0x1D90, 0x300601F9, [all …]
|
| /OK3568_Linux_fs/u-boot/arch/arm/include/asm/arch-pxa/ |
| H A D | regs-usb.h | 6 * SPDX-License-Identifier: GPL-2.0+ 14 uint32_t udccr; /* 0x000 */ 18 uint32_t udccfr; /* 0x008 */ 22 uint32_t udccs[16]; /* 0x010 - 0x04c */ 25 uint32_t uicr0; /* 0x050 */ 26 uint32_t uicr1; /* 0x054 */ 27 uint32_t usir0; /* 0x058 */ 28 uint32_t usir1; /* 0x05c */ 31 uint32_t ufnrh; /* 0x060 */ 32 uint32_t ufnrl; /* 0x064 */ [all …]
|
| /OK3568_Linux_fs/kernel/drivers/infiniband/hw/i40iw/ |
| H A D | i40iw_register.h | 3 * Copyright (c) 2015-2016 Intel Corporation. All rights reserved. 15 * - Redistributions of source code must retain the above 19 * - Redistributions in binary form must reproduce the above 38 #define I40E_GLGEN_STAT 0x000B612C /* Reset: POR */ 40 #define I40E_PFHMC_PDINV 0x000C0300 /* Reset: PFR */ 41 #define I40E_PFHMC_PDINV_PMSDIDX_SHIFT 0 42 #define I40E_PFHMC_PDINV_PMSDIDX_MASK (0xFFF << I40E_PFHMC_PDINV_PMSDIDX_SHIFT) 44 #define I40E_PFHMC_PDINV_PMPDIDX_MASK (0x1FF << I40E_PFHMC_PDINV_PMPDIDX_SHIFT) 46 #define I40E_PFHMC_SDCMD_PMSDWR_MASK (0x1 << I40E_PFHMC_SDCMD_PMSDWR_SHIFT) 47 #define I40E_PFHMC_SDDATALOW_PMSDVALID_SHIFT 0 [all …]
|
| /OK3568_Linux_fs/kernel/drivers/input/mouse/ |
| H A D | amimouse.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (c) 2000-2002 Vojtech Pavlik 42 nx = joy0dat & 0xff; in amimouse_interrupt() 45 dx = nx - amimouse_lastx; in amimouse_interrupt() 46 dy = ny - amimouse_lasty; in amimouse_interrupt() 48 if (dx < -127) dx = (256 + nx) - amimouse_lastx; in amimouse_interrupt() 49 if (dx > 127) dx = (nx - 256) - amimouse_lastx; in amimouse_interrupt() 50 if (dy < -127) dy = (256 + ny) - amimouse_lasty; in amimouse_interrupt() 51 if (dy > 127) dy = (ny - 256) - amimouse_lasty; in amimouse_interrupt() 61 input_report_key(dev, BTN_LEFT, ciaa.pra & 0x40); in amimouse_interrupt() [all …]
|
| /OK3568_Linux_fs/kernel/sound/isa/gus/ |
| H A D | gus_mixer.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 28 int shift = kcontrol->private_value & 0xff; in snd_gf1_get_single() 29 int invert = (kcontrol->private_value >> 8) & 1; in snd_gf1_get_single() 31 ucontrol->value.integer.value[0] = (gus->mix_cntrl_reg >> shift) & 1; in snd_gf1_get_single() 33 ucontrol->value.integer.value[0] ^= 1; in snd_gf1_get_single() 34 return 0; in snd_gf1_get_single() 41 int shift = kcontrol->private_value & 0xff; in snd_gf1_put_single() 42 int invert = (kcontrol->private_value >> 8) & 1; in snd_gf1_put_single() 46 nval = ucontrol->value.integer.value[0] & 1; in snd_gf1_put_single() 50 spin_lock_irqsave(&gus->reg_lock, flags); in snd_gf1_put_single() [all …]
|
| /OK3568_Linux_fs/external/mpp/mpp/vproc/inc/ |
| H A D | iep_api.h | 8 * http://www.apache.org/licenses/LICENSE-2.0 57 RK_U32 dei_high_freq_fct; // [0, 127] 59 RK_U32 dei_ei_mode; // deinterlace edge interpolation 0: disable, 1: enable 60 …RK_U32 dei_ei_smooth; // deinterlace edge interpolation for smooth effect 0: disable… 62 RK_U32 dei_ei_radius; // deinterlace edge interpolation radius [0, 3] 74 float saturation; // [0, 1.992] 75 float contrast; // [0, 1.992] 76 RK_S8 brightness; // [-32, 31] 77 float hue_angle; // [-30, 30] 79 RK_U8 color_bar_y; // [0, 127] [all …]
|
| /OK3568_Linux_fs/u-boot/common/ |
| H A D | ddr_spd.c | 2 * Copyright 2008-2014 Freescale Semiconductor, Inc. 4 * SPDX-License-Identifier: GPL-2.0 14 unsigned int cksum = 0; in spd_check() 21 if (spd_rev >= 0x20) { in spd_check() 26 if (spd_rev > 0x13) { in spd_check() 34 for (i = 0; i < 63; i++) { in spd_check() 37 cksum &= 0xFF; in spd_check() 46 return 0; in spd_check() 54 return spd_check(p, spd->spd_rev, spd->cksum); in ddr1_spd_check() 62 return spd_check(p, spd->spd_rev, spd->cksum); in ddr2_spd_check() [all …]
|
| /OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/algos/asharp3/ |
| H A D | rk_aiq_asharp_algo_sharp_v3.cpp | 10 int i = 0; in sharp_get_mode_by_name_V3() 34 p = pCalibdbList->next; in sharp_get_mode_by_name_V3() 44 __FUNCTION__, __LINE__, pProfile->modeName, p); in sharp_get_mode_by_name_V3() 45 if (!strncmp(pProfile->modeName, name, sizeof(pProfile->modeName))) { in sharp_get_mode_by_name_V3() 49 p = p->next; in sharp_get_mode_by_name_V3() 52 if(pCalibdbList->next != pCalibdbList) { in sharp_get_mode_by_name_V3() 53 … Calibdb_Sharp_V3_t* pProfile = container_of(pCalibdbList->next, Calibdb_Sharp_V3_t, listItem); in sharp_get_mode_by_name_V3() 69 int i = 0; in sharp_get_setting_by_name_V3() 94 p = pSettingList->next; in sharp_get_setting_by_name_V3() 103 __FUNCTION__, __LINE__, pSetting->snr_mode, p); in sharp_get_setting_by_name_V3() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/staging/media/atomisp/pci/isp/kernels/ctc/ctc_1.0/ |
| H A D | ia_css_ctc_table.host.c | 1 // SPDX-License-Identifier: GPL-2.0 29 0, 384, 837, 957, 1011, 1062, 1083, 1080, 49 129, 127, 127, 127, 127, 125, 125, 125, 60 25, 23, 24, 20, 13, 9, 12, 0, 61 0
|
| /OK3568_Linux_fs/kernel/arch/powerpc/kernel/ |
| H A D | vecemu.c | 1 // SPDX-License-Identifier: GPL-2.0 25 0x800000, 26 0x8b95c2, 27 0x9837f0, 28 0xa5fed7, 29 0xb504f3, 30 0xc5672a, 31 0xd744fd, 32 0xeac0c7 36 * Computes an estimate of 2^x. The `s' argument is the 32-bit [all …]
|
| /OK3568_Linux_fs/kernel/include/linux/mfd/ |
| H A D | adp5520.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 20 #define ADP5520_MODE_STATUS 0x00 21 #define ADP5520_INTERRUPT_ENABLE 0x01 22 #define ADP5520_BL_CONTROL 0x02 23 #define ADP5520_BL_TIME 0x03 24 #define ADP5520_BL_FADE 0x04 25 #define ADP5520_DAYLIGHT_MAX 0x05 26 #define ADP5520_DAYLIGHT_DIM 0x06 27 #define ADP5520_OFFICE_MAX 0x07 28 #define ADP5520_OFFICE_DIM 0x08 [all …]
|