Home
last modified time | relevance | path

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

/openbmc/linux/drivers/char/tpm/
H A Dtpm_crb.c95 struct crb_regs_head __iomem *regs_h; member
261 if (!priv->regs_h) in __crb_request_locality()
264 iowrite32(CRB_LOC_CTRL_REQUEST_ACCESS, &priv->regs_h->loc_ctrl); in __crb_request_locality()
265 if (!crb_wait_for_reg_32(&priv->regs_h->loc_state, value, value, in __crb_request_locality()
288 if (!priv->regs_h) in __crb_relinquish_locality()
291 iowrite32(CRB_LOC_CTRL_RELINQUISH, &priv->regs_h->loc_ctrl); in __crb_relinquish_locality()
292 if (!crb_wait_for_reg_32(&priv->regs_h->loc_state, mask, value, in __crb_relinquish_locality()
616 sizeof(*priv->regs_h)) in crb_map_io()
617 priv->regs_h = *iobase_ptr; in crb_map_io()