Home
last modified time | relevance | path

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

1234

/kernel/linux/linux-5.10/drivers/phy/socionext/
Dphy-uniphier-usb2.c36 struct uniphier_u2phy_param config1; member
77 regmap_write(priv->regmap, priv->data->config1.offset, in uniphier_u2phy_init()
78 priv->data->config1.value); in uniphier_u2phy_init()
187 .config1 = { SG_USBPHY12PLL, 0x00010010 },
191 .config1 = { SG_USBPHY12PLL, 0x00010010 },
195 .config1 = { SG_USBPHY34PLL, 0x00010010 },
199 .config1 = { SG_USBPHY34PLL, 0x00010010 },
207 .config1 = { SG_USBPHY1CTRL2, 0x00000106 },
211 .config1 = { SG_USBPHY2CTRL2, 0x00000106 },
215 .config1 = { SG_USBPHY3CTRL2, 0x00000106 },
Dphy-uniphier-usb3hs.c82 u32 config1; member
255 u32 config0, config1; in uniphier_u3hsphy_init() local
275 || (!priv->data->config0 && !priv->data->config1)) in uniphier_u3hsphy_init()
279 config1 = priv->data->config1; in uniphier_u3hsphy_init()
286 writel(config1, priv->base + HSPHY_CFG1); in uniphier_u3hsphy_init()
418 .config1 = 0x00000106,
430 .config1 = 0x00000106,
/kernel/linux/linux-5.10/arch/powerpc/platforms/83xx/
Dsuspend.c62 u32 config1; member
124 u32 reg_cfg1 = in_be32(&pmc_regs->config1); in mpc83xx_change_state()
134 out_be32(&pmc_regs->config1, reg_cfg1); in mpc83xx_change_state()
186 out_be32(&pmc_regs->config1, in mpc83xx_suspend_enter()
187 in_be32(&pmc_regs->config1) | PMCCR1_PME_EN); in mpc83xx_suspend_enter()
207 out_be32(&pmc_regs->config1, in mpc83xx_suspend_enter()
208 in_be32(&pmc_regs->config1) | PMCCR1_POWER_OFF); in mpc83xx_suspend_enter()
214 out_be32(&pmc_regs->config1, in mpc83xx_suspend_enter()
215 in_be32(&pmc_regs->config1) & ~PMCCR1_POWER_OFF); in mpc83xx_suspend_enter()
229 out_be32(&pmc_regs->config1, in mpc83xx_suspend_enter()
[all …]
/kernel/linux/linux-5.10/drivers/staging/iio/addac/
Dadt7316.c184 u8 config1; member
228 return sprintf(buf, "%d\n", !!(chip->config1 & ADT7316_EN)); in adt7316_show_enabled()
234 u8 config1; in _adt7316_store_enabled() local
238 config1 = chip->config1 | ADT7316_EN; in _adt7316_store_enabled()
240 config1 = chip->config1 & ~ADT7316_EN; in _adt7316_store_enabled()
242 ret = chip->bus.write(chip->bus.client, ADT7316_CONFIG1, config1); in _adt7316_store_enabled()
246 chip->config1 = config1; in _adt7316_store_enabled()
286 return sprintf(buf, "%d\n", !!(chip->config1 & ADT7516_SEL_EX_TEMP)); in adt7316_show_select_ex_temp()
296 u8 config1; in adt7316_store_select_ex_temp() local
302 config1 = chip->config1 & (~ADT7516_SEL_EX_TEMP); in adt7316_store_select_ex_temp()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/seeq/
Dether3.c119 ether3_outw(priv(dev)->regs.config1 | CFG1_LOCBUFMEM, REG_CONFIG1); in ether3_setbuffer()
273 priv(dev)->regs.config1 = CFG1_RECVCOMPSTAT0|CFG1_DMABURST8; in ether3_init_2()
280 ether3_outw(priv(dev)->regs.config1 | CFG1_BUFSELSTAT0, REG_CONFIG1); in ether3_init_2()
285 priv(dev)->regs.config1 |= CFG1_RECVPROMISC; in ether3_init_2()
287 priv(dev)->regs.config1 |= CFG1_RECVSPECBRMULTI; in ether3_init_2()
289 priv(dev)->regs.config1 |= CFG1_RECVSPECBROAD; in ether3_init_2()
296 ether3_outw(priv(dev)->regs.config1 | CFG1_TRANSEND, REG_CONFIG1); in ether3_init_2()
302 ether3_outw(priv(dev)->regs.config1 | CFG1_LOCBUFMEM, REG_CONFIG1); in ether3_init_2()
331 ether3_outw(priv(dev)->regs.config1 | CFG1_BUFSELSTAT0, REG_CONFIG1); in ether3_init_for_open()
340 ether3_outw(priv(dev)->regs.config1 | CFG1_TRANSEND, REG_CONFIG1); in ether3_init_for_open()
[all …]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/arch/mips/mm/
Dc-octeon.c171 unsigned int config1; in probe_octeon() local
175 config1 = read_c0_config1(); in probe_octeon()
179 c->icache.linesz = 2 << ((config1 >> 19) & 7); in probe_octeon()
180 c->icache.sets = 64 << ((config1 >> 22) & 7); in probe_octeon()
181 c->icache.ways = 1 + ((config1 >> 16) & 7); in probe_octeon()
199 c->icache.linesz = 2 << ((config1 >> 19) & 7); in probe_octeon()
Dsc-mips.c186 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.c1111 unsigned long config1; in probe_pcache() local
1277 config1 = read_c0_config1(); in probe_pcache()
1278 lsize = (config1 >> 19) & 7; in probe_pcache()
1283 c->icache.sets = 64 << ((config1 >> 22) & 7); in probe_pcache()
1284 c->icache.ways = 1 + ((config1 >> 16) & 7); in probe_pcache()
1290 lsize = (config1 >> 10) & 7; in probe_pcache()
1295 c->dcache.sets = 64 << ((config1 >> 13) & 7); in probe_pcache()
1296 c->dcache.ways = 1 + ((config1 >> 7) & 7); in probe_pcache()
1330 config1 = read_c0_config1(); in probe_pcache()
1332 lsize = (config1 >> 19) & 7; in probe_pcache()
[all …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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()
1118 uint16_t config1 = 0; in preset_v1() local
1122 config1 |= NFC_V1_V2_CONFIG1_ECC_EN; in preset_v1()
1125 config1 |= NFC_V1_V2_CONFIG1_INT_MSK; in preset_v1()
1129 writew(config1, NFC_V1_V2_CONFIG1); in preset_v1()
1150 u16 config1; in mxc_nand_v2_setup_interface() local
[all …]
/kernel/linux/linux-5.10/Documentation/admin-guide/perf/
Dxgene-pmu.rst19 config1 (agent ID) fields of the perf_event_attr structure. The "events"
30 to a corresponding bit in "config1" field. By default, the event will be
31 counted for all agent requests (config1 = 0x0). For all the supported agents of
46 / # perf stat -a -e l3c0/read-miss,config1=0xfffffffffffffffe/ sleep 1
/kernel/linux/linux-5.10/Documentation/ABI/testing/
Dsysfs-bus-event_source-devices-format19 Example: 'config1:1,6-10,44'
21 perf_event_attr::config1.
/kernel/linux/linux-5.10/drivers/pcmcia/
Dvrc4171_card.c133 uint16_t config1; in vrc4171_set_multifunction_pin() local
135 config1 = inw(CONFIGURATION1); in vrc4171_set_multifunction_pin()
136 config1 &= ~SLOTB_CONFIG; in vrc4171_set_multifunction_pin()
140 config1 |= SLOTB_NONE; in vrc4171_set_multifunction_pin()
143 config1 |= SLOTB_PCCARD; in vrc4171_set_multifunction_pin()
146 config1 |= SLOTB_CF; in vrc4171_set_multifunction_pin()
149 config1 |= SLOTB_FLASHROM; in vrc4171_set_multifunction_pin()
155 outw(config1, CONFIGURATION1); in vrc4171_set_multifunction_pin()
/kernel/linux/linux-5.10/drivers/hwmon/
Dlm90.c1462 int man_id, chip_id, config1, config2, convrate; in lm90_detect() local
1470 config1 = i2c_smbus_read_byte_data(client, LM90_REG_R_CONFIG1); in lm90_detect()
1472 if (man_id < 0 || chip_id < 0 || config1 < 0 || convrate < 0) in lm90_detect()
1483 if ((config1 & 0x2A) == 0x00 in lm90_detect()
1509 && (config1 & 0x3F) == 0x00 in lm90_detect()
1521 && (config1 & 0x1B) == 0x00 in lm90_detect()
1526 && (config1 & 0x1B) == 0x00 in lm90_detect()
1566 && (config1 & 0x1F) == (man_id & 0x0F) in lm90_detect()
1585 && (config1 & 0x10) == 0x00 in lm90_detect()
1598 && (config1 & 0x03) == 0x00 in lm90_detect()
[all …]
Dadm1026.c286 u8 config1; /* Register value */ member
435 data->config1 = adm1026_read_value(client, in adm1026_update_device()
437 if (data->config1 & CFG1_PWM_AFC) { in adm1026_update_device()
974 return sprintf(buf, "%d\n", (data->config1 & CFG1_THERM_HOT) >> 4); in show_temp_crit_enable()
992 data->config1 = (data->config1 & ~CFG1_THERM_HOT) | (val << 4); in set_temp_crit_enable()
993 adm1026_write_value(client, ADM1026_REG_CONFIG1, data->config1); in set_temp_crit_enable()
1358 data->config1 = (data->config1 & ~CFG1_PWM_AFC) in pwm1_enable_store()
1360 adm1026_write_value(client, ADM1026_REG_CONFIG1, data->config1); in pwm1_enable_store()
1726 data->config1 = adm1026_read_value(client, ADM1026_REG_CONFIG1); in adm1026_init_client()
1732 data->config1); in adm1026_init_client()
[all …]
/kernel/linux/linux-5.10/arch/powerpc/perf/
Dhv-gpci.c43 EVENT_DEFINE_RANGE_FORMAT(secondary_index, config1, 0, 15);
45 EVENT_DEFINE_RANGE_FORMAT(counter_info_version, config1, 16, 23);
47 EVENT_DEFINE_RANGE_FORMAT(length, config1, 24, 31);
49 EVENT_DEFINE_RANGE_FORMAT(offset, config1, 32, 63);
/kernel/linux/linux-5.10/arch/mips/kernel/
Dcpu-probe.c461 unsigned int config1; in decode_config1() local
463 config1 = read_c0_config1(); in decode_config1()
465 if (config1 & MIPS_CONF1_MD) in decode_config1()
467 if (config1 & MIPS_CONF1_PC) in decode_config1()
469 if (config1 & MIPS_CONF1_WR) in decode_config1()
471 if (config1 & MIPS_CONF1_CA) in decode_config1()
473 if (config1 & MIPS_CONF1_EP) in decode_config1()
475 if (config1 & MIPS_CONF1_FP) { in decode_config1()
480 c->tlbsize = ((config1 & MIPS_CONF1_TLBS) >> 25) + 1; in decode_config1()
485 return config1 & MIPS_CONF_M; in decode_config1()
[all …]
/kernel/linux/linux-5.10/drivers/memory/
Domap-gpmc.c205 u32 config1; member
1811 u32 config1; in gpmc_cs_program_settings() local
1850 config1 = GPMC_CONFIG1_DEVICESIZE((p->device_width - 1)); in gpmc_cs_program_settings()
1853 config1 |= GPMC_CONFIG1_READTYPE_SYNC; in gpmc_cs_program_settings()
1855 config1 |= GPMC_CONFIG1_WRITETYPE_SYNC; in gpmc_cs_program_settings()
1857 config1 |= GPMC_CONFIG1_WAIT_READ_MON; in gpmc_cs_program_settings()
1859 config1 |= GPMC_CONFIG1_WAIT_WRITE_MON; in gpmc_cs_program_settings()
1861 config1 |= GPMC_CONFIG1_WAIT_PIN_SEL(p->wait_pin); in gpmc_cs_program_settings()
1863 config1 |= GPMC_CONFIG1_DEVICETYPE(GPMC_DEVICETYPE_NAND); in gpmc_cs_program_settings()
1865 config1 |= GPMC_CONFIG1_MUXTYPE(p->mux_add_data); in gpmc_cs_program_settings()
[all …]
/kernel/linux/linux-5.10/tools/perf/util/
Dpmu.l30 config1 { return PP_CONFIG1; }
/kernel/linux/linux-5.10/arch/mips/kvm/
Dtrap_emul.c606 u32 config, config1; in kvm_trap_emul_vcpu_setup() local
638 config1 = (read_c0_config1() & ~0x7f); in kvm_trap_emul_vcpu_setup()
642 config1 &= ~MIPS_CONF1_DL; in kvm_trap_emul_vcpu_setup()
643 config1 |= ((ilog2(cpu_dcache_line_size()) - 1) << in kvm_trap_emul_vcpu_setup()
648 config1 &= ~(0x3f << 25); in kvm_trap_emul_vcpu_setup()
649 config1 |= ((KVM_MIPS_GUEST_TLB_SIZE - 1) << 25); in kvm_trap_emul_vcpu_setup()
652 config1 &= ~(MIPS_CONF1_C2 | MIPS_CONF1_MD | MIPS_CONF1_PC | in kvm_trap_emul_vcpu_setup()
654 kvm_write_c0_guest_config1(cop0, config1); in kvm_trap_emul_vcpu_setup()
/kernel/linux/linux-5.10/tools/perf/tests/attr/
Dbase-stat37 config1=0
Dbase-record37 config1=0
Dsystem-wide-dummy46 config1=0
/kernel/linux/linux-5.10/drivers/scsi/
Dmac53c94.h32 unsigned char config1; member

1234