Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/char/tpm/
Dtpm_tis_core.c880 u32 clkrun_val; in tpm_tis_clkrun_enable() local
890 clkrun_val = ioread32(data->ilb_base_addr + LPC_CNTRL_OFFSET); in tpm_tis_clkrun_enable()
893 clkrun_val &= ~LPC_CLKRUN_EN; in tpm_tis_clkrun_enable()
894 iowrite32(clkrun_val, data->ilb_base_addr + LPC_CNTRL_OFFSET); in tpm_tis_clkrun_enable()
906 clkrun_val = ioread32(data->ilb_base_addr + LPC_CNTRL_OFFSET); in tpm_tis_clkrun_enable()
909 clkrun_val |= LPC_CLKRUN_EN; in tpm_tis_clkrun_enable()
910 iowrite32(clkrun_val, data->ilb_base_addr + LPC_CNTRL_OFFSET); in tpm_tis_clkrun_enable()
943 u32 clkrun_val; in tpm_tis_core_init() local
987 clkrun_val = ioread32(priv->ilb_base_addr + LPC_CNTRL_OFFSET); in tpm_tis_core_init()
989 if (!(clkrun_val & LPC_CLKRUN_EN)) { in tpm_tis_core_init()