Lines Matching refs:clk_id
86 __le32 clk_id;
136 u32 clk_id, struct scmi_clock_info *clk,
145 sizeof(clk_id), sizeof(*attr), &t);
149 put_unaligned_le32(clk_id, t->tx.buf);
171 ph->hops->extended_name_get(ph, CLOCK_NAME_GET, clk_id,
198 u32 clk_id;
209 msg->id = cpu_to_le32(p->clk_id);
288 scmi_clock_describe_rates_get(const struct scmi_protocol_handle *ph, u32 clk_id,
299 .clk_id = clk_id,
329 u32 clk_id, u64 *value)
339 put_unaligned_le32(clk_id, t->tx.buf);
350 u32 clk_id, u64 rate)
368 cfg->id = cpu_to_le32(clk_id);
378 if (le32_to_cpu(resp->id) == clk_id)
380 "Clk ID %d set async to %llu\n", clk_id,
397 scmi_clock_config_set(const struct scmi_protocol_handle *ph, u32 clk_id,
412 cfg->id = cpu_to_le32(clk_id);
421 static int scmi_clock_enable(const struct scmi_protocol_handle *ph, u32 clk_id)
423 return scmi_clock_config_set(ph, clk_id, CLOCK_ENABLE, false);
426 static int scmi_clock_disable(const struct scmi_protocol_handle *ph, u32 clk_id)
428 return scmi_clock_config_set(ph, clk_id, 0, false);
432 u32 clk_id)
434 return scmi_clock_config_set(ph, clk_id, CLOCK_ENABLE, true);
438 u32 clk_id)
440 return scmi_clock_config_set(ph, clk_id, 0, true);
451 scmi_clock_info_get(const struct scmi_protocol_handle *ph, u32 clk_id)
456 if (clk_id >= ci->num_clocks)
459 clk = ci->clk + clk_id;
478 u32 clk_id, int message_id, bool enable)
489 notify->clk_id = cpu_to_le32(clk_id);