Home
last modified time | relevance | path

Searched refs:config1 (Results 1 – 25 of 62) sorted by relevance

123

/Linux-v4.19/arch/powerpc/platforms/83xx/
Dsuspend.c65 u32 config1; member
127 u32 reg_cfg1 = in_be32(&pmc_regs->config1); in mpc83xx_change_state()
137 out_be32(&pmc_regs->config1, reg_cfg1); in mpc83xx_change_state()
189 out_be32(&pmc_regs->config1, in mpc83xx_suspend_enter()
190 in_be32(&pmc_regs->config1) | PMCCR1_PME_EN); in mpc83xx_suspend_enter()
210 out_be32(&pmc_regs->config1, in mpc83xx_suspend_enter()
211 in_be32(&pmc_regs->config1) | PMCCR1_POWER_OFF); in mpc83xx_suspend_enter()
217 out_be32(&pmc_regs->config1, in mpc83xx_suspend_enter()
218 in_be32(&pmc_regs->config1) & ~PMCCR1_POWER_OFF); in mpc83xx_suspend_enter()
232 out_be32(&pmc_regs->config1, in mpc83xx_suspend_enter()
[all …]
/Linux-v4.19/drivers/staging/iio/addac/
Dadt7316.c182 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()
284 return sprintf(buf, "%d\n", !!(chip->config1 & ADT7516_SEL_EX_TEMP)); in adt7316_show_select_ex_temp()
294 u8 config1; in adt7316_store_select_ex_temp() local
300 config1 = chip->config1 & (~ADT7516_SEL_EX_TEMP); in adt7316_store_select_ex_temp()
[all …]
/Linux-v4.19/drivers/net/ethernet/seeq/
Dether3.c122 ether3_outw(priv(dev)->regs.config1 | CFG1_LOCBUFMEM, REG_CONFIG1); in ether3_setbuffer()
276 priv(dev)->regs.config1 = CFG1_RECVCOMPSTAT0|CFG1_DMABURST8; in ether3_init_2()
283 ether3_outw(priv(dev)->regs.config1 | CFG1_BUFSELSTAT0, REG_CONFIG1); in ether3_init_2()
288 priv(dev)->regs.config1 |= CFG1_RECVPROMISC; in ether3_init_2()
290 priv(dev)->regs.config1 |= CFG1_RECVSPECBRMULTI; in ether3_init_2()
292 priv(dev)->regs.config1 |= CFG1_RECVSPECBROAD; in ether3_init_2()
299 ether3_outw(priv(dev)->regs.config1 | CFG1_TRANSEND, REG_CONFIG1); in ether3_init_2()
305 ether3_outw(priv(dev)->regs.config1 | CFG1_LOCBUFMEM, REG_CONFIG1); in ether3_init_2()
334 ether3_outw(priv(dev)->regs.config1 | CFG1_BUFSELSTAT0, REG_CONFIG1); in ether3_init_for_open()
343 ether3_outw(priv(dev)->regs.config1 | CFG1_TRANSEND, REG_CONFIG1); in ether3_init_for_open()
[all …]
Dether3.h161 unsigned int config1; member
/Linux-v4.19/arch/mips/cavium-octeon/executive/
Dcvmx-pko.c311 union cvmx_pko_reg_queue_ptrs1 config1; in cvmx_pko_shutdown() local
312 config1.u64 = 0; in cvmx_pko_shutdown()
313 config1.s.qid7 = queue >> 7; in cvmx_pko_shutdown()
314 cvmx_write_csr(CVMX_PKO_REG_QUEUE_PTRS1, config1.u64); in cvmx_pko_shutdown()
347 union cvmx_pko_reg_queue_ptrs1 config1; in cvmx_pko_config_port() local
439 config1.u64 = 0; in cvmx_pko_config_port()
440 config1.s.idx3 = queue >> 3; in cvmx_pko_config_port()
441 config1.s.qid7 = (base_queue + queue) >> 7; in cvmx_pko_config_port()
543 cvmx_write_csr(CVMX_PKO_REG_QUEUE_PTRS1, config1.u64); in cvmx_pko_config_port()
/Linux-v4.19/arch/mips/mm/
Dc-octeon.c189 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()
Dsc-mips.c187 unsigned int config1, config2; in mips_sc_probe() local
203 config1 = read_c0_config1(); in mips_sc_probe()
204 if (!(config1 & MIPS_CONF_M)) in mips_sc_probe()
Dc-r4k.c1164 unsigned long config1; in probe_pcache() local
1331 config1 = read_c0_config1(); in probe_pcache()
1332 lsize = (config1 >> 19) & 7; in probe_pcache()
1337 c->icache.sets = 64 << ((config1 >> 22) & 7); in probe_pcache()
1338 c->icache.ways = 1 + ((config1 >> 16) & 7); in probe_pcache()
1344 lsize = (config1 >> 10) & 7; in probe_pcache()
1349 c->dcache.sets = 64 << ((config1 >> 13) & 7); in probe_pcache()
1350 c->dcache.ways = 1 + ((config1 >> 7) & 7); in probe_pcache()
1382 config1 = read_c0_config1(); in probe_pcache()
1384 lsize = (config1 >> 19) & 7; in probe_pcache()
[all …]
/Linux-v4.19/arch/x86/events/intel/
Duncore_nhmex.c372 reg1->config = event->attr.config1; in nhmex_bbox_hw_config()
457 reg1->config = event->attr.config1; in nhmex_sbox_hw_config()
674 u64 config1 = reg1->config; in nhmex_mbox_get_constraint() local
687 __BITS_VALUE(config1, i, 32))) in nhmex_mbox_get_constraint()
726 config1 = nhmex_mbox_alter_er(event, idx[0], false); in nhmex_mbox_get_constraint()
781 if (event->attr.config1 & ~er->valid_mask) in nhmex_mbox_hw_config()
798 reg1->config = event->attr.config1; in nhmex_mbox_hw_config()
986 u64 config1; in nhmex_rbox_get_constraint() local
993 config1 = reg1->config; in nhmex_rbox_get_constraint()
1016 !((er->config ^ config1) & mask)) { in nhmex_rbox_get_constraint()
[all …]
/Linux-v4.19/Documentation/perf/
Dxgene-pmu.txt18 config1 (agent ID) fields of the perf_event_attr structure. The "events"
29 to a corresponding bit in "config1" field. By default, the event will be
30 counted for all agent requests (config1 = 0x0). For all the supported agents of
45 / # perf stat -a -e l3c0/read-miss,config1=0xfffffffffffffffe/ sleep 1
/Linux-v4.19/drivers/mtd/nand/raw/
Dmxc_nand.c670 uint16_t config1; in mxc_nand_enable_hwecc_v1_v2() local
675 config1 = readw(NFC_V1_V2_CONFIG1); in mxc_nand_enable_hwecc_v1_v2()
678 config1 |= NFC_V1_V2_CONFIG1_ECC_EN; in mxc_nand_enable_hwecc_v1_v2()
680 config1 &= ~NFC_V1_V2_CONFIG1_ECC_EN; in mxc_nand_enable_hwecc_v1_v2()
682 writew(config1, NFC_V1_V2_CONFIG1); in mxc_nand_enable_hwecc_v1_v2()
1134 uint16_t config1 = 0; in preset_v1() local
1137 config1 |= NFC_V1_V2_CONFIG1_ECC_EN; in preset_v1()
1140 config1 |= NFC_V1_V2_CONFIG1_INT_MSK; in preset_v1()
1144 writew(config1, NFC_V1_V2_CONFIG1); in preset_v1()
1166 u16 config1; in mxc_nand_v2_setup_data_interface() local
[all …]
/Linux-v4.19/Documentation/ABI/testing/
Dsysfs-bus-event_source-devices-format18 Example: 'config1:1,6-10,44'
20 perf_event_attr::config1.
/Linux-v4.19/arch/powerpc/perf/
Dhv-gpci.c47 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);
/Linux-v4.19/drivers/pcmcia/
Dvrc4171_card.c146 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-v4.19/drivers/hwmon/
Dlm90.c1395 int man_id, chip_id, config1, config2, convrate; in lm90_detect() local
1403 config1 = i2c_smbus_read_byte_data(client, LM90_REG_R_CONFIG1); in lm90_detect()
1405 if (man_id < 0 || chip_id < 0 || config1 < 0 || convrate < 0) in lm90_detect()
1417 if ((config1 & 0x2A) == 0x00 in lm90_detect()
1443 && (config1 & 0x3F) == 0x00 in lm90_detect()
1455 && (config1 & 0x1B) == 0x00 in lm90_detect()
1460 && (config1 & 0x1B) == 0x00 in lm90_detect()
1500 && (config1 & 0x1F) == (man_id & 0x0F) in lm90_detect()
1519 && (config1 & 0x10) == 0x00 in lm90_detect()
1532 && (config1 & 0x03) == 0x00 in lm90_detect()
[all …]
Dadm1026.c299 u8 config1; /* Register value */ member
448 data->config1 = adm1026_read_value(client, in adm1026_update_device()
450 if (data->config1 & CFG1_PWM_AFC) { in adm1026_update_device()
966 return sprintf(buf, "%d\n", (data->config1 & CFG1_THERM_HOT) >> 4); in show_temp_crit_enable()
984 data->config1 = (data->config1 & ~CFG1_THERM_HOT) | (val << 4); in set_temp_crit_enable()
985 adm1026_write_value(client, ADM1026_REG_CONFIG1, data->config1); in set_temp_crit_enable()
1355 data->config1 = (data->config1 & ~CFG1_PWM_AFC) in pwm1_enable_store()
1357 adm1026_write_value(client, ADM1026_REG_CONFIG1, data->config1); in pwm1_enable_store()
1723 data->config1 = adm1026_read_value(client, ADM1026_REG_CONFIG1); in adm1026_init_client()
1729 data->config1); in adm1026_init_client()
[all …]
/Linux-v4.19/arch/mips/kernel/
Dcpu-probe.c660 unsigned int config1; in decode_config1() local
662 config1 = read_c0_config1(); in decode_config1()
664 if (config1 & MIPS_CONF1_MD) in decode_config1()
666 if (config1 & MIPS_CONF1_PC) in decode_config1()
668 if (config1 & MIPS_CONF1_WR) in decode_config1()
670 if (config1 & MIPS_CONF1_CA) in decode_config1()
672 if (config1 & MIPS_CONF1_EP) in decode_config1()
674 if (config1 & MIPS_CONF1_FP) { in decode_config1()
679 c->tlbsize = ((config1 & MIPS_CONF1_TLBS) >> 25) + 1; in decode_config1()
684 return config1 & MIPS_CONF_M; in decode_config1()
[all …]
/Linux-v4.19/drivers/memory/
Domap-gpmc.c207 u32 config1; member
1830 u32 config1; in gpmc_cs_program_settings() local
1869 config1 = GPMC_CONFIG1_DEVICESIZE((p->device_width - 1)); in gpmc_cs_program_settings()
1872 config1 |= GPMC_CONFIG1_READTYPE_SYNC; in gpmc_cs_program_settings()
1874 config1 |= GPMC_CONFIG1_WRITETYPE_SYNC; in gpmc_cs_program_settings()
1876 config1 |= GPMC_CONFIG1_WAIT_READ_MON; in gpmc_cs_program_settings()
1878 config1 |= GPMC_CONFIG1_WAIT_WRITE_MON; in gpmc_cs_program_settings()
1880 config1 |= GPMC_CONFIG1_WAIT_PIN_SEL(p->wait_pin); in gpmc_cs_program_settings()
1882 config1 |= GPMC_CONFIG1_DEVICETYPE(GPMC_DEVICETYPE_NAND); in gpmc_cs_program_settings()
1884 config1 |= GPMC_CONFIG1_MUXTYPE(p->mux_add_data); in gpmc_cs_program_settings()
[all …]
/Linux-v4.19/tools/perf/util/
Dpmu.l30 config1 { return PP_CONFIG1; }
/Linux-v4.19/tools/perf/tests/attr/
Dbase-record37 config1=0
Dbase-stat37 config1=0
/Linux-v4.19/arch/mips/kvm/
Dtrap_emul.c614 u32 config, config1; in kvm_trap_emul_vcpu_setup() local
646 config1 = (read_c0_config1() & ~0x7f); in kvm_trap_emul_vcpu_setup()
650 config1 &= ~MIPS_CONF1_DL; in kvm_trap_emul_vcpu_setup()
651 config1 |= ((ilog2(cpu_dcache_line_size()) - 1) << in kvm_trap_emul_vcpu_setup()
656 config1 &= ~(0x3f << 25); in kvm_trap_emul_vcpu_setup()
657 config1 |= ((KVM_MIPS_GUEST_TLB_SIZE - 1) << 25); in kvm_trap_emul_vcpu_setup()
660 config1 &= ~(MIPS_CONF1_C2 | MIPS_CONF1_MD | MIPS_CONF1_PC | in kvm_trap_emul_vcpu_setup()
662 kvm_write_c0_guest_config1(cop0, config1); in kvm_trap_emul_vcpu_setup()
/Linux-v4.19/drivers/scsi/
Dmac53c94.h32 unsigned char config1; member
/Linux-v4.19/samples/bpf/
Dtask_fd_query_user.c141 attr.config1 = ptr_to_u64((void *)name); in test_nondebug_fs_kuprobe_common()
144 attr.config1 = 0; in test_nondebug_fs_kuprobe_common()
/Linux-v4.19/tools/perf/tests/
Dpmu.c167 if (attr.config1 != 0x8000400000000145) in test__pmu()

123