/linux/drivers/gpu/drm/amd/include/asic_reg/gc/ |
H A D | gc_9_0_default.h | 26 #define mmGRBM_CNTL_DEFAULT 0x00000018 27 #define mmGRBM_SKEW_CNTL_DEFAULT 0x00000020 28 #define mmGRBM_STATUS2_DEFAULT 0x00000000 29 #define mmGRBM_PWR_CNTL_DEFAULT 0x00000000 30 #define mmGRBM_STATUS_DEFAULT 0x00000000 31 #define mmGRBM_STATUS_SE0_DEFAULT 0x00000000 32 #define mmGRBM_STATUS_SE1_DEFAULT 0x00000000 33 #define mmGRBM_SOFT_RESET_DEFAULT 0x00000000 34 #define mmGRBM_CGTT_CLK_CNTL_DEFAULT 0x00000100 35 #define mmGRBM_GFX_CLKEN_CNTL_DEFAULT 0x00001008 [all …]
|
H A D | gc_10_3_0_default.h | 27 #define mmSDMA0_DEC_START_DEFAULT 0x00000000 28 #define mmSDMA0_GLOBAL_TIMESTAMP_LO_DEFAULT 0x00000000 29 #define mmSDMA0_GLOBAL_TIMESTAMP_HI_DEFAULT 0x00000000 30 #define mmSDMA0_PG_CNTL_DEFAULT 0x00000000 31 #define mmSDMA0_PG_CTX_LO_DEFAULT 0x00000000 32 #define mmSDMA0_PG_CTX_HI_DEFAULT 0x00000000 33 #define mmSDMA0_PG_CTX_CNTL_DEFAULT 0x00000000 34 #define mmSDMA0_POWER_CNTL_DEFAULT 0x40000050 35 #define mmSDMA0_CLK_CTRL_DEFAULT 0x00000100 36 #define mmSDMA0_CNTL_DEFAULT 0x000000c2 [all …]
|
H A D | gc_10_1_0_default.h | 26 #define mmSDMA0_DEC_START_DEFAULT 0x00000000 27 #define mmSDMA0_PG_CNTL_DEFAULT 0x00000000 28 #define mmSDMA0_PG_CTX_LO_DEFAULT 0x00000000 29 #define mmSDMA0_PG_CTX_HI_DEFAULT 0x00000000 30 #define mmSDMA0_PG_CTX_CNTL_DEFAULT 0x00000000 31 #define mmSDMA0_POWER_CNTL_DEFAULT 0x40000050 32 #define mmSDMA0_CLK_CTRL_DEFAULT 0x00000100 33 #define mmSDMA0_CNTL_DEFAULT 0x000000c2 34 #define mmSDMA0_CHICKEN_BITS_DEFAULT 0x01af0107 35 #define mmSDMA0_GB_ADDR_CONFIG_DEFAULT 0x00000044 [all …]
|
/linux/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
H A D | gt215.c | 38 const u32 soff = ior->id * 0x800; in gt215_sor_hda_eld() 41 for (i = 0; i < size; i++) in gt215_sor_hda_eld() 42 nvkm_wr32(device, 0x61c440 + soff, (i << 8) | data[i]); in gt215_sor_hda_eld() 43 for (; i < 0x60; i++) in gt215_sor_hda_eld() 44 nvkm_wr32(device, 0x61c440 + soff, (i << 8)); in gt215_sor_hda_eld() 45 nvkm_mask(device, 0x61c448 + soff, 0x80000002, 0x80000002); in gt215_sor_hda_eld() 52 u32 data = 0x80000000; in gt215_sor_hda_hpd() 53 u32 mask = 0x80000001; in gt215_sor_hda_hpd() 55 data |= 0x00000001; in gt215_sor_hda_hpd() 57 mask |= 0x00000002; in gt215_sor_hda_hpd() [all …]
|
H A D | g84.c | 37 const u32 hoff = head * 0x800; in g84_sor_hdmi_infoframe_vsi() 39 nvkm_mask(device, 0x61653c + hoff, 0x00010001, 0x00010000); in g84_sor_hdmi_infoframe_vsi() 45 nvkm_wr32(device, 0x616544 + hoff, vsi.header); in g84_sor_hdmi_infoframe_vsi() 46 nvkm_wr32(device, 0x616548 + hoff, vsi.subpack0_low); in g84_sor_hdmi_infoframe_vsi() 47 nvkm_wr32(device, 0x61654c + hoff, vsi.subpack0_high); in g84_sor_hdmi_infoframe_vsi() 49 /* nvkm_wr32(device, 0x616550 + hoff, vsi.subpack1_low); */ in g84_sor_hdmi_infoframe_vsi() 50 /* nvkm_wr32(device, 0x616554 + hoff, vsi.subpack1_high); */ in g84_sor_hdmi_infoframe_vsi() 52 nvkm_mask(device, 0x61653c + hoff, 0x00010001, 0x00010001); in g84_sor_hdmi_infoframe_vsi() 60 const u32 hoff = head * 0x800; in g84_sor_hdmi_infoframe_avi() 64 nvkm_mask(device, 0x616520 + hoff, 0x00000001, 0x00000000); in g84_sor_hdmi_infoframe_avi() [all …]
|
/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | sdma_v4_0.c | 76 SOC15_REG_ENTRY_STR(GC, 0, mmSDMA0_STATUS_REG), 77 SOC15_REG_ENTRY_STR(GC, 0, mmSDMA0_STATUS1_REG), 78 SOC15_REG_ENTRY_STR(GC, 0, mmSDMA0_STATUS2_REG), 79 SOC15_REG_ENTRY_STR(GC, 0, mmSDMA0_STATUS3_REG), 80 SOC15_REG_ENTRY_STR(GC, 0, mmSDMA0_UCODE_CHECKSUM), 81 SOC15_REG_ENTRY_STR(GC, 0, mmSDMA0_RB_RPTR_FETCH_HI), 82 SOC15_REG_ENTRY_STR(GC, 0, mmSDMA0_RB_RPTR_FETCH), 83 SOC15_REG_ENTRY_STR(GC, 0, mmSDMA0_UTCL1_RD_STATUS), 84 SOC15_REG_ENTRY_STR(GC, 0, mmSDMA0_UTCL1_WR_STATUS), 85 SOC15_REG_ENTRY_STR(GC, 0, mmSDMA0_UTCL1_RD_XNACK0), [all …]
|
/linux/drivers/net/ethernet/altera/ |
H A D | altera_msgdmahw.h | 19 * bit 15:0 sequence number 22 * bit 15:0 read stride 31 #define MSGDMA_DESC_CTL_SET_CH(x) ((x) & 0xff) 40 #define MSGDMA_DESC_CTL_TR_ERR_IRQ (0xff << 16) 72 #define MSGDMA_DESC_TX_STRIDE (0x00010001) 73 #define MSGDMA_DESC_RX_STRIDE (0x00010001) 81 * bit 15:0 - read fill level 83 u32 resp_fill_level; /* bit 15:0 */ 85 * bit 15:0 - read sequence number 92 #define MSGDMA_CSR_STAT_BUSY BIT(0) [all …]
|
H A D | altera_msgdma.c | 15 return 0; in msgdma_initialize() 36 counter = 0; in msgdma_reset() 58 counter = 0; in msgdma_reset() 108 /* return 0 to indicate transmit is pending */ 115 csrwr32(0, priv->tx_dma_desc, msgdma_descroffs(write_addr_lo)); in msgdma_tx_buffer() 116 csrwr32(0, priv->tx_dma_desc, msgdma_descroffs(write_addr_hi)); in msgdma_tx_buffer() 118 csrwr32(0, priv->tx_dma_desc, msgdma_descroffs(burst_seq_num)); in msgdma_tx_buffer() 123 return 0; in msgdma_tx_buffer() 128 u32 ready = 0; in msgdma_tx_completions() 134 & 0xffff; in msgdma_tx_completions() [all …]
|
/linux/sound/soc/amd/rpl/ |
H A D | rpl_acp6x.h | 10 #define ACP_DEVICE_ID 0x15E2 11 #define ACP6x_PHY_BASE_ADDRESS 0x1240000 13 #define ACP_SOFT_RESET_SOFTRESET_AUDDONE_MASK 0x00010001 15 #define ACP_PGFSM_CNTL_POWER_OFF_MASK 0 17 #define ACP_POWERED_ON 0
|
/linux/drivers/gpu/drm/nouveau/nvkm/engine/gr/ |
H A D | ctxgf110.c | 32 { 0x001000, 1, 0x01, 0x00000004 }, 33 { 0x0000a9, 1, 0x01, 0x0000ffff }, 34 { 0x000038, 1, 0x01, 0x0fac6881 }, 35 { 0x00003d, 1, 0x01, 0x00000001 }, 36 { 0x0000e8, 8, 0x01, 0x00000400 }, 37 { 0x000078, 8, 0x01, 0x00000300 }, 38 { 0x000050, 1, 0x01, 0x00000011 }, 39 { 0x000058, 8, 0x01, 0x00000008 }, 40 { 0x000208, 8, 0x01, 0x00000001 }, 41 { 0x000081, 1, 0x01, 0x00000001 }, [all …]
|
H A D | ctxgf119.c | 32 { 0x001000, 1, 0x01, 0x00000004 }, 33 { 0x0000a9, 1, 0x01, 0x0000ffff }, 34 { 0x000038, 1, 0x01, 0x0fac6881 }, 35 { 0x00003d, 1, 0x01, 0x00000001 }, 36 { 0x0000e8, 8, 0x01, 0x00000400 }, 37 { 0x000078, 8, 0x01, 0x00000300 }, 38 { 0x000050, 1, 0x01, 0x00000011 }, 39 { 0x000058, 8, 0x01, 0x00000008 }, 40 { 0x000208, 8, 0x01, 0x00000001 }, 41 { 0x000081, 1, 0x01, 0x00000001 }, [all …]
|
H A D | ctxgf108.c | 34 { 0x001000, 1, 0x01, 0x00000004 }, 35 { 0x0000a9, 1, 0x01, 0x0000ffff }, 36 { 0x000038, 1, 0x01, 0x0fac6881 }, 37 { 0x00003d, 1, 0x01, 0x00000001 }, 38 { 0x0000e8, 8, 0x01, 0x00000400 }, 39 { 0x000078, 8, 0x01, 0x00000300 }, 40 { 0x000050, 1, 0x01, 0x00000011 }, 41 { 0x000058, 8, 0x01, 0x00000008 }, 42 { 0x000208, 8, 0x01, 0x00000001 }, 43 { 0x000081, 1, 0x01, 0x00000001 }, [all …]
|
/linux/drivers/media/platform/mediatek/mdp3/ |
H A D | mdp_reg_rsz.h | 10 #define PRZ_ENABLE 0x000 11 #define PRZ_CONTROL_1 0x004 12 #define PRZ_CONTROL_2 0x008 13 #define PRZ_INPUT_IMAGE 0x010 14 #define PRZ_OUTPUT_IMAGE 0x014 15 #define PRZ_HORIZONTAL_COEFF_STEP 0x018 16 #define PRZ_VERTICAL_COEFF_STEP 0x01c 17 #define PRZ_LUMA_HORIZONTAL_INTEGER_OFFSET 0x020 18 #define PRZ_LUMA_HORIZONTAL_SUBPIXEL_OFFSET 0x024 19 #define PRZ_LUMA_VERTICAL_INTEGER_OFFSET 0x028 [all …]
|
/linux/drivers/media/pci/cx18/ |
H A D | cx18-firmware.c | 17 #define CX18_PROC_SOFT_RESET 0xc70010 18 #define CX18_DDR_SOFT_RESET 0xc70014 19 #define CX18_CLOCK_SELECT1 0xc71000 20 #define CX18_CLOCK_SELECT2 0xc71004 21 #define CX18_HALF_CLOCK_SELECT1 0xc71008 22 #define CX18_HALF_CLOCK_SELECT2 0xc7100C 23 #define CX18_CLOCK_POLARITY1 0xc71010 24 #define CX18_CLOCK_POLARITY2 0xc71014 25 #define CX18_ADD_DELAY_ENABLE1 0xc71018 26 #define CX18_ADD_DELAY_ENABLE2 0xc7101C [all …]
|
/linux/sound/soc/amd/renoir/ |
H A D | rn_acp3x.h | 11 #define ACP_PHY_BASE_ADDRESS 0x1240000 12 #define ACP_REG_START 0x1240000 13 #define ACP_REG_END 0x1250200 15 #define ACP_DEVICE_ID 0x15E2 16 #define ACP_POWER_ON 0x00 17 #define ACP_POWER_ON_IN_PROGRESS 0x01 18 #define ACP_POWER_OFF 0x02 19 #define ACP_POWER_OFF_IN_PROGRESS 0x03 20 #define ACP_SOFT_RESET_SOFTRESET_AUDDONE_MASK 0x00010001 22 #define ACP_PGFSM_CNTL_POWER_ON_MASK 0x01 [all …]
|
/linux/sound/soc/amd/yc/ |
H A D | acp6x.h | 10 #define ACP_DEVICE_ID 0x15E2 11 #define ACP6x_PHY_BASE_ADDRESS 0x1240000 12 #define ACP6x_REG_START 0x1240000 13 #define ACP6x_REG_END 0x1250200 17 #define ACP_SOFT_RESET_SOFTRESET_AUDDONE_MASK 0x00010001 19 #define ACP_PGFSM_CNTL_POWER_OFF_MASK 0 21 #define ACP_POWERED_ON 0 26 #define ACP_ERROR_MASK 0x20000000 27 #define ACP_EXT_INTR_STAT_CLEAR_MASK 0xFFFFFFFF 28 #define PDM_DMA_STAT 0x10 [all …]
|
/linux/Documentation/devicetree/bindings/thermal/ |
H A D | qoriq-thermal.yaml | 20 Register (IPBRR0) at offset 0x0BF8. 24 0x01900102 T1040 82 reg = <0xf0000 0x1000>; 83 interrupts = <18 2 0 0>; 84 fsl,tmu-range = <0x000a0000 0x00090026 0x0008004a 0x0001006a>; 85 fsl,tmu-calibration = <0x00000000 0x00000025>, 86 <0x00000001 0x00000028>, 87 <0x00000002 0x0000002d>, 88 <0x00000003 0x00000031>, 89 <0x00000004 0x00000036>, [all …]
|
/linux/sound/soc/amd/raven/ |
H A D | acp3x.h | 10 #define I2S_SP_INSTANCE 0x01 11 #define I2S_BT_INSTANCE 0x02 14 #define TDM_DISABLE 0 17 #define ACP3x_PHY_BASE_ADDRESS 0x1240000 18 #define ACP3x_I2S_MODE 0 19 #define ACP3x_REG_START 0x1240000 20 #define ACP3x_REG_END 0x1250200 21 #define ACP3x_I2STDM_REG_START 0x1242400 22 #define ACP3x_I2STDM_REG_END 0x1242410 23 #define ACP3x_BT_TDM_REG_START 0x1242800 [all …]
|
/linux/sound/pci/ice1712/ |
H A D | hoontech.h | 19 #define ICE1712_SUBDEVICE_STDSP24 0x12141217 /* Hoontech SoundTrack Audio DSP 24 */ 20 #define ICE1712_SUBDEVICE_STDSP24_VALUE 0x00010010 /* A dummy id for Hoontech SoundTrack Audio DSP… 21 #define ICE1712_SUBDEVICE_STDSP24_MEDIA7_1 0x16141217 /* Hoontech ST Audio DSP24 Media 7.1 */ 22 #define ICE1712_SUBDEVICE_EVENT_EZ8 0x00010001 /* A dummy id for EZ8 */ 23 #define ICE1712_SUBDEVICE_STAUDIO_ADCIII 0x00010002 /* A dummy id for STAudio ADCIII */ 30 #define ICE1712_STDSP24_0_BOX(r, x) r[0] = ((r[0] & ~3) | ((x)&3)) 31 #define ICE1712_STDSP24_0_DAREAR(r, x) r[0] = ((r[0] & ~4) | (((x)&1)<<2)) 41 #define ICE1712_STDSP24_SET_ADDR(r, a) r[a&3] = ((r[a&3] & ~0x18) | (((a)&3)<<3)) 42 #define ICE1712_STDSP24_CLOCK(r, a, c) r[a&3] = ((r[a&3] & ~0x20) | (((c)&1)<<5)) 47 #define ICE1712_STDSP24_DAREAR (1<<0) [all …]
|
/linux/sound/soc/amd/vangogh/ |
H A D | acp5x.h | 11 #define ACP5x_PHY_BASE_ADDRESS 0x1240000 12 #define ACP_DEVICE_ID 0x15E2 13 #define ACP_SOFT_RESET_SOFTRESET_AUDDONE_MASK 0x00010001 15 #define ACP_PGFSM_CNTL_POWER_ON_MASK 0x01 16 #define ACP_PGFSM_CNTL_POWER_OFF_MASK 0x00 17 #define ACP_PGFSM_STATUS_MASK 0x03 18 #define ACP_POWERED_ON 0x00 19 #define ACP_POWER_ON_IN_PROGRESS 0x01 20 #define ACP_POWERED_OFF 0x02 21 #define ACP_POWER_OFF_IN_PROGRESS 0x03 [all …]
|
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/gpio/ |
H A D | nv50.c | 35 while ((entry = dcb_gpio_entry(bios, 0, ++ent, &ver, &len))) { in nv50_gpio_reset() 36 static const u32 regs[] = { 0xe100, 0xe28c }; in nv50_gpio_reset() 38 u8 line = (data & 0x0000001f); in nv50_gpio_reset() 39 u8 func = (data & 0x0000ff00) >> 8; in nv50_gpio_reset() 40 u8 defs = !!(data & 0x01000000); in nv50_gpio_reset() 41 u8 unk0 = !!(data & 0x02000000); in nv50_gpio_reset() 42 u8 unk1 = !!(data & 0x04000000); in nv50_gpio_reset() 45 u32 lsh = line & 0x0f; in nv50_gpio_reset() 51 nvkm_gpio_set(gpio, 0, func, line, defs); in nv50_gpio_reset() 53 nvkm_mask(device, reg, 0x00010001 << lsh, val << lsh); in nv50_gpio_reset() [all …]
|
/linux/include/soc/bcm2835/ |
H A D | raspberrypi-firmware.h | 15 RPI_FIRMWARE_STATUS_REQUEST = 0, 16 RPI_FIRMWARE_STATUS_SUCCESS = 0x80000000, 17 RPI_FIRMWARE_STATUS_ERROR = 0x80000001, 37 RPI_FIRMWARE_PROPERTY_END = 0, 38 RPI_FIRMWARE_GET_FIRMWARE_REVISION = 0x00000001, 40 RPI_FIRMWARE_SET_CURSOR_INFO = 0x00008010, 41 RPI_FIRMWARE_SET_CURSOR_STATE = 0x00008011, 43 RPI_FIRMWARE_GET_BOARD_MODEL = 0x00010001, 44 RPI_FIRMWARE_GET_BOARD_REVISION = 0x00010002, 45 RPI_FIRMWARE_GET_BOARD_MAC_ADDRESS = 0x00010003, [all …]
|
/linux/include/linux/platform_data/x86/ |
H A D | asus-wmi.h | 10 #define ASUS_WMI_METHODID_SPEC 0x43455053 /* BIOS SPECification */ 11 #define ASUS_WMI_METHODID_SFBD 0x44424653 /* Set First Boot Device */ 12 #define ASUS_WMI_METHODID_GLCD 0x44434C47 /* Get LCD status */ 13 #define ASUS_WMI_METHODID_GPID 0x44495047 /* Get Panel ID?? (Resol) */ 14 #define ASUS_WMI_METHODID_QMOD 0x444F4D51 /* Quiet MODe */ 15 #define ASUS_WMI_METHODID_SPLV 0x4C425053 /* Set Panel Light Value */ 16 #define ASUS_WMI_METHODID_AGFN 0x4E464741 /* Atk Generic FuNction */ 17 #define ASUS_WMI_METHODID_SFUN 0x4E554653 /* FUNCtionalities */ 18 #define ASUS_WMI_METHODID_SDSP 0x50534453 /* Set DiSPlay output */ 19 #define ASUS_WMI_METHODID_GDSP 0x50534447 /* Get DiSPlay output */ [all …]
|
/linux/drivers/bluetooth/ |
H A D | btmtk.h | 11 #define HCI_EV_WMT 0xe4 14 #define BTMTK_WMT_REG_WRITE 0x1 15 #define BTMTK_WMT_REG_READ 0x2 17 #define MT7921_BTSYS_RST 0x70002610 20 #define MT7921_PINMUX_0 0x70005050 21 #define MT7921_PINMUX_1 0x70005054 23 #define MT7921_DLSTATUS 0x7c053c10 32 #define MTK_BT_MISC 0x70002510 33 #define MTK_BT_SUBSYS_RST 0x70002610 34 #define MTK_UDMA_INT_STA_BT 0x74000024 [all …]
|
/linux/sound/soc/amd/ps/ |
H A D | acp63.h | 11 #define ACP_DEVICE_ID 0x15E2 12 #define ACP63_REG_START 0x1240000 13 #define ACP63_REG_END 0x125C000 15 #define ACP_SOFT_RESET_SOFTRESET_AUDDONE_MASK 0x00010001 17 #define ACP_PGFSM_CNTL_POWER_OFF_MASK 0 19 #define ACP_POWERED_ON 0 24 #define ACP_ERROR_MASK 0x20000000 25 #define ACP_EXT_INTR_STAT_CLEAR_MASK 0xFFFFFFFF 26 #define PDM_DMA_STAT 0x1 [all...] |