/kernel/linux/linux-5.10/drivers/phy/socionext/ |
H A D | phy-uniphier-usb2.c | 36 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 [all...] |
H A D | phy-uniphier-usb3hs.c | 82 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-6.6/drivers/phy/socionext/ |
H A D | phy-uniphier-usb2.c | 36 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 [all...] |
H A D | phy-uniphier-usb3hs.c | 82 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/ |
H A D | suspend.c | 62 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-6.6/arch/powerpc/platforms/83xx/ |
H A D | suspend.c | 62 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...] |
/kernel/linux/linux-6.6/drivers/hwmon/ |
H A D | lm90.c | 1835 static const char *lm90_detect_max1617(struct i2c_client *client, int config1) in lm90_detect_max1617() argument 1843 if (config1 & 0x3f) in lm90_detect_max1617() 1895 (config1 | 0xff00)) in lm90_detect_max1617() 1906 int config1, int convrate) in lm90_detect_national() 1915 if ((config1 & 0x2a) || (config2 & 0xf8) || convrate > 0x09) in lm90_detect_national() 1940 static const char *lm90_detect_on(struct i2c_client *client, int chip_id, int config1, in lm90_detect_on() argument 1948 if ((address == 0x4c || address == 0x4d) && !(config1 & 0x1b) && in lm90_detect_on() 1959 int chip_id, int config1, int convrate) in lm90_detect_analog() 2011 !(status & 0x03) && !(config1 & 0x3f) && !(convrate & 0xf8)) in lm90_detect_analog() 2017 (config1 in lm90_detect_analog() 1905 lm90_detect_national(struct i2c_client *client, int chip_id, int config1, int convrate) lm90_detect_national() argument 1958 lm90_detect_analog(struct i2c_client *client, bool common_address, int chip_id, int config1, int convrate) lm90_detect_analog() argument 2115 lm90_detect_maxim(struct i2c_client *client, bool common_address, int chip_id, int config1, int convrate) lm90_detect_maxim() argument 2317 lm90_detect_nuvoton(struct i2c_client *client, int chip_id, int config1, int convrate) lm90_detect_nuvoton() argument 2339 lm90_detect_nxp(struct i2c_client *client, bool common_address, int chip_id, int config1, int convrate) lm90_detect_nxp() argument 2365 lm90_detect_gmt(struct i2c_client *client, int chip_id, int config1, int convrate) lm90_detect_gmt() argument 2407 lm90_detect_ti49(struct i2c_client *client, bool common_address, int chip_id, int config1, int convrate) lm90_detect_ti49() argument 2419 lm90_detect_ti(struct i2c_client *client, int chip_id, int config1, int convrate) lm90_detect_ti() argument 2451 int man_id, chip_id, config1, convrate, lhigh; lm90_detect() local [all...] |
/kernel/linux/linux-5.10/drivers/staging/iio/addac/ |
H A D | adt7316.c | 89 * ADT7316 config1 184 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 in _adt7316_store_enabled() 296 u8 config1; adt7316_store_select_ex_temp() local 570 u8 config1; adt7316_store_powerdown() local 1983 u8 config1; adt7316_set_int_enabled() local [all...] |
/kernel/linux/linux-6.6/drivers/staging/iio/addac/ |
H A D | adt7316.c | 89 * ADT7316 config1 184 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 in _adt7316_store_enabled() 296 u8 config1; adt7316_store_select_ex_temp() local 570 u8 config1; adt7316_store_powerdown() local 1983 u8 config1; adt7316_set_int_enabled() local [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/pmu/event_code_tests/ |
H A D | group_constraint_thresh_cmp_test.c | 43 /* Add the thresh_cmp value for leader in config1 */ in group_constraint_thresh_cmp() 44 leader.attr.config1 = 1000; in group_constraint_thresh_cmp() 49 /* Add the different thresh_cmp value from the leader event in config1 */ in group_constraint_thresh_cmp() 50 event.attr.config1 = 2000; in group_constraint_thresh_cmp() 60 /* Add the same thresh_cmp value for leader and sibling event in config1 */ in group_constraint_thresh_cmp() 61 event.attr.config1 = 1000; in group_constraint_thresh_cmp()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/seeq/ |
H A D | ether3.c | 119 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_TRANSEN in ether3_init_for_open() [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/seeq/ |
H A D | ether3.c | 119 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_TRANSEN in ether3_init_for_open() [all...] |
/kernel/linux/linux-5.10/arch/mips/cavium-octeon/executive/ |
H A D | cvmx-pko.c | 311 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-6.6/arch/mips/cavium-octeon/executive/ |
H A D | cvmx-pko.c | 297 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()
|
/kernel/linux/linux-5.10/arch/mips/mm/ |
H A D | c-octeon.c | 171 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()
|
H A D | c-r4k.c | 1111 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 >> 1 in probe_pcache() [all...] |
H A D | sc-mips.c | 186 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()
|
/kernel/linux/linux-6.6/arch/mips/mm/ |
H A D | c-octeon.c | 174 unsigned int config1; in probe_octeon() local 178 config1 = read_c0_config1(); in probe_octeon() 182 c->icache.linesz = 2 << ((config1 >> 19) & 7); in probe_octeon() 183 c->icache.sets = 64 << ((config1 >> 22) & 7); in probe_octeon() 184 c->icache.ways = 1 + ((config1 >> 16) & 7); in probe_octeon() 202 c->icache.linesz = 2 << ((config1 >> 19) & 7); in probe_octeon()
|
H A D | c-r4k.c | 1000 unsigned long config1; in probe_pcache() local 1123 config1 = read_c0_config1(); in probe_pcache() 1124 lsize = (config1 >> 19) & 7; in probe_pcache() 1129 c->icache.sets = 64 << ((config1 >> 22) & 7); in probe_pcache() 1130 c->icache.ways = 1 + ((config1 >> 16) & 7); in probe_pcache() 1136 lsize = (config1 >> 10) & 7; in probe_pcache() 1141 c->dcache.sets = 64 << ((config1 >> 13) & 7); in probe_pcache() 1142 c->dcache.ways = 1 + ((config1 >> 7) & 7); in probe_pcache() 1176 config1 = read_c0_config1(); in probe_pcache() 1178 lsize = (config1 >> 1 in probe_pcache() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/vc4/ |
H A D | vc4_vec.c | 243 u32 config1; member 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); in vc4_vec_encoder_enable() [all...] |
/kernel/linux/linux-5.10/arch/x86/events/intel/ |
H A D | uncore_nhmex.c | 197 DEFINE_UNCORE_FORMAT_ATTR(match, match, "config1:0-63"); 372 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() 776 * config1 to pass two MSRs' config. in nhmex_mbox_hw_config() 781 if (event->attr.config1 & ~er->valid_mask) in nhmex_mbox_hw_config() 798 reg1->config = event->attr.config1; in nhmex_mbox_hw_config() 874 DEFINE_UNCORE_FORMAT_ATTR(dsp, dsp, "config1 986 u64 config1; nhmex_rbox_get_constraint() local [all...] |
/kernel/linux/linux-6.6/arch/x86/events/intel/ |
H A D | uncore_nhmex.c | 197 DEFINE_UNCORE_FORMAT_ATTR(match, match, "config1:0-63"); 372 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() 776 * config1 to pass two MSRs' config. in nhmex_mbox_hw_config() 781 if (event->attr.config1 & ~er->valid_mask) in nhmex_mbox_hw_config() 798 reg1->config = event->attr.config1; in nhmex_mbox_hw_config() 874 DEFINE_UNCORE_FORMAT_ATTR(dsp, dsp, "config1 986 u64 config1; nhmex_rbox_get_constraint() local [all...] |
/kernel/linux/linux-6.6/drivers/perf/hisilicon/ |
H A D | hisi_uncore_pa_pmu.c | 49 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) { in hisi_pa_pmu_enable_filter() 144 if (event->attr.config1 != 0x0) { in hisi_pa_pmu_disable_filter() 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 D | hisi_uncore_sllc_pmu.c | 45 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() 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...] |
/kernel/linux/linux-6.6/drivers/perf/amlogic/ |
H A D | meson_ddr_pmu_core.c | 121 u64 config1 = event->attr.config1; in meson_ddr_perf_event_init() local 135 hweight64(config1) + hweight64(config2) > MAX_AXI_PORTS_OF_CHANNEL) in meson_ddr_perf_event_init() 153 u64 config1 = event->attr.config1; in meson_ddr_perf_event_add() local 158 (const unsigned long *)&config1, in meson_ddr_perf_event_add() 159 BITS_PER_TYPE(config1)) in meson_ddr_perf_event_add() 299 char value[20]; // config1:xxx, 20 is enough in meson_ddr_perf_format_attr_visible() 304 if (sscanf(value, "config1:%d", &id) == 1) in meson_ddr_perf_format_attr_visible()
|