Searched refs:ver_ops (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/drivers/spmi/
H A Dspmi-pmic-arb.c119 * @ver_ops: version dependent operations.
138 const struct pmic_arb_ver_ops *ver_ops; member in struct:spmi_pmic_arb_dev
220 u32 offset = dev->ver_ops->offset(dev, sid, addr) + PMIC_ARB_STATUS; pmic_arb_wait_for_done()
265 u32 offset = pmic_arb->ver_ops->offset(pmic_arb, sid, 0); pmic_arb_non_data_cmd_v1()
294 return pmic_arb->ver_ops->non_data_cmd(ctrl, opc, sid); pmic_arb_cmd()
305 u32 offset = pmic_arb->ver_ops->offset(pmic_arb, sid, addr); pmic_arb_read_cmd()
324 cmd = pmic_arb->ver_ops->fmt_cmd(opc, sid, addr, bc); pmic_arb_read_cmd()
352 u32 offset = pmic_arb->ver_ops->offset(pmic_arb, sid, addr); pmic_arb_write_cmd()
373 cmd = pmic_arb->ver_ops->fmt_cmd(opc, sid, addr, bc); pmic_arb_write_cmd()
442 status = readl_relaxed(pa->intr + pa->ver_ops->irq_status(apid)); periph_interrupt()
468 pa->ver_ops->owner_acc_status(pa->ee, i)); pmic_arb_chained_irq()
488 writel_relaxed(1 << irq, pa->intr + pa->ver_ops->irq_clear(apid)); qpnpint_irq_ack()
505 status = readl_relaxed(pa->intr + pa->ver_ops->acc_enable(apid)); qpnpint_irq_mask()
509 pa->ver_ops->acc_enable(apid)); qpnpint_irq_mask()
527 status = readl_relaxed(pa->intr + pa->ver_ops->acc_enable(apid)); qpnpint_irq_unmask()
530 pa->intr + pa->ver_ops->acc_enable(apid)); qpnpint_irq_unmask()
812 pa->ver_ops = &pmic_arb_v1; spmi_pmic_arb_probe()
820 pa->ver_ops = &pmic_arb_v2; spmi_pmic_arb_probe()

Completed in 54 milliseconds