Home
last modified time | relevance | path

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

1234

/Linux-v6.1/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,
/Linux-v6.1/Documentation/ABI/testing/
Dsysfs-bus-event_source-devices-dsa7 perf_event_attr.config1 for the IDXD DSA pmu. (See also
11 perf_event_attr.config or perf_event_attr.config1.
18 filter_wq = "config1:0-31" - workqueue filter
19 filter_tc = "config1:32-39" - traffic class filter
20 filter_pgsz = "config1:40-43" - page size filter
21 filter_sz = "config1:44-51" - transfer size filter
22 filter_eng = "config1:52-59" - engine filter
Dsysfs-bus-event_source-devices-format19 Example: 'config1:1,6-10,44'
21 perf_event_attr::config1.
/Linux-v6.1/arch/powerpc/platforms/83xx/
Dsuspend.c62 u32 config1; member
123 u32 reg_cfg1 = in_be32(&pmc_regs->config1); in mpc83xx_change_state()
133 out_be32(&pmc_regs->config1, reg_cfg1); in mpc83xx_change_state()
185 out_be32(&pmc_regs->config1, in mpc83xx_suspend_enter()
186 in_be32(&pmc_regs->config1) | PMCCR1_PME_EN); in mpc83xx_suspend_enter()
206 out_be32(&pmc_regs->config1, in mpc83xx_suspend_enter()
207 in_be32(&pmc_regs->config1) | PMCCR1_POWER_OFF); in mpc83xx_suspend_enter()
213 out_be32(&pmc_regs->config1, in mpc83xx_suspend_enter()
214 in_be32(&pmc_regs->config1) & ~PMCCR1_POWER_OFF); in mpc83xx_suspend_enter()
228 out_be32(&pmc_regs->config1, in mpc83xx_suspend_enter()
[all …]
/Linux-v6.1/drivers/hwmon/
Dlm90.c1834 static const char *lm90_detect_max1617(struct i2c_client *client, int config1) in lm90_detect_max1617() argument
1842 if (config1 & 0x3f) in lm90_detect_max1617()
1894 (config1 | 0xff00)) in lm90_detect_max1617()
1905 int config1, int convrate) in lm90_detect_national() argument
1914 if ((config1 & 0x2a) || (config2 & 0xf8) || convrate > 0x09) in lm90_detect_national()
1939 static const char *lm90_detect_on(struct i2c_client *client, int chip_id, int config1, in lm90_detect_on() argument
1947 if ((address == 0x4c || address == 0x4d) && !(config1 & 0x1b) && in lm90_detect_on()
1958 int chip_id, int config1, int convrate) in lm90_detect_analog() argument
2010 !(status & 0x03) && !(config1 & 0x3f) && !(convrate & 0xf8)) in lm90_detect_analog()
2016 (config1 & 0x0b) == 0x08 && convrate <= 0x0a) in lm90_detect_analog()
[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 …]
/Linux-v6.1/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 …]
/Linux-v6.1/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 …]
/Linux-v6.1/arch/mips/cavium-octeon/executive/
Dcvmx-pko.c297 union cvmx_pko_reg_queue_ptrs1 config1; in cvmx_pko_shutdown() local
298 config1.u64 = 0; in cvmx_pko_shutdown()
299 config1.s.qid7 = queue >> 7; in cvmx_pko_shutdown()
300 cvmx_write_csr(CVMX_PKO_REG_QUEUE_PTRS1, config1.u64); in cvmx_pko_shutdown()
333 union cvmx_pko_reg_queue_ptrs1 config1; in cvmx_pko_config_port() local
425 config1.u64 = 0; in cvmx_pko_config_port()
426 config1.s.idx3 = queue >> 3; in cvmx_pko_config_port()
427 config1.s.qid7 = (base_queue + queue) >> 7; in cvmx_pko_config_port()
529 cvmx_write_csr(CVMX_PKO_REG_QUEUE_PTRS1, config1.u64); in cvmx_pko_config_port()
/Linux-v6.1/tools/testing/selftests/powerpc/pmu/event_code_tests/
Dgroup_constraint_thresh_cmp_test.c44 leader.attr.config1 = 1000; in group_constraint_thresh_cmp()
50 event.attr.config1 = 2000; in group_constraint_thresh_cmp()
61 event.attr.config1 = 1000; in group_constraint_thresh_cmp()
/Linux-v6.1/arch/mips/mm/
Dc-octeon.c169 unsigned int config1; in probe_octeon() local
173 config1 = read_c0_config1(); in probe_octeon()
177 c->icache.linesz = 2 << ((config1 >> 19) & 7); in probe_octeon()
178 c->icache.sets = 64 << ((config1 >> 22) & 7); in probe_octeon()
179 c->icache.ways = 1 + ((config1 >> 16) & 7); in probe_octeon()
197 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.c1110 unsigned long config1; in probe_pcache() local
1233 config1 = read_c0_config1(); in probe_pcache()
1234 lsize = (config1 >> 19) & 7; in probe_pcache()
1239 c->icache.sets = 64 << ((config1 >> 22) & 7); in probe_pcache()
1240 c->icache.ways = 1 + ((config1 >> 16) & 7); in probe_pcache()
1246 lsize = (config1 >> 10) & 7; in probe_pcache()
1251 c->dcache.sets = 64 << ((config1 >> 13) & 7); in probe_pcache()
1252 c->dcache.ways = 1 + ((config1 >> 7) & 7); in probe_pcache()
1286 config1 = read_c0_config1(); in probe_pcache()
1288 lsize = (config1 >> 19) & 7; in probe_pcache()
[all …]
/Linux-v6.1/drivers/perf/hisilicon/
Dhisi_uncore_pa_pmu.c43 HISI_PMU_EVENT_ATTR_EXTRACTOR(tgtid_cmd, config1, 10, 0);
44 HISI_PMU_EVENT_ATTR_EXTRACTOR(tgtid_msk, config1, 21, 11);
45 HISI_PMU_EVENT_ATTR_EXTRACTOR(srcid_cmd, config1, 32, 22);
46 HISI_PMU_EVENT_ATTR_EXTRACTOR(srcid_msk, config1, 43, 33);
47 HISI_PMU_EVENT_ATTR_EXTRACTOR(tracetag_en, config1, 44, 44);
123 if (event->attr.config1 != 0x0) { in hisi_pa_pmu_enable_filter()
132 if (event->attr.config1 != 0x0) { in hisi_pa_pmu_disable_filter()
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) { in hisi_sllc_pmu_enable_filter()
163 if (event->attr.config1 != 0x0) { in hisi_sllc_pmu_clear_filter()
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) { in hisi_hha_pmu_enable_filter()
152 if (event->attr.config1 != 0x0) { in hisi_hha_pmu_disable_filter()
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) { in hisi_l3c_pmu_enable_filter()
218 if (event->attr.config1 != 0x0) { in hisi_l3c_pmu_disable_filter()
/Linux-v6.1/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-v6.1/drivers/mtd/nand/raw/
Dmxc_nand.c668 uint16_t config1; in mxc_nand_enable_hwecc_v1_v2() local
673 config1 = readw(NFC_V1_V2_CONFIG1); in mxc_nand_enable_hwecc_v1_v2()
676 config1 |= NFC_V1_V2_CONFIG1_ECC_EN; in mxc_nand_enable_hwecc_v1_v2()
678 config1 &= ~NFC_V1_V2_CONFIG1_ECC_EN; in mxc_nand_enable_hwecc_v1_v2()
680 writew(config1, NFC_V1_V2_CONFIG1); in mxc_nand_enable_hwecc_v1_v2()
1116 uint16_t config1 = 0; in preset_v1() local
1120 config1 |= NFC_V1_V2_CONFIG1_ECC_EN; in preset_v1()
1123 config1 |= NFC_V1_V2_CONFIG1_INT_MSK; in preset_v1()
1127 writew(config1, NFC_V1_V2_CONFIG1); in preset_v1()
1148 u16 config1; in mxc_nand_v2_setup_interface() local
[all …]
/Linux-v6.1/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
/Linux-v6.1/arch/mips/kernel/
Dcpu-probe.c462 unsigned int config1; in decode_config1() local
464 config1 = read_c0_config1(); in decode_config1()
466 if (config1 & MIPS_CONF1_MD) in decode_config1()
468 if (config1 & MIPS_CONF1_PC) in decode_config1()
470 if (config1 & MIPS_CONF1_WR) in decode_config1()
472 if (config1 & MIPS_CONF1_CA) in decode_config1()
474 if (config1 & MIPS_CONF1_EP) in decode_config1()
476 if (config1 & MIPS_CONF1_FP) { in decode_config1()
481 c->tlbsize = ((config1 & MIPS_CONF1_TLBS) >> 25) + 1; in decode_config1()
486 return config1 & MIPS_CONF_M; in decode_config1()
[all …]
/Linux-v6.1/drivers/gpu/drm/vc4/
Dvc4_vec.c196 u32 config1; member
245 .config1 = VEC_CONFIG1_C_CVBS_CVBS,
250 .config1 = VEC_CONFIG1_C_CVBS_CVBS,
255 .config1 = VEC_CONFIG1_C_CVBS_CVBS,
260 .config1 = VEC_CONFIG1_C_CVBS_CVBS | VEC_CONFIG1_CUSTOM_FREQ,
424 VEC_WRITE(VEC_CONFIG1, tv_mode->config1); in vc4_vec_encoder_enable()
/Linux-v6.1/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);
/Linux-v6.1/drivers/memory/
Domap-gpmc.c207 u32 config1; member
1823 u32 config1; in gpmc_cs_program_settings() local
1862 config1 = GPMC_CONFIG1_DEVICESIZE((p->device_width - 1)); in gpmc_cs_program_settings()
1865 config1 |= GPMC_CONFIG1_READTYPE_SYNC; in gpmc_cs_program_settings()
1867 config1 |= GPMC_CONFIG1_WRITETYPE_SYNC; in gpmc_cs_program_settings()
1869 config1 |= GPMC_CONFIG1_WAIT_READ_MON; in gpmc_cs_program_settings()
1871 config1 |= GPMC_CONFIG1_WAIT_WRITE_MON; in gpmc_cs_program_settings()
1873 config1 |= GPMC_CONFIG1_WAIT_PIN_SEL(p->wait_pin); in gpmc_cs_program_settings()
1875 config1 |= GPMC_CONFIG1_DEVICETYPE(GPMC_DEVICETYPE_NAND); in gpmc_cs_program_settings()
1877 config1 |= GPMC_CONFIG1_MUXTYPE(p->mux_add_data); in gpmc_cs_program_settings()
[all …]

1234