| /OK3568_Linux_fs/kernel/drivers/gpu/drm/meson/ |
| H A D | meson_dw_hdmi.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 12 * Bit 15-10: RW Reserved. Default 1 starting from G12A 33 * Bit 31 RW free_clk_en: 0=Enable clock gating for power saving; 1= Disable 34 * Bit 12 RW i2s_ws_inv:1=Invert i2s_ws; 0=No invert. Default 0. 35 * Bit 11 RW i2s_clk_inv: 1=Invert i2s_clk; 0=No invert. Default 0. 36 * Bit 10 RW spdif_clk_inv: 1=Invert spdif_clk; 0=No invert. Default 0. 37 * Bit 9 RW tmds_clk_inv: 1=Invert tmds_clk; 0=No invert. Default 0. 38 * Bit 8 RW pixel_clk_inv: 1=Invert pixel_clk; 0=No invert. Default 0. 39 * Bit 7 RW hdcp22_skpclk_en: starting from G12A, 1=enable; 0=disable 40 * Bit 6 RW hdcp22_esmclk_en: starting from G12A, 1=enable; 0=disable [all …]
|
| /OK3568_Linux_fs/kernel/drivers/macintosh/ams/ |
| H A D | ams-input.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 * Copyright (C) 2006 Michael Hanselmann (linux-kernel@hansmi.ch) 20 MODULE_PARM_DESC(joystick, "Enable the input class device on module load"); 22 static bool invert; variable 23 module_param(invert, bool, S_IWUSR | S_IRUGO); 24 MODULE_PARM_DESC(invert, "Invert input data on X and Y axis"); 36 x -= ams_info.xcalib; in ams_idev_poll() 37 y -= ams_info.ycalib; in ams_idev_poll() 38 z -= ams_info.zcalib; in ams_idev_poll() 40 input_report_abs(idev, ABS_X, invert ? -x : x); in ams_idev_poll() [all …]
|
| /OK3568_Linux_fs/u-boot/include/ |
| H A D | pwm.h | 8 * SPDX-License-Identifier: GPL-2.0+ 17 * set_config() - Set the PWM configuration 23 * @return 0 if OK, -ve on error 29 * set_enable() - Enable or disable the PWM 33 * @enable: true to enable, false to disable 34 * @return 0 if OK, -ve on error 36 int (*set_enable)(struct udevice *dev, uint channel, bool enable); 38 * set_invert() - Set the PWM invert 42 * @polarity: true to invert, false to keep normal polarity 43 * @return 0 if OK, -ve on error [all …]
|
| /OK3568_Linux_fs/kernel/sound/soc/codecs/ |
| H A D | tda7419.c | 1 // SPDX-License-Identifier: GPL-2.0-only 131 unsigned int invert:1; member 136 if (tvc->reg == tvc->rreg) in tda7419_vol_is_stereo() 146 (struct tda7419_vol_control *)kcontrol->private_value; in tda7419_vol_info() 148 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in tda7419_vol_info() 149 uinfo->count = tda7419_vol_is_stereo(tvc) ? 2 : 1; in tda7419_vol_info() 150 uinfo->value.integer.min = tvc->min; in tda7419_vol_info() 151 uinfo->value.integer.max = tvc->max; in tda7419_vol_info() 158 unsigned int invert) in tda7419_vol_get_value() argument 162 if (invert) in tda7419_vol_get_value() [all …]
|
| H A D | max98926.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * max98926.c -- ALSA SoC MAX98926 driver 4 * Copyright 2013-15 Maxim Integrated Products 76 { 0x36, 0x00 }, /* Block Enable */ 78 { 0x38, 0x00 }, /* Global Enable */ 122 SND_SOC_DAPM_DAC("Amp Enable", NULL, MAX98926_BLOCK_ENABLE, 124 SND_SOC_DAPM_SUPPLY("Global Enable", MAX98926_GLOBAL_ENABLE, 126 SND_SOC_DAPM_SUPPLY("VI Enable", MAX98926_BLOCK_ENABLE, 130 SND_SOC_DAPM_PGA("BST Enable", MAX98926_BLOCK_ENABLE, 152 {"VI Enable", NULL, "DAI_OUT"}, [all …]
|
| H A D | da9055.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 59 /* Input - Gain, Select and Filter Registers */ 72 /* Output - Gain, Select and Filter Registers */ 289 0x0, 0x10, TLV_DB_SCALE_ITEM(-5400, 0, 0), 290 /* -54dB to 15dB */ 291 0x11, 0x3f, TLV_DB_SCALE_ITEM(-5400, 150, 0) 296 /* -78dB to 12dB */ 297 0x08, 0x7f, TLV_DB_SCALE_ITEM(-7800, 75, 0) 306 static const DECLARE_TLV_DB_SCALE(mic_vol_tlv, -600, 600, 0); 307 static const DECLARE_TLV_DB_SCALE(mixin_gain_tlv, -450, 150, 0); [all …]
|
| /OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-graphics/tslib/ |
| H A D | tslib_1.22.bb | 10 LICENSE = "LGPL-2.0-or-later & GPL-2.0-or-later" 16 …s://github.com/kergoth/tslib/releases/download/${PV}/tslib-${PV}.tar.xz;downloadfilename=tslib-${P… 26 PACKAGECONFIG ??= "debounce dejitter evthres iir linear median pthres skip lowpass invert variance … 27 PACKAGECONFIG[debounce] = "--enable-debounce,--disable-debounce" 28 PACKAGECONFIG[dejitter] = "--enable-dejitter,--disable-dejitter" 29 PACKAGECONFIG[evthres] = "--enable-evthres,--disable-evthres" 30 PACKAGECONFIG[iir] = "--enable-iir,--disable-iir" 31 PACKAGECONFIG[linear] = "--enable-linear,--disable-linear" 32 PACKAGECONFIG[median] = "--enable-median,--disable-median" 33 PACKAGECONFIG[pthres] = "--enable-pthres,--disable-pthres" [all …]
|
| /OK3568_Linux_fs/kernel/drivers/video/fbdev/ |
| H A D | cyber2000fb.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 5 * Copyright (C) 1998-2000 Russell King 77 #define EXT_FUNC_CTL_EXTREGENBL 0x80 /* enable access to 0xbcxxx */ 80 #define PCI_BM_CTL_ENABLE 0x01 /* enable bus-master */ 81 #define PCI_BM_CTL_BURST 0x02 /* enable burst */ 82 #define PCI_BM_CTL_BACK2BACK 0x04 /* enable back to back */ 199 #define EXT_CAP_MODE1_8BIT 0x01 /* enable 8bit capture mode */ 226 #define EXT_LATCH1_VAFC_EN 0x01 /* enable VAFC */ 250 #define EXT_X_START 0xc5 /* ext->screen, 16 bits */ 251 #define EXT_X_END 0xc7 /* ext->screen, 16 bits */ [all …]
|
| /OK3568_Linux_fs/kernel/sound/isa/cs423x/ |
| H A D | cs4236_lib.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 7 * ----- 10 * ----- 20 * D7-D5: version 21 * D4-D0: chip id 22 * 11101 - CS4235 23 * 01011 - CS4236B 24 * 01000 - CS4237B 25 * 01001 - CS4238B 26 * 11110 - CS4239 [all …]
|
| /OK3568_Linux_fs/u-boot/drivers/video/ |
| H A D | mvebu_lcd.c | 6 * SPDX-License-Identifier: GPL-2.0+ 92 for (i = 0; i < dram->num_cs; i++) { in mvebu_lcd_conf_mbus_registers() 93 const struct mbus_dram_window *cs = dram->cs + i; in mvebu_lcd_conf_mbus_registers() 94 writel(((cs->size - 1) & 0xffff0000) | (cs->mbus_attr << 8) | in mvebu_lcd_conf_mbus_registers() 95 (dram->mbus_dram_target_id << 4) | 1, in mvebu_lcd_conf_mbus_registers() 98 writel(cs->base & 0xffff0000, MVEBU_LCD_WIN_BASE(i)); in mvebu_lcd_conf_mbus_registers() 106 int x = lcd_info->x_res; in mvebu_lcd_register_init() 107 int y = lcd_info->y_res; in mvebu_lcd_register_init() 122 * end (currently 1GB-64MB but also may be 2GB-64MB). in mvebu_lcd_register_init() 125 writel(lcd_info->fb_base, MVEBU_LCD_CFG_GRA_START_ADDR0); in mvebu_lcd_register_init() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/s390/net/ |
| H A D | qeth_l3_sys.c | 1 // SPDX-License-Identifier: GPL-2.0 24 if ((proto == QETH_PROT_IPV4 && !in4_pton(buf, -1, addr, -1, &end)) || in qeth_l3_string_to_ipaddr() 25 (proto == QETH_PROT_IPV6 && !in6_pton(buf, -1, addr, -1, &end))) in qeth_l3_string_to_ipaddr() 26 return -EINVAL; in qeth_l3_string_to_ipaddr() 33 switch (route->type) { in qeth_l3_dev_route_show() 39 if (card->info.broadcast_capable == QETH_BROADCAST_WITHOUT_ECHO) in qeth_l3_dev_route_show() 44 if (card->info.broadcast_capable == QETH_BROADCAST_WITHOUT_ECHO) in qeth_l3_dev_route_show() 49 if (card->info.broadcast_capable == QETH_BROADCAST_WITHOUT_ECHO) in qeth_l3_dev_route_show() 63 return qeth_l3_dev_route_show(card, &card->options.route4, buf); in qeth_l3_dev_route4_show() 70 enum qeth_routing_types old_route_type = route->type; in qeth_l3_dev_route_store() [all …]
|
| /OK3568_Linux_fs/kernel/sound/isa/ |
| H A D | opl3sa2.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Driver for Yamaha OPL3-SA[2,3] soundcards 25 MODULE_SUPPORTED_DEVICE("{{Yamaha,YMF719E-S}," 31 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */ 33 static bool enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE_ISAPNP; /* Enable this card */ variable 35 static bool isapnp[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = 1}; 48 MODULE_PARM_DESC(index, "Index value for OPL3-SA soundcard."); 50 MODULE_PARM_DESC(id, "ID string for OPL3-SA soundcard."); 51 module_param_array(enable, bool, NULL, 0444); 52 MODULE_PARM_DESC(enable, "Enable OPL3-SA soundcard."); [all …]
|
| /OK3568_Linux_fs/external/linux-rga/include/ |
| H A D | drmrga.h | 4 * Zhiqin Wei <wzq@rock-chips.com> 10 * http://www.apache.org/licenses/LICENSE-2.0 94 /* write-combine mapping. */ 136 int enable; member 145 uint8_t enable; member 150 uint8_t enable; member 160 /* MAX(min, (max - channel_value)) */ 206 uint16_t flags_index; // auto invert flags index 212 uint8_t invert_flags_mode; // invert flag selete 218 uint8_t invert_enable; // invert channel enable [all …]
|
| /OK3568_Linux_fs/external/rknpu2/examples/3rdparty/rga/RK3588/include/ |
| H A D | drmrga.h | 4 * Zhiqin Wei <wzq@rock-chips.com> 10 * http://www.apache.org/licenses/LICENSE-2.0 94 /* write-combine mapping. */ 136 int enable; member 145 uint8_t enable; member 150 uint8_t enable; member 160 /* MAX(min, (max - channel_value)) */ 206 uint16_t flags_index; // auto invert flags index 212 uint8_t invert_flags_mode; // invert flag selete 218 uint8_t invert_enable; // invert channel enable [all …]
|
| /OK3568_Linux_fs/external/rknpu2/examples/rknn_yolov5_android_apk_demo/app/src/main/cpp/rga/ |
| H A D | drmrga.h | 4 * Zhiqin Wei <wzq@rock-chips.com> 10 * http://www.apache.org/licenses/LICENSE-2.0 94 /* write-combine mapping. */ 136 int enable; member 145 uint8_t enable; member 150 uint8_t enable; member 160 /* MAX(min, (max - channel_value)) */ 206 uint16_t flags_index; // auto invert flags index 212 uint8_t invert_flags_mode; // invert flag selete 218 uint8_t invert_enable; // invert channel enable [all …]
|
| /OK3568_Linux_fs/external/rknpu2/examples/3rdparty/rga/RK356X/include/ |
| H A D | drmrga.h | 4 * Zhiqin Wei <wzq@rock-chips.com> 10 * http://www.apache.org/licenses/LICENSE-2.0 94 /* write-combine mapping. */ 136 int enable; member 145 uint8_t enable; member 150 uint8_t enable; member 160 /* MAX(min, (max - channel_value)) */ 206 uint16_t flags_index; // auto invert flags index 212 uint8_t invert_flags_mode; // invert flag selete 218 uint8_t invert_enable; // invert channel enable [all …]
|
| /OK3568_Linux_fs/kernel/drivers/irqchip/ |
| H A D | irq-st.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 * This is a re-write of Christophe Kerello's PMU driver. 10 #include <dt-bindings/interrupt-controller/irq-st.h> 48 .compatible = "st,stih415-irq-syscfg", 52 .compatible = "st,stih416-irq-syscfg", 56 .compatible = "st,stih407-irq-syscfg", 60 .compatible = "st,stid127-irq-syscfg", 69 struct st_irq_syscfg *ddata = dev_get_drvdata(&pdev->dev); in st_irq_xlate() 71 /* Set the device enable bit. */ in st_irq_xlate() 74 ddata->config |= ST_A9_IRQ_EN_EXT_0; in st_irq_xlate() [all …]
|
| /OK3568_Linux_fs/u-boot/drivers/phy/marvell/ |
| H A D | comphy_a3700.c | 2 * Copyright (C) 2015-2016 Marvell International Ltd. 4 * SPDX-License-Identifier: GPL-2.0+ 36 /*-----------------------------------------------------------*/ 114 for (; timeout > 0; timeout--) { in comphy_poll_reg() 135 static int comphy_pcie_power_up(u32 speed, u32 invert) in comphy_pcie_power_up() argument 142 * 1. Enable max PLL. in comphy_pcie_power_up() 165 * 5. Enable idle sync in comphy_pcie_power_up() 171 * 6. Enable the output of 100M/125M/500M clock in comphy_pcie_power_up() 177 * 7. Enable TX in comphy_pcie_power_up() 200 * 10. Check the Polarity invert bit in comphy_pcie_power_up() [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/clock/ti/ |
| H A D | autoidle.txt | 3 Binding status: Unstable - ABI compatibility may be broken in the future 9 or fixed-factor. 11 [1] Documentation/devicetree/bindings/clock/clock-bindings.txt 14 - reg : offset for the register controlling the autoidle 15 - ti,autoidle-shift : bit shift of the autoidle enable bit 16 - ti,invert-autoidle-bit : autoidle is enabled by setting the bit to 0 20 #clock-cells = <0>; 21 compatible = "ti,divider-clock"; 23 ti,max-div = <31>; 24 ti,autoidle-shift = <8>; [all …]
|
| /OK3568_Linux_fs/u-boot/doc/ |
| H A D | README.bus_vcxk | 2 * (C) Copyright 2008-2009 3 * BuS Elektronik GmbH & Co. KG <www.bus-elektronik.de> 4 * Jens Scharsig <esw@bus-elektronik.de> 6 * SPDX-License-Identifier: GPL-2.0+ 9 U-Boot vcxk video controller driver 16 ----------------------------------------------------------------------- 17 EB+CPU5282-T1 | MCF5282 | BuS Elektronik GmbH & Co. KG 18 EB+MCF-EVB123 | MCF5282 | BuS Elektronik GmbH & Co. KG 23 -------------------- 38 define this option to enable double buffering (needs 16KiB RAM) [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/interrupt-controller/ |
| H A D | st,sti-irq-syscfg.txt | 2 ----------------------------------------------------------- 9 - compatible : Should be set to one of: 10 "st,stih415-irq-syscfg" 11 "st,stih416-irq-syscfg" 12 "st,stih407-irq-syscfg" 13 "st,stid127-irq-syscfg" 14 - st,syscfg : Phandle to Cortex-A9 IRQ system config registers 15 - st,irq-device : Array of IRQs to enable - should be 2 in length 16 - st,fiq-device : Array of FIQs to enable - should be 2 in length 19 - st,invert-ext : External IRQs can be inverted at will. This property inverts [all …]
|
| /OK3568_Linux_fs/external/linux-rga/core/hardware/ |
| H A D | rga_ioctl.h | 4 * Cerf Yu <cerf.yu@rock-chips.com> 10 * http://www.apache.org/licenses/LICENSE-2.0 152 uint16_t enable; member 162 uint16_t xmax; // width - 1 164 uint16_t ymax; // height - 1 170 …uint32_t mmu_flag; /* [0] mmu enable [1] src_flush [2] dst_flush [3] CMD_flush [4~5] page size… 216 uint8_t enable; member 221 uint8_t enable; member 231 /* MAX(min, (max - channel_value)) */ 277 uint16_t flags_index; // auto invert flags index [all …]
|
| /OK3568_Linux_fs/kernel/sound/isa/es1688/ |
| H A D | es1688_lib.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 28 for (i = 10000; i; i--) in snd_es1688_dsp_command() 43 for (i = 1000; i; i--) in snd_es1688_dsp_get_byte() 47 return -ENODEV; in snd_es1688_dsp_get_byte() 62 return -1; in snd_es1688_read() 64 return -1; in snd_es1688_read() 92 outb(3, ES1688P(chip, RESET)); /* valid only for ESS chips, SB -> 1 */ in snd_es1688_reset() 98 snd_printd("ess_reset at 0x%lx: failed!!!\n", chip->port); in snd_es1688_reset() 99 return -ENODEV; in snd_es1688_reset() 101 snd_es1688_dsp_command(chip, 0xc6); /* enable extended mode */ in snd_es1688_reset() [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/sound/ |
| H A D | cs35l36.txt | 5 - compatible : "cirrus,cs35l36" 7 - reg : the I2C address of the device for I2C 9 - VA-supply, VP-supply : power supplies for the device, 13 - cirrus,boost-ctl-millivolt : Boost Voltage Value. Configures the boost 18 - cirrus,boost-peak-milliamp : Boost-converter peak current limit in mA. 24 - cirrus,boost-ind-nanohenry : Inductor estimation LBST reference value. 32 - cirrus,multi-amp-mode : Boolean to determine if there are more than 33 one amplifier in the system. If more than one it is best to Hi-Z the ASP 36 - cirrus,boost-ctl-select : Boost conerter control source selection. 39 0x00 - Control Port Value [all …]
|
| /OK3568_Linux_fs/kernel/drivers/watchdog/ |
| H A D | smsc37b787_wdt.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 9 * any of this software. This material is provided "AS-IS" in 12 * (C) Copyright 2003-2006 Sven Anders <anders@anduras.de> 15 * 2003 - Created version 1.0 for Linux 2.4.x. 16 * 2006 - Ported to Linux 2.6, added nowayout and MAGICCLOSE 38 * For an example userspace keep-alive daemon, see: 60 /* enable support for minutes as units? */ 86 /* -- Low level function ----------------------------------------*/ 124 /* -- Medium level functions ------------------------------------*/ 128 /* -- General Purpose I/O Bit 1.2 -- in gpio_bit12() [all …]
|