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

/linux-4.1.27/drivers/spmi/
H A Dspmi-pmic-arb.c103 * spmi_pmic_arb_dev - SPMI PMIC Arbiter object
123 struct spmi_pmic_arb_dev { struct
161 u32 (*offset)(struct spmi_pmic_arb_dev *dev, u8 sid, u16 addr);
171 static inline u32 pmic_arb_base_read(struct spmi_pmic_arb_dev *dev, u32 offset) pmic_arb_base_read()
176 static inline void pmic_arb_base_write(struct spmi_pmic_arb_dev *dev, pmic_arb_base_write()
182 static inline void pmic_arb_set_rd_cmd(struct spmi_pmic_arb_dev *dev, pmic_arb_set_rd_cmd()
194 static void pa_read_data(struct spmi_pmic_arb_dev *dev, u8 *buf, u32 reg, u8 bc) pa_read_data()
207 pa_write_data(struct spmi_pmic_arb_dev *dev, const u8 *buf, u32 reg, u8 bc) pa_write_data()
217 struct spmi_pmic_arb_dev *dev = spmi_controller_get_drvdata(ctrl); pmic_arb_wait_for_done()
261 struct spmi_pmic_arb_dev *pmic_arb = spmi_controller_get_drvdata(ctrl); pmic_arb_non_data_cmd_v1()
286 struct spmi_pmic_arb_dev *pmic_arb = spmi_controller_get_drvdata(ctrl); pmic_arb_cmd()
300 struct spmi_pmic_arb_dev *pmic_arb = spmi_controller_get_drvdata(ctrl); pmic_arb_read_cmd()
347 struct spmi_pmic_arb_dev *pmic_arb = spmi_controller_get_drvdata(ctrl); pmic_arb_write_cmd()
412 struct spmi_pmic_arb_dev *pa = irq_data_get_irq_chip_data(d); qpnpint_spmi_write()
425 struct spmi_pmic_arb_dev *pa = irq_data_get_irq_chip_data(d); qpnpint_spmi_read()
436 static void periph_interrupt(struct spmi_pmic_arb_dev *pa, u8 apid) periph_interrupt()
456 struct spmi_pmic_arb_dev *pa = irq_get_handler_data(irq); pmic_arb_chained_irq()
481 struct spmi_pmic_arb_dev *pa = irq_data_get_irq_chip_data(d); qpnpint_irq_ack()
497 struct spmi_pmic_arb_dev *pa = irq_data_get_irq_chip_data(d); qpnpint_irq_mask()
519 struct spmi_pmic_arb_dev *pa = irq_data_get_irq_chip_data(d); qpnpint_irq_unmask()
595 static int search_mapping_table(struct spmi_pmic_arb_dev *pa, search_mapping_table()
634 struct spmi_pmic_arb_dev *pa = d->host_data; qpnpint_irq_domain_dt_translate()
681 struct spmi_pmic_arb_dev *pa = d->host_data; qpnpint_irq_domain_map()
692 static u32 pmic_arb_offset_v1(struct spmi_pmic_arb_dev *pa, u8 sid, u16 addr) pmic_arb_offset_v1()
698 static u32 pmic_arb_offset_v2(struct spmi_pmic_arb_dev *pa, u8 sid, u16 addr) pmic_arb_offset_v2()
783 struct spmi_pmic_arb_dev *pa; spmi_pmic_arb_probe()
952 struct spmi_pmic_arb_dev *pa = spmi_controller_get_drvdata(ctrl); spmi_pmic_arb_remove()

Completed in 38 milliseconds