| /linux/drivers/iio/adc/ |
| H A D | ad7173.c | 661 const struct ad7173_channel_config *cfg2) in ad7173_is_setup_equal() argument 677 return cfg1->bipolar == cfg2->bipolar && in ad7173_is_setup_equal() 678 cfg1->input_buf == cfg2->input_buf && in ad7173_is_setup_equal() 679 cfg1->sinc3_odr_div == cfg2->sinc3_odr_div && in ad7173_is_setup_equal() 680 cfg1->sinc5_odr_index == cfg2->sinc5_odr_index && in ad7173_is_setup_equal() 681 cfg1->ref_sel == cfg2->ref_sel && in ad7173_is_setup_equal() 682 cfg1->filter_type == cfg2->filter_type; in ad7173_is_setup_equal() 1436 const struct ad7173_channel_config *cfg1, *cfg2; in ad7173_update_scan_mode() local 1441 cfg2 = &st->channels[j].cfg; in ad7173_update_scan_mode() 1447 if (i == j || cfg1->cfg_slot != cfg2->cfg_slot) in ad7173_update_scan_mode() [all …]
|
| /linux/sound/pci/ |
| H A D | als4000.c | 685 u32 cfg2 = 0; in snd_als4000_set_addr() local 688 cfg2 |= (mpu_io | 1) << 16; in snd_als4000_set_addr() 690 cfg2 |= (sb_io | 1); in snd_als4000_set_addr() 696 snd_als4k_gcr_write_addr(iobase, ALS4K_GCRA9_LEGACY_CFG2, cfg2); in snd_als4000_set_addr()
|
| /linux/drivers/net/ethernet/agere/ |
| H A D | et131x.c | 870 u32 cfg2; in et1310_config_mac_regs2() local 876 cfg2 = readl(&mac->cfg2); in et1310_config_mac_regs2() 880 cfg2 &= ~ET_MAC_CFG2_IFMODE_MASK; in et1310_config_mac_regs2() 882 cfg2 |= ET_MAC_CFG2_IFMODE_1000; in et1310_config_mac_regs2() 885 cfg2 |= ET_MAC_CFG2_IFMODE_100; in et1310_config_mac_regs2() 901 cfg2 |= 0x7 << ET_MAC_CFG2_PREAMBLE_SHIFT; in et1310_config_mac_regs2() 902 cfg2 |= ET_MAC_CFG2_IFMODE_LEN_CHECK; in et1310_config_mac_regs2() 903 cfg2 |= ET_MAC_CFG2_IFMODE_PAD_CRC; in et1310_config_mac_regs2() 904 cfg2 |= ET_MAC_CFG2_IFMODE_CRC_ENABLE; in et1310_config_mac_regs2() 905 cfg2 &= ~ET_MAC_CFG2_IFMODE_HUGE_FRAME; in et1310_config_mac_regs2() [all …]
|
| H A D | et131x.h | 1048 u32 cfg2; /* 0x5004 */ member
|
| /linux/drivers/gpu/drm/exynos/ |
| H A D | exynos_drm_fimc.c | 419 u32 cfg1, cfg2; in fimc_src_set_transf() local 427 cfg2 = fimc_read(ctx, EXYNOS_CITRGFMT); in fimc_src_set_transf() 428 cfg2 &= ~EXYNOS_CITRGFMT_INROT90_CLOCKWISE; in fimc_src_set_transf() 438 cfg2 |= EXYNOS_CITRGFMT_INROT90_CLOCKWISE; in fimc_src_set_transf() 455 cfg2 |= EXYNOS_CITRGFMT_INROT90_CLOCKWISE; in fimc_src_set_transf() 464 fimc_write(ctx, cfg2, EXYNOS_CITRGFMT); in fimc_src_set_transf()
|
| /linux/drivers/net/ethernet/atheros/ |
| H A D | ag71xx.c | 1022 u32 cfg1, cfg2; in ag71xx_mac_link_up() local 1026 cfg2 = ag71xx_rr(ag, AG71XX_REG_MAC_CFG2); in ag71xx_mac_link_up() 1027 cfg2 &= ~(MAC_CFG2_IF_1000 | MAC_CFG2_IF_10_100 | MAC_CFG2_FDX); in ag71xx_mac_link_up() 1028 cfg2 |= duplex ? MAC_CFG2_FDX : 0; in ag71xx_mac_link_up() 1038 cfg2 |= MAC_CFG2_IF_1000; in ag71xx_mac_link_up() 1042 cfg2 |= MAC_CFG2_IF_10_100; in ag71xx_mac_link_up() 1046 cfg2 |= MAC_CFG2_IF_10_100; in ag71xx_mac_link_up() 1052 ag71xx_wr(ag, AG71XX_REG_MAC_CFG2, cfg2); in ag71xx_mac_link_up()
|
| /linux/drivers/perf/ |
| H A D | fsl_imx9_ddr_perf.c | 635 int cfg2 = event->attr.config2; in ddr_perf_event_add() local 654 imx93_ddr_perf_monitor_config(pmu, event_id, counter, cfg1, cfg2); in ddr_perf_event_add() 658 imx95_ddr_perf_monitor_config(pmu, event_id, counter, cfg1, cfg2); in ddr_perf_event_add()
|
| /linux/arch/mips/kernel/ |
| H A D | cpu-probe.c | 1661 u32 cfg2 = read_cpucfg(LOONGSON_CFG2); in decode_cpucfg() local 1667 if (cfg2 & LOONGSON_CFG2_LEXT1) in decode_cpucfg() 1670 if (cfg2 & LOONGSON_CFG2_LEXT2) in decode_cpucfg() 1673 if (cfg2 & LOONGSON_CFG2_LSPW) { in decode_cpucfg()
|
| /linux/drivers/hwmon/ |
| H A D | adt7462.c | 207 u8 cfg2; member 768 data->cfg2 = i2c_smbus_read_byte_data(client, ADT7462_REG_CFG2); in adt7462_update_device() 1056 return sprintf(buf, "%d\n", (data->cfg2 & ADT7462_FSPD_MASK ? 1 : 0)); in force_pwm_max_show() 1077 data->cfg2 = reg; in force_pwm_max_store()
|
| /linux/drivers/net/wireless/realtek/rtl8xxxu/ |
| H A D | 8710b.c | 574 u32 cfg0, cfg2, vendor; in rtl8710bu_identify_chip() local 647 cfg2 = rtl8710b_read_syson_reg(priv, REG_SYS_SYSTEM_CFG2_8710B); in rtl8710bu_identify_chip() 648 priv->rom_rev = cfg2 & 0xf; in rtl8710bu_identify_chip()
|
| /linux/drivers/spi/ |
| H A D | spi-stm32.c | 2199 u32 cr1 = 0, cfg2 = 0; in stm32h7_spi_config() local 2209 cfg2 &= ~STM32H7_SPI_CFG2_SSM; in stm32h7_spi_config() 2224 cfg2 |= STM32H7_SPI_CFG2_MASTER | STM32H7_SPI_CFG2_SSM | STM32H7_SPI_CFG2_AFCNTR; in stm32h7_spi_config() 2228 stm32_spi_set_bits(spi, STM32H7_SPI_CFG2, cfg2); in stm32h7_spi_config()
|
| /linux/drivers/net/wireless/ath/ath11k/ |
| H A D | debugfs_htt_stats.c | 4674 cfg_params->cfg2 |= FIELD_PREP(GENMASK(7, 0), mac_addr[0]); in ath11k_prep_htt_stats_cfg_params() 4675 cfg_params->cfg2 |= FIELD_PREP(GENMASK(15, 8), mac_addr[1]); in ath11k_prep_htt_stats_cfg_params() 4676 cfg_params->cfg2 |= FIELD_PREP(GENMASK(23, 16), mac_addr[2]); in ath11k_prep_htt_stats_cfg_params() 4677 cfg_params->cfg2 |= FIELD_PREP(GENMASK(31, 24), mac_addr[3]); in ath11k_prep_htt_stats_cfg_params() 4700 cfg_params->cfg2 |= FIELD_PREP(GENMASK(7, 0), mac_addr[4]); in ath11k_prep_htt_stats_cfg_params() 4701 cfg_params->cfg2 |= FIELD_PREP(GENMASK(15, 8), mac_addr[5]); in ath11k_prep_htt_stats_cfg_params()
|
| H A D | dp_tx.c | 1172 cmd->cfg_param2 = cfg_params->cfg2; in ath11k_dp_tx_htt_h2t_ext_stats_req()
|
| /linux/tools/perf/Documentation/ |
| H A D | perf-record.txt | 89 perf record -e some_event/@cfg1,@cfg2=config/ ... 91 will see 'cfg1' and 'cfg2=config' pushed to the PMU driver associated
|
| /linux/drivers/net/ethernet/broadcom/ |
| H A D | tg3.c | 15253 u32 cfg2 = 0, cfg4 = 0, cfg5 = 0; in tg3_get_eeprom_hw_cfg() local 15266 tg3_read_mem(tp, NIC_SRAM_DATA_CFG_2, &cfg2); in tg3_get_eeprom_hw_cfg() 15300 led_cfg = cfg2 & (NIC_SRAM_DATA_CFG_LED_MODE_MASK | in tg3_get_eeprom_hw_cfg() 15394 if (cfg2 & (1 << 17)) in tg3_get_eeprom_hw_cfg() 15399 if (cfg2 & (1 << 18)) in tg3_get_eeprom_hw_cfg() 15405 (cfg2 & NIC_SRAM_DATA_CFG_2_APD_EN)) in tg3_get_eeprom_hw_cfg()
|
| /linux/drivers/scsi/ |
| H A D | dc395x.c | 123 u8 cfg2; /* Target configuration byte 2 */ member
|