/linux/drivers/net/ethernet/microchip/sparx5/ |
A D | sparx5_mactable.c | 138 u32 mach, macl, cfg2; in sparx5_mact_get() local 141 cfg2 = spx5_rd(sparx5, LRN_MAC_ACCESS_CFG_2); in sparx5_mact_get() 142 if (LRN_MAC_ACCESS_CFG_2_MAC_ENTRY_VLD_GET(cfg2)) { in sparx5_mact_get() 152 *pcfg2 = cfg2; in sparx5_mact_get() 162 u32 cfg2; in sparx5_mact_getnext() local 179 ret = sparx5_mact_get(sparx5, mac, vid, &cfg2); in sparx5_mact_getnext() 181 *pcfg2 = cfg2; in sparx5_mact_getnext() 360 u16 vid, u32 cfg2) in sparx5_mact_handle_entry() argument 424 u32 cfg2; in sparx5_mact_pull_work() local 448 ret = sparx5_mact_get(sparx5, mac, &vid, &cfg2); in sparx5_mact_pull_work() [all …]
|
/linux/drivers/iio/adc/ |
A D | imx7d_adc.c | 234 u32 cfg2; in imx7d_adc_channel_set() local 256 cfg2 = readl(info->regs + IMX7D_EACH_CHANNEL_REG_OFFSET * channel + in imx7d_adc_channel_set() 259 cfg2 |= imx7d_adc_average_num[info->adc_feature.avg_num]; in imx7d_adc_channel_set() 265 writel(cfg2, info->regs + IMX7D_EACH_CHANNEL_REG_OFFSET * channel + in imx7d_adc_channel_set()
|
/linux/arch/sparc/include/asm/ |
A D | sbi.h | 22 /* 0x0018 */ u32 cfg2; /* Slot2 config reg */ member
|
/linux/drivers/net/ethernet/agere/ |
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() 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() 906 cfg2 &= ~ET_MAC_CFG2_IFMODE_FULL_DPLX; in et1310_config_mac_regs2() 909 cfg2 |= ET_MAC_CFG2_IFMODE_FULL_DPLX; in et1310_config_mac_regs2() [all …]
|
A D | et131x.h | 1048 u32 cfg2; /* 0x5004 */ member
|
/linux/sound/pci/ |
A D | als4000.c | 692 u32 cfg2 = 0; in snd_als4000_set_addr() local 695 cfg2 |= (mpu_io | 1) << 16; in snd_als4000_set_addr() 697 cfg2 |= (sb_io | 1); in snd_als4000_set_addr() 703 snd_als4k_gcr_write_addr(iobase, ALS4K_GCRA9_LEGACY_CFG2, cfg2); in snd_als4000_set_addr()
|
/linux/drivers/mmc/host/ |
A D | rtsx_pci_sdmmc.c | 439 u8 cfg2 = 0; in sd_read_long_data() local 452 cfg2 |= SD_NO_CHECK_WAIT_CRC_TO; in sd_read_long_data() 471 rtsx_pci_add_cmd(pcr, WRITE_REG_CMD, SD_CFG2, 0xFF, cfg2 | resp_type); in sd_read_long_data() 497 u8 cfg2; in sd_write_long_data() local 508 cfg2 = SD_NO_CALCULATE_CRC7 | SD_CHECK_CRC16 | in sd_write_long_data() 512 cfg2 |= SD_NO_CHECK_WAIT_CRC_TO; in sd_write_long_data() 530 rtsx_pci_add_cmd(pcr, WRITE_REG_CMD, SD_CFG2, 0xFF, cfg2); in sd_write_long_data()
|
A D | rtsx_usb_sdmmc.c | 454 u8 cfg2, trans_mode; in sd_rw_multi() local 463 cfg2 = SD_CALCULATE_CRC7 | SD_CHECK_CRC16 | in sd_rw_multi() 469 cfg2 = SD_NO_CALCULATE_CRC7 | SD_CHECK_CRC16 | in sd_rw_multi() 506 rtsx_usb_add_cmd(ucr, WRITE_REG_CMD, SD_CFG2, 0xFF, cfg2); in sd_rw_multi()
|
/linux/drivers/gpu/drm/exynos/ |
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/ |
A D | ag71xx.c | 1119 u32 cfg1, cfg2; in ag71xx_mac_link_up() local 1123 cfg2 = ag71xx_rr(ag, AG71XX_REG_MAC_CFG2); in ag71xx_mac_link_up() 1124 cfg2 &= ~(MAC_CFG2_IF_1000 | MAC_CFG2_IF_10_100 | MAC_CFG2_FDX); in ag71xx_mac_link_up() 1125 cfg2 |= duplex ? MAC_CFG2_FDX : 0; in ag71xx_mac_link_up() 1135 cfg2 |= MAC_CFG2_IF_1000; in ag71xx_mac_link_up() 1139 cfg2 |= MAC_CFG2_IF_10_100; in ag71xx_mac_link_up() 1143 cfg2 |= MAC_CFG2_IF_10_100; in ag71xx_mac_link_up() 1149 ag71xx_wr(ag, AG71XX_REG_MAC_CFG2, cfg2); in ag71xx_mac_link_up()
|
/linux/drivers/media/platform/atmel/ |
A D | atmel-isi.c | 146 u32 cfg2, psize; in configure_geometry() local 154 cfg2 = isi->current_fmt->swap; in configure_geometry() 158 cfg2 |= ((isi->fmt.fmt.pix.width - 1) << ISI_CFG2_IM_HSIZE_OFFSET) & in configure_geometry() 161 cfg2 |= ((isi->fmt.fmt.pix.height - 1) << ISI_CFG2_IM_VSIZE_OFFSET) in configure_geometry() 163 isi_writel(isi, ISI_CFG2, cfg2); in configure_geometry()
|
/linux/drivers/net/wireless/ath/ath11k/ |
A D | debugfs_sta.c | 796 cfg_params.cfg2 |= FIELD_PREP(GENMASK(7, 0), sta->addr[0]); in ath11k_write_htt_peer_stats_reset() 797 cfg_params.cfg2 |= FIELD_PREP(GENMASK(15, 8), sta->addr[1]); in ath11k_write_htt_peer_stats_reset() 798 cfg_params.cfg2 |= FIELD_PREP(GENMASK(23, 16), sta->addr[2]); in ath11k_write_htt_peer_stats_reset() 799 cfg_params.cfg2 |= FIELD_PREP(GENMASK(31, 24), sta->addr[3]); in ath11k_write_htt_peer_stats_reset()
|
A D | dp.h | 1508 u32 cfg2; member
|
A D | debugfs_htt_stats.c | 4473 cfg_params->cfg2 |= FIELD_PREP(GENMASK(7, 0), mac_addr[0]); in ath11k_prep_htt_stats_cfg_params() 4474 cfg_params->cfg2 |= FIELD_PREP(GENMASK(15, 8), mac_addr[1]); in ath11k_prep_htt_stats_cfg_params() 4475 cfg_params->cfg2 |= FIELD_PREP(GENMASK(23, 16), mac_addr[2]); in ath11k_prep_htt_stats_cfg_params() 4476 cfg_params->cfg2 |= FIELD_PREP(GENMASK(31, 24), mac_addr[3]); in ath11k_prep_htt_stats_cfg_params() 4499 cfg_params->cfg2 |= FIELD_PREP(GENMASK(7, 0), mac_addr[4]); in ath11k_prep_htt_stats_cfg_params() 4500 cfg_params->cfg2 |= FIELD_PREP(GENMASK(15, 8), mac_addr[5]); in ath11k_prep_htt_stats_cfg_params()
|
A D | dp_tx.c | 1014 cmd->cfg_param2 = cfg_params->cfg2; in ath11k_dp_tx_htt_h2t_ext_stats_req()
|
/linux/net/ipv4/ |
A D | fib_semantics.c | 951 struct fib_config cfg2; in fib_nh_match() local 953 err = fib_gw_from_via(&cfg2, nlav, extack); in fib_nh_match() 959 if (cfg2.fc_gw_family != AF_INET || in fib_nh_match() 960 cfg2.fc_gw4 != nh->fib_nh_gw4) in fib_nh_match() 964 if (cfg2.fc_gw_family != AF_INET6 || in fib_nh_match() 965 ipv6_addr_cmp(&cfg2.fc_gw6, in fib_nh_match()
|
/linux/arch/mips/kernel/ |
A D | cpu-probe.c | 1714 u32 cfg2 = read_cpucfg(LOONGSON_CFG2); in decode_cpucfg() local 1720 if (cfg2 & LOONGSON_CFG2_LEXT1) in decode_cpucfg() 1723 if (cfg2 & LOONGSON_CFG2_LEXT2) in decode_cpucfg() 1726 if (cfg2 & LOONGSON_CFG2_LSPW) { in decode_cpucfg()
|
/linux/drivers/hwmon/ |
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/staging/rts5208/ |
A D | sd.c | 3291 u8 cfg2; local 3395 cfg2 = SD_NO_CALCULATE_CRC7 | SD_CHECK_CRC16 | 3398 rtsx_add_cmd(chip, WRITE_REG_CMD, REG_SD_CFG2, 0xFF, cfg2); 3430 cfg2 = SD_CALCULATE_CRC7 | SD_CHECK_CRC16 | 3434 cfg2); 3472 cfg2 = SD_NO_CALCULATE_CRC7 | SD_CHECK_CRC16 | 3476 cfg2);
|
/linux/tools/perf/Documentation/ |
A D | perf-record.txt | 83 perf record -e some_event/@cfg1,@cfg2=config/ ... 85 will see 'cfg1' and 'cfg2=config' pushed to the PMU driver associated
|
/linux/drivers/net/ethernet/broadcom/ |
A D | tg3.c | 15136 u32 cfg2 = 0, cfg4 = 0, cfg5 = 0; in tg3_get_eeprom_hw_cfg() local 15149 tg3_read_mem(tp, NIC_SRAM_DATA_CFG_2, &cfg2); in tg3_get_eeprom_hw_cfg() 15183 led_cfg = cfg2 & (NIC_SRAM_DATA_CFG_LED_MODE_MASK | in tg3_get_eeprom_hw_cfg() 15277 if (cfg2 & (1 << 17)) in tg3_get_eeprom_hw_cfg() 15282 if (cfg2 & (1 << 18)) in tg3_get_eeprom_hw_cfg() 15288 (cfg2 & NIC_SRAM_DATA_CFG_2_APD_EN)) in tg3_get_eeprom_hw_cfg()
|
/linux/drivers/scsi/ |
A D | dc395x.c | 182 u8 cfg2; /* Target configuration byte 2 */ member
|