/kernel/linux/linux-5.10/drivers/power/supply/ |
D | max17040_battery.c | 56 u16 reset_val; member 67 .reset_val = 0x0054, 76 .reset_val = 0x0054, 85 .reset_val = 0x0054, 94 .reset_val = 0x0054, 103 .reset_val = 0x5400, 112 .reset_val = 0x5400, 121 .reset_val = 0x5400, 130 .reset_val = 0x5400, 162 return regmap_write(chip->regmap, MAX17040_CMD, chip->data.reset_val); in max17040_reset()
|
D | cw2015_battery.c | 100 u8 reset_val; in cw_update_profile() local 107 reset_val = reg_val; in cw_update_profile() 130 reset_val &= ~CW2015_MODE_RESTART; in cw_update_profile() 131 reg_val = reset_val | CW2015_MODE_RESTART; in cw_update_profile() 140 ret = regmap_write(cw_bat->regmap, CW2015_REG_MODE, reset_val); in cw_update_profile() 229 unsigned char reset_val; in cw_power_on_reset() local 231 reset_val = CW2015_MODE_SLEEP; in cw_power_on_reset() 232 ret = regmap_write(cw_bat->regmap, CW2015_REG_MODE, reset_val); in cw_power_on_reset() 239 reset_val = CW2015_MODE_NORMAL; in cw_power_on_reset() 240 ret = regmap_write(cw_bat->regmap, CW2015_REG_MODE, reset_val); in cw_power_on_reset()
|
/kernel/linux/linux-5.10/drivers/memory/ |
D | stm32-fmc2-ebi.c | 168 u32 reset_val; member 743 .reset_val = FMC2_BUSWIDTH_16, 790 .reset_val = FMC2_BXTR_ADDSET_MAX, 798 .reset_val = FMC2_BXTR_ADDHLD_MAX, 806 .reset_val = FMC2_BXTR_DATAST_MAX, 814 .reset_val = FMC2_BXTR_BUSTURN_MAX + 1, 827 .reset_val = FMC2_BTR_CLKDIV_MAX + 1, 841 .reset_val = FMC2_BXTR_ADDSET_MAX, 849 .reset_val = FMC2_BXTR_ADDHLD_MAX, 857 .reset_val = FMC2_BXTR_DATAST_MAX, [all …]
|
/kernel/linux/linux-5.10/include/linux/qed/ |
D | qed_chain.h | 495 u32 reset_val = p_chain->page_cnt - 1; in qed_chain_reset() local 498 p_chain->pbl.c.u16.prod_page_idx = (u16)reset_val; in qed_chain_reset() 499 p_chain->pbl.c.u16.cons_page_idx = (u16)reset_val; in qed_chain_reset() 501 p_chain->pbl.c.u32.prod_page_idx = reset_val; in qed_chain_reset() 502 p_chain->pbl.c.u32.cons_page_idx = reset_val; in qed_chain_reset()
|
/kernel/linux/linux-5.10/arch/arm64/kvm/ |
D | sys_regs.c | 1424 { SYS_DESC(SYS_MDCCINT_EL1), trap_debug_regs, reset_val, MDCCINT_EL1, 0 }, 1425 { SYS_DESC(SYS_MDSCR_EL1), trap_debug_regs, reset_val, MDSCR_EL1, 0 }, 1455 { SYS_DESC(SYS_DBGVCR32_EL2), NULL, reset_val, DBGVCR32_EL2, 0 }, 1537 { SYS_DESC(SYS_SCTLR_EL1), access_vm_reg, reset_val, SCTLR_EL1, 0x00C50078 }, 1539 { SYS_DESC(SYS_CPACR_EL1), NULL, reset_val, CPACR_EL1, 0 }, 1544 { SYS_DESC(SYS_ZCR_EL1), NULL, reset_val, ZCR_EL1, 0, .visibility = sve_visibility }, 1547 { SYS_DESC(SYS_TCR_EL1), access_vm_reg, reset_val, TCR_EL1, 0 }, 1586 { SYS_DESC(SYS_VBAR_EL1), NULL, reset_val, VBAR_EL1, 0 }, 1587 { SYS_DESC(SYS_DISR_EL1), NULL, reset_val, DISR_EL1, 0 }, 1602 { SYS_DESC(SYS_CONTEXTIDR_EL1), access_vm_reg, reset_val, CONTEXTIDR_EL1, 0 }, [all …]
|
D | sys_regs.h | 107 static inline void reset_val(struct kvm_vcpu *vcpu, const struct sys_reg_desc *r) in reset_val() function
|
/kernel/linux/linux-5.10/drivers/net/ethernet/amd/ |
D | lance.c | 472 int i, reset_val, lance_version; in lance_probe1() local 504 reset_val = inw(ioaddr+LANCE_RESET); /* Reset the LANCE */ in lance_probe1() 509 outw(reset_val, ioaddr+LANCE_RESET); in lance_probe1() 599 short reset_val = inw(ioaddr+LANCE_RESET); in lance_probe1() local 600 dev->dma = dma_tbl[(reset_val >> 2) & 3]; in lance_probe1() 601 dev->irq = irq_tbl[(reset_val >> 4) & 7]; in lance_probe1()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/efa/ |
D | efa_com.c | 1042 u32 reset_val = 0; in efa_com_dev_reset() local 1061 EFA_SET(&reset_val, EFA_REGS_DEV_CTL_DEV_RESET, 1); in efa_com_dev_reset() 1062 EFA_SET(&reset_val, EFA_REGS_DEV_CTL_RESET_REASON, reset_reason); in efa_com_dev_reset() 1063 writel(reset_val, edev->reg_bar + EFA_REGS_DEV_CTL_OFF); in efa_com_dev_reset()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/adreno/ |
D | a6xx_gmu.c | 206 u32 mask, reset_val; in a6xx_gmu_start() local 211 reset_val = 0xbabeface; in a6xx_gmu_start() 214 reset_val = 0x100; in a6xx_gmu_start() 227 (val & mask) == reset_val, 100, 10000); in a6xx_gmu_start()
|
/kernel/linux/linux-5.10/drivers/scsi/hisi_sas/ |
D | hisi_sas_v2_hw.c | 1018 int i, reset_val; in reset_hw_v2_hw() local 1025 reset_val = 0x1fffff; in reset_hw_v2_hw() 1027 reset_val = 0x7ffff; in reset_hw_v2_hw() 1087 reset_val); in reset_hw_v2_hw() 1089 reset_val); in reset_hw_v2_hw() 1092 if (reset_val != (val & reset_val)) { in reset_hw_v2_hw() 1099 reset_val); in reset_hw_v2_hw() 1101 reset_val); in reset_hw_v2_hw() 1105 if (val & reset_val) { in reset_hw_v2_hw()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/amazon/ena/ |
D | ena_com.c | 2074 u32 stat, timeout, cap, reset_val; in ena_com_dev_reset() local 2099 reset_val = ENA_REGS_DEV_CTL_DEV_RESET_MASK; in ena_com_dev_reset() 2100 reset_val |= (reset_reason << ENA_REGS_DEV_CTL_RESET_REASON_SHIFT) & in ena_com_dev_reset() 2102 writel(reset_val, ena_dev->reg_bar + ENA_REGS_DEV_CTL_OFF); in ena_com_dev_reset()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/exynos/ |
D | exynos_drm_dsi.c | 533 u32 reset_val = dsi->driver_data->reg_values[RESET_TYPE]; in exynos_dsi_reset() local 536 exynos_dsi_write(dsi, DSIM_SWRST_REG, reset_val); in exynos_dsi_reset()
|
/kernel/linux/linux-5.10/drivers/usb/cdns3/ |
D | gadget.c | 731 u16 reset_val = EP_CMD_TDL_MAX + 1 - tdl; in cdns3_wa2_reset_tdl() local 733 writel(EP_CMD_TDL_SET(reset_val) | EP_CMD_STDL, in cdns3_wa2_reset_tdl()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/sun/ |
D | niu.c | 913 u64 reset_val, val_rd; in serdes_init_1g_serdes() local 920 reset_val = ENET_SERDES_RESET_0; in serdes_init_1g_serdes() 926 reset_val = ENET_SERDES_RESET_1; in serdes_init_1g_serdes() 960 nw64(ENET_SERDES_RESET, reset_val); in serdes_init_1g_serdes() 963 val_rd &= ~reset_val; in serdes_init_1g_serdes()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qed/ |
D | qed_debug.c | 228 u32 reset_val[MAX_CHIP_IDS]; member 1612 if (s_rbc_reset_defs[i].reset_val[dev_data->chip_id]) in qed_grc_unreset_blocks() 1617 s_rbc_reset_defs[i].reset_val[chip_id]); in qed_grc_unreset_blocks()
|