| /linux/drivers/usb/typec/mux/ |
| H A D | ps883x.c | 66 u8 cfg2; member 70 int cfg1, int cfg2) in ps883x_configure() argument 75 if (retimer->cfg0 == cfg0 && retimer->cfg1 == cfg1 && retimer->cfg2 == cfg2) in ps883x_configure() 90 ret = regmap_write(retimer->regmap, REG_USB_PORT_CONN_STATUS_2, cfg2); in ps883x_configure() 98 retimer->cfg2 = cfg2; in ps883x_configure() 109 int cfg2 = 0x00; in ps883x_set() local 136 cfg2 |= CONN_STATUS_2_TBT_CONNECTED; in ps883x_set() 142 cfg2 |= CONN_STATUS_2_TBT_UNIDIR_LSRX_ACT_LT; in ps883x_set() 162 cfg2 |= CONN_STATUS_2_USB4_CONNECTED; in ps883x_set() 174 return ps883x_configure(retimer, cfg0, cfg1, cfg2); in ps883x_set()
|
| /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/mmc/host/ |
| H A D | rtsx_pci_sdmmc.c | 435 u8 cfg2 = 0; in sd_read_long_data() local 448 cfg2 |= SD_NO_CHECK_WAIT_CRC_TO; in sd_read_long_data() 467 rtsx_pci_add_cmd(pcr, WRITE_REG_CMD, SD_CFG2, 0xFF, cfg2 | resp_type); in sd_read_long_data() 493 u8 cfg2; in sd_write_long_data() local 504 cfg2 = SD_NO_CALCULATE_CRC7 | SD_CHECK_CRC16 | in sd_write_long_data() 508 cfg2 |= SD_NO_CHECK_WAIT_CRC_TO; in sd_write_long_data() 526 rtsx_pci_add_cmd(pcr, WRITE_REG_CMD, SD_CFG2, 0xFF, cfg2); in sd_write_long_data()
|
| /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/net/ipv4/ |
| H A D | fib_semantics.c | 993 struct fib_config cfg2; in fib_nh_match() local 995 err = fib_gw_from_via(&cfg2, nlav, extack); in fib_nh_match() 1001 if (cfg2.fc_gw_family != AF_INET || in fib_nh_match() 1002 cfg2.fc_gw4 != nh->fib_nh_gw4) in fib_nh_match() 1006 if (cfg2.fc_gw_family != AF_INET6 || in fib_nh_match() 1007 ipv6_addr_cmp(&cfg2.fc_gw6, in fib_nh_match()
|
| /linux/arch/mips/kernel/ |
| H A D | cpu-probe.c | 1658 u32 cfg2 = read_cpucfg(LOONGSON_CFG2); in decode_cpucfg() local 1664 if (cfg2 & LOONGSON_CFG2_LEXT1) in decode_cpucfg() 1667 if (cfg2 & LOONGSON_CFG2_LEXT2) in decode_cpucfg() 1670 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/infiniband/hw/erdma/ |
| H A D | erdma_verbs.c | 59 req.cfg2 = FIELD_PREP(ERDMA_CMD_CREATE_QP_TYPE_MASK, in create_qp_cmd() 62 req.cfg2 = FIELD_PREP(ERDMA_CMD_CREATE_QP_TYPE_MASK, in create_qp_cmd() 166 req.cfg2 = FIELD_PREP(ERDMA_CMD_REGMR_PAGESIZE_MASK, in regmr_cmd() 181 req.cfg2 |= FIELD_PREP(ERDMA_CMD_REGMR_MTT_PAGESIZE_MASK, in regmr_cmd() 246 req.cfg2 = FIELD_PREP(ERDMA_CMD_CREATE_CQ_DB_CFG_MASK, in create_cq_cmd()
|
| /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/wireless/ath/ath12k/ |
| H A D | dp_htt.c | 1111 cmd->cfg_param2 = cpu_to_le32(cfg_params->cfg2); in ath12k_dp_tx_htt_h2t_ext_stats_req()
|
| /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
|