Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/spmi/
Dspmi-mtk-pmif.c315 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
408 inf_reg = &arb->chan; in pmif_spmi_write_cmd()
[all …]