/linux-4.1.27/arch/powerpc/platforms/83xx/ |
D | suspend.c | 64 u32 config1; member 126 u32 reg_cfg1 = in_be32(&pmc_regs->config1); in mpc83xx_change_state() 136 out_be32(&pmc_regs->config1, reg_cfg1); in mpc83xx_change_state() 188 out_be32(&pmc_regs->config1, in mpc83xx_suspend_enter() 189 in_be32(&pmc_regs->config1) | PMCCR1_PME_EN); in mpc83xx_suspend_enter() 209 out_be32(&pmc_regs->config1, in mpc83xx_suspend_enter() 210 in_be32(&pmc_regs->config1) | PMCCR1_POWER_OFF); in mpc83xx_suspend_enter() 216 out_be32(&pmc_regs->config1, in mpc83xx_suspend_enter() 217 in_be32(&pmc_regs->config1) & ~PMCCR1_POWER_OFF); in mpc83xx_suspend_enter() 231 out_be32(&pmc_regs->config1, in mpc83xx_suspend_enter() [all …]
|
/linux-4.1.27/arch/mips/cavium-octeon/executive/ |
D | cvmx-pko.c | 175 union cvmx_pko_reg_queue_ptrs1 config1; in cvmx_pko_shutdown() local 176 config1.u64 = 0; in cvmx_pko_shutdown() 177 config1.s.qid7 = queue >> 7; in cvmx_pko_shutdown() 178 cvmx_write_csr(CVMX_PKO_REG_QUEUE_PTRS1, config1.u64); in cvmx_pko_shutdown() 211 union cvmx_pko_reg_queue_ptrs1 config1; in cvmx_pko_config_port() local 300 config1.u64 = 0; in cvmx_pko_config_port() 301 config1.s.idx3 = queue >> 3; in cvmx_pko_config_port() 302 config1.s.qid7 = (base_queue + queue) >> 7; in cvmx_pko_config_port() 404 cvmx_write_csr(CVMX_PKO_REG_QUEUE_PTRS1, config1.u64); in cvmx_pko_config_port()
|
/linux-4.1.27/drivers/staging/iio/addac/ |
D | adt7316.c | 182 u8 config1; member 226 return sprintf(buf, "%d\n", !!(chip->config1 & ADT7316_EN)); in adt7316_show_enabled() 232 u8 config1; in _adt7316_store_enabled() local 236 config1 = chip->config1 | ADT7316_EN; in _adt7316_store_enabled() 238 config1 = chip->config1 & ~ADT7316_EN; in _adt7316_store_enabled() 240 ret = chip->bus.write(chip->bus.client, ADT7316_CONFIG1, config1); in _adt7316_store_enabled() 244 chip->config1 = config1; in _adt7316_store_enabled() 285 return sprintf(buf, "%d\n", !!(chip->config1 & ADT7516_SEL_EX_TEMP)); in adt7316_show_select_ex_temp() 295 u8 config1; in adt7316_store_select_ex_temp() local 301 config1 = chip->config1 & (~ADT7516_SEL_EX_TEMP); in adt7316_store_select_ex_temp() [all …]
|
/linux-4.1.27/drivers/net/ethernet/seeq/ |
D | ether3.c | 121 ether3_outw(priv(dev)->regs.config1 | CFG1_LOCBUFMEM, REG_CONFIG1); in ether3_setbuffer() 275 priv(dev)->regs.config1 = CFG1_RECVCOMPSTAT0|CFG1_DMABURST8; in ether3_init_2() 282 ether3_outw(priv(dev)->regs.config1 | CFG1_BUFSELSTAT0, REG_CONFIG1); in ether3_init_2() 287 priv(dev)->regs.config1 |= CFG1_RECVPROMISC; in ether3_init_2() 289 priv(dev)->regs.config1 |= CFG1_RECVSPECBRMULTI; in ether3_init_2() 291 priv(dev)->regs.config1 |= CFG1_RECVSPECBROAD; in ether3_init_2() 298 ether3_outw(priv(dev)->regs.config1 | CFG1_TRANSEND, REG_CONFIG1); in ether3_init_2() 304 ether3_outw(priv(dev)->regs.config1 | CFG1_LOCBUFMEM, REG_CONFIG1); in ether3_init_2() 333 ether3_outw(priv(dev)->regs.config1 | CFG1_BUFSELSTAT0, REG_CONFIG1); in ether3_init_for_open() 342 ether3_outw(priv(dev)->regs.config1 | CFG1_TRANSEND, REG_CONFIG1); in ether3_init_for_open() [all …]
|
D | ether3.h | 161 unsigned int config1; member
|
/linux-4.1.27/arch/mips/mm/ |
D | c-octeon.c | 189 unsigned int config1; in probe_octeon() local 193 config1 = read_c0_config1(); in probe_octeon() 197 c->icache.linesz = 2 << ((config1 >> 19) & 7); in probe_octeon() 198 c->icache.sets = 64 << ((config1 >> 22) & 7); in probe_octeon() 199 c->icache.ways = 1 + ((config1 >> 16) & 7); in probe_octeon() 217 c->icache.linesz = 2 << ((config1 >> 19) & 7); in probe_octeon()
|
D | sc-mips.c | 100 unsigned int config1, config2; in mips_sc_probe() local 113 config1 = read_c0_config1(); in mips_sc_probe() 114 if (!(config1 & MIPS_CONF_M)) in mips_sc_probe()
|
D | c-r4k.c | 957 unsigned long config1; in probe_pcache() local 1124 config1 = read_c0_config1(); in probe_pcache() 1125 lsize = (config1 >> 19) & 7; in probe_pcache() 1130 c->icache.sets = 64 << ((config1 >> 22) & 7); in probe_pcache() 1131 c->icache.ways = 1 + ((config1 >> 16) & 7); in probe_pcache() 1137 lsize = (config1 >> 10) & 7; in probe_pcache() 1142 c->dcache.sets = 64 << ((config1 >> 13) & 7); in probe_pcache() 1143 c->dcache.ways = 1 + ((config1 >> 7) & 7); in probe_pcache() 1173 config1 = read_c0_config1(); in probe_pcache() 1175 lsize = (config1 >> 19) & 7; in probe_pcache() [all …]
|
/linux-4.1.27/arch/avr32/kernel/ |
D | cpu.c | 257 unsigned long config0, config1; in setup_processor() local 265 config1 = sysreg_read(CONFIG1); in setup_processor() 281 tmp = SYSREG_BFEXT(ILSZ, config1); in setup_processor() 283 boot_cpu_data.icache.ways = 1 << SYSREG_BFEXT(IASS, config1); in setup_processor() 284 boot_cpu_data.icache.sets = 1 << SYSREG_BFEXT(ISET, config1); in setup_processor() 287 tmp = SYSREG_BFEXT(DLSZ, config1); in setup_processor() 289 boot_cpu_data.dcache.ways = 1 << SYSREG_BFEXT(DASS, config1); in setup_processor() 290 boot_cpu_data.dcache.sets = 1 << SYSREG_BFEXT(DSET, config1); in setup_processor()
|
/linux-4.1.27/arch/x86/kernel/cpu/ |
D | perf_event_intel_uncore_nhmex.c | 365 reg1->config = event->attr.config1; in nhmex_bbox_hw_config() 450 reg1->config = event->attr.config1; in nhmex_sbox_hw_config() 667 u64 config1 = reg1->config; in nhmex_mbox_get_constraint() local 680 __BITS_VALUE(config1, i, 32))) in nhmex_mbox_get_constraint() 719 config1 = nhmex_mbox_alter_er(event, idx[0], false); in nhmex_mbox_get_constraint() 774 if (event->attr.config1 & ~er->valid_mask) in nhmex_mbox_hw_config() 791 reg1->config = event->attr.config1; in nhmex_mbox_hw_config() 979 u64 config1; in nhmex_rbox_get_constraint() local 986 config1 = reg1->config; in nhmex_rbox_get_constraint() 1009 !((er->config ^ config1) & mask)) { in nhmex_rbox_get_constraint() [all …]
|
D | perf_event_amd_iommu.c | 201 u64 config, config1; in perf_iommu_event_init() local 230 config1 = event->attr.config1; in perf_iommu_event_init() 245 hwc->extra_reg.config = config1; in perf_iommu_event_init()
|
D | perf_event_intel_uncore_snbep.c | 740 reg1->config = event->attr.config1 & snbep_cbox_filter_mask(idx); in snbep_cbox_hw_config() 795 u64 mask, config1 = reg1->config; in snbep_pcu_get_constraint() local 805 !((config1 ^ er->config) & mask)) { in snbep_pcu_get_constraint() 808 er->config |= config1 & mask; in snbep_pcu_get_constraint() 816 config1 = snbep_pcu_alter_er(event, idx, false); in snbep_pcu_get_constraint() 851 reg1->config = event->attr.config1 & (0xff << (reg1->idx * 8)); in snbep_pcu_hw_config() 906 reg1->config = event->attr.config1; in snbep_qpi_hw_config() 1394 reg1->config = event->attr.config1 & ivbep_cbox_filter_mask(idx); in ivbep_cbox_hw_config() 1736 reg1->config = event->attr.config1 & HSWEP_U_MSR_PMON_BOX_FILTER_MASK; in hswep_ubox_hw_config() 1880 reg1->config = event->attr.config1 & hswep_cbox_filter_mask(idx); in hswep_cbox_hw_config() [all …]
|
D | perf_event_intel_uncore.h | 87 u64 config, config1, config2; member
|
D | perf_event_intel_uncore.c | 103 (er->config1 == reg1->config && er->config2 == reg2->config)) { in uncore_get_constraint() 105 er->config1 = reg1->config; in uncore_get_constraint()
|
D | perf_event.c | 123 if (event->attr.config1 & ~er->valid_mask) in x86_pmu_extra_regs() 130 reg->config = event->attr.config1; in x86_pmu_extra_regs() 319 attr->config1 = hw_cache_extra_regs[cache_type][cache_op][cache_result]; in set_ext_hw_attr()
|
/linux-4.1.27/Documentation/ABI/testing/ |
D | sysfs-bus-event_source-devices-format | 18 Example: 'config1:1,6-10,44' 20 perf_event_attr::config1.
|
/linux-4.1.27/arch/powerpc/perf/ |
D | hv-gpci.c | 47 EVENT_DEFINE_RANGE_FORMAT(secondary_index, config1, 0, 15); 49 EVENT_DEFINE_RANGE_FORMAT(counter_info_version, config1, 16, 23); 51 EVENT_DEFINE_RANGE_FORMAT(length, config1, 24, 31); 53 EVENT_DEFINE_RANGE_FORMAT(offset, config1, 32, 63);
|
D | hv-24x7.c | 108 EVENT_DEFINE_RANGE_FORMAT(lpar, config1, 0, 15); 111 EVENT_DEFINE_RANGE(reserved2, config1, 16, 63); 1154 event->attr.config1, in h_24x7_event_init()
|
/linux-4.1.27/drivers/pcmcia/ |
D | vrc4171_card.c | 146 uint16_t config1; in vrc4171_set_multifunction_pin() local 148 config1 = inw(CONFIGURATION1); in vrc4171_set_multifunction_pin() 149 config1 &= ~SLOTB_CONFIG; in vrc4171_set_multifunction_pin() 153 config1 |= SLOTB_NONE; in vrc4171_set_multifunction_pin() 156 config1 |= SLOTB_PCCARD; in vrc4171_set_multifunction_pin() 159 config1 |= SLOTB_CF; in vrc4171_set_multifunction_pin() 162 config1 |= SLOTB_FLASHROM; in vrc4171_set_multifunction_pin() 168 outw(config1, CONFIGURATION1); in vrc4171_set_multifunction_pin()
|
/linux-4.1.27/drivers/hwmon/ |
D | lm90.c | 1199 int man_id, chip_id, config1, config2, convrate; in lm90_detect() local 1207 config1 = i2c_smbus_read_byte_data(client, LM90_REG_R_CONFIG1); in lm90_detect() 1209 if (man_id < 0 || chip_id < 0 || config1 < 0 || convrate < 0) in lm90_detect() 1221 if ((config1 & 0x2A) == 0x00 in lm90_detect() 1247 && (config1 & 0x3F) == 0x00 in lm90_detect() 1259 && (config1 & 0x1B) == 0x00 in lm90_detect() 1264 && (config1 & 0x1B) == 0x00 in lm90_detect() 1304 && (config1 & 0x1F) == (man_id & 0x0F) in lm90_detect() 1323 && (config1 & 0x10) == 0x00 in lm90_detect() 1336 && (config1 & 0x03) == 0x00 in lm90_detect() [all …]
|
D | lm95245.c | 122 u8 config1, config2; member 461 data->config1 = i2c_smbus_read_byte_data(client, in lm95245_init_client() 466 if (data->config1 & CFG_STOP) { in lm95245_init_client() 468 data->config1 &= ~CFG_STOP; in lm95245_init_client() 470 data->config1); in lm95245_init_client()
|
D | adm1026.c | 297 u8 config1; /* Register value */ member 446 data->config1 = adm1026_read_value(client, in adm1026_update_device() 448 if (data->config1 & CFG1_PWM_AFC) { in adm1026_update_device() 958 return sprintf(buf, "%d\n", (data->config1 & CFG1_THERM_HOT) >> 4); in show_temp_crit_enable() 976 data->config1 = (data->config1 & ~CFG1_THERM_HOT) | (val << 4); in set_temp_crit_enable() 977 adm1026_write_value(client, ADM1026_REG_CONFIG1, data->config1); in set_temp_crit_enable() 1343 data->config1 = (data->config1 & ~CFG1_PWM_AFC) in set_pwm_enable() 1345 adm1026_write_value(client, ADM1026_REG_CONFIG1, data->config1); in set_pwm_enable() 1711 data->config1 = adm1026_read_value(client, ADM1026_REG_CONFIG1); in adm1026_init_client() 1717 data->config1); in adm1026_init_client() [all …]
|
/linux-4.1.27/arch/mips/kvm/ |
D | trap_emul.c | 461 uint32_t config1; in kvm_trap_emul_vcpu_setup() local 475 config1 = (read_c0_config1() & ~0x7f); in kvm_trap_emul_vcpu_setup() 478 config1 &= ~(0x3f << 25); in kvm_trap_emul_vcpu_setup() 479 config1 |= ((KVM_MIPS_GUEST_TLB_SIZE - 1) << 25); in kvm_trap_emul_vcpu_setup() 482 config1 &= in kvm_trap_emul_vcpu_setup() 485 kvm_write_c0_guest_config1(cop0, config1); in kvm_trap_emul_vcpu_setup()
|
/linux-4.1.27/drivers/memory/ |
D | omap-gpmc.c | 209 u32 config1; member 1586 u32 config1; in gpmc_cs_program_settings() local 1625 config1 = GPMC_CONFIG1_DEVICESIZE((p->device_width - 1)); in gpmc_cs_program_settings() 1628 config1 |= GPMC_CONFIG1_READTYPE_SYNC; in gpmc_cs_program_settings() 1630 config1 |= GPMC_CONFIG1_WRITETYPE_SYNC; in gpmc_cs_program_settings() 1632 config1 |= GPMC_CONFIG1_WAIT_READ_MON; in gpmc_cs_program_settings() 1634 config1 |= GPMC_CONFIG1_WAIT_WRITE_MON; in gpmc_cs_program_settings() 1636 config1 |= GPMC_CONFIG1_WAIT_PIN_SEL(p->wait_pin); in gpmc_cs_program_settings() 1638 config1 |= GPMC_CONFIG1_DEVICETYPE(GPMC_DEVICETYPE_NAND); in gpmc_cs_program_settings() 1640 config1 |= GPMC_CONFIG1_MUXTYPE(p->mux_add_data); in gpmc_cs_program_settings() [all …]
|
/linux-4.1.27/tools/perf/util/ |
D | pmu.l | 30 config1 { return PP_CONFIG1; }
|
D | parse-events.l | 149 config1 { return term(yyscanner, PARSE_EVENTS__TERM_TYPE_CONFIG1); }
|
D | pmu.c | 623 vp = &attr->config1; in pmu_config_term()
|
D | parse-events.c | 557 attr->config1 = term->val.num; in config_term()
|
/linux-4.1.27/drivers/mtd/nand/ |
D | mxc_nand.c | 918 uint16_t config1 = 0; in preset_v1() local 921 config1 |= NFC_V1_V2_CONFIG1_ECC_EN; in preset_v1() 924 config1 |= NFC_V1_V2_CONFIG1_INT_MSK; in preset_v1() 928 writew(config1, NFC_V1_V2_CONFIG1); in preset_v1() 946 uint16_t config1 = 0; in preset_v2() local 948 config1 |= NFC_V2_CONFIG1_FP_INT; in preset_v2() 951 config1 |= NFC_V1_V2_CONFIG1_INT_MSK; in preset_v2() 957 config1 |= NFC_V1_V2_CONFIG1_ECC_EN; in preset_v2() 961 config1 |= NFC_V2_CONFIG1_ECC_MODE_4; in preset_v2() 963 config1 |= NFC_V2_CONFIG1_PPB(ffs(pages_per_block) - 6); in preset_v2() [all …]
|
D | omap2.c | 221 u32 config1; in omap_prefetch_reset() local 224 config1 = readl(info->reg.gpmc_prefetch_config1); in omap_prefetch_reset() 225 if (((config1 >> PREFETCH_CONFIG1_CS_SHIFT) & CS_MASK) != cs) in omap_prefetch_reset()
|
/linux-4.1.27/arch/mips/kernel/ |
D | cpu-probe.c | 451 unsigned int config1; in decode_config1() local 453 config1 = read_c0_config1(); in decode_config1() 455 if (config1 & MIPS_CONF1_MD) in decode_config1() 457 if (config1 & MIPS_CONF1_WR) in decode_config1() 459 if (config1 & MIPS_CONF1_CA) in decode_config1() 461 if (config1 & MIPS_CONF1_EP) in decode_config1() 463 if (config1 & MIPS_CONF1_FP) { in decode_config1() 468 c->tlbsize = ((config1 & MIPS_CONF1_TLBS) >> 25) + 1; in decode_config1() 473 return config1 & MIPS_CONF_M; in decode_config1()
|
/linux-4.1.27/tools/perf/tests/attr/ |
D | base-stat | 37 config1=0
|
D | base-record | 37 config1=0
|
/linux-4.1.27/drivers/infiniband/hw/ipath/ |
D | ipath_iba6110.c | 1355 u64 val, config1; in ipath_ht_bringup_serdes() local 1370 config1 = ipath_read_kreg64(dd, dd->ipath_kregs->kr_serdesconfig1); in ipath_ht_bringup_serdes() 1374 (unsigned long long) val, (unsigned long long) config1, in ipath_ht_bringup_serdes() 1440 config1 &= ~0x0ffffffff00ULL; in ipath_ht_bringup_serdes() 1442 config1 |= 0x00000000000ULL; in ipath_ht_bringup_serdes() 1444 config1 |= 0x0cccc000000ULL; in ipath_ht_bringup_serdes() 1445 ipath_write_kreg(dd, dd->ipath_kregs->kr_serdesconfig1, config1); in ipath_ht_bringup_serdes() 1449 (unsigned long long) val, (unsigned long long) config1, in ipath_ht_bringup_serdes()
|
/linux-4.1.27/drivers/scsi/ |
D | mac53c94.h | 31 unsigned char config1; member
|
D | esp_scsi.h | 481 u8 config1; member
|
D | mac53c94.c | 131 writeb(state->host->this_id | CF1_PAR_ENABLE, ®s->config1); in mac53c94_init()
|
D | esp_scsi.c | 287 esp_write8(esp->config1, ESP_CFG1); in esp_reset_esp() 2223 esp->config1 = (ESP_CONFIG1_PENABLE | (esp->scsi_id & 7)); in esp_get_revision() 2312 esp_write8(esp->config1, ESP_CFG1); in esp_bootup_reset()
|
/linux-4.1.27/tools/perf/tests/ |
D | pmu.c | 163 if (attr.config1 != 0x8000400000000145) in test__pmu()
|
D | attr.c | 120 WRITE_ASS(config1, "llu"); in store_event()
|
D | parse-events.c | 88 0 == evsel->attr.config1); in test__checkevent_symbolic_name_config() 407 TEST_ASSERT_VAL("wrong config1", 1 == evsel->attr.config1); in test__checkevent_pmu() 423 TEST_ASSERT_VAL("wrong config1", 0 == evsel->attr.config1); in test__checkevent_list()
|
/linux-4.1.27/drivers/mmc/host/ |
D | cb710-mmc.c | 620 u32 status, config1, config2, irqen; in cb710_mmc_irq_handler() local 625 config1 = cb710_read_port_32(slot, CB710_MMC_CONFIG_PORT); in cb710_mmc_irq_handler() 629 status, irqen, config2, config1); in cb710_mmc_irq_handler()
|
/linux-4.1.27/tools/perf/Documentation/ |
D | perf-stat.txt | 39 - a symbolically formed event like 'pmu/config=M,config1=N,config2=K/' 41 Acceptable values for each of 'config', 'config1' and 'config2'
|
D | perf-record.txt | 40 - a symbolically formed event like 'pmu/config=M,config1=N,config3=K/' 43 values for each of 'config', 'config1' and 'config2' are defined by
|
/linux-4.1.27/Documentation/arm/ |
D | CCN.txt | 16 The "format" directory describes format of the config, config1
|
/linux-4.1.27/include/uapi/linux/ |
D | perf_event.h | 341 __u64 config1; /* extension of config */ member
|
/linux-4.1.27/arch/powerpc/include/asm/ |
D | mpc52xx.h | 73 u32 config1; /* SDRAM + 0x08 */ member
|
/linux-4.1.27/drivers/video/fbdev/savage/ |
D | savagefb_driver.c | 1821 unsigned char config1, m, n, n1, n2, sr8, cr3f, cr66 = 0, tmp; in savage_init_hw() local 1855 config1 = vga_in8(0x3d5, par); /* get amount of vram installed */ in savage_init_hw() 1861 videoRam = RamSavage3D[(config1 & 0xC0) >> 6 ] * 1024; in savage_init_hw() 1878 videoRam = RamSavage4[(config1 & 0xE0) >> 5] * 1024; in savage_init_hw() 1883 videoRam = RamSavageMX[(config1 & 0x0E) >> 1] * 1024; in savage_init_hw() 1889 videoRam = RamSavageNB[(config1 & 0xE0) >> 5] * 1024; in savage_init_hw()
|
/linux-4.1.27/drivers/infiniband/hw/qib/ |
D | qib_iba6120.c | 1242 u64 val, config1, prev_val, hwstat, ibc; in qib_6120_bringup_serdes() local 1280 config1 = qib_read_kreg64(dd, kr_serdes_cfg1); in qib_6120_bringup_serdes() 1345 config1 &= ~0x0ffffffff00ULL; in qib_6120_bringup_serdes() 1347 config1 |= 0x00000000000ULL; in qib_6120_bringup_serdes() 1349 config1 |= 0x0cccc000000ULL; in qib_6120_bringup_serdes() 1350 qib_write_kreg(dd, kr_serdes_cfg1, config1); in qib_6120_bringup_serdes()
|
/linux-4.1.27/drivers/net/usb/ |
D | r8152.c | 3094 u16 config1, config2, config3; in r8152_eee_en() local 3098 config1 = ocp_reg_read(tp, OCP_EEE_CONFIG1) & ~sd_rise_time_mask; in r8152_eee_en() 3104 config1 |= EEE_10_CAP | EEE_NWAY_EN | TX_QUIET_EN | RX_QUIET_EN; in r8152_eee_en() 3105 config1 |= sd_rise_time(1); in r8152_eee_en() 3110 config1 &= ~(EEE_10_CAP | EEE_NWAY_EN | TX_QUIET_EN | in r8152_eee_en() 3112 config1 |= sd_rise_time(7); in r8152_eee_en() 3118 ocp_reg_write(tp, OCP_EEE_CONFIG1, config1); in r8152_eee_en()
|
/linux-4.1.27/arch/s390/kernel/ |
D | perf_cpum_sf.c | 737 if (attr->config1 & PERF_CPUM_SF_FULL_BLOCKS) in __hw_perf_event_init()
|
/linux-4.1.27/drivers/bus/ |
D | arm-ccn.c | 879 u64 cmp_l = event->attr.config1; in arm_ccn_pmu_xp_watchpoint_config()
|
/linux-4.1.27/drivers/net/ethernet/broadcom/ |
D | bnx2.c | 4345 (flash->config1 & FLASH_BACKUP_STRAP_MASK)) { in bnx2_init_nvram() 4374 BNX2_WR(bp, BNX2_NVM_CFG1, flash->config1); in bnx2_init_nvram()
|
D | bnx2.h | 6697 u32 config1; member
|