Lines Matching full:sci
3 * Texas Instruments TI-SCI Processor Controller Helper Functions
16 * @sci: cached TI-SCI protocol handle
17 * @ops: cached TI-SCI proc ops
24 const struct ti_sci_handle *sci; member
33 const struct ti_sci_handle *sci) in ti_sci_proc_of_get_tsp() argument
39 ret = of_property_read_u32_array(dev_of_node(dev), "ti,sci-proc-ids", in ti_sci_proc_of_get_tsp()
49 tsp->sci = sci; in ti_sci_proc_of_get_tsp()
50 tsp->ops = &sci->ops.proc_ops; in ti_sci_proc_of_get_tsp()
61 ret = tsp->ops->request(tsp->sci, tsp->proc_id); in ti_sci_proc_request()
63 dev_err(tsp->dev, "ti-sci processor request failed: %d\n", in ti_sci_proc_request()
72 ret = tsp->ops->release(tsp->sci, tsp->proc_id); in ti_sci_proc_release()
74 dev_err(tsp->dev, "ti-sci processor release failed: %d\n", in ti_sci_proc_release()
83 ret = tsp->ops->handover(tsp->sci, tsp->proc_id, tsp->host_id); in ti_sci_proc_handover()
85 dev_err(tsp->dev, "ti-sci processor handover of %d to %d failed: %d\n", in ti_sci_proc_handover()
96 ret = tsp->ops->set_config(tsp->sci, tsp->proc_id, boot_vector, in ti_sci_proc_set_config()
99 dev_err(tsp->dev, "ti-sci processor set_config failed: %d\n", in ti_sci_proc_set_config()
109 ret = tsp->ops->set_control(tsp->sci, tsp->proc_id, ctrl_set, ctrl_clr); in ti_sci_proc_set_control()
111 dev_err(tsp->dev, "ti-sci processor set_control failed: %d\n", in ti_sci_proc_set_control()
122 ret = tsp->ops->get_status(tsp->sci, tsp->proc_id, boot_vector, in ti_sci_proc_get_status()
125 dev_err(tsp->dev, "ti-sci processor get_status failed: %d\n", in ti_sci_proc_get_status()