| /OK3568_Linux_fs/kernel/drivers/media/platform/exynos4-is/ |
| H A D | fimc-reg.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 5 * Copyright (C) 2010 - 2012 Samsung Electronics Co., Ltd. 13 #include "fimc-core.h" 17 #define FIMC_REG_CISRCFMT_ITU601_8BIT BIT(31) 18 #define FIMC_REG_CISRCFMT_ITU601_16BIT BIT(29) 26 #define FIMC_REG_CIWDOFST_OFF_EN BIT(31) 27 #define FIMC_REG_CIWDOFST_CLROVFIY BIT(30) 28 #define FIMC_REG_CIWDOFST_CLROVRLB BIT(29) 30 #define FIMC_REG_CIWDOFST_CLROVFICB BIT(15) 31 #define FIMC_REG_CIWDOFST_CLROVFICR BIT(14) [all …]
|
| /OK3568_Linux_fs/kernel/drivers/staging/media/zoran/ |
| H A D | zr36057.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * zr36057.h - zr36057 register offsets 14 #define ZR36057_VFEHCR_HS_POL BIT(30) 20 #define ZR36057_VFEVCR_VS_POL BIT(30) 26 #define ZR36057_VFESPFR_EXT_FL BIT(26) 27 #define ZR36057_VFESPFR_TOP_FIELD BIT(25) 28 #define ZR36057_VFESPFR_VCLK_POL BIT(24) 47 #define ZR36057_VSSFGR_VID_OVF BIT(8) 48 #define ZR36057_VSSFGR_SNAP_SHOT BIT(1) 49 #define ZR36057_VSSFGR_FRAME_GRAB BIT(0) [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/mediatek/mt76/mt7603/ |
| H A D | mac.h | 1 /* SPDX-License-Identifier: ISC */ 7 #define MT_RXD0_PKT_TYPE GENMASK(31, 29) 10 #define MT_RXD0_NORMAL_IP_SUM BIT(23) 11 #define MT_RXD0_NORMAL_UDP_TCP_SUM BIT(24) 12 #define MT_RXD0_NORMAL_GROUP_1 BIT(25) 13 #define MT_RXD0_NORMAL_GROUP_2 BIT(26) 14 #define MT_RXD0_NORMAL_GROUP_3 BIT(27) 15 #define MT_RXD0_NORMAL_GROUP_4 BIT(28) 29 #define MT_RXD1_NORMAL_HDR_TRANS BIT(23) 30 #define MT_RXD1_NORMAL_HDR_OFFSET BIT(22) [all …]
|
| H A D | regs.h | 1 /* SPDX-License-Identifier: ISC */ 28 #define MT_INT_RX_DONE(_n) BIT(_n) 31 #define MT_INT_TX_DONE(_n) BIT((_n) + 4) 33 #define MT_INT_RX_COHERENT BIT(20) 34 #define MT_INT_TX_COHERENT BIT(21) 35 #define MT_INT_MAC_IRQ3 BIT(27) 37 #define MT_INT_MCU_CMD BIT(30) 40 #define MT_WPDMA_GLO_CFG_TX_DMA_EN BIT(0) 41 #define MT_WPDMA_GLO_CFG_TX_DMA_BUSY BIT(1) 42 #define MT_WPDMA_GLO_CFG_RX_DMA_EN BIT(2) [all …]
|
| /OK3568_Linux_fs/kernel/sound/soc/rockchip/ |
| H A D | rockchip_vad.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 13 #define VAD_DET_CHNL_SHIFT 29 14 #define VAD_DET_CHNL_MASK GENMASK(31, 29) 17 #define AUDIO_24BIT_SAT_MASK BIT(28) 19 #define AUDIO_SAT_24TO16 BIT(28) 21 #define AUDIO_24BIT_ALIGN_MODE_MASK BIT(27) 23 #define AUDIO_24BIT_ALIGN_0_23B BIT(27) 25 #define AUDIO_CHNL_BW_MASK BIT(26) 27 #define AUDIO_CHNL_24B BIT(26) 30 #define AUDIO_CHNL_NUM(x) ((x - 1) << AUDIO_CHNL_NUM_SHIFT) [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/mediatek/mt76/mt7915/ |
| H A D | mac.h | 1 /* SPDX-License-Identifier: ISC */ 14 #define MT_RXD0_NORMAL_IP_SUM BIT(23) 15 #define MT_RXD0_NORMAL_UDP_TCP_SUM BIT(24) 30 #define MT_RXD1_NORMAL_GROUP_1 BIT(11) 31 #define MT_RXD1_NORMAL_GROUP_2 BIT(12) 32 #define MT_RXD1_NORMAL_GROUP_3 BIT(13) 33 #define MT_RXD1_NORMAL_GROUP_4 BIT(14) 34 #define MT_RXD1_NORMAL_GROUP_5 BIT(15) 37 #define MT_RXD1_NORMAL_CM BIT(23) 38 #define MT_RXD1_NORMAL_CLM BIT(24) [all …]
|
| /OK3568_Linux_fs/kernel/drivers/media/platform/s3c-camif/ |
| H A D | camif-regs.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 14 #include "camif-core.h" 15 #include <media/drv-intf/s3c_camif.h> 19 * id = 0 - codec (FIMC C), 1 - preview (FIMC P). 24 #define CISRCFMT_ITU601_8BIT BIT(31) 35 #define CIWDOFST_WINOFSEN BIT(31) 36 #define CIWDOFST_CLROVCOFIY BIT(30) 37 #define CIWDOFST_CLROVRLB_PR BIT(28) 38 /* #define CIWDOFST_CLROVPRFIY BIT(27) */ 39 #define CIWDOFST_CLROVCOFICB BIT(15) [all …]
|
| /OK3568_Linux_fs/kernel/drivers/usb/dwc2/ |
| H A D | hw.h | 1 /* SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) */ 3 * hw.h - DesignWare HS OTG Controller hardware definitions 5 * Copyright 2004-2013 Synopsys, Inc. 16 * 3. The names of the above-listed copyright holders may not be used 44 #define GOTGCTL_CHIRPEN BIT(27) 47 #define GOTGCTL_OTGVER BIT(20) 48 #define GOTGCTL_BSESVLD BIT(19) 49 #define GOTGCTL_ASESVLD BIT(18) 50 #define GOTGCTL_DBNC_SHORT BIT(17) 51 #define GOTGCTL_CONID_B BIT(16) [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/mediatek/mt76/mt7615/ |
| H A D | mac.h | 1 /* SPDX-License-Identifier: ISC */ 12 #define MT_RXD0_PKT_TYPE GENMASK(31, 29) 15 #define MT_RXD0_NORMAL_IP_SUM BIT(23) 16 #define MT_RXD0_NORMAL_UDP_TCP_SUM BIT(24) 17 #define MT_RXD0_NORMAL_GROUP_1 BIT(25) 18 #define MT_RXD0_NORMAL_GROUP_2 BIT(26) 19 #define MT_RXD0_NORMAL_GROUP_3 BIT(27) 20 #define MT_RXD0_NORMAL_GROUP_4 BIT(28) 36 #define MT_RXD1_NORMAL_HDR_TRANS BIT(23) 37 #define MT_RXD1_NORMAL_HDR_OFFSET BIT(22) [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/vc4/ |
| H A D | vc4_regs.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Copyright © 2014-2015 Broadcom 47 # define V3D_L2CACTL_L2CCLR BIT(2) 48 # define V3D_L2CACTL_L2CDIS BIT(1) 49 # define V3D_L2CACTL_L2CENA BIT(0) 64 # define V3D_INT_SPILLUSE BIT(3) 65 # define V3D_INT_OUTOMEM BIT(2) 66 # define V3D_INT_FLDONE BIT(1) 67 # define V3D_INT_FRDONE BIT(0) 72 # define V3D_CTRSTA BIT(15) [all …]
|
| /OK3568_Linux_fs/kernel/drivers/media/platform/ti-vpe/ |
| H A D | cal_regs.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 20 * LDOs on the device are disabled if CSI-2 module is powered on 25 * Errata does not apply when CSI-2 module is powered off 30 * which is essentially CSI2 REG10 bit 6: 35 #define DRA72_CAL_PRE_ES2_LDO_DISABLE BIT(0) 120 #define CAL_HL_HWINFO_NPPI_CTXS0_MASK GENMASK(29, 28) 127 #define CAL_HL_SYSCONFIG_SOFTRESET_MASK BIT(0) 138 #define CAL_HL_IRQ_EOI_LINE_NUMBER_MASK BIT(0) 142 #define CAL_HL_IRQ_MASK(m) BIT(m) 144 #define CAL_HL_IRQ_OCPO_ERR_MASK BIT(6) [all …]
|
| /OK3568_Linux_fs/kernel/drivers/misc/rk628/ |
| H A D | rk628_combtxphy.h | 1 /* SPDX-License-Identifier: BSD-3-Clause */ 5 * Author: Guochun Huang <hero.huang@rock-chips.com> 15 #define SW_TX_IDLE_MASK GENMASK(29, 20) 16 #define SW_TX_IDLE(x) UPDATE(x, 29, 20) 24 #define SW_PD_PLL_MASK BIT(4) 25 #define SW_PD_PLL BIT(4) 26 #define SW_GVI_LVDS_EN_MASK BIT(3) 27 #define SW_GVI_LVDS_EN BIT(3) 28 #define SW_MIPI_DSI_EN_MASK BIT(2) 29 #define SW_MIPI_DSI_EN BIT(2) [all …]
|
| /OK3568_Linux_fs/kernel/drivers/media/i2c/rk628/ |
| H A D | rk628_combtxphy.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 5 * Author: Shunqing Chen csq@rock-chips.com> 15 #define SW_TX_IDLE_MASK GENMASK(29, 20) 16 #define SW_TX_IDLE(x) UPDATE(x, 29, 20) 24 #define SW_PD_PLL_MASK BIT(4) 25 #define SW_PD_PLL BIT(4) 26 #define SW_GVI_LVDS_EN_MASK BIT(3) 27 #define SW_GVI_LVDS_EN BIT(3) 28 #define SW_MIPI_DSI_EN_MASK BIT(2) 29 #define SW_MIPI_DSI_EN BIT(2) [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/core-api/ |
| H A D | packing.rst | 6 ----------------- 10 One can memory-map a pointer to a carefully crafted struct over the hardware 15 definitions from the hardware documentation into bit field indices for the 18 (sometimes even 64 bit ones). This creates the inconvenience of having to 23 were performed byte-by-byte. Also the code can easily get cluttered, and the 24 high-level idea might get lost among the many bit shifts required. 25 Many drivers take the bit-shifting approach and then attempt to reduce the 30 ------------ 34 - Packing a CPU-usable number into a memory buffer (with hardware 36 - Unpacking a memory buffer (which has hardware constraints/quirks) [all …]
|
| /OK3568_Linux_fs/kernel/drivers/usb/chipidea/ |
| H A D | bits.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * bits.h - register bits of the ChipIdea USB IP core 5 * Copyright (C) 2008 Chipidea - MIPS Technologies, Inc. All rights reserved. 17 * For 1.x revision, bit24 - bit31 are reserved 18 * For 2.x revision, bit25 - bit28 are 0x2 23 #define CIVERSION (0x7 << 29) 29 #define HCCPARAMS_LEN BIT(17) 33 #define DCCPARAMS_DC BIT(7) 34 #define DCCPARAMS_HC BIT(8) 37 #define TESTMODE_FORCE BIT(0) [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/stmicro/stmmac/ |
| H A D | dwxgmac2.h | 1 /* SPDX-License-Identifier: (GPL-2.0 OR MIT) */ 17 #define XGMAC_CONFIG_SS_OFF 29 18 #define XGMAC_CONFIG_SS_MASK GENMASK(31, 29) 28 #define XGMAC_CONFIG_JD BIT(16) 29 #define XGMAC_CONFIG_TE BIT(0) 32 #define XGMAC_CONFIG_ARPEN BIT(31) 33 #define XGMAC_CONFIG_GPSL GENMASK(29, 16) 38 #define XGMAC_CONFIG_S2KP BIT(11) 39 #define XGMAC_CONFIG_LM BIT(10) 40 #define XGMAC_CONFIG_IPC BIT(9) [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/emulex/benet/ |
| H A D | be_hw.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Copyright (C) 2005-2016 Broadcom. 7 * linux-drivers@emulex.com 18 * for the MAILBOX structure. Software must poll the ready bit until this 20 * bits in the address. It must poll the ready bit until the command is 25 #define MPU_MAILBOX_DB_RDY_MASK 0x1 /* bit 0 */ 26 #define MPU_MAILBOX_DB_HI_MASK 0x2 /* bit 1 */ 33 #define SLIPORT_SEMAPHORE_OFFSET_SH 0x94 /* PCI-CFG offset */ 40 #define SLIPORT_SOFTRESET_SR_MASK 0x00000080 /* SR bit */ 44 #define POST_STAGE_HOST_RDY 0x2 /* Host has given go-ahed to FW */ [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/cortina/ |
| H A D | gemini.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 5 * Copyright (C) 2008-2009 Paulius Zaleckas <paulius.zaleckas@teltonika.lt> 6 * Copyright (C) 2010 Michał Mirosław <mirq-linux@rere.qmqm.pl> 49 * GMAC 0/1 SW TX Q0-5, and GMAC 0/1 HW TX Q0-5 58 #define __RWPTR_PREV(x, mask) (((unsigned int)(x) - 1) & (mask)) 59 #define __RWPTR_DISTANCE(r, w, mask) (((unsigned int)(w) - (r)) & (mask)) 60 #define __RWPTR_MASK(order) ((1 << (order)) - 1) 200 #define GMAC1_TXDERR_INT_BIT BIT(31) 201 #define GMAC1_TXPERR_INT_BIT BIT(30) 202 #define GMAC0_TXDERR_INT_BIT BIT(29) [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/ABI/testing/ |
| H A D | sysfs-class-mtd | 3 KernelVersion: 2.6.29 4 Contact: linux-mtd@lists.infradead.org 11 KernelVersion: 2.6.29 12 Contact: linux-mtd@lists.infradead.org 21 KernelVersion: 2.6.29 22 Contact: linux-mtd@lists.infradead.org 24 These directories provide the corresponding read-only device 29 KernelVersion: 2.6.29 30 Contact: linux-mtd@lists.infradead.org 34 read-write device so <minor> will be even. [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/hal_g6/mac/fw_ax/inc_hdr/ |
| H A D | fwcmd_intf.h | 36 //H2CPKT - CAT(TEST) 48 // CLASS 0 - CMD_PATH 51 // CLASS 1 - SND_Test 53 // CLASS 2 - PLATFORM_AUTO_TEST 70 // CLASS 3 - MAC_TEST 73 // CLASS 4 - FW_AUTO_TEST 77 // CLASS 5 - FW_STATUS_TEST 81 //H2CPKT - CAT(MAC) 107 // CLASS 0 - FW_INFO 114 // CLASS 1 - WOW [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/hal_g6/mac/fw_ax/inc_hdr/ |
| H A D | fwcmd_intf.h | 36 //H2CPKT - CAT(TEST) 48 // CLASS 0 - CMD_PATH 51 // CLASS 1 - SND_Test 53 // CLASS 2 - PLATFORM_AUTO_TEST 70 // CLASS 3 - MAC_TEST 73 // CLASS 4 - FW_AUTO_TEST 77 // CLASS 5 - FW_STATUS_TEST 81 //H2CPKT - CAT(MAC) 107 // CLASS 0 - FW_INFO 114 // CLASS 1 - WOW [all …]
|
| /OK3568_Linux_fs/kernel/drivers/clk/ingenic/ |
| H A D | jz4780-cgu.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright (c) 2013-2015 Imagination Technologies 10 #include <linux/clk-provider.h> 16 #include <dt-bindings/clock/jz4780-cgu.h> 53 #define OPCR_SPENDN0 BIT(7) 54 #define OPCR_SPENDN1 BIT(6) 57 #define USBPCR_USB_MODE BIT(31) 59 #define USBPCR_COMMONONN BIT(25) 60 #define USBPCR_VBUSVLDEXT BIT(24) 61 #define USBPCR_VBUSVLDEXTSEL BIT(23) [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/mediatek/mt76/ |
| H A D | mt76x02_dma.h | 1 /* SPDX-License-Identifier: ISC */ 13 #define MT_TXD_INFO_NEXT_VLD BIT(16) 14 #define MT_TXD_INFO_TX_BURST BIT(17) 15 #define MT_TXD_INFO_80211 BIT(19) 16 #define MT_TXD_INFO_TSO BIT(20) 17 #define MT_TXD_INFO_CSO BIT(21) 18 #define MT_TXD_INFO_WIV BIT(24) 20 #define MT_TXD_INFO_DPORT GENMASK(29, 27) 24 #define MT_RX_FCE_INFO_SELF_GEN BIT(15) 27 #define MT_RX_FCE_INFO_PCIE_INTR BIT(24) [all …]
|
| /OK3568_Linux_fs/kernel/include/linux/mfd/syscon/ |
| H A D | imx6q-iomuxc-gpr.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 69 #define IMX6Q_GPR0_DMAREQ_MUX_SEL7_MASK BIT(7) 71 #define IMX6Q_GPR0_DMAREQ_MUX_SEL7_IOMUX BIT(7) 72 #define IMX6Q_GPR0_DMAREQ_MUX_SEL6_MASK BIT(6) 74 #define IMX6Q_GPR0_DMAREQ_MUX_SEL6_I2C3 BIT(6) 75 #define IMX6Q_GPR0_DMAREQ_MUX_SEL5_MASK BIT(5) 77 #define IMX6Q_GPR0_DMAREQ_MUX_SEL5_EPIT2 BIT(5) 78 #define IMX6Q_GPR0_DMAREQ_MUX_SEL4_MASK BIT(4) 80 #define IMX6Q_GPR0_DMAREQ_MUX_SEL4_I2C1 BIT(4) 81 #define IMX6Q_GPR0_DMAREQ_MUX_SEL3_MASK BIT(3) [all …]
|
| /OK3568_Linux_fs/kernel/include/uapi/linux/ |
| H A D | can.h | 1 /* SPDX-License-Identifier: ((GPL-2.0-only WITH Linux-syscall-note) OR BSD-3-Clause) */ 9 * Copyright (c) 2002-2007 Volkswagen Group Electronic Research 67 * bit 0-28 : CAN identifier (11/29 bit) 68 * bit 29 : error message frame flag (0 = data frame, 1 = error message) 69 * bit 30 : remote transmission request flag (1 = rtr frame) 70 * bit 31 : frame format flag (0 = standard 11 bit, 1 = extended 29 bit) 75 #define CAN_EFF_ID_BITS 29 80 * bit 0-28 : error class mask (see include/uapi/linux/can/error.h) 81 * bit 29-31 : set to zero 85 /* CAN payload length and DLC definitions according to ISO 11898-1 */ [all …]
|