/linux-master/arch/mips/mm/ |
H A D | sc-mips.c | 122 unsigned int config2 = read_c0_config2(); local 137 if (config2 & (1 << 12)) 141 tmp = (config2 >> 4) & 0x0f; 186 unsigned int config1, config2; local 202 /* Does this MIPS32/MIPS64 CPU have a config2 register? */ 207 config2 = read_c0_config2(); 212 tmp = (config2 >> 8) & 0x0f; 218 tmp = (config2 >> 0) & 0x0f; 227 * According to config2 it would be 5-ways, but that is 236 * According to config2 i [all...] |
H A D | c-r4k.c | 1357 unsigned int config2, lsize; local 1362 config2 = read_c0_config2(); 1363 if ((lsize = ((config2 >> 20) & 15))) 1368 c->vcache.sets = 64 << ((config2 >> 24) & 15); 1369 c->vcache.ways = 1 + ((config2 >> 16) & 15); 1460 unsigned int config2, lsize; local 1462 config2 = read_c0_config2(); 1463 lsize = (config2 >> 4) & 15; 1468 c->scache.sets = 64 << ((config2 >> 8) & 15); 1469 c->scache.ways = 1 + (config2 [all...] |
/linux-master/drivers/staging/iio/addac/ |
H A D | adt7316.c | 100 * ADT7316 config2 185 u8 config2; member in struct:adt7316_chip_info 327 if (chip->config2 & ADT7316_AD_SINGLE_CH_MODE) 340 u8 config2; local 343 config2 = chip->config2 & (~ADT7316_AD_SINGLE_CH_MODE); 345 config2 |= ADT7316_AD_SINGLE_CH_MODE; 347 ret = chip->bus.write(chip->bus.client, ADT7316_CONFIG2, config2); 351 chip->config2 = config2; 415 u8 config2; local 493 u8 config2; local 532 u8 config2; local [all...] |
/linux-master/drivers/perf/amlogic/ |
H A D | meson_ddr_pmu_core.c | 122 u64 config2 = event->attr.config2; local 135 hweight64(config1) + hweight64(config2) > MAX_AXI_PORTS_OF_CHANNEL) 154 u64 config2 = event->attr.config2; local 163 (const unsigned long *)&config2, 164 BITS_PER_TYPE(config2)) 307 if (sscanf(value, "config2:%d", &id) == 1)
|
/linux-master/drivers/mtd/nand/raw/ |
H A D | mxc_nand.c | 439 * complete by checking the INT bit of config2 register. 685 uint32_t config2; local 690 config2 = readl(NFC_V3_CONFIG2); 693 config2 |= NFC_V3_CONFIG2_ECC_EN; 695 config2 &= ~NFC_V3_CONFIG2_ECC_EN; 697 writel(config2, NFC_V3_CONFIG2); 1267 uint32_t config2, config3; local 1283 config2 = NFC_V3_CONFIG2_ONE_CYCLE | 1293 config2 |= NFC_V3_CONFIG2_PS_2048; 1294 config2 | [all...] |
/linux-master/drivers/net/ethernet/seeq/ |
H A D | ether3.c | 176 ether3_outw(priv(dev)->regs.config2 |= CFG2_CTRLO, REG_CONFIG2); 187 if (priv(dev)->regs.config2 & CFG2_CTRLO) 188 ether3_outw(priv(dev)->regs.config2 &= ~CFG2_CTRLO, REG_CONFIG2); 274 priv(dev)->regs.config2 = CFG2_CTRLO|CFG2_RECVCRC|CFG2_ERRENCRC; 301 ether3_outw(priv(dev)->regs.config2, REG_CONFIG2); 337 priv(dev)->regs.config2 |= CFG2_CTRLO; 345 ether3_outw(priv(dev)->regs.config2, REG_CONFIG2); 471 priv(dev)->regs.config2 |= CFG2_CTRLO; 473 ether3_outw(priv(dev)->regs.config2, REG_CONFIG2);
|
H A D | ether3.h | 159 unsigned int config2; member in struct:dev_priv::__anon446
|
/linux-master/drivers/mmc/host/ |
H A D | au1xmmc.c | 197 u32 config2; local 202 config2 = __raw_readl(HOST_CONFIG2(host)); 203 __raw_writel(config2 | SD_CONFIG2_DF, HOST_CONFIG2(host)); 743 u32 config2; local 756 config2 = __raw_readl(HOST_CONFIG2(host)); 759 config2 |= SD_CONFIG2_BB; 762 config2 &= ~SD_CONFIG2_BB; 763 config2 |= SD_CONFIG2_WB; 766 config2 &= ~(SD_CONFIG2_WB | SD_CONFIG2_BB); 769 __raw_writel(config2, HOST_CONFIG [all...] |
H A D | cb710-mmc.c | 621 u32 status, config1, config2, irqen; local 625 config2 = cb710_read_port_32(slot, CB710_MMC_CONFIGB_PORT); 630 status, irqen, config2, config1); local
|
/linux-master/drivers/scsi/ |
H A D | am53c974.c | 229 if (esp->config2 & ESP_CONFIG2_FENAB) 252 if (esp->config2 & ESP_CONFIG2_FENAB) 421 esp->config2 |= ESP_CONFIG2_FENAB;
|
H A D | mac53c94.h | 38 unsigned char config2; member in struct:mac53c94_regs 185 * Bits in config2 register.
|
H A D | esp_scsi.c | 298 esp_write8(esp->config2, ESP_CFG2); 303 esp_write8(esp->config2, ESP_CFG2); 309 esp->config2 |= (ESP_CONFIG2_HME32 | ESP_CONFIG2_HMEFENAB); 315 esp_write8(esp->config2, ESP_CFG2); 343 esp_write8(esp->config2, ESP_CFG2); 1331 if (esp->rev == PCSCSI && (esp->config2 & ESP_CONFIG2_FENAB)) 2208 if (esp->config2 == 0) { 2209 esp->config2 = (ESP_CONFIG2_SCSI2ENAB | ESP_CONFIG2_REGPARITY); 2210 esp_write8(esp->config2, ESP_CFG2); 2215 esp->config2 [all...] |
/linux-master/tools/perf/tests/ |
H A D | pmu.c | 23 { "krava21", "config2:0-3,10-13,20-23,30-33,40-43,50-53,60-63\n", }, 24 { "krava22", "config2:8,18,48,58\n", }, 25 { "krava23", "config2:28-29,38\n", }, 193 if (attr.config2 != 0x0400000020041d07)
|
H A D | attr.c | 138 WRITE_ASS(config2, "llu");
|
/linux-master/drivers/perf/ |
H A D | arm_dmc620_pmu.c | 179 #define ATTR_CFG_FLD_invert_CFG config2 182 #define ATTR_CFG_FLD_incr_CFG config2 185 #define ATTR_CFG_FLD_event_CFG config2 188 #define ATTR_CFG_FLD_clkdiv2_CFG config2
|
/linux-master/drivers/hwmon/ |
H A D | lm90.c | 1908 int config2 = i2c_smbus_read_byte_data(client, LM90_REG_CONFIG2); local 1912 if (config2 < 0) 1915 if ((config1 & 0x2a) || (config2 & 0xf8) || convrate > 0x09) 1962 int config2 = i2c_smbus_read_byte_data(client, ADT7481_REG_CONFIG2); local 1968 if (status < 0 || config2 < 0 || man_id2 < 0 || chip_id2 < 0) 2088 !(config2 & 0x7f) && (convrate & 0x0f) <= 0x0b) { 2095 address == 0x4c && !(config1 & 0x10) && !(config2 & 0x7f) && 2105 !(config1 & 0x10) && !(config2 & 0x7f) && convrate <= 0x0a) 2320 int config2 = i2c_smbus_read_byte_data(client, LM90_REG_CONFIG2); local 2324 if (config2 < 2344 int config2; local [all...] |
H A D | adm1026.c | 287 u8 config2; /* Register value */ member in struct:adm1026_data 443 data->config2 = adm1026_read_value(client, 1625 if (data->config2 & (1 << i)) { 1669 data->config2 |= 1 << gpio_output[i]; 1678 data->config2 |= 1 << gpio_input[i]; 1696 data->config2 &= ~(1 << gpio_fan[i]); 1700 adm1026_write_value(client, ADM1026_REG_CONFIG2, data->config2); 1727 data->config2 = adm1026_read_value(client, ADM1026_REG_CONFIG2);
|
/linux-master/arch/x86/events/intel/ |
H A D | uncore_nhmex.c | 198 DEFINE_UNCORE_FORMAT_ATTR(mask, mask, "config2:0-63"); 373 reg2->config = event->attr.config2; 458 reg2->config = event->attr.config2; 807 if (event->attr.config2 & NHMEX_M_PMON_MM_CFG_EN) 808 reg2->config = event->attr.config2; 871 DEFINE_UNCORE_FORMAT_ATTR(filter_cfg_en, filter_cfg_en, "config2:63"); 872 DEFINE_UNCORE_FORMAT_ATTR(filter_match, filter_match, "config2:0-33"); 873 DEFINE_UNCORE_FORMAT_ATTR(filter_mask, filter_mask, "config2:34-61"); 1026 er->config2 == reg2->config)) { 1030 er->config2 [all...] |
/linux-master/arch/mips/kernel/ |
H A D | cpu-probe.c | 490 unsigned int config2; local 492 config2 = read_c0_config2(); 494 if (config2 & MIPS_CONF2_SL) 497 return config2 & MIPS_CONF_M; 866 unsigned int config2; local 868 probe_gc0_config(config2, config2, MIPS_CONF_M); 870 if (config2 & MIPS_CONF_M) 872 return config2 & MIPS_CONF_M; 1748 * XBurst misses a config2 registe [all...] |
/linux-master/drivers/hwtracing/coresight/ |
H A D | coresight-etm-perf.c | 68 PMU_FORMAT_ATTR(sinkid, "config2:0-31"); 70 PMU_FORMAT_ATTR(configid, "config2:32-63"); 323 if (event->attr.config2 & GENMASK_ULL(31, 0)) { 324 id = (u32)event->attr.config2; 332 cfg_hash = (u32)((event->attr.config2 & GENMASK_ULL(63, 32)) >> 32);
|
/linux-master/samples/bpf/ |
H A D | task_fd_query_user.c | 147 attr.config2 = offset; 150 attr.config2 = addr;
|
/linux-master/arch/powerpc/include/asm/ |
H A D | mpc52xx.h | 73 u32 config2; /* SDRAM + 0x0c */ member in struct:mpc52xx_sdram
|
/linux-master/tools/perf/arch/x86/tests/ |
H A D | hybrid.c | 155 TEST_ASSERT_VAL("wrong config2", 3 == evsel->core.attr.config2); 227 .name = "cpu_core/config=10,config1,config2=3,period=1000/u",
|
/linux-master/arch/powerpc/platforms/83xx/ |
H A D | suspend.c | 69 u32 config2; member in struct:mpc83xx_pmc
|
/linux-master/drivers/iommu/intel/ |
H A D | perfmon.c | 103 IOMMU_PMU_ATTR(filter_pasid, "config2:0-21", IOMMU_PMU_FILTER_PASID); 104 IOMMU_PMU_ATTR(filter_ats, "config2:24-28", IOMMU_PMU_FILTER_ATS); 105 IOMMU_PMU_ATTR(filter_page_table, "config2:32-36", IOMMU_PMU_FILTER_PAGE_TABLE); 441 iommu_pmu_set_filter(pasid, event->attr.config2, 444 iommu_pmu_set_filter(ats, event->attr.config2, 447 iommu_pmu_set_filter(page_table, event->attr.config2,
|