/linux/drivers/gpu/drm/xe/ |
H A D | xe_lrc.c | 33 #define LRC_VALID BIT_ULL(0) 60 * | Indirect Ring State Page | 0 or 4k, see | 63 * | Indirect Context Page | 0 or 4k, see | 130 * [5:0]: Number of NOPs or registers to set values to in case of 135 * is used for offsets smaller than 0x200 while the latter is for values bigger 140 * [6:0]: Register offset, without considering the engine base. 151 #define POSTED BIT(0) in set_offsets() 152 #define REG(x) (((x) >> 2) | BUILD_BUG_ON_ZERO(x >= 0x200)) in set_offsets() 154 (((x) >> 9) | BIT(7) | BUILD_BUG_ON_ZERO(x >= 0x10000)), \ in set_offsets() 155 (((x) >> 2) & 0x7f) in set_offsets() [all …]
|
/linux/drivers/clk/sunxi-ng/ |
H A D | ccu-sun9i-a80.c | 23 #define CCU_SUN9I_LOCK_REG 0x09c 32 #define SUN9I_A80_PLL_C0CPUX_REG 0x000 33 #define SUN9I_A80_PLL_C1CPUX_REG 0x004 37 .lock = BIT(0), 38 .mult = _SUNXI_CCU_MULT_OFFSET_MIN_MAX(8, 8, 0, 12, 0), 52 .mult = _SUNXI_CCU_MULT_OFFSET_MIN_MAX(8, 8, 0, 12, 0), 66 * and 24.576 MHz, ignore them for now. Enforce d1 = 0 and d2 = 0. 68 #define SUN9I_A80_PLL_AUDIO_REG 0x008 73 .n = _SUNXI_CCU_MULT_OFFSET_MIN_MAX(8, 8, 0, 12, 0), 74 .m = _SUNXI_CCU_DIV_OFFSET(0, 6, 0), [all …]
|
/linux/arch/arm/boot/dts/nxp/imx/ |
H A D | imx50-pinfunc.h | 13 #define MX50_PAD_KEY_COL0__KPP_COL_0 0x020 0x2cc 0x000 0x0 0x0 14 #define MX50_PAD_KEY_COL0__GPIO4_0 0x020 0x2cc 0x000 0x1 0x0 15 #define MX50_PAD_KEY_COL0__EIM_NANDF_CLE 0x020 0x2cc 0x000 0x2 0x0 16 #define MX50_PAD_KEY_COL0__CTI_TRIGIN7 0x020 0x2cc 0x000 0x6 0x0 17 #define MX50_PAD_KEY_COL0__USBPHY1_TXREADY 0x020 0x2cc 0x000 0x7 0x0 18 #define MX50_PAD_KEY_ROW0__KPP_ROW_0 0x024 0x2d0 0x000 0x0 0x0 19 #define MX50_PAD_KEY_ROW0__GPIO4_1 0x024 0x2d0 0x000 0x1 0x0 20 #define MX50_PAD_KEY_ROW0__EIM_NANDF_ALE 0x024 0x2d0 0x000 0x2 0x0 21 #define MX50_PAD_KEY_ROW0__CTI_TRIGIN_ACK7 0x024 0x2d0 0x000 0x6 0x0 22 #define MX50_PAD_KEY_ROW0__USBPHY1_RXVALID 0x024 0x2d0 0x000 0x7 0x0 [all …]
|
H A D | imx6sl-pinfunc.h | 13 #define MX6SL_PAD_AUD_MCLK__AUDIO_CLK_OUT 0x04c 0x2a4 0x000 0x0 0x0 14 #define MX6SL_PAD_AUD_MCLK__PWM4_OUT 0x04c 0x2a4 0x000 0x1 0x0 15 #define MX6SL_PAD_AUD_MCLK__ECSPI3_RDY 0x04c 0x2a4 0x6b4 0x2 0x0 16 #define MX6SL_PAD_AUD_MCLK__FEC_MDC 0x04c 0x2a4 0x000 0x3 0x0 17 #define MX6SL_PAD_AUD_MCLK__WDOG2_RESET_B_DEB 0x04c 0x2a4 0x000 0x4 0x0 18 #define MX6SL_PAD_AUD_MCLK__GPIO1_IO06 0x04c 0x2a4 0x000 0x5 0x0 19 #define MX6SL_PAD_AUD_MCLK__SPDIF_EXT_CLK 0x04c 0x2a4 0x7f4 0x6 0x0 20 #define MX6SL_PAD_AUD_RXC__AUD3_RXC 0x050 0x2a8 0x000 0x0 0x0 21 #define MX6SL_PAD_AUD_RXC__I2C1_SDA 0x050 0x2a8 0x720 0x1 0x0 22 #define MX6SL_PAD_AUD_RXC__UART3_TX_DATA 0x050 0x2a8 0x000 0x2 0x0 [all …]
|
H A D | imx6dl-pinfunc.h | 13 #define MX6QDL_PAD_CSI0_DAT10__IPU1_CSI0_DATA10 0x04c 0x360 0x000 0x0 0x0 14 #define MX6QDL_PAD_CSI0_DAT10__AUD3_RXC 0x04c 0x360 0x000 0x1 0x0 15 #define MX6QDL_PAD_CSI0_DAT10__ECSPI2_MISO 0x04c 0x360 0x7f8 0x2 0x0 16 #define MX6QDL_PAD_CSI0_DAT10__UART1_TX_DATA 0x04c 0x360 0x000 0x3 0x0 17 #define MX6QDL_PAD_CSI0_DAT10__UART1_RX_DATA 0x04c 0x360 0x8fc 0x3 0x0 18 #define MX6QDL_PAD_CSI0_DAT10__GPIO5_IO28 0x04c 0x360 0x000 0x5 0x0 19 #define MX6QDL_PAD_CSI0_DAT10__ARM_TRACE07 0x04c 0x360 0x000 0x7 0x0 20 #define MX6QDL_PAD_CSI0_DAT11__IPU1_CSI0_DATA11 0x050 0x364 0x000 0x0 0x0 21 #define MX6QDL_PAD_CSI0_DAT11__AUD3_RXFS 0x050 0x364 0x000 0x1 0x0 22 #define MX6QDL_PAD_CSI0_DAT11__ECSPI2_SS0 0x050 0x364 0x800 0x2 0x0 [all …]
|
H A D | imxrt1050-pinfunc.h | 10 #define IMX_PAD_SION 0x40000000 17 #define MXRT1050_IOMUXC_GPIO_EMC_00_SEMC_DA00 0x014 0x204 0x000 0x0 0x0 18 #define MXRT1050_IOMUXC_GPIO_EMC_00_FLEXPWM4_PWM0_A 0x014 0x204 0x494 0x1 0x0 19 #define MXRT1050_IOMUXC_GPIO_EMC_00_LPSPI2_SCK 0x014 0x204 0x500 0x2 0x1 20 #define MXRT1050_IOMUXC_GPIO_EMC_00_XBAR_INOUT2 0x014 0x204 0x60C 0x3 0x0 21 #define MXRT1050_IOMUXC_GPIO_EMC_00_FLEXIO1_D00 0x014 0x204 0x000 0x4 0x0 22 #define MXRT1050_IOMUXC_GPIO_EMC_00_GPIO4_IO00 0x014 0x204 0x000 0x5 0x0 24 #define MXRT1050_IOMUXC_GPIO_EMC_01_SEMC_DA01 0x018 0x208 0x000 0x0 0x0 25 #define MXRT1050_IOMUXC_GPIO_EMC_01_FLEXPWM4_PWM0_B 0x018 0x208 0x000 0x1 0x0 26 #define MXRT1050_IOMUXC_GPIO_EMC_01_LPSPI2_PCS0 0x018 0x208 0x4FC 0x2 0x1 [all …]
|
H A D | imx35-pinfunc.h | 13 #define MX35_PAD_CAPTURE__GPT_CAPIN1 0x004 0x328 0x000 0x0 0x0 14 #define MX35_PAD_CAPTURE__GPT_CMPOUT2 0x004 0x328 0x000 0x1 0x0 15 #define MX35_PAD_CAPTURE__CSPI2_SS1 0x004 0x328 0x7f4 0x2 0x0 16 #define MX35_PAD_CAPTURE__EPIT1_EPITO 0x004 0x328 0x000 0x3 0x0 17 #define MX35_PAD_CAPTURE__CCM_CLK32K 0x004 0x328 0x7d0 0x4 0x0 18 #define MX35_PAD_CAPTURE__GPIO1_4 0x004 0x328 0x850 0x5 0x0 19 #define MX35_PAD_COMPARE__GPT_CMPOUT1 0x008 0x32c 0x000 0x0 0x0 20 #define MX35_PAD_COMPARE__GPT_CAPIN2 0x008 0x32c 0x000 0x1 0x0 21 #define MX35_PAD_COMPARE__GPT_CMPOUT3 0x008 0x32c 0x000 0x2 0x0 22 #define MX35_PAD_COMPARE__EPIT2_EPITO 0x008 0x32c 0x000 0x3 0x0 [all …]
|
H A D | imxrt1170-pinfunc.h | 10 #define IMX_PAD_SION 0x40000000 17 #define IOMUXC_GPIO_LPSR_00_FLEXCAN3_TX 0x000 0x040 0x0 0x0 0x0 18 #define IOMUXC_GPIO_LPSR_00_MIC_CLK 0x000 0x040 0x0 0x1 0x0 19 #define IOMUXC_GPIO_LPSR_00_MQS_RIGHT 0x000 0x040 0x0 0x2 0x0 20 #define IOMUXC_GPIO_LPSR_00_ARM_CM4_EVENTO 0x000 0x040 0x0 0x3 0x0 21 #define IOMUXC_GPIO_LPSR_00_GPIO_MUX6_IO00 0x000 0x040 0x0 0x5 0x0 22 #define IOMUXC_GPIO_LPSR_00_LPUART12_TXD 0x000 0x040 0x0B0 0x6 0x0 23 #define IOMUXC_GPIO_LPSR_00_SAI4_MCLK 0x000 0x040 0x0C8 0x7 0x0 24 #define IOMUXC_GPIO_LPSR_00_GPIO12_IO00 0x000 0x040 0x0 0xA 0x0 26 #define IOMUXC_GPIO_LPSR_01_FLEXCAN3_RX 0x004 0x044 0x080 0x0 0x0 [all …]
|
/linux/drivers/accel/habanalabs/include/goya/asic_reg/ |
H A D | pci_nrtr_regs.h | 22 #define mmPCI_NRTR_HBW_MAX_CRED 0x100 24 #define mmPCI_NRTR_LBW_MAX_CRED 0x120 26 #define mmPCI_NRTR_DBG_E_ARB 0x300 28 #define mmPCI_NRTR_DBG_W_ARB 0x304 30 #define mmPCI_NRTR_DBG_N_ARB 0x308 32 #define mmPCI_NRTR_DBG_S_ARB 0x30C 34 #define mmPCI_NRTR_DBG_L_ARB 0x310 36 #define mmPCI_NRTR_DBG_E_ARB_MAX 0x320 38 #define mmPCI_NRTR_DBG_W_ARB_MAX 0x324 40 #define mmPCI_NRTR_DBG_N_ARB_MAX 0x328 [all …]
|
/linux/arch/arm64/boot/dts/freescale/ |
H A D | imx8mn-pinfunc.h | 14 …ne MX8MN_IOMUXC_BOOT_MODE2_CCMSRCGPCMIX_BOOT_MODE2 0x020 0x25C 0x000 0x0 0x0 15 …ne MX8MN_IOMUXC_BOOT_MODE2_I2C1_SCL 0x020 0x25C 0x55C 0x1 0x3 16 …ne MX8MN_IOMUXC_BOOT_MODE3_CCMSRCGPCMIX_BOOT_MODE3 0x024 0x260 0x000 0x0 0x0 17 …ne MX8MN_IOMUXC_BOOT_MODE3_I2C1_SDA 0x024 0x260 0x56C 0x1 0x3 18 …ne MX8MN_IOMUXC_GPIO1_IO00_GPIO1_IO0 0x028 0x290 0x000 0x0 0x0 19 …ne MX8MN_IOMUXC_GPIO1_IO00_CCMSRCGPCMIX_ENET_PHY_REF_CLK_ROOT 0x028 0x290 0x000 0x1 0x0 20 …ne MX8MN_IOMUXC_GPIO1_IO00_ANAMIX_REF_CLK_32K 0x028 0x290 0x000 0x5 0x0 21 …ne MX8MN_IOMUXC_GPIO1_IO00_CCMSRCGPCMIX_EXT_CLK1 0x028 0x290 0x000 0x6 0x0 22 …ne MX8MN_IOMUXC_GPIO1_IO01_GPIO1_IO1 0x02C 0x294 0x000 0x0 0x0 23 …ne MX8MN_IOMUXC_GPIO1_IO01_PWM1_OUT 0x02C 0x294 0x000 0x1 0x0 [all …]
|
H A D | imx8mp-pinfunc.h | 10 #define MX8MP_DSE_X1 0x0 11 #define MX8MP_DSE_X2 0x4 12 #define MX8MP_DSE_X4 0x2 13 #define MX8MP_DSE_X6 0x6 16 #define MX8MP_FSEL_FAST 0x10 17 #define MX8MP_FSEL_SLOW 0x0 20 #define MX8MP_ODE_ENABLE 0x20 21 #define MX8MP_ODE_DISABLE 0x0 23 #define MX8MP_PULL_DOWN 0x0 24 #define MX8MP_PULL_UP 0x40 [all …]
|
/linux/include/dt-bindings/clock/ |
H A D | am4.h | 8 #define AM4_CLKCTRL_OFFSET 0x20 12 #define AM4_L3S_TSC_CLKCTRL_OFFSET 0x120 14 #define AM4_L3S_TSC_ADC_TSC_CLKCTRL AM4_L3S_TSC_CLKCTRL_INDEX(0x120) 17 #define AM4_L4_WKUP_AON_CLKCTRL_OFFSET 0x228 19 #define AM4_L4_WKUP_AON_WKUP_M3_CLKCTRL AM4_L4_WKUP_AON_CLKCTRL_INDEX(0x228) 20 #define AM4_L4_WKUP_AON_COUNTER_32K_CLKCTRL AM4_L4_WKUP_AON_CLKCTRL_INDEX(0x230) 23 #define AM4_L4_WKUP_CLKCTRL_OFFSET 0x220 25 #define AM4_L4_WKUP_L4_WKUP_CLKCTRL AM4_L4_WKUP_CLKCTRL_INDEX(0x220) 26 #define AM4_L4_WKUP_TIMER1_CLKCTRL AM4_L4_WKUP_CLKCTRL_INDEX(0x328) 27 #define AM4_L4_WKUP_WD_TIMER2_CLKCTRL AM4_L4_WKUP_CLKCTRL_INDEX(0x338) [all …]
|
/linux/drivers/media/i2c/ |
H A D | saa717x.c | 36 MODULE_PARM_DESC(debug, "Debug level (0-1)"); 76 #define TUNER_AUDIO_MONO 0 /* LL */ 90 int fw_addr = reg == 0x454 || (reg >= 0x464 && reg <= 0x478) || reg == 0x480 || reg == 0x488; in saa717x_write() 94 msg.flags = 0; in saa717x_write() 96 mm1[0] = (reg >> 8) & 0xff; in saa717x_write() 97 mm1[1] = reg & 0xff; in saa717x_write() 100 mm1[4] = (value >> 16) & 0xff; in saa717x_write() 101 mm1[3] = (value >> 8) & 0xff; in saa717x_write() 102 mm1[2] = value & 0xff; in saa717x_write() 104 mm1[2] = value & 0xff; in saa717x_write() [all …]
|
/linux/include/linux/mfd/mt6358/ |
H A D | registers.h | 10 #define MT6358_SWCID 0xa 11 #define MT6358_TOPSTATUS 0x28 12 #define MT6358_TOP_RST_MISC 0x14c 13 #define MT6358_MISC_TOP_INT_CON0 0x188 14 #define MT6358_MISC_TOP_INT_STATUS0 0x194 15 #define MT6358_TOP_INT_STATUS0 0x19e 16 #define MT6358_SCK_TOP_INT_CON0 0x52e 17 #define MT6358_SCK_TOP_INT_STATUS0 0x53a 18 #define MT6358_EOSC_CALI_CON0 0x540 19 #define MT6358_EOSC_CALI_CON1 0x542 [all …]
|
/linux/drivers/gpu/drm/nouveau/nvkm/engine/gr/fuc/ |
H A D | macros.fuc | 27 #define GF100 0xc0 28 #define GF117 0xd7 29 #define GK100 0xe0 30 #define GK110 0xf0 31 #define GK208 0x108 32 #define GM107 0x117 34 #define NV_PGRAPH_TRAPPED_ADDR 0x400704 35 #define NV_PGRAPH_TRAPPED_DATA_LO 0x400708 36 #define NV_PGRAPH_TRAPPED_DATA_HI 0x40070c 38 #define NV_PGRAPH_FE_OBJECT_TABLE(n) ((n) * 4 + 0x400700) [all …]
|
/linux/arch/powerpc/include/asm/ |
H A D | spu.h | 23 #define MFC_PUT_CMD 0x20 24 #define MFC_PUTS_CMD 0x28 25 #define MFC_PUTR_CMD 0x30 26 #define MFC_PUTF_CMD 0x22 27 #define MFC_PUTB_CMD 0x21 28 #define MFC_PUTFS_CMD 0x2A 29 #define MFC_PUTBS_CMD 0x29 30 #define MFC_PUTRF_CMD 0x32 31 #define MFC_PUTRB_CMD 0x31 32 #define MFC_PUTL_CMD 0x24 [all …]
|
/linux/include/linux/mfd/mt6359/ |
H A D | registers.h | 10 #define MT6359_SWCID 0xa 11 #define MT6359_TOPSTATUS 0x2a 12 #define MT6359_TOP_RST_MISC 0x14c 13 #define MT6359_MISC_TOP_INT_CON0 0x188 14 #define MT6359_MISC_TOP_INT_STATUS0 0x194 15 #define MT6359_TOP_INT_STATUS0 0x19e 16 #define MT6359_SCK_TOP_INT_CON0 0x528 17 #define MT6359_SCK_TOP_INT_STATUS0 0x534 18 #define MT6359_EOSC_CALI_CON0 0x53a 19 #define MT6359_EOSC_CALI_CON1 0x53c [all …]
|
/linux/arch/arm/mach-imx/ |
H A D | pm-imx5.c | 26 #define MXC_CCM_CLPCR 0x54 27 #define MXC_CCM_CLPCR_LPM_OFFSET 0 28 #define MXC_CCM_CLPCR_LPM_MASK 0x3 30 #define MXC_CCM_CLPCR_VSTBY (0x1 << 8) 31 #define MXC_CCM_CLPCR_SBYOS (0x1 << 6) 33 #define MXC_CORTEXA8_PLAT_LPC 0xc 34 #define MXC_CORTEXA8_PLAT_LPC_DSM (1 << 0) 37 #define MXC_SRPG_NEON_SRPGCR 0x280 38 #define MXC_SRPG_ARM_SRPGCR 0x2a0 39 #define MXC_SRPG_EMPGC0_SRPGCR 0x2c0 [all …]
|
/linux/drivers/media/pci/saa7134/ |
H A D | saa7134-reg.h | 12 # define PCI_DEVICE_ID_PHILIPS_SAA7130 0x7130 15 # define PCI_DEVICE_ID_PHILIPS_SAA7133 0x7133 18 # define PCI_DEVICE_ID_PHILIPS_SAA7134 0x7134 21 # define PCI_DEVICE_ID_PHILIPS_SAA7135 0x7135 29 /* DMA channels, n = 0 ... 6 */ 30 #define SAA7134_RS_BA1(n) ((0x200 >> 2) + 4*n) 31 #define SAA7134_RS_BA2(n) ((0x204 >> 2) + 4*n) 32 #define SAA7134_RS_PITCH(n) ((0x208 >> 2) + 4*n) 33 #define SAA7134_RS_CONTROL(n) ((0x20c >> 2) + 4*n) 34 #define SAA7134_RS_CONTROL_WSWAP (0x01 << 25) [all …]
|
/linux/drivers/memory/tegra/ |
H A D | tegra210-emc.h | 21 #define EMC_INTSTATUS 0x0 23 #define EMC_DBG 0x8 26 #define EMC_CFG 0xc 31 #define EMC_PIN 0x24 32 #define EMC_PIN_PIN_CKE BIT(0) 35 #define EMC_TIMING_CONTROL 0x28 36 #define EMC_RC 0x2c 37 #define EMC_RFC 0x30 38 #define EMC_RAS 0x34 39 #define EMC_RP 0x38 [all …]
|
H A D | tegra194.c | 19 .override = 0x000, 20 .security = 0x004, 29 .override = 0x008, 30 .security = 0x00c, 39 .override = 0x010, 40 .security = 0x014, 49 .override = 0x0a8, 50 .security = 0x0ac, 59 .override = 0x0b0, 60 .security = 0x0b4, [all …]
|
/linux/drivers/net/ethernet/mediatek/ |
H A D | mtk_wed_regs.h | 8 #define MTK_WDMA_DESC_CTRL_LEN1 GENMASK(14, 0) 9 #define MTK_WDMA_DESC_CTRL_LEN1_V2 GENMASK(13, 0) 26 #define MTK_WED_REV_ID 0x004 28 #define MTK_WED_RESET 0x008 29 #define MTK_WED_RESET_TX_BM BIT(0) 48 #define MTK_WED_CTRL 0x00c 49 #define MTK_WED_CTRL_WPDMA_INT_AGENT_EN BIT(0) 75 #define MTK_WED_EXT_INT_STATUS 0x020 76 #define MTK_WED_EXT_INT_STATUS_TF_LEN_ERR BIT(0) 103 #define MTK_WED_EXT_INT_MASK 0x028 [all …]
|
/linux/arch/powerpc/boot/dts/fsl/ |
H A D | t2081si-post.dtsi | 37 alloc-ranges = <0 0 0x10000 0>; 42 alloc-ranges = <0 0 0x10000 0>; 47 alloc-ranges = <0 0 0x10000 0>; 54 interrupts = <25 2 0 0>; 57 /* controller at 0x240000 */ 59 compatible = "fsl,t2080-pcie", "fsl,qoriq-pcie-v3.0", "fsl,qoriq-pcie"; 63 bus-range = <0x0 0xff>; 64 interrupts = <20 2 0 0>; 66 pcie@0 { 67 reg = <0 0 0 0 0>; [all …]
|
/linux/drivers/net/wireless/mediatek/mt76/mt7603/ |
H A D | regs.h | 6 #define MT_HW_REV 0x1000 7 #define MT_HW_CHIPID 0x1008 8 #define MT_TOP_MISC2 0x1134 10 #define MT_MCU_BASE 0x2000 13 #define MT_MCU_PCIE_REMAP_1 MT_MCU(0x500) 14 #define MT_MCU_PCIE_REMAP_1_OFFSET GENMASK(17, 0) 17 #define MT_MCU_PCIE_REMAP_2 MT_MCU(0x504) 18 #define MT_MCU_PCIE_REMAP_2_OFFSET GENMASK(18, 0) 21 #define MT_HIF_BASE 0x4000 24 #define MT_INT_SOURCE_CSR MT_HIF(0x200) [all …]
|
/linux/include/linux/mfd/mt6357/ |
H A D | registers.h | 10 #define MT6357_TOP0_ID 0x0 11 #define MT6357_TOP0_REV0 0x2 12 #define MT6357_TOP0_DSN_DBI 0x4 13 #define MT6357_TOP0_DSN_DXI 0x6 14 #define MT6357_HWCID 0x8 15 #define MT6357_SWCID 0xa 16 #define MT6357_PONSTS 0xc 17 #define MT6357_POFFSTS 0xe 18 #define MT6357_PSTSCTL 0x10 19 #define MT6357_PG_DEB_STS0 0x12 [all …]
|