Searched refs:config3 (Results 1 – 13 of 13) sorted by relevance
/drivers/staging/iio/addac/ |
D | adt7316.c | 186 u8 config3; member 598 return sprintf(buf, "%d\n", !!(chip->config3 & ADT7316_ADCLK_22_5)); in adt7316_show_fast_ad_clock() 608 u8 config3; in adt7316_store_fast_ad_clock() local 611 config3 = chip->config3 & (~ADT7316_ADCLK_22_5); in adt7316_store_fast_ad_clock() 613 config3 |= ADT7316_ADCLK_22_5; in adt7316_store_fast_ad_clock() 615 ret = chip->bus.write(chip->bus.client, ADT7316_CONFIG3, config3); in adt7316_store_fast_ad_clock() 619 chip->config3 = config3; in adt7316_store_fast_ad_clock() 636 if (chip->config3 & ADT7316_DA_HIGH_RESOLUTION) { in adt7316_show_da_high_resolution() 651 u8 config3; in adt7316_store_da_high_resolution() local 657 config3 = chip->config3 & (~ADT7316_DA_HIGH_RESOLUTION); in adt7316_store_da_high_resolution() [all …]
|
/drivers/net/dsa/mv88e6xxx/ |
D | global2_scratch.c | 305 u8 config3, p; in mv88e6352_g2_scratch_port_has_serdes() local 309 &config3); in mv88e6352_g2_scratch_port_has_serdes() 313 if (config3 & MV88E6352_G2_SCRATCH_CONFIG_DATA3_S_SEL) in mv88e6352_g2_scratch_port_has_serdes()
|
/drivers/hwmon/ |
D | adm1026.c | 288 u8 config3; /* Register value */ member 445 data->config3 = adm1026_read_value(client, in adm1026_update_device() 447 data->gpio_config[16] = (data->config3 >> 6) & 0x03; in adm1026_update_device() 1640 if (data->config3 & CFG3_GPIO16_ENABLE) { in adm1026_print_gpio() 1701 data->config3 = (data->config3 & 0x3f) in adm1026_fixup_gpio() 1703 adm1026_write_value(client, ADM1026_REG_CONFIG3, data->config3); in adm1026_fixup_gpio() 1728 data->config3 = adm1026_read_value(client, ADM1026_REG_CONFIG3); in adm1026_init_client() 1753 if (data->config3 & CFG3_GPIO16_ENABLE) { in adm1026_init_client() 1760 if (data->config3 & CFG3_VREF_250) in adm1026_init_client() 1774 data->gpio_config[16] = (data->config3 >> 6) & 0x03; in adm1026_init_client()
|
D | adt7475.c | 1468 u8 config3; in load_config3() local 1477 config3 = ret & ~CONFIG3_SMBALERT; in load_config3() 1481 config3 |= CONFIG3_SMBALERT; in load_config3() 1485 return i2c_smbus_write_byte_data(client, REG_CONFIG3, config3); in load_config3() 1644 u8 config3; in adt7475_probe() local 1681 config3 = adt7475_read(REG_CONFIG3); in adt7475_probe() 1683 if (!(config3 & CONFIG3_SMBALERT)) in adt7475_probe() 1701 !(config3 & CONFIG3_THERM)) in adt7475_probe() 1705 if (!(config3 & CONFIG3_THERM) || in adt7475_probe()
|
/drivers/scsi/ |
D | mac53c94.h | 40 unsigned char config3; member
|
D | mac53c94.c | 133 writeb(0, ®s->config3); in mac53c94_init()
|
/drivers/gpu/drm/bridge/synopsys/ |
D | dw-hdmi.c | 665 u8 config3; in hdmi_set_clk_regenerator() local 670 config3 = hdmi_readb(hdmi, HDMI_CONFIG3_ID); in hdmi_set_clk_regenerator() 673 if ((config3 & HDMI_CONFIG3_AHBAUDDMA) || (config3 & HDMI_CONFIG3_GPAUD)) { in hdmi_set_clk_regenerator() 3365 u8 config3; in dw_hdmi_probe() local 3565 config3 = hdmi_readb(hdmi, HDMI_CONFIG3_ID); in dw_hdmi_probe() 3567 if (iores && config3 & HDMI_CONFIG3_AHBAUDDMA) { in dw_hdmi_probe() 3598 } else if (iores && config3 & HDMI_CONFIG3_GPAUD) { in dw_hdmi_probe()
|
/drivers/mtd/nand/raw/ |
D | mxc_nand.c | 1268 uint32_t config2, config3; in preset_v3() local 1318 config3 = NFC_V3_CONFIG3_NUM_OF_DEVICES(0) | in preset_v3() 1325 config3 |= NFC_V3_CONFIG3_FW8; in preset_v3() 1327 writel(config3, NFC_V3_CONFIG3); in preset_v3()
|
/drivers/memory/ |
D | omap-gpmc.c | 209 u32 config3; member 2414 gpmc_context->cs_context[i].config3 = in omap3_gpmc_save_context() 2452 gpmc_context->cs_context[i].config3); in omap3_gpmc_restore_context()
|
/drivers/net/ethernet/cortina/ |
D | gemini.c | 511 union gmac_config3 config3 = { .bits = { in gmac_init() local 523 writel(config3.bits32, port->gmac_base + GMAC_CONFIG3); in gmac_init()
|
/drivers/net/usb/ |
D | r8152.c | 5241 u16 config1, config2, config3; in r8152_eee_en() local 5247 config3 = ocp_reg_read(tp, OCP_EEE_CONFIG3) & ~fast_snr_mask; in r8152_eee_en() 5254 config3 |= fast_snr(42); in r8152_eee_en() 5261 config3 |= fast_snr(511); in r8152_eee_en() 5267 ocp_reg_write(tp, OCP_EEE_CONFIG3, config3); in r8152_eee_en()
|
/drivers/net/ethernet/broadcom/ |
D | bnx2.h | 6699 u32 config3; member
|
D | bnx2.c | 4386 BNX2_WR(bp, BNX2_NVM_CFG3, flash->config3); in bnx2_init_nvram()
|