Home
last modified time | relevance | path

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

12

/drivers/staging/iio/addac/
Dadt7316.c183 u8 config2; member
326 if (chip->config2 & ADT7316_AD_SINGLE_CH_MODE) in adt7316_show_mode()
339 u8 config2; in adt7316_store_mode() local
342 config2 = chip->config2 & (~ADT7316_AD_SINGLE_CH_MODE); in adt7316_store_mode()
344 config2 |= ADT7316_AD_SINGLE_CH_MODE; in adt7316_store_mode()
346 ret = chip->bus.write(chip->bus.client, ADT7316_CONFIG2, config2); in adt7316_store_mode()
350 chip->config2 = config2; in adt7316_store_mode()
376 if (!(chip->config2 & ADT7316_AD_SINGLE_CH_MODE)) in adt7316_show_ad_channel()
379 switch (chip->config2 & ADT7516_AD_SINGLE_CH_MASK) { in adt7316_show_ad_channel()
414 u8 config2; in adt7316_store_ad_channel() local
[all …]
/drivers/net/ethernet/seeq/
Dether3.c176 ether3_outw(priv(dev)->regs.config2 |= CFG2_CTRLO, REG_CONFIG2); in ether3_ledoff()
189 if (priv(dev)->regs.config2 & CFG2_CTRLO) in ether3_ledon()
190 ether3_outw(priv(dev)->regs.config2 &= ~CFG2_CTRLO, REG_CONFIG2); in ether3_ledon()
276 priv(dev)->regs.config2 = CFG2_CTRLO|CFG2_RECVCRC|CFG2_ERRENCRC; in ether3_init_2()
303 ether3_outw(priv(dev)->regs.config2, REG_CONFIG2); in ether3_init_2()
339 priv(dev)->regs.config2 |= CFG2_CTRLO; in ether3_init_for_open()
347 ether3_outw(priv(dev)->regs.config2, REG_CONFIG2); in ether3_init_for_open()
473 priv(dev)->regs.config2 |= CFG2_CTRLO; in ether3_timeout()
475 ether3_outw(priv(dev)->regs.config2, REG_CONFIG2); in ether3_timeout()
Dether3.h162 unsigned int config2; member
/drivers/mmc/host/
Dau1xmmc.c198 u32 config2; in SEND_STOP() local
203 config2 = __raw_readl(HOST_CONFIG2(host)); in SEND_STOP()
204 __raw_writel(config2 | SD_CONFIG2_DF, HOST_CONFIG2(host)); in SEND_STOP()
757 u32 config2; in au1xmmc_set_ios() local
770 config2 = __raw_readl(HOST_CONFIG2(host)); in au1xmmc_set_ios()
773 config2 |= SD_CONFIG2_BB; in au1xmmc_set_ios()
776 config2 &= ~SD_CONFIG2_BB; in au1xmmc_set_ios()
777 config2 |= SD_CONFIG2_WB; in au1xmmc_set_ios()
780 config2 &= ~(SD_CONFIG2_WB | SD_CONFIG2_BB); in au1xmmc_set_ios()
783 __raw_writel(config2, HOST_CONFIG2(host)); in au1xmmc_set_ios()
Dcb710-mmc.c620 u32 status, config1, config2, irqen; in cb710_mmc_irq_handler() local
624 config2 = cb710_read_port_32(slot, CB710_MMC_CONFIGB_PORT); in cb710_mmc_irq_handler()
629 status, irqen, config2, config1); in cb710_mmc_irq_handler()
/drivers/mtd/nand/
Dmxc_nand.c1145 uint32_t config2, config3; in preset_v3() local
1161 config2 = NFC_V3_CONFIG2_ONE_CYCLE | in preset_v3()
1171 config2 |= NFC_V3_CONFIG2_PS_2048; in preset_v3()
1172 config2 |= NFC_V3_CONFIG2_NUM_ADDR_PHASE1(addr_phases); in preset_v3()
1174 config2 |= NFC_V3_CONFIG2_PS_4096; in preset_v3()
1175 config2 |= NFC_V3_CONFIG2_NUM_ADDR_PHASE1(addr_phases); in preset_v3()
1177 config2 |= NFC_V3_CONFIG2_PS_512; in preset_v3()
1178 config2 |= NFC_V3_CONFIG2_NUM_ADDR_PHASE1(addr_phases - 1); in preset_v3()
1183 config2 |= NFC_V3_CONFIG2_ECC_EN; in preset_v3()
1185 config2 |= NFC_V3_CONFIG2_PPB( in preset_v3()
[all …]
/drivers/hwmon/
Dlm90.c1301 int man_id, chip_id, config1, config2, convrate; in lm90_detect() local
1315 config2 = i2c_smbus_read_byte_data(client, LM90_REG_R_CONFIG2); in lm90_detect()
1316 if (config2 < 0) in lm90_detect()
1319 config2 = 0; /* Make compiler happy */ in lm90_detect()
1324 && (config2 & 0xF8) == 0x00 in lm90_detect()
1456 && (config2 & 0xF8) == 0x00) { in lm90_detect()
1471 && (config2 & 0xFE) == 0x00 in lm90_detect()
Dadm1026.c298 u8 config2; /* Register value */ member
454 data->config2 = adm1026_read_value(client, in adm1026_update_device()
1610 if (data->config2 & (1 << i)) { in adm1026_print_gpio()
1654 data->config2 |= 1 << gpio_output[i]; in adm1026_fixup_gpio()
1663 data->config2 |= 1 << gpio_input[i]; in adm1026_fixup_gpio()
1681 data->config2 &= ~(1 << gpio_fan[i]); in adm1026_fixup_gpio()
1685 adm1026_write_value(client, ADM1026_REG_CONFIG2, data->config2); in adm1026_fixup_gpio()
1712 data->config2 = adm1026_read_value(client, ADM1026_REG_CONFIG2); in adm1026_init_client()
Ddme1737.c238 u8 config2; member
988 if ((ix == 1) && (data->config2 & 0x02)) in show_zone()
2275 data->config2 = dme1737_read(data, DME1737_REG_CONFIG2); in dme1737_init_device()
2277 if (data->config2 & 0x04) in dme1737_init_device()
Dadt7475.c1262 u8 config2, config3; in adt7475_probe() local
1330 config2 = adt7475_read(REG_CONFIG2); in adt7475_probe()
1331 if (config2 & CONFIG2_ATTN) { in adt7475_probe()
/drivers/scsi/
Dam53c974.c254 if (esp->config2 & ESP_CONFIG2_FENAB) in pci_esp_send_dma_cmd()
277 if (esp->config2 & ESP_CONFIG2_FENAB) in pci_esp_dma_length_limit()
450 esp->config2 |= ESP_CONFIG2_FENAB; in pci_esp_probe_one()
Desp_scsi.c294 esp_write8(esp->config2, ESP_CFG2); in esp_reset_esp()
299 esp_write8(esp->config2, ESP_CFG2); in esp_reset_esp()
305 esp->config2 |= (ESP_CONFIG2_HME32 | ESP_CONFIG2_HMEFENAB); in esp_reset_esp()
311 esp_write8(esp->config2, ESP_CFG2); in esp_reset_esp()
339 esp_write8(esp->config2, ESP_CFG2); in esp_reset_esp()
1346 if (esp->rev == PCSCSI && (esp->config2 & ESP_CONFIG2_FENAB)) in esp_data_bytes_sent()
2224 if (esp->config2 == 0) { in esp_get_revision()
2225 esp->config2 = (ESP_CONFIG2_SCSI2ENAB | ESP_CONFIG2_REGPARITY); in esp_get_revision()
2226 esp_write8(esp->config2, ESP_CFG2); in esp_get_revision()
2231 esp->config2 = 0; in esp_get_revision()
[all …]
Dmac53c94.h37 unsigned char config2; member
Desp_scsi.h482 u8 config2; member
Dmac53c94.c134 writeb(CF2_FEATURE_EN, &regs->config2); in mac53c94_init()
/drivers/gpu/drm/sti/
Dsti_hqvdp.c178 u32 config2; member
551 seq_printf(s, "\n\t %-20s 0x%08X", "Config2", c->csdi.config2); in hqvdp_dbg_dump_cmd()
1187 cmd->csdi.config2 = CSDI_CONFIG2_DFLT; in sti_hqvdp_atomic_update()
/drivers/scsi/bnx2i/
Dbnx2i_hwi.c2735 u32 config2; in bnx2i_map_ep_dbell_regs() local
2750 config2 = REG_RD(ep->hba, BNX2_MQ_CONFIG2); in bnx2i_map_ep_dbell_regs()
2751 first_l4l5 = config2 & BNX2_MQ_CONFIG2_FIRST_L4L5; in bnx2i_map_ep_dbell_regs()
2752 ctx_sz = (config2 & BNX2_MQ_CONFIG2_CONT_SZ) >> 3; in bnx2i_map_ep_dbell_regs()
/drivers/memory/
Domap-gpmc.c209 u32 config2; member
2441 gpmc_context.cs_context[i].config2 = in omap3_gpmc_save_context()
2476 gpmc_context.cs_context[i].config2); in omap3_gpmc_restore_context()
/drivers/net/usb/
Dr8152.c2588 u16 config1, config2, config3; in r8152_eee_en() local
2593 config2 = ocp_reg_read(tp, OCP_EEE_CONFIG2); in r8152_eee_en()
2600 config2 |= RG_DACQUIET_EN | RG_LDVQUIET_EN; in r8152_eee_en()
2607 config2 &= ~(RG_DACQUIET_EN | RG_LDVQUIET_EN); in r8152_eee_en()
2613 ocp_reg_write(tp, OCP_EEE_CONFIG2, config2); in r8152_eee_en()
/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_link.c12432 u32 ext_phy_config, phy_type, config2; in bnx2x_populate_ext_phy() local
12507 config2 = REG_RD(bp, shmem_base + offsetof(struct shmem_region, in bnx2x_populate_ext_phy()
12508 dev_info.shared_hw_config.config2)); in bnx2x_populate_ext_phy()
12514 if (config2 & SHARED_HW_CFG_MDC_MDIO_ACCESS1_MASK) in bnx2x_populate_ext_phy()
12515 mdc_mdio_access = config2 & in bnx2x_populate_ext_phy()
12527 if (config2 & SHARED_HW_CFG_MDC_MDIO_ACCESS2_MASK) in bnx2x_populate_ext_phy()
12528 mdc_mdio_access = (config2 & in bnx2x_populate_ext_phy()
Dbnx2x_ethtool.c2919 u32 hide = SHMEM_RD(bp, dev_info.shared_hw_config.config2) & in bnx2x_test_nvram()
Dbnx2x_hsi.h197 u32 config2; /* 0x118 */ member
/drivers/bus/
Darm-ccn.c966 u64 cmp_h = event->attr.config2; in arm_ccn_pmu_xp_watchpoint_config()
/drivers/net/ethernet/broadcom/
Dbnx2.h6698 u32 config2; member
Dbnx2.c4399 BNX2_WR(bp, BNX2_NVM_CFG2, flash->config2); in bnx2_init_nvram()

12