Searched refs:config1 (Results 1 - 25 of 85) sorted by relevance

1234

/linux-master/tools/testing/selftests/powerpc/pmu/event_code_tests/
H A Dgroup_constraint_thresh_cmp_test.c43 /* Add the thresh_cmp value for leader in config1 */
44 leader.attr.config1 = 1000;
49 /* Add the different thresh_cmp value from the leader event in config1 */
50 event.attr.config1 = 2000;
60 /* Add the same thresh_cmp value for leader and sibling event in config1 */
61 event.attr.config1 = 1000;
/linux-master/drivers/phy/socionext/
H A Dphy-uniphier-usb2.c36 struct uniphier_u2phy_param config1; member in struct:uniphier_u2phy_soc_data
77 regmap_write(priv->regmap, priv->data->config1.offset,
78 priv->data->config1.value);
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
[all...]
H A Dphy-uniphier-usb3hs.c82 u32 config1; member in struct:uniphier_u3hsphy_soc_data
255 u32 config0, config1; local
275 || (!priv->data->config0 && !priv->data->config1))
279 config1 = priv->data->config1;
286 writel(config1, priv->base + HSPHY_CFG1);
418 .config1 = 0x00000106,
430 .config1 = 0x00000106,
/linux-master/arch/powerpc/platforms/83xx/
H A Dsuspend.c62 u32 config1; member in struct:mpc83xx_pmc
123 u32 reg_cfg1 = in_be32(&pmc_regs->config1);
133 out_be32(&pmc_regs->config1, reg_cfg1);
185 out_be32(&pmc_regs->config1,
186 in_be32(&pmc_regs->config1) | PMCCR1_PME_EN);
206 out_be32(&pmc_regs->config1,
207 in_be32(&pmc_regs->config1) | PMCCR1_POWER_OFF);
214 out_be32(&pmc_regs->config1,
215 in_be32(&pmc_regs->config1) & ~PMCCR1_POWER_OFF);
229 out_be32(&pmc_regs->config1,
[all...]
/linux-master/tools/testing/selftests/powerpc/pmu/sampling_tests/
H A Dmmcra_thresh_cmp_test.c41 event.attr.config1 = 1000;
/linux-master/arch/mips/mm/
H A Dc-octeon.c174 unsigned int config1; local
178 config1 = read_c0_config1();
182 c->icache.linesz = 2 << ((config1 >> 19) & 7);
183 c->icache.sets = 64 << ((config1 >> 22) & 7);
184 c->icache.ways = 1 + ((config1 >> 16) & 7);
202 c->icache.linesz = 2 << ((config1 >> 19) & 7);
H A Dsc-mips.c186 unsigned int config1, config2; local
203 config1 = read_c0_config1();
204 if (!(config1 & MIPS_CONF_M))
H A Dc-r4k.c1000 unsigned long config1; local
1123 config1 = read_c0_config1();
1124 lsize = (config1 >> 19) & 7;
1129 c->icache.sets = 64 << ((config1 >> 22) & 7);
1130 c->icache.ways = 1 + ((config1 >> 16) & 7);
1136 lsize = (config1 >> 10) & 7;
1141 c->dcache.sets = 64 << ((config1 >> 13) & 7);
1142 c->dcache.ways = 1 + ((config1 >> 7) & 7);
1176 config1 = read_c0_config1();
1178 lsize = (config1 >> 1
[all...]
/linux-master/drivers/hwmon/
H A Dlm90.c1835 static const char *lm90_detect_max1617(struct i2c_client *client, int config1) argument
1843 if (config1 & 0x3f)
1895 (config1 | 0xff00))
1906 int config1, int convrate)
1915 if ((config1 & 0x2a) || (config2 & 0xf8) || convrate > 0x09)
1940 static const char *lm90_detect_on(struct i2c_client *client, int chip_id, int config1, argument
1948 if ((address == 0x4c || address == 0x4d) && !(config1 & 0x1b) &&
1959 int chip_id, int config1, int convrate)
2011 !(status & 0x03) && !(config1 & 0x3f) && !(convrate & 0xf8))
2017 (config1
1905 lm90_detect_national(struct i2c_client *client, int chip_id, int config1, int convrate) argument
1958 lm90_detect_analog(struct i2c_client *client, bool common_address, int chip_id, int config1, int convrate) argument
2115 lm90_detect_maxim(struct i2c_client *client, bool common_address, int chip_id, int config1, int convrate) argument
2317 lm90_detect_nuvoton(struct i2c_client *client, int chip_id, int config1, int convrate) argument
2339 lm90_detect_nxp(struct i2c_client *client, bool common_address, int chip_id, int config1, int convrate) argument
2365 lm90_detect_gmt(struct i2c_client *client, int chip_id, int config1, int convrate) argument
2407 lm90_detect_ti49(struct i2c_client *client, bool common_address, int chip_id, int config1, int convrate) argument
2419 lm90_detect_ti(struct i2c_client *client, int chip_id, int config1, int convrate) argument
2451 int man_id, chip_id, config1, convrate, lhigh; local
[all...]
H A Dadm1026.c286 u8 config1; /* Register value */ member in struct:adm1026_data
435 data->config1 = adm1026_read_value(client,
437 if (data->config1 & CFG1_PWM_AFC) {
974 return sprintf(buf, "%d\n", (data->config1 & CFG1_THERM_HOT) >> 4);
992 data->config1 = (data->config1 & ~CFG1_THERM_HOT) | (val << 4);
993 adm1026_write_value(client, ADM1026_REG_CONFIG1, data->config1);
1358 data->config1 = (data->config1 & ~CFG1_PWM_AFC)
1360 adm1026_write_value(client, ADM1026_REG_CONFIG1, data->config1);
[all...]
/linux-master/arch/mips/cavium-octeon/executive/
H A Dcvmx-pko.c297 union cvmx_pko_reg_queue_ptrs1 config1; local
298 config1.u64 = 0;
299 config1.s.qid7 = queue >> 7;
300 cvmx_write_csr(CVMX_PKO_REG_QUEUE_PTRS1, config1.u64);
333 union cvmx_pko_reg_queue_ptrs1 config1; local
425 config1.u64 = 0;
426 config1.s.idx3 = queue >> 3;
427 config1.s.qid7 = (base_queue + queue) >> 7;
529 cvmx_write_csr(CVMX_PKO_REG_QUEUE_PTRS1, config1.u64);
/linux-master/drivers/staging/iio/addac/
H A Dadt7316.c89 * ADT7316 config1
184 u8 config1; member in struct:adt7316_chip_info
228 return sprintf(buf, "%d\n", !!(chip->config1 & ADT7316_EN));
234 u8 config1; local
238 config1 = chip->config1 | ADT7316_EN;
240 config1 = chip->config1 & ~ADT7316_EN;
242 ret = chip->bus.write(chip->bus.client, ADT7316_CONFIG1, config1);
246 chip->config1
296 u8 config1; local
570 u8 config1; local
1983 u8 config1; local
[all...]
/linux-master/drivers/net/ethernet/seeq/
H A Dether3.c119 ether3_outw(priv(dev)->regs.config1 | CFG1_LOCBUFMEM, REG_CONFIG1);
273 priv(dev)->regs.config1 = CFG1_RECVCOMPSTAT0|CFG1_DMABURST8;
280 ether3_outw(priv(dev)->regs.config1 | CFG1_BUFSELSTAT0, REG_CONFIG1);
285 priv(dev)->regs.config1 |= CFG1_RECVPROMISC;
287 priv(dev)->regs.config1 |= CFG1_RECVSPECBRMULTI;
289 priv(dev)->regs.config1 |= CFG1_RECVSPECBROAD;
296 ether3_outw(priv(dev)->regs.config1 | CFG1_TRANSEND, REG_CONFIG1);
302 ether3_outw(priv(dev)->regs.config1 | CFG1_LOCBUFMEM, REG_CONFIG1);
331 ether3_outw(priv(dev)->regs.config1 | CFG1_BUFSELSTAT0, REG_CONFIG1);
340 ether3_outw(priv(dev)->regs.config1 | CFG1_TRANSEN
[all...]
/linux-master/drivers/perf/hisilicon/
H A Dhisi_uncore_pa_pmu.c49 HISI_PMU_EVENT_ATTR_EXTRACTOR(tgtid_cmd, config1, 10, 0);
50 HISI_PMU_EVENT_ATTR_EXTRACTOR(tgtid_msk, config1, 21, 11);
51 HISI_PMU_EVENT_ATTR_EXTRACTOR(srcid_cmd, config1, 32, 22);
52 HISI_PMU_EVENT_ATTR_EXTRACTOR(srcid_msk, config1, 43, 33);
53 HISI_PMU_EVENT_ATTR_EXTRACTOR(tracetag_en, config1, 44, 44);
135 if (event->attr.config1 != 0x0) {
144 if (event->attr.config1 != 0x0) {
308 HISI_PMU_FORMAT_ATTR(tgtid_cmd, "config1:0-10"),
309 HISI_PMU_FORMAT_ATTR(tgtid_msk, "config1:11-21"),
310 HISI_PMU_FORMAT_ATTR(srcid_cmd, "config1
[all...]
H A Dhisi_uncore_sllc_pmu.c45 HISI_PMU_EVENT_ATTR_EXTRACTOR(tgtid_min, config1, 10, 0);
46 HISI_PMU_EVENT_ATTR_EXTRACTOR(tgtid_max, config1, 21, 11);
47 HISI_PMU_EVENT_ATTR_EXTRACTOR(srcid_cmd, config1, 32, 22);
48 HISI_PMU_EVENT_ATTR_EXTRACTOR(srcid_msk, config1, 43, 33);
49 HISI_PMU_EVENT_ATTR_EXTRACTOR(tracetag_en, config1, 44, 44);
154 if (event->attr.config1 != 0x0) {
163 if (event->attr.config1 != 0x0) {
323 HISI_PMU_FORMAT_ATTR(tgtid_min, "config1:0-10"),
324 HISI_PMU_FORMAT_ATTR(tgtid_max, "config1:11-21"),
325 HISI_PMU_FORMAT_ATTR(srcid_cmd, "config1
[all...]
H A Dhisi_uncore_hha_pmu.c54 HISI_PMU_EVENT_ATTR_EXTRACTOR(srcid_cmd, config1, 10, 0);
55 HISI_PMU_EVENT_ATTR_EXTRACTOR(srcid_msk, config1, 21, 11);
56 HISI_PMU_EVENT_ATTR_EXTRACTOR(tracetag_en, config1, 22, 22);
57 HISI_PMU_EVENT_ATTR_EXTRACTOR(datasrc_skt, config1, 23, 23);
143 if (event->attr.config1 != 0x0) {
152 if (event->attr.config1 != 0x0) {
349 HISI_PMU_FORMAT_ATTR(srcid_cmd, "config1:0-10"),
350 HISI_PMU_FORMAT_ATTR(srcid_msk, "config1:11-21"),
351 HISI_PMU_FORMAT_ATTR(tracetag_en, "config1:22"),
352 HISI_PMU_FORMAT_ATTR(datasrc_skt, "config1
[all...]
H A Dhisi_uncore_l3c_pmu.c58 HISI_PMU_EVENT_ATTR_EXTRACTOR(tt_core, config1, 7, 0);
59 HISI_PMU_EVENT_ATTR_EXTRACTOR(tt_req, config1, 10, 8);
60 HISI_PMU_EVENT_ATTR_EXTRACTOR(datasrc_cfg, config1, 15, 11);
61 HISI_PMU_EVENT_ATTR_EXTRACTOR(datasrc_skt, config1, 16, 16);
209 if (event->attr.config1 != 0x0) {
218 if (event->attr.config1 != 0x0) {
397 HISI_PMU_FORMAT_ATTR(tt_core, "config1:0-7"),
398 HISI_PMU_FORMAT_ATTR(tt_req, "config1:8-10"),
399 HISI_PMU_FORMAT_ATTR(datasrc_cfg, "config1:11-15"),
400 HISI_PMU_FORMAT_ATTR(datasrc_skt, "config1
[all...]
H A Dhisi_uncore_uc_pmu.c49 HISI_PMU_EVENT_ATTR_EXTRACTOR(rd_req_en, config1, 0, 0);
50 HISI_PMU_EVENT_ATTR_EXTRACTOR(uring_channel, config1, 5, 4);
51 HISI_PMU_EVENT_ATTR_EXTRACTOR(srcid, config1, 19, 6);
52 HISI_PMU_EVENT_ATTR_EXTRACTOR(srcid_en, config1, 20, 20);
211 if (event->attr.config1 == 0)
221 if (event->attr.config1 == 0)
405 HISI_PMU_FORMAT_ATTR(rd_req_en, "config1:0-0"),
406 HISI_PMU_FORMAT_ATTR(uring_channel, "config1:4-5"),
407 HISI_PMU_FORMAT_ATTR(srcid, "config1:6-19"),
408 HISI_PMU_FORMAT_ATTR(srcid_en, "config1
[all...]
/linux-master/drivers/gpu/drm/vc4/
H A Dvc4_vec.c243 u32 config1; member in struct:vc4_vec_tv_mode
279 .config1 = VEC_CONFIG1_C_CVBS_CVBS,
285 .config1 = VEC_CONFIG1_C_CVBS_CVBS | VEC_CONFIG1_CUSTOM_FREQ,
292 .config1 = VEC_CONFIG1_C_CVBS_CVBS,
298 .config1 = VEC_CONFIG1_C_CVBS_CVBS,
305 .config1 = VEC_CONFIG1_C_CVBS_CVBS | VEC_CONFIG1_CUSTOM_FREQ,
312 .config1 = VEC_CONFIG1_C_CVBS_CVBS,
318 .config1 = VEC_CONFIG1_C_CVBS_CVBS,
324 .config1 = VEC_CONFIG1_C_CVBS_CVBS,
620 VEC_WRITE(VEC_CONFIG1, tv_mode->config1);
[all...]
/linux-master/drivers/mtd/nand/raw/
H A Dmxc_nand.c667 uint16_t config1; local
672 config1 = readw(NFC_V1_V2_CONFIG1);
675 config1 |= NFC_V1_V2_CONFIG1_ECC_EN;
677 config1 &= ~NFC_V1_V2_CONFIG1_ECC_EN;
679 writew(config1, NFC_V1_V2_CONFIG1);
1115 uint16_t config1 = 0; local
1119 config1 |= NFC_V1_V2_CONFIG1_ECC_EN;
1122 config1 |= NFC_V1_V2_CONFIG1_INT_MSK;
1126 writew(config1, NFC_V1_V2_CONFIG1);
1147 u16 config1; local
1218 uint16_t config1 = 0; local
[all...]
/linux-master/arch/x86/events/intel/
H A Duncore_nhmex.c197 DEFINE_UNCORE_FORMAT_ATTR(match, match, "config1:0-63");
372 reg1->config = event->attr.config1;
457 reg1->config = event->attr.config1;
674 u64 config1 = reg1->config; local
687 __BITS_VALUE(config1, i, 32)))
726 config1 = nhmex_mbox_alter_er(event, idx[0], false);
776 * config1 to pass two MSRs' config.
781 if (event->attr.config1 & ~er->valid_mask)
798 reg1->config = event->attr.config1;
874 DEFINE_UNCORE_FORMAT_ATTR(dsp, dsp, "config1
986 u64 config1; local
[all...]
/linux-master/drivers/perf/arm_cspmu/
H A Dampere_cspmu.c36 SOC_PMU_EVENT_ATTR_EXTRACTOR(threshold, config1, 0, 7);
37 SOC_PMU_EVENT_ATTR_EXTRACTOR(rank, config1, 8, 23);
38 SOC_PMU_EVENT_ATTR_EXTRACTOR(bank, config1, 24, 55);
105 ARM_CSPMU_FORMAT_ATTR(threshold, "config1:0-7"),
106 ARM_CSPMU_FORMAT_ATTR(rank, "config1:8-23"),
107 ARM_CSPMU_FORMAT_ATTR(bank, "config1:24-55"),
/linux-master/drivers/perf/amlogic/
H A Dmeson_ddr_pmu_core.c121 u64 config1 = event->attr.config1; local
135 hweight64(config1) + hweight64(config2) > MAX_AXI_PORTS_OF_CHANNEL)
153 u64 config1 = event->attr.config1; local
158 (const unsigned long *)&config1,
159 BITS_PER_TYPE(config1))
299 char value[20]; // config1:xxx, 20 is enough
304 if (sscanf(value, "config1:%d", &id) == 1)
/linux-master/arch/mips/kernel/
H A Dcpu-probe.c461 unsigned int config1; local
463 config1 = read_c0_config1();
465 if (config1 & MIPS_CONF1_MD)
467 if (config1 & MIPS_CONF1_PC)
469 if (config1 & MIPS_CONF1_WR)
471 if (config1 & MIPS_CONF1_CA)
473 if (config1 & MIPS_CONF1_EP)
475 if (config1 & MIPS_CONF1_FP) {
480 c->tlbsize = ((config1 & MIPS_CONF1_TLBS) >> 25) + 1;
485 return config1
838 unsigned int config1, config1_dyn; local
[all...]
/linux-master/drivers/memory/
H A Domap-gpmc.c208 u32 config1; member in struct:gpmc_cs_config
1887 u32 config1; local
1927 config1 = GPMC_CONFIG1_DEVICESIZE((p->device_width - 1));
1930 config1 |= GPMC_CONFIG1_READTYPE_SYNC;
1932 config1 |= GPMC_CONFIG1_WRITETYPE_SYNC;
1934 config1 |= GPMC_CONFIG1_WAIT_READ_MON;
1936 config1 |= GPMC_CONFIG1_WAIT_WRITE_MON;
1938 config1 |= GPMC_CONFIG1_WAIT_PIN_SEL(p->wait_pin);
1940 config1 |= GPMC_CONFIG1_DEVICETYPE(GPMC_DEVICETYPE_NAND);
1942 config1 |
[all...]

Completed in 291 milliseconds

1234