Lines Matching refs:ti_sci_handle
28 struct ti_sci_handle;
37 int (*reboot_device)(const struct ti_sci_handle *handle);
99 int (*get_device)(const struct ti_sci_handle *handle, u32 id);
100 int (*idle_device)(const struct ti_sci_handle *handle, u32 id);
101 int (*put_device)(const struct ti_sci_handle *handle, u32 id);
102 int (*is_valid)(const struct ti_sci_handle *handle, u32 id);
103 int (*get_context_loss_count)(const struct ti_sci_handle *handle,
105 int (*is_idle)(const struct ti_sci_handle *handle, u32 id,
107 int (*is_stop)(const struct ti_sci_handle *handle, u32 id,
109 int (*is_on)(const struct ti_sci_handle *handle, u32 id,
111 int (*is_transitioning)(const struct ti_sci_handle *handle, u32 id,
113 int (*set_device_resets)(const struct ti_sci_handle *handle, u32 id,
115 int (*get_device_resets)(const struct ti_sci_handle *handle, u32 id,
169 int (*get_clock)(const struct ti_sci_handle *handle, u32 did, u8 cid,
172 int (*idle_clock)(const struct ti_sci_handle *handle, u32 did, u8 cid);
173 int (*put_clock)(const struct ti_sci_handle *handle, u32 did, u8 cid);
174 int (*is_auto)(const struct ti_sci_handle *handle, u32 did, u8 cid,
176 int (*is_on)(const struct ti_sci_handle *handle, u32 did, u8 cid,
178 int (*is_off)(const struct ti_sci_handle *handle, u32 did, u8 cid,
180 int (*set_parent)(const struct ti_sci_handle *handle, u32 did, u8 cid,
182 int (*get_parent)(const struct ti_sci_handle *handle, u32 did, u8 cid,
184 int (*get_num_parents)(const struct ti_sci_handle *handle, u32 did,
186 int (*get_best_match_freq)(const struct ti_sci_handle *handle, u32 did,
189 int (*set_freq)(const struct ti_sci_handle *handle, u32 did, u8 cid,
191 int (*get_freq)(const struct ti_sci_handle *handle, u32 did, u8 cid,
211 struct ti_sci_handle { struct
217 const struct ti_sci_handle *ti_sci_get_handle(struct device *dev); argument
218 int ti_sci_put_handle(const struct ti_sci_handle *handle);
219 const struct ti_sci_handle *devm_ti_sci_get_handle(struct device *dev);
223 static inline const struct ti_sci_handle *ti_sci_get_handle(struct device *dev) in ti_sci_get_handle()
228 static inline int ti_sci_put_handle(const struct ti_sci_handle *handle) in ti_sci_put_handle()
234 const struct ti_sci_handle *devm_ti_sci_get_handle(struct device *dev) in devm_ti_sci_get_handle()