Lines Matching refs:tsp
42 struct ti_sci_proc tsp; member
63 ret = ti_sci_proc_request(&rproc->tsp); in k3_arm64_load()
67 return ti_sci_proc_set_config(&rproc->tsp, addr, 0, 0); in k3_arm64_load()
109 return ti_sci_proc_release(&rproc->tsp); in k3_arm64_start()
134 static int ti_sci_proc_of_to_priv(struct udevice *dev, struct ti_sci_proc *tsp) in ti_sci_proc_of_to_priv() argument
138 tsp->sci = ti_sci_get_by_phandle(dev, "ti,sci"); in ti_sci_proc_of_to_priv()
139 if (IS_ERR(tsp->sci)) { in ti_sci_proc_of_to_priv()
140 dev_err(dev, "ti_sci get failed: %ld\n", PTR_ERR(tsp->sci)); in ti_sci_proc_of_to_priv()
141 return PTR_ERR(tsp->sci); in ti_sci_proc_of_to_priv()
144 tsp->proc_id = dev_read_u32_default(dev, "ti,sci-proc-id", INVALID_ID); in ti_sci_proc_of_to_priv()
145 if (tsp->proc_id == INVALID_ID) { in ti_sci_proc_of_to_priv()
149 tsp->host_id = dev_read_u32_default(dev, "ti,sci-host-id", INVALID_ID); in ti_sci_proc_of_to_priv()
150 tsp->ops = &tsp->sci->ops.proc_ops; in ti_sci_proc_of_to_priv()
193 ret = ti_sci_proc_of_to_priv(dev, &rproc->tsp); in k3_arm64_of_to_priv()