Lines Matching refs:inf_reg
315 struct ch_reg *inf_reg; in pmif_spmi_read_cmd() local
341 inf_reg = &arb->chan; in pmif_spmi_read_cmd()
342 ret = readl_poll_timeout_atomic(arb->base + arb->data->regs[inf_reg->ch_sta], in pmif_spmi_read_cmd()
348 pmif_writel(arb, 1, inf_reg->ch_rdy); in pmif_spmi_read_cmd()
356 pmif_writel(arb, cmd, inf_reg->ch_send); in pmif_spmi_read_cmd()
363 ret = readl_poll_timeout_atomic(arb->base + arb->data->regs[inf_reg->ch_sta], in pmif_spmi_read_cmd()
371 data = pmif_readl(arb, inf_reg->rdata); in pmif_spmi_read_cmd()
373 pmif_writel(arb, 1, inf_reg->ch_rdy); in pmif_spmi_read_cmd()
382 struct ch_reg *inf_reg; in pmif_spmi_write_cmd() local
414 inf_reg = &arb->chan; in pmif_spmi_write_cmd()
415 ret = readl_poll_timeout_atomic(arb->base + arb->data->regs[inf_reg->ch_sta], in pmif_spmi_write_cmd()
421 pmif_writel(arb, 1, inf_reg->ch_rdy); in pmif_spmi_write_cmd()
427 pmif_writel(arb, wdata, inf_reg->wdata); in pmif_spmi_write_cmd()
431 pmif_writel(arb, cmd, inf_reg->ch_send); in pmif_spmi_write_cmd()