Home
last modified time | relevance | path

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

/drivers/iio/adc/
Dimx7d_adc.c234 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()
/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()
/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.h1049 u32 cfg2; /* 0x5004 */ member
/drivers/net/ethernet/atheros/
Dag71xx.c851 u32 cfg2; in ag71xx_link_adjust() local
863 cfg2 = ag71xx_rr(ag, AG71XX_REG_MAC_CFG2); in ag71xx_link_adjust()
864 cfg2 &= ~(MAC_CFG2_IF_1000 | MAC_CFG2_IF_10_100 | MAC_CFG2_FDX); in ag71xx_link_adjust()
865 cfg2 |= (phydev->duplex) ? MAC_CFG2_FDX : 0; in ag71xx_link_adjust()
875 cfg2 |= MAC_CFG2_IF_1000; in ag71xx_link_adjust()
879 cfg2 |= MAC_CFG2_IF_10_100; in ag71xx_link_adjust()
883 cfg2 |= MAC_CFG2_IF_10_100; in ag71xx_link_adjust()
897 ag71xx_wr(ag, AG71XX_REG_MAC_CFG2, cfg2); in ag71xx_link_adjust()
/drivers/gpu/drm/exynos/
Dexynos_drm_fimc.c420 u32 cfg1, cfg2; in fimc_src_set_transf() local
428 cfg2 = fimc_read(ctx, EXYNOS_CITRGFMT); in fimc_src_set_transf()
429 cfg2 &= ~EXYNOS_CITRGFMT_INROT90_CLOCKWISE; in fimc_src_set_transf()
439 cfg2 |= EXYNOS_CITRGFMT_INROT90_CLOCKWISE; in fimc_src_set_transf()
456 cfg2 |= EXYNOS_CITRGFMT_INROT90_CLOCKWISE; in fimc_src_set_transf()
465 fimc_write(ctx, cfg2, EXYNOS_CITRGFMT); in fimc_src_set_transf()
/drivers/media/platform/atmel/
Datmel-isi.c147 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()
/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()
/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);
/drivers/net/ethernet/broadcom/
Dtg3.c15179 u32 cfg2 = 0, cfg4 = 0, cfg5 = 0; in tg3_get_eeprom_hw_cfg() local
15192 tg3_read_mem(tp, NIC_SRAM_DATA_CFG_2, &cfg2); in tg3_get_eeprom_hw_cfg()
15226 led_cfg = cfg2 & (NIC_SRAM_DATA_CFG_LED_MODE_MASK | in tg3_get_eeprom_hw_cfg()
15320 if (cfg2 & (1 << 17)) in tg3_get_eeprom_hw_cfg()
15325 if (cfg2 & (1 << 18)) in tg3_get_eeprom_hw_cfg()
15331 (cfg2 & NIC_SRAM_DATA_CFG_2_APD_EN)) in tg3_get_eeprom_hw_cfg()
/drivers/scsi/
Ddc395x.c198 u8 cfg2; /* Target configuration byte 2 */ member