Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/net/ethernet/microchip/sparx5/
Dsparx5_mactable.c138 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()
193 u32 cfg2; in sparx5_mact_find() local
206 cfg2 = spx5_rd(sparx5, LRN_MAC_ACCESS_CFG_2); in sparx5_mact_find()
207 if (LRN_MAC_ACCESS_CFG_2_MAC_ENTRY_VLD_GET(cfg2)) in sparx5_mact_find()
[all …]
/Linux-v6.1/drivers/iio/adc/
Dimx7d_adc.c235 u32 cfg2; in imx7d_adc_channel_set() local
257 cfg2 = readl(info->regs + IMX7D_EACH_CHANNEL_REG_OFFSET * channel + in imx7d_adc_channel_set()
260 cfg2 |= imx7d_adc_average_num[info->adc_feature.avg_num]; in imx7d_adc_channel_set()
266 writel(cfg2, info->regs + IMX7D_EACH_CHANNEL_REG_OFFSET * channel + in imx7d_adc_channel_set()
/Linux-v6.1/arch/sparc/include/asm/
Dsbi.h22 /* 0x0018 */ u32 cfg2; /* Slot2 config reg */ member
/Linux-v6.1/sound/pci/
Dals4000.c692 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-v6.1/drivers/net/ethernet/agere/
Det131x.c870 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 …]
Det131x.h1048 u32 cfg2; /* 0x5004 */ member
/Linux-v6.1/drivers/mmc/host/
Drtsx_pci_sdmmc.c436 u8 cfg2 = 0; in sd_read_long_data() local
449 cfg2 |= SD_NO_CHECK_WAIT_CRC_TO; in sd_read_long_data()
468 rtsx_pci_add_cmd(pcr, WRITE_REG_CMD, SD_CFG2, 0xFF, cfg2 | resp_type); in sd_read_long_data()
494 u8 cfg2; in sd_write_long_data() local
505 cfg2 = SD_NO_CALCULATE_CRC7 | SD_CHECK_CRC16 | in sd_write_long_data()
509 cfg2 |= SD_NO_CHECK_WAIT_CRC_TO; in sd_write_long_data()
527 rtsx_pci_add_cmd(pcr, WRITE_REG_CMD, SD_CFG2, 0xFF, cfg2); in sd_write_long_data()
Drtsx_usb_sdmmc.c454 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-v6.1/drivers/gpu/drm/exynos/
Dexynos_drm_fimc.c419 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-v6.1/drivers/net/ethernet/atheros/
Dag71xx.c1042 u32 cfg1, cfg2; in ag71xx_mac_link_up() local
1046 cfg2 = ag71xx_rr(ag, AG71XX_REG_MAC_CFG2); in ag71xx_mac_link_up()
1047 cfg2 &= ~(MAC_CFG2_IF_1000 | MAC_CFG2_IF_10_100 | MAC_CFG2_FDX); in ag71xx_mac_link_up()
1048 cfg2 |= duplex ? MAC_CFG2_FDX : 0; in ag71xx_mac_link_up()
1058 cfg2 |= MAC_CFG2_IF_1000; in ag71xx_mac_link_up()
1062 cfg2 |= MAC_CFG2_IF_10_100; in ag71xx_mac_link_up()
1066 cfg2 |= MAC_CFG2_IF_10_100; in ag71xx_mac_link_up()
1072 ag71xx_wr(ag, AG71XX_REG_MAC_CFG2, cfg2); in ag71xx_mac_link_up()
/Linux-v6.1/drivers/media/platform/atmel/
Datmel-isi.c146 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-v6.1/drivers/net/wireless/ath/ath11k/
Ddebugfs_sta.c720 cfg_params.cfg2 |= FIELD_PREP(GENMASK(7, 0), sta->addr[0]); in ath11k_write_htt_peer_stats_reset()
721 cfg_params.cfg2 |= FIELD_PREP(GENMASK(15, 8), sta->addr[1]); in ath11k_write_htt_peer_stats_reset()
722 cfg_params.cfg2 |= FIELD_PREP(GENMASK(23, 16), sta->addr[2]); in ath11k_write_htt_peer_stats_reset()
723 cfg_params.cfg2 |= FIELD_PREP(GENMASK(31, 24), sta->addr[3]); in ath11k_write_htt_peer_stats_reset()
Ddp.h1566 u32 cfg2; member
Ddebugfs_htt_stats.c4559 cfg_params->cfg2 |= FIELD_PREP(GENMASK(7, 0), mac_addr[0]); in ath11k_prep_htt_stats_cfg_params()
4560 cfg_params->cfg2 |= FIELD_PREP(GENMASK(15, 8), mac_addr[1]); in ath11k_prep_htt_stats_cfg_params()
4561 cfg_params->cfg2 |= FIELD_PREP(GENMASK(23, 16), mac_addr[2]); in ath11k_prep_htt_stats_cfg_params()
4562 cfg_params->cfg2 |= FIELD_PREP(GENMASK(31, 24), mac_addr[3]); in ath11k_prep_htt_stats_cfg_params()
4585 cfg_params->cfg2 |= FIELD_PREP(GENMASK(7, 0), mac_addr[4]); in ath11k_prep_htt_stats_cfg_params()
4586 cfg_params->cfg2 |= FIELD_PREP(GENMASK(15, 8), mac_addr[5]); in ath11k_prep_htt_stats_cfg_params()
Ddp_tx.c1135 cmd->cfg_param2 = cfg_params->cfg2; in ath11k_dp_tx_htt_h2t_ext_stats_req()
/Linux-v6.1/net/ipv4/
Dfib_semantics.c968 struct fib_config cfg2; in fib_nh_match() local
970 err = fib_gw_from_via(&cfg2, nlav, extack); in fib_nh_match()
976 if (cfg2.fc_gw_family != AF_INET || in fib_nh_match()
977 cfg2.fc_gw4 != nh->fib_nh_gw4) in fib_nh_match()
981 if (cfg2.fc_gw_family != AF_INET6 || in fib_nh_match()
982 ipv6_addr_cmp(&cfg2.fc_gw6, in fib_nh_match()
/Linux-v6.1/arch/mips/kernel/
Dcpu-probe.c1651 u32 cfg2 = read_cpucfg(LOONGSON_CFG2); in decode_cpucfg() local
1657 if (cfg2 & LOONGSON_CFG2_LEXT1) in decode_cpucfg()
1660 if (cfg2 & LOONGSON_CFG2_LEXT2) in decode_cpucfg()
1663 if (cfg2 & LOONGSON_CFG2_LSPW) { in decode_cpucfg()
/Linux-v6.1/drivers/infiniband/hw/erdma/
Derdma_hw.h241 u32 cfg2; member
Derdma_verbs.c123 req.cfg2 = FIELD_PREP(ERDMA_CMD_REGMR_PAGESIZE_MASK, in regmr_cmd()
/Linux-v6.1/drivers/hwmon/
Dadt7462.c207 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-v6.1/drivers/staging/rts5208/
Dsd.c3291 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-v6.1/tools/perf/Documentation/
Dperf-record.txt85 perf record -e some_event/@cfg1,@cfg2=config/ ...
87 will see 'cfg1' and 'cfg2=config' pushed to the PMU driver associated
/Linux-v6.1/drivers/pinctrl/nuvoton/
Dpinctrl-wpcm450.c78 u8 cfg0, cfg1, cfg2; member
/Linux-v6.1/drivers/net/ethernet/broadcom/
Dtg3.c15139 u32 cfg2 = 0, cfg4 = 0, cfg5 = 0; in tg3_get_eeprom_hw_cfg() local
15152 tg3_read_mem(tp, NIC_SRAM_DATA_CFG_2, &cfg2); in tg3_get_eeprom_hw_cfg()
15186 led_cfg = cfg2 & (NIC_SRAM_DATA_CFG_LED_MODE_MASK | in tg3_get_eeprom_hw_cfg()
15280 if (cfg2 & (1 << 17)) in tg3_get_eeprom_hw_cfg()
15285 if (cfg2 & (1 << 18)) in tg3_get_eeprom_hw_cfg()
15291 (cfg2 & NIC_SRAM_DATA_CFG_2_APD_EN)) in tg3_get_eeprom_hw_cfg()
/Linux-v6.1/drivers/scsi/
Ddc395x.c182 u8 cfg2; /* Target configuration byte 2 */ member