config2 715 arch/mips/include/asm/kvm_host.h __BUILD_KVM_RW_HW(config2, 32, MIPS_CP0_CONFIG, 2) config2 740 arch/mips/include/asm/kvm_host.h __BUILD_KVM_SET_SAVED(config2, 32, MIPS_CP0_CONFIG, 2) config2 720 arch/mips/kernel/cpu-probe.c unsigned int config2; config2 722 arch/mips/kernel/cpu-probe.c config2 = read_c0_config2(); config2 724 arch/mips/kernel/cpu-probe.c if (config2 & MIPS_CONF2_SL) config2 727 arch/mips/kernel/cpu-probe.c return config2 & MIPS_CONF_M; config2 1096 arch/mips/kernel/cpu-probe.c unsigned int config2; config2 1098 arch/mips/kernel/cpu-probe.c probe_gc0_config(config2, config2, MIPS_CONF_M); config2 1100 arch/mips/kernel/cpu-probe.c if (config2 & MIPS_CONF_M) config2 1102 arch/mips/kernel/cpu-probe.c return config2 & MIPS_CONF_M; config2 1479 arch/mips/mm/c-r4k.c unsigned int config2, lsize; config2 1484 arch/mips/mm/c-r4k.c config2 = read_c0_config2(); config2 1485 arch/mips/mm/c-r4k.c if ((lsize = ((config2 >> 20) & 15))) config2 1490 arch/mips/mm/c-r4k.c c->vcache.sets = 64 << ((config2 >> 24) & 15); config2 1491 arch/mips/mm/c-r4k.c c->vcache.ways = 1 + ((config2 >> 16) & 15); config2 1582 arch/mips/mm/c-r4k.c unsigned int config2, lsize; config2 1584 arch/mips/mm/c-r4k.c config2 = read_c0_config2(); config2 1585 arch/mips/mm/c-r4k.c lsize = (config2 >> 4) & 15; config2 1590 arch/mips/mm/c-r4k.c c->scache.sets = 64 << ((config2 >> 8) & 15); config2 1591 arch/mips/mm/c-r4k.c c->scache.ways = 1 + (config2 & 15); config2 123 arch/mips/mm/sc-mips.c unsigned int config2 = read_c0_config2(); config2 138 arch/mips/mm/sc-mips.c if (config2 & (1 << 12)) config2 142 arch/mips/mm/sc-mips.c tmp = (config2 >> 4) & 0x0f; config2 187 arch/mips/mm/sc-mips.c unsigned int config1, config2; config2 207 arch/mips/mm/sc-mips.c config2 = read_c0_config2(); config2 212 arch/mips/mm/sc-mips.c tmp = (config2 >> 8) & 0x0f; config2 218 arch/mips/mm/sc-mips.c tmp = (config2 >> 0) & 0x0f; config2 74 arch/powerpc/include/asm/mpc52xx.h u32 config2; /* SDRAM + 0x0c */ config2 133 arch/powerpc/perf/hv-24x7.c EVENT_DEFINE_RANGE(reserved3, config2, 0, 63); config2 1300 arch/powerpc/perf/hv-24x7.c event->attr.config2, config2 226 arch/powerpc/perf/hv-gpci.c if (event->attr.config2) { config2 69 arch/powerpc/platforms/83xx/suspend.c u32 config2; config2 162 arch/x86/events/intel/uncore.c (er->config1 == reg1->config && er->config2 == reg2->config)) { config2 165 arch/x86/events/intel/uncore.c er->config2 = reg2->config; config2 109 arch/x86/events/intel/uncore.h u64 config, config1, config2; config2 373 arch/x86/events/intel/uncore_nhmex.c reg2->config = event->attr.config2; config2 458 arch/x86/events/intel/uncore_nhmex.c reg2->config = event->attr.config2; config2 807 arch/x86/events/intel/uncore_nhmex.c if (event->attr.config2 & NHMEX_M_PMON_MM_CFG_EN) config2 808 arch/x86/events/intel/uncore_nhmex.c reg2->config = event->attr.config2; config2 1026 arch/x86/events/intel/uncore_nhmex.c er->config2 == reg2->config)) { config2 1030 arch/x86/events/intel/uncore_nhmex.c er->config2 = reg2->config; config2 1105 arch/x86/events/intel/uncore_nhmex.c reg2->config = event->attr.config2; config2 1110 arch/x86/events/intel/uncore_snbep.c reg2->config = event->attr.config2; config2 184 drivers/gpu/drm/sti/sti_hqvdp.c u32 config2; config2 559 drivers/gpu/drm/sti/sti_hqvdp.c seq_printf(s, "\n\t %-20s 0x%08X", "Config2", c->csdi.config2); config2 1214 drivers/gpu/drm/sti/sti_hqvdp.c cmd->csdi.config2 = CSDI_CONFIG2_DFLT; config2 287 drivers/hwmon/adm1026.c u8 config2; /* Register value */ config2 443 drivers/hwmon/adm1026.c data->config2 = adm1026_read_value(client, config2 1625 drivers/hwmon/adm1026.c if (data->config2 & (1 << i)) { config2 1669 drivers/hwmon/adm1026.c data->config2 |= 1 << gpio_output[i]; config2 1678 drivers/hwmon/adm1026.c data->config2 |= 1 << gpio_input[i]; config2 1696 drivers/hwmon/adm1026.c data->config2 &= ~(1 << gpio_fan[i]); config2 1700 drivers/hwmon/adm1026.c adm1026_write_value(client, ADM1026_REG_CONFIG2, data->config2); config2 1727 drivers/hwmon/adm1026.c data->config2 = adm1026_read_value(client, ADM1026_REG_CONFIG2); config2 1475 drivers/hwmon/adt7475.c u8 config2, config3; config2 1549 drivers/hwmon/adt7475.c config2 = adt7475_read(REG_CONFIG2); config2 1550 drivers/hwmon/adt7475.c if (config2 & CONFIG2_ATTN) { config2 225 drivers/hwmon/dme1737.c u8 config2; config2 978 drivers/hwmon/dme1737.c if ((ix == 1) && (data->config2 & 0x02)) config2 2266 drivers/hwmon/dme1737.c data->config2 = dme1737_read(data, DME1737_REG_CONFIG2); config2 2268 drivers/hwmon/dme1737.c if (data->config2 & 0x04) config2 1410 drivers/hwmon/lm90.c int man_id, chip_id, config1, config2, convrate; config2 1424 drivers/hwmon/lm90.c config2 = i2c_smbus_read_byte_data(client, LM90_REG_R_CONFIG2); config2 1425 drivers/hwmon/lm90.c if (config2 < 0) config2 1428 drivers/hwmon/lm90.c config2 = 0; /* Make compiler happy */ config2 1433 drivers/hwmon/lm90.c && (config2 & 0xF8) == 0x00 config2 1565 drivers/hwmon/lm90.c && (config2 & 0xF8) == 0x00) { config2 1580 drivers/hwmon/lm90.c && (config2 & 0xFE) == 0x00 config2 222 drivers/hwtracing/coresight/coresight-etm-perf.c if (event->attr.config2) { config2 223 drivers/hwtracing/coresight/coresight-etm-perf.c id = (u32)event->attr.config2; config2 207 drivers/memory/omap-gpmc.c u32 config2; config2 2512 drivers/memory/omap-gpmc.c gpmc_context.cs_context[i].config2 = config2 2547 drivers/memory/omap-gpmc.c gpmc_context.cs_context[i].config2); config2 197 drivers/mmc/host/au1xmmc.c u32 config2; config2 202 drivers/mmc/host/au1xmmc.c config2 = __raw_readl(HOST_CONFIG2(host)); config2 203 drivers/mmc/host/au1xmmc.c __raw_writel(config2 | SD_CONFIG2_DF, HOST_CONFIG2(host)); config2 759 drivers/mmc/host/au1xmmc.c u32 config2; config2 772 drivers/mmc/host/au1xmmc.c config2 = __raw_readl(HOST_CONFIG2(host)); config2 775 drivers/mmc/host/au1xmmc.c config2 |= SD_CONFIG2_BB; config2 778 drivers/mmc/host/au1xmmc.c config2 &= ~SD_CONFIG2_BB; config2 779 drivers/mmc/host/au1xmmc.c config2 |= SD_CONFIG2_WB; config2 782 drivers/mmc/host/au1xmmc.c config2 &= ~(SD_CONFIG2_WB | SD_CONFIG2_BB); config2 785 drivers/mmc/host/au1xmmc.c __raw_writel(config2, HOST_CONFIG2(host)); config2 619 drivers/mmc/host/cb710-mmc.c u32 status, config1, config2, irqen; config2 623 drivers/mmc/host/cb710-mmc.c config2 = cb710_read_port_32(slot, CB710_MMC_CONFIGB_PORT); config2 628 drivers/mmc/host/cb710-mmc.c status, irqen, config2, config1); config2 688 drivers/mtd/nand/raw/mxc_nand.c uint32_t config2; config2 693 drivers/mtd/nand/raw/mxc_nand.c config2 = readl(NFC_V3_CONFIG2); config2 696 drivers/mtd/nand/raw/mxc_nand.c config2 |= NFC_V3_CONFIG2_ECC_EN; config2 698 drivers/mtd/nand/raw/mxc_nand.c config2 &= ~NFC_V3_CONFIG2_ECC_EN; config2 700 drivers/mtd/nand/raw/mxc_nand.c writel(config2, NFC_V3_CONFIG2); config2 1269 drivers/mtd/nand/raw/mxc_nand.c uint32_t config2, config3; config2 1285 drivers/mtd/nand/raw/mxc_nand.c config2 = NFC_V3_CONFIG2_ONE_CYCLE | config2 1295 drivers/mtd/nand/raw/mxc_nand.c config2 |= NFC_V3_CONFIG2_PS_2048; config2 1296 drivers/mtd/nand/raw/mxc_nand.c config2 |= NFC_V3_CONFIG2_NUM_ADDR_PHASE1(addr_phases); config2 1298 drivers/mtd/nand/raw/mxc_nand.c config2 |= NFC_V3_CONFIG2_PS_4096; config2 1299 drivers/mtd/nand/raw/mxc_nand.c config2 |= NFC_V3_CONFIG2_NUM_ADDR_PHASE1(addr_phases); config2 1301 drivers/mtd/nand/raw/mxc_nand.c config2 |= NFC_V3_CONFIG2_PS_512; config2 1302 drivers/mtd/nand/raw/mxc_nand.c config2 |= NFC_V3_CONFIG2_NUM_ADDR_PHASE1(addr_phases - 1); config2 1307 drivers/mtd/nand/raw/mxc_nand.c config2 |= NFC_V3_CONFIG2_ECC_EN; config2 1309 drivers/mtd/nand/raw/mxc_nand.c config2 |= NFC_V3_CONFIG2_PPB( config2 1314 drivers/mtd/nand/raw/mxc_nand.c config2 |= NFC_V3_CONFIG2_ECC_MODE_8; config2 1317 drivers/mtd/nand/raw/mxc_nand.c writel(config2, NFC_V3_CONFIG2); config2 4391 drivers/net/ethernet/broadcom/bnx2.c BNX2_WR(bp, BNX2_NVM_CFG2, flash->config2); config2 6698 drivers/net/ethernet/broadcom/bnx2.h u32 config2; config2 2969 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c u32 hide = SHMEM_RD(bp, dev_info.shared_hw_config.config2) & config2 197 drivers/net/ethernet/broadcom/bnx2x/bnx2x_hsi.h u32 config2; /* 0x118 */ config2 12357 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c u32 ext_phy_config, phy_type, config2; config2 12432 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c config2 = REG_RD(bp, shmem_base + offsetof(struct shmem_region, config2 12433 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c dev_info.shared_hw_config.config2)); config2 12439 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c if (config2 & SHARED_HW_CFG_MDC_MDIO_ACCESS1_MASK) config2 12440 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c mdc_mdio_access = config2 & config2 12452 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c if (config2 & SHARED_HW_CFG_MDC_MDIO_ACCESS2_MASK) config2 12453 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c mdc_mdio_access = (config2 & config2 6925 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c val = SHMEM_RD(bp, dev_info.shared_hw_config.config2) & config2 504 drivers/net/ethernet/cortina/gemini.c union gmac_config2 config2 = { .bits = { config2 520 drivers/net/ethernet/cortina/gemini.c writel(config2.bits32, port->gmac_base + GMAC_CONFIG2); config2 176 drivers/net/ethernet/seeq/ether3.c ether3_outw(priv(dev)->regs.config2 |= CFG2_CTRLO, REG_CONFIG2); config2 187 drivers/net/ethernet/seeq/ether3.c if (priv(dev)->regs.config2 & CFG2_CTRLO) config2 188 drivers/net/ethernet/seeq/ether3.c ether3_outw(priv(dev)->regs.config2 &= ~CFG2_CTRLO, REG_CONFIG2); config2 274 drivers/net/ethernet/seeq/ether3.c priv(dev)->regs.config2 = CFG2_CTRLO|CFG2_RECVCRC|CFG2_ERRENCRC; config2 301 drivers/net/ethernet/seeq/ether3.c ether3_outw(priv(dev)->regs.config2, REG_CONFIG2); config2 337 drivers/net/ethernet/seeq/ether3.c priv(dev)->regs.config2 |= CFG2_CTRLO; config2 345 drivers/net/ethernet/seeq/ether3.c ether3_outw(priv(dev)->regs.config2, REG_CONFIG2); config2 471 drivers/net/ethernet/seeq/ether3.c priv(dev)->regs.config2 |= CFG2_CTRLO; config2 473 drivers/net/ethernet/seeq/ether3.c ether3_outw(priv(dev)->regs.config2, REG_CONFIG2); config2 159 drivers/net/ethernet/seeq/ether3.h unsigned int config2; config2 3283 drivers/net/usb/r8152.c u16 config1, config2, config3; config2 3288 drivers/net/usb/r8152.c config2 = ocp_reg_read(tp, OCP_EEE_CONFIG2); config2 3295 drivers/net/usb/r8152.c config2 |= RG_DACQUIET_EN | RG_LDVQUIET_EN; config2 3302 drivers/net/usb/r8152.c config2 &= ~(RG_DACQUIET_EN | RG_LDVQUIET_EN); config2 3308 drivers/net/usb/r8152.c ocp_reg_write(tp, OCP_EEE_CONFIG2, config2); config2 957 drivers/perf/arm-ccn.c u64 cmp_h = event->attr.config2; config2 181 drivers/perf/arm_spe_pmu.c #define ATTR_CFG_FLD_min_latency_CFG config2 /* PMSLATFR_EL1.MINLAT */ config2 229 drivers/scsi/am53c974.c if (esp->config2 & ESP_CONFIG2_FENAB) config2 252 drivers/scsi/am53c974.c if (esp->config2 & ESP_CONFIG2_FENAB) config2 421 drivers/scsi/am53c974.c esp->config2 |= ESP_CONFIG2_FENAB; config2 2709 drivers/scsi/bnx2i/bnx2i_hwi.c u32 config2; config2 2726 drivers/scsi/bnx2i/bnx2i_hwi.c config2 = REG_RD(ep->hba, BNX2_MQ_CONFIG2); config2 2727 drivers/scsi/bnx2i/bnx2i_hwi.c first_l4l5 = config2 & BNX2_MQ_CONFIG2_FIRST_L4L5; config2 2728 drivers/scsi/bnx2i/bnx2i_hwi.c ctx_sz = (config2 & BNX2_MQ_CONFIG2_CONT_SZ) >> 3; config2 295 drivers/scsi/esp_scsi.c esp_write8(esp->config2, ESP_CFG2); config2 300 drivers/scsi/esp_scsi.c esp_write8(esp->config2, ESP_CFG2); config2 306 drivers/scsi/esp_scsi.c esp->config2 |= (ESP_CONFIG2_HME32 | ESP_CONFIG2_HMEFENAB); config2 312 drivers/scsi/esp_scsi.c esp_write8(esp->config2, ESP_CFG2); config2 340 drivers/scsi/esp_scsi.c esp_write8(esp->config2, ESP_CFG2); config2 1336 drivers/scsi/esp_scsi.c if (esp->rev == PCSCSI && (esp->config2 & ESP_CONFIG2_FENAB)) config2 2216 drivers/scsi/esp_scsi.c if (esp->config2 == 0) { config2 2217 drivers/scsi/esp_scsi.c esp->config2 = (ESP_CONFIG2_SCSI2ENAB | ESP_CONFIG2_REGPARITY); config2 2218 drivers/scsi/esp_scsi.c esp_write8(esp->config2, ESP_CFG2); config2 2223 drivers/scsi/esp_scsi.c esp->config2 = 0; config2 2237 drivers/scsi/esp_scsi.c esp_write8(esp->config2, ESP_CFG2); config2 467 drivers/scsi/esp_scsi.h u8 config2; config2 135 drivers/scsi/mac53c94.c writeb(CF2_FEATURE_EN, ®s->config2); config2 38 drivers/scsi/mac53c94.h unsigned char config2; config2 917 drivers/scsi/myrb.c struct myrb_config2 *config2; config2 932 drivers/scsi/myrb.c config2 = dma_alloc_coherent(&pdev->dev, sizeof(struct myrb_config2), config2 934 drivers/scsi/myrb.c if (!config2) { config2 1126 drivers/scsi/myrb.c cb->stripe_size = config2->blocks_per_stripe * config2->block_factor config2 1128 drivers/scsi/myrb.c cb->segment_size = config2->blocks_per_cacheline * config2->block_factor config2 1133 drivers/scsi/myrb.c if (config2->drive_geometry) { config2 1192 drivers/scsi/myrb.c config2, config2_addr); config2 185 drivers/staging/iio/addac/adt7316.c u8 config2; config2 327 drivers/staging/iio/addac/adt7316.c if (chip->config2 & ADT7316_AD_SINGLE_CH_MODE) config2 340 drivers/staging/iio/addac/adt7316.c u8 config2; config2 343 drivers/staging/iio/addac/adt7316.c config2 = chip->config2 & (~ADT7316_AD_SINGLE_CH_MODE); config2 345 drivers/staging/iio/addac/adt7316.c config2 |= ADT7316_AD_SINGLE_CH_MODE; config2 347 drivers/staging/iio/addac/adt7316.c ret = chip->bus.write(chip->bus.client, ADT7316_CONFIG2, config2); config2 351 drivers/staging/iio/addac/adt7316.c chip->config2 = config2; config2 377 drivers/staging/iio/addac/adt7316.c if (!(chip->config2 & ADT7316_AD_SINGLE_CH_MODE)) config2 380 drivers/staging/iio/addac/adt7316.c switch (chip->config2 & ADT7516_AD_SINGLE_CH_MASK) { config2 415 drivers/staging/iio/addac/adt7316.c u8 config2; config2 419 drivers/staging/iio/addac/adt7316.c if (!(chip->config2 & ADT7316_AD_SINGLE_CH_MODE)) config2 430 drivers/staging/iio/addac/adt7316.c config2 = chip->config2 & (~ADT7516_AD_SINGLE_CH_MASK); config2 435 drivers/staging/iio/addac/adt7316.c config2 = chip->config2 & (~ADT7316_AD_SINGLE_CH_MASK); config2 438 drivers/staging/iio/addac/adt7316.c config2 |= data; config2 440 drivers/staging/iio/addac/adt7316.c ret = chip->bus.write(chip->bus.client, ADT7316_CONFIG2, config2); config2 444 drivers/staging/iio/addac/adt7316.c chip->config2 = config2; config2 461 drivers/staging/iio/addac/adt7316.c if (!(chip->config2 & ADT7316_AD_SINGLE_CH_MODE)) config2 483 drivers/staging/iio/addac/adt7316.c !!(chip->config2 & ADT7316_DISABLE_AVERAGING)); config2 493 drivers/staging/iio/addac/adt7316.c u8 config2; config2 496 drivers/staging/iio/addac/adt7316.c config2 = chip->config2 & (~ADT7316_DISABLE_AVERAGING); config2 498 drivers/staging/iio/addac/adt7316.c config2 |= ADT7316_DISABLE_AVERAGING; config2 500 drivers/staging/iio/addac/adt7316.c ret = chip->bus.write(chip->bus.client, ADT7316_CONFIG2, config2); config2 504 drivers/staging/iio/addac/adt7316.c chip->config2 = config2; config2 522 drivers/staging/iio/addac/adt7316.c !!(chip->config2 & ADT7316_EN_SMBUS_TIMEOUT)); config2 532 drivers/staging/iio/addac/adt7316.c u8 config2; config2 535 drivers/staging/iio/addac/adt7316.c config2 = chip->config2 & (~ADT7316_EN_SMBUS_TIMEOUT); config2 537 drivers/staging/iio/addac/adt7316.c config2 |= ADT7316_EN_SMBUS_TIMEOUT; config2 539 drivers/staging/iio/addac/adt7316.c ret = chip->bus.write(chip->bus.client, ADT7316_CONFIG2, config2); config2 543 drivers/staging/iio/addac/adt7316.c chip->config2 = config2; config2 1107 drivers/staging/iio/addac/adt7316.c if ((chip->config2 & ADT7316_AD_SINGLE_CH_MODE) && config2 1108 drivers/staging/iio/addac/adt7316.c channel != (chip->config2 & ADT7516_AD_SINGLE_CH_MASK)) config2 396 include/uapi/linux/perf_event.h __u64 config2; /* extension of config1 */ config2 143 samples/bpf/task_fd_query_user.c attr.config2 = offset; config2 146 samples/bpf/task_fd_query_user.c attr.config2 = addr; config2 396 tools/include/uapi/linux/perf_event.h __u64 config2; /* extension of config1 */ config2 5052 tools/lib/bpf/libbpf.c attr.config2 = offset; /* kprobe_addr or probe_offset */ config2 222 tools/perf/arch/arm/util/cs-etm.c if (evsel->core.attr.config2 & GENMASK(31, 0)) config2 240 tools/perf/arch/arm/util/cs-etm.c evsel->core.attr.config2 |= hash; config2 137 tools/perf/tests/attr.c WRITE_ASS(config2, "llu"); config2 126 tools/perf/tests/parse-events.c 1 == evsel->core.attr.config2); config2 444 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong config2", 3 == evsel->core.attr.config2); config2 464 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong config2", 0 == evsel->core.attr.config2); config2 170 tools/perf/tests/pmu.c if (attr.config2 != 0x0400000020041d07) config2 1028 tools/perf/util/parse-events.c attr->config2 = term->val.num; config2 1063 tools/perf/util/pmu.c vp = &attr->config2;