Searched refs:crb_wait_for_reg_32 (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/char/tpm/ |
H A D | tpm_crb.c | 118 static bool crb_wait_for_reg_32(u32 __iomem *reg, u32 mask, u32 value, in crb_wait_for_reg_32() function 142 if (!crb_wait_for_reg_32(priv->pluton_reply_addr, ~0, 1, TPM2_TIMEOUT_C)) in crb_try_pluton_doorbell() 149 if (!crb_wait_for_reg_32(priv->pluton_start_addr, in crb_try_pluton_doorbell() 187 if (!crb_wait_for_reg_32(&priv->regs_t->ctrl_req, in __crb_go_idle() 236 if (!crb_wait_for_reg_32(&priv->regs_t->ctrl_req, in __crb_cmd_ready() 265 if (!crb_wait_for_reg_32(&priv->regs_h->loc_state, value, value, in __crb_request_locality() 292 if (!crb_wait_for_reg_32(&priv->regs_h->loc_state, mask, value, in __crb_relinquish_locality()
|