/linux/drivers/accel/habanalabs/gaudi/ |
H A D | gaudi_security.c | 481 while (pb_addr & 0xFFF) { in gaudi_pb_set_block() 482 WREG32(pb_addr, 0); in gaudi_pb_set_block() 505 WREG32(mmMME0_CTRL_BASE - CFG_BASE + PROT_BITS_OFFS + 0x7C, 0); in gaudi_init_mme_protection_bits() 506 WREG32(mmMME1_CTRL_BASE - CFG_BASE + PROT_BITS_OFFS + 0x7C, 0); in gaudi_init_mme_protection_bits() 507 WREG32(mmMME2_CTRL_BASE - CFG_BASE + PROT_BITS_OFFS + 0x7C, 0); in gaudi_init_mme_protection_bits() 508 WREG32(mmMME3_CTRL_BASE - CFG_BASE + PROT_BITS_OFFS + 0x7C, 0); in gaudi_init_mme_protection_bits() 510 WREG32(mmMME0_QM_BASE - CFG_BASE + PROT_BITS_OFFS + 0x7C, 0); in gaudi_init_mme_protection_bits() 511 WREG32(mmMME2_QM_BASE - CFG_BASE + PROT_BITS_OFFS + 0x7C, 0); in gaudi_init_mme_protection_bits() 513 pb_addr = (mmMME0_CTRL_RESET & ~0xFFF) + PROT_BITS_OFFS; in gaudi_init_mme_protection_bits() 515 mask = 1U << ((mmMME0_CTRL_RESET & 0x7F) >> 2); in gaudi_init_mme_protection_bits() [all …]
|
/linux/drivers/accel/habanalabs/goya/ |
H A D | goya_security.c | 22 while (pb_addr & 0xFFF) { in goya_pb_set_block() 23 WREG32(pb_addr, 0); in goya_pb_set_block() 34 u64 mmMME_SBB_POWER_ECO1 = 0xDFF60, in goya_init_mme_protection_bits() 35 mmMME_SBB_POWER_ECO2 = 0xDFF64; in goya_init_mme_protection_bits() 67 pb_addr = (mmMME_DUMMY & ~0xFFF) + PROT_BITS_OFFS; in goya_init_mme_protection_bits() 69 mask = 1 << ((mmMME_DUMMY & 0x7F) >> 2); in goya_init_mme_protection_bits() 70 mask |= 1 << ((mmMME_RESET & 0x7F) >> 2); in goya_init_mme_protection_bits() 71 mask |= 1 << ((mmMME_STALL & 0x7F) >> 2); in goya_init_mme_protection_bits() 72 mask |= 1 << ((mmMME_SM_BASE_ADDRESS_LOW & 0x7F) >> 2); in goya_init_mme_protection_bits() 73 mask |= 1 << ((mmMME_SM_BASE_ADDRESS_HIGH & 0x7F) >> 2); in goya_init_mme_protection_bits() [all …]
|
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ |
H A D | nv50.c | 32 /* 0x01: no bank swizzle in nv50_mmu_kind() 33 * 0x02: bank swizzled in nv50_mmu_kind() 34 * 0x7f: invalid in nv50_mmu_kind() 36 * 0x01/0x02 are values understood by the VRAM allocator, in nv50_mmu_kind() 42 0x01, 0x7f, 0x7f, 0x7f, 0x7f, 0x7f, 0x7f, 0x7f, /* 0x00 */ in nv50_mmu_kind() 43 0x7f, 0x7f, 0x7f, 0x7f, 0x7f, 0x7f, 0x7f, 0x7f, in nv50_mmu_kind() 44 0x01, 0x01, 0x01, 0x01, 0x7f, 0x7f, 0x7f, 0x7f, /* 0x10 */ in nv50_mmu_kind() 45 0x02, 0x02, 0x02, 0x02, 0x7f, 0x7f, 0x7f, 0x7f, in nv50_mmu_kind() 46 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x7f, /* 0x20 */ in nv50_mmu_kind() 47 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x7f, in nv50_mmu_kind() [all …]
|
/linux/drivers/media/platform/verisilicon/ |
H A D | rockchip_vpu981_regs.h | 28 #define av1_dec_e AV1_DEC_REG(1, 0, 0x1) 29 #define av1_dec_abort_e AV1_DEC_REG(1, 5, 0x1) 30 #define av1_dec_tile_int_e AV1_DEC_REG(1, 7, 0x1) 32 #define av1_dec_clk_gate_e AV1_DEC_REG(2, 10, 0x1) 34 #define av1_dec_out_ec_bypass AV1_DEC_REG(3, 8, 0x1) 35 #define av1_write_mvs_e AV1_DEC_REG(3, 12, 0x1) 36 #define av1_filtering_dis AV1_DEC_REG(3, 14, 0x1) 37 #define av1_dec_out_dis AV1_DEC_REG(3, 15, 0x1) 38 #define av1_dec_out_ec_byte_word AV1_DEC_REG(3, 16, 0x1) 39 #define av1_skip_mode AV1_DEC_REG(3, 26, 0x1) [all …]
|
/linux/drivers/regulator/ |
H A D | rn5t618-regulator.c | 45 REG(DCDC1, DC1CTL, BIT(0), DC1DAC, 0xff, 600000, 3500000, 12500), 46 REG(DCDC2, DC2CTL, BIT(0), DC2DAC, 0xff, 600000, 3500000, 12500), 47 REG(DCDC3, DC3CTL, BIT(0), DC3DAC, 0xff, 600000, 3500000, 12500), 48 REG(DCDC4, DC4CTL, BIT(0), DC4DAC, 0xff, 600000, 3500000, 12500), 50 REG(LDO1, LDOEN1, BIT(0), LDO1DAC, 0x7f, 900000, 3500000, 25000), 51 REG(LDO2, LDOEN1, BIT(1), LDO2DAC, 0x7f, 900000, 3500000, 25000), 52 REG(LDO3, LDOEN1, BIT(2), LDO3DAC, 0x7f, 600000, 3500000, 25000), 53 REG(LDO4, LDOEN1, BIT(3), LDO4DAC, 0x7f, 900000, 3500000, 25000), 54 REG(LDO5, LDOEN1, BIT(4), LDO5DAC, 0x7f, 900000, 3500000, 25000), 56 REG(LDORTC1, LDOEN2, BIT(4), LDORTCDAC, 0x7f, 1200000, 3500000, 25000), [all …]
|
H A D | mt6358-regulator.c | 54 .enable_mask = BIT(0), \ 58 .qi = BIT(0), \ 82 .vsel_mask = GENMASK(3, 0), \ 107 .enable_mask = BIT(0), \ 112 .qi = BIT(0), \ 127 .vsel_mask = GENMASK(3, 0), \ 155 .enable_mask = BIT(0), \ 159 .qi = BIT(0), \ 183 .vsel_mask = GENMASK(3, 0), \ 208 .enable_mask = BIT(0), \ [all …]
|
H A D | rc5t583-regulator.c | 83 RC5T583_REG(DC0, DC0CTL, 0, DC0CTL, 1, 0x7F, 700, 1500, 12500, 4), 84 RC5T583_REG(DC1, DC1CTL, 0, DC1CTL, 1, 0x7F, 700, 1500, 12500, 14), 85 RC5T583_REG(DC2, DC2CTL, 0, DC2CTL, 1, 0x7F, 900, 2400, 12500, 14), 86 RC5T583_REG(DC3, DC3CTL, 0, DC3CTL, 1, 0x7F, 900, 2400, 12500, 14), 87 RC5T583_REG(LDO0, LDOEN2, 0, LDODIS2, 0, 0x7F, 900, 3400, 25000, 160), 88 RC5T583_REG(LDO1, LDOEN2, 1, LDODIS2, 1, 0x7F, 900, 3400, 25000, 160), 89 RC5T583_REG(LDO2, LDOEN2, 2, LDODIS2, 2, 0x7F, 900, 3400, 25000, 160), 90 RC5T583_REG(LDO3, LDOEN2, 3, LDODIS2, 3, 0x7F, 900, 3400, 25000, 160), 91 RC5T583_REG(LDO4, LDOEN2, 4, LDODIS2, 4, 0x3F, 750, 1500, 12500, 133), 92 RC5T583_REG(LDO5, LDOEN2, 5, LDODIS2, 5, 0x7F, 900, 3400, 25000, 267), [all …]
|
H A D | mt6357-regulator.c | 53 .enable_mask = BIT(0), \ 75 .enable_mask = BIT(0), \ 96 .enable_mask = BIT(0), \ 99 .da_vsel_mask = 0x7f00, \ 114 .enable_mask = BIT(0), \ 134 if (ret != 0) { in mt6357_get_buck_voltage_sel() 178 0, 186 0, 188 0, 189 0, [all …]
|
H A D | mt6311-regulator.h | 10 #define MT6311_SWCID 0x01 12 #define MT6311_TOP_INT_CON 0x18 13 #define MT6311_TOP_INT_MON 0x19 15 #define MT6311_VDVFS11_CON0 0x87 16 #define MT6311_VDVFS11_CON7 0x88 17 #define MT6311_VDVFS11_CON8 0x89 18 #define MT6311_VDVFS11_CON9 0x8A 19 #define MT6311_VDVFS11_CON10 0x8B 20 #define MT6311_VDVFS11_CON11 0x8C 21 #define MT6311_VDVFS11_CON12 0x8D [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/drivers/net/wireless/mediatek/mt76/mt76x0/ |
H A D | initvals_phy.h | 12 { MT_RF(0, 1), 0x01 }, 13 { MT_RF(0, 2), 0x11 }, 15 { MT_RF(0, 3), 0x73 }, /* VCO Freq Cal */ 16 { MT_RF(0, 4), 0x30 }, /* R4 b<7>=1, VCO cal */ 17 { MT_RF(0, 5), 0x00 }, 18 { MT_RF(0, 6), 0x41 }, 19 { MT_RF(0, 7), 0x00 }, 20 { MT_RF(0, 8), 0x00 }, 21 { MT_RF(0, 9), 0x00 }, 22 { MT_RF(0, 10), 0x0C }, [all …]
|
/linux/drivers/gpu/drm/i915/display/ |
H A D | intel_ddi_buf_trans.c | 19 { .hsw = { 0x00FFFFFF, 0x0006000E, 0x0 } }, 20 { .hsw = { 0x00D75FFF, 0x0005000A, 0x0 } }, 21 { .hsw = { 0x00C30FFF, 0x00040006, 0x0 } }, 22 { .hsw = { 0x80AAAFFF, 0x000B0000, 0x0 } }, 23 { .hsw = { 0x00FFFFFF, 0x0005000A, 0x0 } }, 24 { .hsw = { 0x00D75FFF, 0x000C0004, 0x0 } }, 25 { .hsw = { 0x80C30FFF, 0x000B0000, 0x0 } }, 26 { .hsw = { 0x00FFFFFF, 0x00040006, 0x0 } }, 27 { .hsw = { 0x80D75FFF, 0x000B0000, 0x0 } }, 36 { .hsw = { 0x00FFFFFF, 0x0007000E, 0x0 } }, [all …]
|
/linux/lib/fonts/ |
H A D | font_ter16x32.c | 8 { 0, 0, FONTDATAMAX, 0 }, { 9 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 10 0x00, 0x00, 0x00, 0x00, 0x7f, 0xfc, 0x7f, 0xfc, 11 0x70, 0x1c, 0x70, 0x1c, 0x70, 0x1c, 0x70, 0x1c, 12 0x70, 0x1c, 0x70, 0x1c, 0x70, 0x1c, 0x70, 0x1c, 13 0x70, 0x1c, 0x70, 0x1c, 0x70, 0x1c, 0x70, 0x1c, 14 0x70, 0x1c, 0x70, 0x1c, 0x70, 0x1c, 0x70, 0x1c, 15 0x7f, 0xfc, 0x7f, 0xfc, 0x00, 0x00, 0x00, 0x00, 16 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0 */ 17 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, [all …]
|
/linux/sound/core/seq/ |
H A D | seq_ump_convert.c | 37 if (src <= 0x40) in upscale_7_to_16bit() 39 repeat = src & 0x3f; in upscale_7_to_16bit() 48 if (src <= 0x40) in upscale_7_to_32bit() 50 repeat = src & 0x3f; in upscale_7_to_32bit() 60 if (src <= 0x2000) in upscale_14_to_32bit() 62 repeat = src & 0x1fff; in upscale_14_to_32bit() 68 return port->ump_group ? (port->ump_group - 1) : 0; in get_ump_group() 73 ump_compose(type, get_ump_group(port), 0, 0) 122 /* Encoders for MIDI1 status 0x80-0xe0 */ 124 {SNDRV_SEQ_EVENT_NOTEOFF, ump_midi1_to_note_ev}, /* 0x80 */ [all …]
|
H A D | seq_midi_event.c | 23 /* from 0 to 6 are normal commands (note off, on, etc.) for 0x9?-0xe? */ 27 /* from 8 to 15 are events for 0xf0-0xf7 */ 54 /* 0x80 - 0xef */ 64 /* 0xf0 - 0xff */ 65 {SNDRV_SEQ_EVENT_SYSEX, 1, NULL, NULL}, /* sysex: 0xf0 */ 66 {SNDRV_SEQ_EVENT_QFRAME, 1, one_param_event, one_param_decode}, /* 0xf1 */ 67 {SNDRV_SEQ_EVENT_SONGPOS, 2, songpos_event, songpos_decode}, /* 0xf2 */ 68 {SNDRV_SEQ_EVENT_SONGSEL, 1, one_param_event, one_param_decode}, /* 0xf3 */ 69 {SNDRV_SEQ_EVENT_NONE, -1, NULL, NULL}, /* 0xf4 */ 70 {SNDRV_SEQ_EVENT_NONE, -1, NULL, NULL}, /* 0xf5 */ [all …]
|
/linux/include/linux/regulator/ |
H A D | pca9450.h | 10 PCA9450_TYPE_PCA9450A = 0, 17 PCA9450_BUCK1 = 0, 32 PCA9450_DVS_LEVEL_RUN = 0, 37 #define PCA9450_BUCK1_VOLTAGE_NUM 0x80 38 #define PCA9450_BUCK2_VOLTAGE_NUM 0x80 39 #define PCA9450_BUCK3_VOLTAGE_NUM 0x80 40 #define PCA9450_BUCK4_VOLTAGE_NUM 0x80 42 #define PCA9450_BUCK5_VOLTAGE_NUM 0x80 43 #define PCA9450_BUCK6_VOLTAGE_NUM 0x80 45 #define PCA9450_LDO1_VOLTAGE_NUM 0x08 [all …]
|
/linux/drivers/media/dvb-frontends/ |
H A D | rtl2832_priv.h | 242 {DVBT_DAGC_TRG_VAL, 0x39}, 243 {DVBT_AGC_TARG_VAL_0, 0x0}, 244 {DVBT_AGC_TARG_VAL_8_1, 0x5a}, 245 {DVBT_AAGC_LOOP_GAIN, 0x16}, 246 {DVBT_LOOP_GAIN2_3_0, 0x6}, 247 {DVBT_LOOP_GAIN2_4, 0x1}, 248 {DVBT_LOOP_GAIN3, 0x16}, 249 {DVBT_VTOP1, 0x35}, 250 {DVBT_VTOP2, 0x21}, 251 {DVBT_VTOP3, 0x21}, [all …]
|
/linux/drivers/thermal/intel/ |
H A D | intel_tcc.c | 22 * The bitmask of TjMax is not included in this structure. It is always 0xff. 38 TCC_MODEL_TEMP_MASKS(nehalem, 0, 0x7f, 0x7f); 39 TCC_MODEL_TEMP_MASKS(haswell_x, 0xf, 0x7f, 0x7f); 40 TCC_MODEL_TEMP_MASKS(broadwell, 0x3f, 0x7f, 0x7f); 41 TCC_MODEL_TEMP_MASKS(goldmont, 0x7f, 0x7f, 0x7f); 42 TCC_MODEL_TEMP_MASKS(tigerlake, 0x3f, 0xff, 0xff); 43 TCC_MODEL_TEMP_MASKS(sapphirerapids, 0x3f, 0x7f, 0xff); 47 .tcc_offset = 0x7f, 48 .digital_readout = 0xff, 49 .pkg_digital_readout = 0xff, [all …]
|
/linux/drivers/mtd/nand/spi/ |
H A D | esmt.c | 12 /* ESMT uses GigaDevice 0xc8 JECDEC ID on some SPI NANDs */ 13 #define SPINAND_MFR_ESMT_C8 0xc8 16 SPINAND_PAGE_READ_FROM_CACHE_X4_OP(0, 1, NULL, 0), 17 SPINAND_PAGE_READ_FROM_CACHE_X2_OP(0, 1, NULL, 0), 18 SPINAND_PAGE_READ_FROM_CACHE_OP(true, 0, 1, NULL, 0), 19 SPINAND_PAGE_READ_FROM_CACHE_OP(false, 0, 1, NULL, 0)); 22 SPINAND_PROG_LOAD_X4(true, 0, NULL, 0), 23 SPINAND_PROG_LOAD(true, 0, NULL, 0)); 26 SPINAND_PROG_LOAD_X4(false, 0, NULL, 0), 27 SPINAND_PROG_LOAD(false, 0, NULL, 0)); [all …]
|
/linux/drivers/media/platform/sunxi/sun8i-di/ |
H A D | sun8i-di.h | 20 #define DEINTERLACE_MOD_ENABLE 0x00 21 #define DEINTERLACE_MOD_ENABLE_EN BIT(0) 23 #define DEINTERLACE_FRM_CTRL 0x04 24 #define DEINTERLACE_FRM_CTRL_REG_READY BIT(0) 30 #define DEINTERLACE_BYPASS 0x08 33 #define DEINTERLACE_AGTH_SEL 0x0c 36 #define DEINTERLACE_LINT_CTRL 0x10 37 #define DEINTERLACE_TRD_PRELUMA 0x1c 38 #define DEINTERLACE_BUF_ADDR0 0x20 39 #define DEINTERLACE_BUF_ADDR1 0x24 [all …]
|
/linux/drivers/crypto/hisilicon/hpre/ |
H A D | hpre_main.c | 17 #define HPRE_CTRL_CNT_CLR_CE_BIT BIT(0) 18 #define HPRE_CTRL_CNT_CLR_CE 0x301000 19 #define HPRE_FSM_MAX_CNT 0x301008 20 #define HPRE_VFG_AXQOS 0x30100c 21 #define HPRE_VFG_AXCACHE 0x301010 22 #define HPRE_RDCHN_INI_CFG 0x301014 23 #define HPRE_AWUSR_FP_CFG 0x301018 24 #define HPRE_BD_ENDIAN 0x301020 25 #define HPRE_ECC_BYPASS 0x301024 26 #define HPRE_RAS_WIDTH_CFG 0x301028 [all …]
|
/linux/sound/pci/ice1712/ |
H A D | wtm.c | 71 for (id = 0; id < 7; id++) { in stac9460_dac_mute_all() 72 if (*change_mask & (0x01 << id)) { in stac9460_dac_mute_all() 73 if (id == 0) in stac9460_dac_mute_all() 78 new = (~mute << 7 & 0x80) | (old & ~0x80); in stac9460_dac_mute_all() 82 *change_mask = *change_mask | (0x01 << id); in stac9460_dac_mute_all() 84 *change_mask = *change_mask & ~(0x01 << id); in stac9460_dac_mute_all() 90 for (id = 0; id < 3; id++) { in stac9460_dac_mute_all() 91 if (*change_mask & (0x01 << (id + 7))) { in stac9460_dac_mute_all() 92 if (id == 0) in stac9460_dac_mute_all() 97 new = (~mute << 7 & 0x80) | (old & ~0x80); in stac9460_dac_mute_all() [all …]
|
/linux/drivers/clk/ti/ |
H A D | dpll.c | 161 clk = of_clk_get(node, 0); in _register_dpll() 225 parent_name = of_clk_get_parent_name(node, 0); in _register_dpll_x2() 250 if (ret <= 0) { in _register_dpll_x2() 252 } else if (ti_clk_get_reg_addr(node, 0, &clk_hw->clksel_reg)) { in _register_dpll_x2() 286 u8 dpll_mode = 0; in of_ti_dpll_setup() 316 if (ti_clk_get_reg_addr(node, 0, &dd->control_reg)) in of_ti_dpll_setup() 414 .idlest_mask = 0x1, in of_ti_omap3_dpll_setup() 415 .enable_mask = 0x7, in of_ti_omap3_dpll_setup() 416 .autoidle_mask = 0x7, in of_ti_omap3_dpll_setup() 417 .mult_mask = 0x7ff << 8, in of_ti_omap3_dpll_setup() [all …]
|
/linux/arch/arm64/boot/dts/sprd/ |
H A D | ums512-1h10.dts | 24 reg = <0x0 0x80000000 0x0 0x80000000>; 45 sprd,phy-delay-sd-uhs-sdr104 = <0x7f 0x73 0x72 0x72>; 46 sprd,phy-delay-sd-uhs-sdr50 = <0x6e 0x7f 0x01 0x01>; 47 sprd,phy-delay-sd-highspeed = <0x7f 0x1a 0x9a 0x9a>; 48 sprd,phy-delay-legacy = <0x7f 0x1a 0x9a 0x9a>;
|
/linux/drivers/rtc/ |
H A D | rtc-ds1511.c | 25 #define DS1511_SEC 0x0 26 #define DS1511_MIN 0x1 27 #define DS1511_HOUR 0x2 28 #define DS1511_DOW 0x3 29 #define DS1511_DOM 0x4 30 #define DS1511_MONTH 0x5 31 #define DS1511_YEAR 0x6 32 #define DS1511_CENTURY 0x7 33 #define DS1511_AM1_SEC 0x8 34 #define DS1511_AM2_MIN 0x9 [all …]
|