Home
last modified time | relevance | path

Searched refs:config2 (Results 1 – 25 of 73) sorted by relevance

123

/linux-6.1.9/arch/mips/mm/ !
Dsc-mips.c122 unsigned int config2 = read_c0_config2(); in mips_sc_is_activated() local
137 if (config2 & (1 << 12)) in mips_sc_is_activated()
141 tmp = (config2 >> 4) & 0x0f; in mips_sc_is_activated()
186 unsigned int config1, config2; in mips_sc_probe() local
207 config2 = read_c0_config2(); in mips_sc_probe()
212 tmp = (config2 >> 8) & 0x0f; in mips_sc_probe()
218 tmp = (config2 >> 0) & 0x0f; in mips_sc_probe()
Dc-r4k.c1467 unsigned int config2, lsize; in probe_vcache() local
1472 config2 = read_c0_config2(); in probe_vcache()
1473 if ((lsize = ((config2 >> 20) & 15))) in probe_vcache()
1478 c->vcache.sets = 64 << ((config2 >> 24) & 15); in probe_vcache()
1479 c->vcache.ways = 1 + ((config2 >> 16) & 15); in probe_vcache()
1570 unsigned int config2, lsize; in loongson3_sc_init() local
1572 config2 = read_c0_config2(); in loongson3_sc_init()
1573 lsize = (config2 >> 4) & 15; in loongson3_sc_init()
1578 c->scache.sets = 64 << ((config2 >> 8) & 15); in loongson3_sc_init()
1579 c->scache.ways = 1 + (config2 & 15); in loongson3_sc_init()
/linux-6.1.9/drivers/staging/iio/addac/ !
Dadt7316.c185 u8 config2; member
327 if (chip->config2 & ADT7316_AD_SINGLE_CH_MODE) in adt7316_show_mode()
340 u8 config2; in adt7316_store_mode() local
343 config2 = chip->config2 & (~ADT7316_AD_SINGLE_CH_MODE); in adt7316_store_mode()
345 config2 |= ADT7316_AD_SINGLE_CH_MODE; in adt7316_store_mode()
347 ret = chip->bus.write(chip->bus.client, ADT7316_CONFIG2, config2); in adt7316_store_mode()
351 chip->config2 = config2; in adt7316_store_mode()
377 if (!(chip->config2 & ADT7316_AD_SINGLE_CH_MODE)) in adt7316_show_ad_channel()
380 switch (chip->config2 & ADT7516_AD_SINGLE_CH_MASK) { in adt7316_show_ad_channel()
415 u8 config2; in adt7316_store_ad_channel() local
[all …]
/linux-6.1.9/drivers/net/ethernet/seeq/ !
Dether3.c176 ether3_outw(priv(dev)->regs.config2 |= CFG2_CTRLO, REG_CONFIG2); in ether3_ledoff()
187 if (priv(dev)->regs.config2 & CFG2_CTRLO) in ether3_ledon()
188 ether3_outw(priv(dev)->regs.config2 &= ~CFG2_CTRLO, REG_CONFIG2); in ether3_ledon()
274 priv(dev)->regs.config2 = CFG2_CTRLO|CFG2_RECVCRC|CFG2_ERRENCRC; in ether3_init_2()
301 ether3_outw(priv(dev)->regs.config2, REG_CONFIG2); in ether3_init_2()
337 priv(dev)->regs.config2 |= CFG2_CTRLO; in ether3_init_for_open()
345 ether3_outw(priv(dev)->regs.config2, REG_CONFIG2); in ether3_init_for_open()
471 priv(dev)->regs.config2 |= CFG2_CTRLO; in ether3_timeout()
473 ether3_outw(priv(dev)->regs.config2, REG_CONFIG2); in ether3_timeout()
Dether3.h159 unsigned int config2; member
/linux-6.1.9/drivers/mtd/nand/raw/ !
Dmxc_nand.c686 uint32_t config2; in mxc_nand_enable_hwecc_v3() local
691 config2 = readl(NFC_V3_CONFIG2); in mxc_nand_enable_hwecc_v3()
694 config2 |= NFC_V3_CONFIG2_ECC_EN; in mxc_nand_enable_hwecc_v3()
696 config2 &= ~NFC_V3_CONFIG2_ECC_EN; in mxc_nand_enable_hwecc_v3()
698 writel(config2, NFC_V3_CONFIG2); in mxc_nand_enable_hwecc_v3()
1268 uint32_t config2, config3; in preset_v3() local
1284 config2 = NFC_V3_CONFIG2_ONE_CYCLE | in preset_v3()
1294 config2 |= NFC_V3_CONFIG2_PS_2048; in preset_v3()
1295 config2 |= NFC_V3_CONFIG2_NUM_ADDR_PHASE1(addr_phases); in preset_v3()
1297 config2 |= NFC_V3_CONFIG2_PS_4096; in preset_v3()
[all …]
/linux-6.1.9/drivers/mmc/host/ !
Dau1xmmc.c197 u32 config2; in SEND_STOP() local
202 config2 = __raw_readl(HOST_CONFIG2(host)); in SEND_STOP()
203 __raw_writel(config2 | SD_CONFIG2_DF, HOST_CONFIG2(host)); in SEND_STOP()
743 u32 config2; in au1xmmc_set_ios() local
756 config2 = __raw_readl(HOST_CONFIG2(host)); in au1xmmc_set_ios()
759 config2 |= SD_CONFIG2_BB; in au1xmmc_set_ios()
762 config2 &= ~SD_CONFIG2_BB; in au1xmmc_set_ios()
763 config2 |= SD_CONFIG2_WB; in au1xmmc_set_ios()
766 config2 &= ~(SD_CONFIG2_WB | SD_CONFIG2_BB); in au1xmmc_set_ios()
769 __raw_writel(config2, HOST_CONFIG2(host)); in au1xmmc_set_ios()
/linux-6.1.9/tools/perf/tests/attr/ !
Dbase-record-spe37 config2=*
Dbase-stat38 config2=0
Dbase-record38 config2=0
Dsystem-wide-dummy47 config2=0
/linux-6.1.9/drivers/hwmon/ !
Dlm90.c1907 int config2 = i2c_smbus_read_byte_data(client, LM90_REG_CONFIG2); in lm90_detect_national() local
1911 if (config2 < 0) in lm90_detect_national()
1914 if ((config1 & 0x2a) || (config2 & 0xf8) || convrate > 0x09) in lm90_detect_national()
1961 int config2 = i2c_smbus_read_byte_data(client, ADT7481_REG_CONFIG2); in lm90_detect_analog() local
1967 if (status < 0 || config2 < 0 || man_id2 < 0 || chip_id2 < 0) in lm90_detect_analog()
2087 !(config2 & 0x7f) && (convrate & 0x0f) <= 0x0b) { in lm90_detect_analog()
2094 address == 0x4c && !(config1 & 0x10) && !(config2 & 0x7f) && in lm90_detect_analog()
2104 !(config1 & 0x10) && !(config2 & 0x7f) && convrate <= 0x0a) in lm90_detect_analog()
2319 int config2 = i2c_smbus_read_byte_data(client, LM90_REG_CONFIG2); in lm90_detect_nuvoton() local
2323 if (config2 < 0) in lm90_detect_nuvoton()
[all …]
/linux-6.1.9/arch/arm/boot/dts/ !
Dtegra124-apalis-emc.dtsi316 nvidia,emc-auto-cal-config2 = <0x00000000>;
413 nvidia,emc-auto-cal-config2 = <0x00000000>;
510 nvidia,emc-auto-cal-config2 = <0x00000000>;
607 nvidia,emc-auto-cal-config2 = <0x00000000>;
704 nvidia,emc-auto-cal-config2 = <0x00000000>;
801 nvidia,emc-auto-cal-config2 = <0x00000000>;
898 nvidia,emc-auto-cal-config2 = <0x00000000>;
995 nvidia,emc-auto-cal-config2 = <0x00000000>;
1092 nvidia,emc-auto-cal-config2 = <0x00000000>;
1189 nvidia,emc-auto-cal-config2 = <0x00000000>;
[all …]
Dtegra124-jetson-tk1-emc.dtsi419 nvidia,emc-auto-cal-config2 = <0x00000000>;
587 nvidia,emc-auto-cal-config2 = <0x00000000>;
755 nvidia,emc-auto-cal-config2 = <0x00000000>;
923 nvidia,emc-auto-cal-config2 = <0x00000000>;
1091 nvidia,emc-auto-cal-config2 = <0x00000000>;
1259 nvidia,emc-auto-cal-config2 = <0x00000000>;
1427 nvidia,emc-auto-cal-config2 = <0x00000000>;
1595 nvidia,emc-auto-cal-config2 = <0x00000000>;
1763 nvidia,emc-auto-cal-config2 = <0x00000000>;
1931 nvidia,emc-auto-cal-config2 = <0x00000000>;
[all …]
Dtegra124-nyan-blaze-emc.dtsi381 nvidia,emc-auto-cal-config2 = <0x00000000>;
549 nvidia,emc-auto-cal-config2 = <0x00000000>;
717 nvidia,emc-auto-cal-config2 = <0x00000000>;
885 nvidia,emc-auto-cal-config2 = <0x00000000>;
1053 nvidia,emc-auto-cal-config2 = <0x00000000>;
1221 nvidia,emc-auto-cal-config2 = <0x00000000>;
1389 nvidia,emc-auto-cal-config2 = <0x00000000>;
1557 nvidia,emc-auto-cal-config2 = <0x00000000>;
1725 nvidia,emc-auto-cal-config2 = <0x00000000>;
1893 nvidia,emc-auto-cal-config2 = <0x00000000>;
Dtegra124-nyan-big-emc.dtsi1132 nvidia,emc-auto-cal-config2 = <0x00000000>;
1300 nvidia,emc-auto-cal-config2 = <0x00000000>;
1468 nvidia,emc-auto-cal-config2 = <0x00000000>;
1636 nvidia,emc-auto-cal-config2 = <0x00000000>;
1804 nvidia,emc-auto-cal-config2 = <0x00000000>;
1972 nvidia,emc-auto-cal-config2 = <0x00000000>;
2140 nvidia,emc-auto-cal-config2 = <0x00000000>;
2308 nvidia,emc-auto-cal-config2 = <0x00000000>;
2476 nvidia,emc-auto-cal-config2 = <0x00000000>;
2644 nvidia,emc-auto-cal-config2 = <0x00000000>;
[all …]
/linux-6.1.9/arch/x86/events/intel/ !
Duncore_nhmex.c373 reg2->config = event->attr.config2; in nhmex_bbox_hw_config()
458 reg2->config = event->attr.config2; in nhmex_sbox_hw_config()
807 if (event->attr.config2 & NHMEX_M_PMON_MM_CFG_EN) in nhmex_mbox_hw_config()
808 reg2->config = event->attr.config2; in nhmex_mbox_hw_config()
1026 er->config2 == reg2->config)) { in nhmex_rbox_get_constraint()
1030 er->config2 = reg2->config; in nhmex_rbox_get_constraint()
1105 reg2->config = event->attr.config2; in nhmex_rbox_hw_config()
/linux-6.1.9/arch/mips/kernel/ !
Dcpu-probe.c491 unsigned int config2; in decode_config2() local
493 config2 = read_c0_config2(); in decode_config2()
495 if (config2 & MIPS_CONF2_SL) in decode_config2()
498 return config2 & MIPS_CONF_M; in decode_config2()
867 unsigned int config2; in decode_guest_config2() local
869 probe_gc0_config(config2, config2, MIPS_CONF_M); in decode_guest_config2()
871 if (config2 & MIPS_CONF_M) in decode_guest_config2()
873 return config2 & MIPS_CONF_M; in decode_guest_config2()
/linux-6.1.9/drivers/scsi/ !
Dam53c974.c229 if (esp->config2 & ESP_CONFIG2_FENAB) in pci_esp_send_dma_cmd()
252 if (esp->config2 & ESP_CONFIG2_FENAB) in pci_esp_dma_length_limit()
421 esp->config2 |= ESP_CONFIG2_FENAB; in pci_esp_probe_one()
Dmac53c94.h38 unsigned char config2; member
Desp_scsi.c298 esp_write8(esp->config2, ESP_CFG2); in esp_reset_esp()
303 esp_write8(esp->config2, ESP_CFG2); in esp_reset_esp()
309 esp->config2 |= (ESP_CONFIG2_HME32 | ESP_CONFIG2_HMEFENAB); in esp_reset_esp()
315 esp_write8(esp->config2, ESP_CFG2); in esp_reset_esp()
343 esp_write8(esp->config2, ESP_CFG2); in esp_reset_esp()
1331 if (esp->rev == PCSCSI && (esp->config2 & ESP_CONFIG2_FENAB)) in esp_data_bytes_sent()
2208 if (esp->config2 == 0) { in esp_get_revision()
2209 esp->config2 = (ESP_CONFIG2_SCSI2ENAB | ESP_CONFIG2_REGPARITY); in esp_get_revision()
2210 esp_write8(esp->config2, ESP_CFG2); in esp_get_revision()
2215 esp->config2 = 0; in esp_get_revision()
[all …]
/linux-6.1.9/drivers/perf/ !
Darm_dmc620_pmu.c174 #define ATTR_CFG_FLD_invert_CFG config2
177 #define ATTR_CFG_FLD_incr_CFG config2
180 #define ATTR_CFG_FLD_event_CFG config2
183 #define ATTR_CFG_FLD_clkdiv2_CFG config2
/linux-6.1.9/tools/perf/tests/ !
Dpmu.c170 if (attr.config2 != 0x0400000020041d07) in test__pmu()
/linux-6.1.9/samples/bpf/ !
Dtask_fd_query_user.c147 attr.config2 = offset; in test_nondebug_fs_kuprobe_common()
150 attr.config2 = addr; in test_nondebug_fs_kuprobe_common()
/linux-6.1.9/drivers/hwtracing/coresight/ !
Dcoresight-etm-perf.c314 if (event->attr.config2 & GENMASK_ULL(31, 0)) { in etm_setup_aux()
315 id = (u32)event->attr.config2; in etm_setup_aux()
320 cfg_hash = (u32)((event->attr.config2 & GENMASK_ULL(63, 32)) >> 32); in etm_setup_aux()

123