Lines Matching refs:spmi_controller
174 struct spmi_controller *spmic;
210 int (*non_data_cmd)(struct spmi_controller *ctrl, u8 opc, u8 sid);
262 static int pmic_arb_wait_for_done(struct spmi_controller *ctrl, in pmic_arb_wait_for_done()
313 pmic_arb_non_data_cmd_v1(struct spmi_controller *ctrl, u8 opc, u8 sid) in pmic_arb_non_data_cmd_v1()
338 pmic_arb_non_data_cmd_v2(struct spmi_controller *ctrl, u8 opc, u8 sid) in pmic_arb_non_data_cmd_v2()
344 static int pmic_arb_cmd(struct spmi_controller *ctrl, u8 opc, u8 sid) in pmic_arb_cmd()
390 static int pmic_arb_read_cmd_unlocked(struct spmi_controller *ctrl, u32 cmd, in pmic_arb_read_cmd_unlocked()
413 static int pmic_arb_read_cmd(struct spmi_controller *ctrl, u8 opc, u8 sid, in pmic_arb_read_cmd()
469 static int pmic_arb_write_cmd_unlocked(struct spmi_controller *ctrl, u32 cmd, in pmic_arb_write_cmd_unlocked()
489 static int pmic_arb_write_cmd(struct spmi_controller *ctrl, u8 opc, u8 sid, in pmic_arb_write_cmd()
510 static int pmic_arb_masked_write(struct spmi_controller *ctrl, u8 sid, u16 addr, in pmic_arb_masked_write()
1439 struct spmi_controller *ctrl; in spmi_pmic_arb_probe()
1679 struct spmi_controller *ctrl = platform_get_drvdata(pdev); in spmi_pmic_arb_remove()