Lines Matching full:tsp

31 static inline int ti_sci_proc_request(struct ti_sci_proc *tsp)  in ti_sci_proc_request()  argument
35 ret = tsp->ops->request(tsp->sci, tsp->proc_id); in ti_sci_proc_request()
37 dev_err(tsp->dev, "ti-sci processor request failed: %d\n", in ti_sci_proc_request()
42 static inline int ti_sci_proc_release(struct ti_sci_proc *tsp) in ti_sci_proc_release() argument
46 ret = tsp->ops->release(tsp->sci, tsp->proc_id); in ti_sci_proc_release()
48 dev_err(tsp->dev, "ti-sci processor release failed: %d\n", in ti_sci_proc_release()
53 static inline int ti_sci_proc_handover(struct ti_sci_proc *tsp) in ti_sci_proc_handover() argument
57 ret = tsp->ops->handover(tsp->sci, tsp->proc_id, tsp->host_id); in ti_sci_proc_handover()
59 dev_err(tsp->dev, "ti-sci processor handover of %d to %d failed: %d\n", in ti_sci_proc_handover()
60 tsp->proc_id, tsp->host_id, ret); in ti_sci_proc_handover()
64 static inline int ti_sci_proc_set_config(struct ti_sci_proc *tsp, in ti_sci_proc_set_config() argument
70 ret = tsp->ops->set_config(tsp->sci, tsp->proc_id, boot_vector, in ti_sci_proc_set_config()
73 dev_err(tsp->dev, "ti-sci processor set_config failed: %d\n", in ti_sci_proc_set_config()
78 static inline int ti_sci_proc_set_control(struct ti_sci_proc *tsp, in ti_sci_proc_set_control() argument
83 ret = tsp->ops->set_control(tsp->sci, tsp->proc_id, ctrl_set, ctrl_clr); in ti_sci_proc_set_control()
85 dev_err(tsp->dev, "ti-sci processor set_control failed: %d\n", in ti_sci_proc_set_control()
90 static inline int ti_sci_proc_get_status(struct ti_sci_proc *tsp, in ti_sci_proc_get_status() argument
96 ret = tsp->ops->get_status(tsp->sci, tsp->proc_id, boot_vector, in ti_sci_proc_get_status()
99 dev_err(tsp->dev, "ti-sci processor get_status failed: %d\n", in ti_sci_proc_get_status()