cfg2 22 arch/sparc/include/asm/sbi.h /* 0x0018 */ u32 cfg2; /* Slot2 config reg */ cfg2 421 drivers/gpu/drm/exynos/exynos_drm_fimc.c u32 cfg1, cfg2; cfg2 429 drivers/gpu/drm/exynos/exynos_drm_fimc.c cfg2 = fimc_read(ctx, EXYNOS_CITRGFMT); cfg2 430 drivers/gpu/drm/exynos/exynos_drm_fimc.c cfg2 &= ~EXYNOS_CITRGFMT_INROT90_CLOCKWISE; cfg2 440 drivers/gpu/drm/exynos/exynos_drm_fimc.c cfg2 |= EXYNOS_CITRGFMT_INROT90_CLOCKWISE; cfg2 457 drivers/gpu/drm/exynos/exynos_drm_fimc.c cfg2 |= EXYNOS_CITRGFMT_INROT90_CLOCKWISE; cfg2 466 drivers/gpu/drm/exynos/exynos_drm_fimc.c fimc_write(ctx, cfg2, EXYNOS_CITRGFMT); cfg2 207 drivers/hwmon/adt7462.c u8 cfg2; cfg2 768 drivers/hwmon/adt7462.c data->cfg2 = i2c_smbus_read_byte_data(client, ADT7462_REG_CFG2); cfg2 1056 drivers/hwmon/adt7462.c return sprintf(buf, "%d\n", (data->cfg2 & ADT7462_FSPD_MASK ? 1 : 0)); cfg2 1077 drivers/hwmon/adt7462.c data->cfg2 = reg; cfg2 234 drivers/iio/adc/imx7d_adc.c u32 cfg2; cfg2 256 drivers/iio/adc/imx7d_adc.c cfg2 = readl(info->regs + IMX7D_EACH_CHANNEL_REG_OFFSET * channel + cfg2 259 drivers/iio/adc/imx7d_adc.c cfg2 |= imx7d_adc_average_num[info->adc_feature.avg_num]; cfg2 265 drivers/iio/adc/imx7d_adc.c writel(cfg2, info->regs + IMX7D_EACH_CHANNEL_REG_OFFSET * channel + cfg2 147 drivers/media/platform/atmel/atmel-isi.c u32 cfg2, psize; cfg2 154 drivers/media/platform/atmel/atmel-isi.c cfg2 = isi->current_fmt->swap; cfg2 158 drivers/media/platform/atmel/atmel-isi.c cfg2 |= ((isi->fmt.fmt.pix.width - 1) << ISI_CFG2_IM_HSIZE_OFFSET) & cfg2 161 drivers/media/platform/atmel/atmel-isi.c cfg2 |= ((isi->fmt.fmt.pix.height - 1) << ISI_CFG2_IM_VSIZE_OFFSET) cfg2 163 drivers/media/platform/atmel/atmel-isi.c isi_writel(isi, ISI_CFG2, cfg2); cfg2 436 drivers/mmc/host/rtsx_pci_sdmmc.c u8 cfg2 = 0; cfg2 449 drivers/mmc/host/rtsx_pci_sdmmc.c cfg2 |= SD_NO_CHECK_WAIT_CRC_TO; cfg2 468 drivers/mmc/host/rtsx_pci_sdmmc.c rtsx_pci_add_cmd(pcr, WRITE_REG_CMD, SD_CFG2, 0xFF, cfg2 | resp_type); cfg2 494 drivers/mmc/host/rtsx_pci_sdmmc.c u8 cfg2; cfg2 505 drivers/mmc/host/rtsx_pci_sdmmc.c cfg2 = SD_NO_CALCULATE_CRC7 | SD_CHECK_CRC16 | cfg2 509 drivers/mmc/host/rtsx_pci_sdmmc.c cfg2 |= SD_NO_CHECK_WAIT_CRC_TO; cfg2 527 drivers/mmc/host/rtsx_pci_sdmmc.c rtsx_pci_add_cmd(pcr, WRITE_REG_CMD, SD_CFG2, 0xFF, cfg2); cfg2 454 drivers/mmc/host/rtsx_usb_sdmmc.c u8 cfg2, trans_mode; cfg2 463 drivers/mmc/host/rtsx_usb_sdmmc.c cfg2 = SD_CALCULATE_CRC7 | SD_CHECK_CRC16 | cfg2 469 drivers/mmc/host/rtsx_usb_sdmmc.c cfg2 = SD_NO_CALCULATE_CRC7 | SD_CHECK_CRC16 | cfg2 506 drivers/mmc/host/rtsx_usb_sdmmc.c rtsx_usb_add_cmd(ucr, WRITE_REG_CMD, SD_CFG2, 0xFF, cfg2); cfg2 870 drivers/net/ethernet/agere/et131x.c u32 cfg2; cfg2 876 drivers/net/ethernet/agere/et131x.c cfg2 = readl(&mac->cfg2); cfg2 880 drivers/net/ethernet/agere/et131x.c cfg2 &= ~ET_MAC_CFG2_IFMODE_MASK; cfg2 882 drivers/net/ethernet/agere/et131x.c cfg2 |= ET_MAC_CFG2_IFMODE_1000; cfg2 885 drivers/net/ethernet/agere/et131x.c cfg2 |= ET_MAC_CFG2_IFMODE_100; cfg2 901 drivers/net/ethernet/agere/et131x.c cfg2 |= 0x7 << ET_MAC_CFG2_PREAMBLE_SHIFT; cfg2 902 drivers/net/ethernet/agere/et131x.c cfg2 |= ET_MAC_CFG2_IFMODE_LEN_CHECK; cfg2 903 drivers/net/ethernet/agere/et131x.c cfg2 |= ET_MAC_CFG2_IFMODE_PAD_CRC; cfg2 904 drivers/net/ethernet/agere/et131x.c cfg2 |= ET_MAC_CFG2_IFMODE_CRC_ENABLE; cfg2 905 drivers/net/ethernet/agere/et131x.c cfg2 &= ~ET_MAC_CFG2_IFMODE_HUGE_FRAME; cfg2 906 drivers/net/ethernet/agere/et131x.c cfg2 &= ~ET_MAC_CFG2_IFMODE_FULL_DPLX; cfg2 909 drivers/net/ethernet/agere/et131x.c cfg2 |= ET_MAC_CFG2_IFMODE_FULL_DPLX; cfg2 916 drivers/net/ethernet/agere/et131x.c writel(cfg2, &mac->cfg2); cfg2 1049 drivers/net/ethernet/agere/et131x.h u32 cfg2; /* 0x5004 */ cfg2 851 drivers/net/ethernet/atheros/ag71xx.c u32 cfg2; cfg2 863 drivers/net/ethernet/atheros/ag71xx.c cfg2 = ag71xx_rr(ag, AG71XX_REG_MAC_CFG2); cfg2 864 drivers/net/ethernet/atheros/ag71xx.c cfg2 &= ~(MAC_CFG2_IF_1000 | MAC_CFG2_IF_10_100 | MAC_CFG2_FDX); cfg2 865 drivers/net/ethernet/atheros/ag71xx.c cfg2 |= (phydev->duplex) ? MAC_CFG2_FDX : 0; cfg2 875 drivers/net/ethernet/atheros/ag71xx.c cfg2 |= MAC_CFG2_IF_1000; cfg2 879 drivers/net/ethernet/atheros/ag71xx.c cfg2 |= MAC_CFG2_IF_10_100; cfg2 883 drivers/net/ethernet/atheros/ag71xx.c cfg2 |= MAC_CFG2_IF_10_100; cfg2 897 drivers/net/ethernet/atheros/ag71xx.c ag71xx_wr(ag, AG71XX_REG_MAC_CFG2, cfg2); cfg2 15179 drivers/net/ethernet/broadcom/tg3.c u32 cfg2 = 0, cfg4 = 0, cfg5 = 0; cfg2 15192 drivers/net/ethernet/broadcom/tg3.c tg3_read_mem(tp, NIC_SRAM_DATA_CFG_2, &cfg2); cfg2 15226 drivers/net/ethernet/broadcom/tg3.c led_cfg = cfg2 & (NIC_SRAM_DATA_CFG_LED_MODE_MASK | cfg2 15320 drivers/net/ethernet/broadcom/tg3.c if (cfg2 & (1 << 17)) cfg2 15325 drivers/net/ethernet/broadcom/tg3.c if (cfg2 & (1 << 18)) cfg2 15331 drivers/net/ethernet/broadcom/tg3.c (cfg2 & NIC_SRAM_DATA_CFG_2_APD_EN)) cfg2 198 drivers/scsi/dc395x.c u8 cfg2; /* Target configuration byte 2 */ cfg2 3291 drivers/staging/rts5208/sd.c u8 cfg2; cfg2 3395 drivers/staging/rts5208/sd.c cfg2 = SD_NO_CALCULATE_CRC7 | SD_CHECK_CRC16 | cfg2 3398 drivers/staging/rts5208/sd.c rtsx_add_cmd(chip, WRITE_REG_CMD, REG_SD_CFG2, 0xFF, cfg2); cfg2 3430 drivers/staging/rts5208/sd.c cfg2 = SD_CALCULATE_CRC7 | SD_CHECK_CRC16 | cfg2 3434 drivers/staging/rts5208/sd.c cfg2); cfg2 3472 drivers/staging/rts5208/sd.c cfg2 = SD_NO_CALCULATE_CRC7 | SD_CHECK_CRC16 | cfg2 3476 drivers/staging/rts5208/sd.c cfg2); cfg2 911 net/ipv4/fib_semantics.c struct fib_config cfg2; cfg2 914 net/ipv4/fib_semantics.c err = fib_gw_from_via(&cfg2, nlav, extack); cfg2 920 net/ipv4/fib_semantics.c if (cfg2.fc_gw_family != AF_INET || cfg2 921 net/ipv4/fib_semantics.c cfg2.fc_gw4 != nh->fib_nh_gw4) cfg2 925 net/ipv4/fib_semantics.c if (cfg2.fc_gw_family != AF_INET6 || cfg2 926 net/ipv4/fib_semantics.c ipv6_addr_cmp(&cfg2.fc_gw6, cfg2 713 sound/pci/als4000.c u32 cfg2 = 0; cfg2 716 sound/pci/als4000.c cfg2 |= (mpu_io | 1) << 16; cfg2 718 sound/pci/als4000.c cfg2 |= (sb_io | 1); cfg2 724 sound/pci/als4000.c snd_als4k_gcr_write_addr(iobase, ALS4K_GCRA9_LEGACY_CFG2, cfg2);