Lines Matching refs:clk_id
943 u32 dev_id, u32 clk_id, in ti_sci_set_clock_state() argument
971 if (clk_id < 255) { in ti_sci_set_clock_state()
972 req->clk_id = clk_id; in ti_sci_set_clock_state()
974 req->clk_id = 255; in ti_sci_set_clock_state()
975 req->clk_id_32 = clk_id; in ti_sci_set_clock_state()
1008 u32 dev_id, u32 clk_id, in ti_sci_cmd_get_clock_state() argument
1039 if (clk_id < 255) { in ti_sci_cmd_get_clock_state()
1040 req->clk_id = clk_id; in ti_sci_cmd_get_clock_state()
1042 req->clk_id = 255; in ti_sci_cmd_get_clock_state()
1043 req->clk_id_32 = clk_id; in ti_sci_cmd_get_clock_state()
1084 u32 clk_id, bool needs_ssc, in ti_sci_cmd_get_clock() argument
1093 return ti_sci_set_clock_state(handle, dev_id, clk_id, flags, in ti_sci_cmd_get_clock()
1110 u32 dev_id, u32 clk_id) in ti_sci_cmd_idle_clock() argument
1112 return ti_sci_set_clock_state(handle, dev_id, clk_id, in ti_sci_cmd_idle_clock()
1130 u32 dev_id, u32 clk_id) in ti_sci_cmd_put_clock() argument
1132 return ti_sci_set_clock_state(handle, dev_id, clk_id, in ti_sci_cmd_put_clock()
1149 u32 dev_id, u32 clk_id, bool *req_state) in ti_sci_cmd_clk_is_auto() argument
1157 ret = ti_sci_cmd_get_clock_state(handle, dev_id, clk_id, &state, NULL); in ti_sci_cmd_clk_is_auto()
1178 u32 clk_id, bool *req_state, bool *curr_state) in ti_sci_cmd_clk_is_on() argument
1186 ret = ti_sci_cmd_get_clock_state(handle, dev_id, clk_id, in ti_sci_cmd_clk_is_on()
1211 u32 clk_id, bool *req_state, bool *curr_state) in ti_sci_cmd_clk_is_off() argument
1219 ret = ti_sci_cmd_get_clock_state(handle, dev_id, clk_id, in ti_sci_cmd_clk_is_off()
1243 u32 dev_id, u32 clk_id, u32 parent_id) in ti_sci_cmd_clk_set_parent() argument
1270 if (clk_id < 255) { in ti_sci_cmd_clk_set_parent()
1271 req->clk_id = clk_id; in ti_sci_cmd_clk_set_parent()
1273 req->clk_id = 255; in ti_sci_cmd_clk_set_parent()
1274 req->clk_id_32 = clk_id; in ti_sci_cmd_clk_set_parent()
1311 u32 dev_id, u32 clk_id, u32 *parent_id) in ti_sci_cmd_clk_get_parent() argument
1338 if (clk_id < 255) { in ti_sci_cmd_clk_get_parent()
1339 req->clk_id = clk_id; in ti_sci_cmd_clk_get_parent()
1341 req->clk_id = 255; in ti_sci_cmd_clk_get_parent()
1342 req->clk_id_32 = clk_id; in ti_sci_cmd_clk_get_parent()
1380 u32 dev_id, u32 clk_id, in ti_sci_cmd_clk_get_num_parents() argument
1408 if (clk_id < 255) { in ti_sci_cmd_clk_get_num_parents()
1409 req->clk_id = clk_id; in ti_sci_cmd_clk_get_num_parents()
1411 req->clk_id = 255; in ti_sci_cmd_clk_get_num_parents()
1412 req->clk_id_32 = clk_id; in ti_sci_cmd_clk_get_num_parents()
1458 u32 dev_id, u32 clk_id, u64 min_freq, in ti_sci_cmd_clk_get_match_freq() argument
1487 if (clk_id < 255) { in ti_sci_cmd_clk_get_match_freq()
1488 req->clk_id = clk_id; in ti_sci_cmd_clk_get_match_freq()
1490 req->clk_id = 255; in ti_sci_cmd_clk_get_match_freq()
1491 req->clk_id_32 = clk_id; in ti_sci_cmd_clk_get_match_freq()
1535 u32 dev_id, u32 clk_id, u64 min_freq, in ti_sci_cmd_clk_set_freq() argument
1563 if (clk_id < 255) { in ti_sci_cmd_clk_set_freq()
1564 req->clk_id = clk_id; in ti_sci_cmd_clk_set_freq()
1566 req->clk_id = 255; in ti_sci_cmd_clk_set_freq()
1567 req->clk_id_32 = clk_id; in ti_sci_cmd_clk_set_freq()
1601 u32 dev_id, u32 clk_id, u64 *freq) in ti_sci_cmd_clk_get_freq() argument
1628 if (clk_id < 255) { in ti_sci_cmd_clk_get_freq()
1629 req->clk_id = clk_id; in ti_sci_cmd_clk_get_freq()
1631 req->clk_id = 255; in ti_sci_cmd_clk_get_freq()
1632 req->clk_id_32 = clk_id; in ti_sci_cmd_clk_get_freq()