/openbmc/linux/drivers/clk/zynqmp/ |
H A D | pll.c | 21 u32 clk_id; member 52 u32 clk_id = clk->clk_id; in zynqmp_pll_get_mode() local 75 u32 clk_id = clk->clk_id; in zynqmp_pll_set_mode() local 137 u32 clk_id = clk->clk_id; in zynqmp_pll_recalc_rate() local 181 u32 clk_id = clk->clk_id; in zynqmp_pll_set_rate() local 229 u32 clk_id = clk->clk_id; in zynqmp_pll_is_enabled() local 253 u32 clk_id = clk->clk_id; in zynqmp_pll_enable() local 281 u32 clk_id = clk->clk_id; in zynqmp_pll_disable() local 312 struct clk_hw *zynqmp_clk_register_pll(const char *name, u32 clk_id, in zynqmp_clk_register_pll()
|
H A D | clk-gate-zynqmp.c | 23 u32 clk_id; member 38 u32 clk_id = gate->clk_id; in zynqmp_clk_gate_enable() local 58 u32 clk_id = gate->clk_id; in zynqmp_clk_gate_disable() local 78 u32 clk_id = gate->clk_id; in zynqmp_clk_gate_is_enabled() local 107 struct clk_hw *zynqmp_clk_register_gate(const char *name, u32 clk_id, in zynqmp_clk_register_gate()
|
H A D | divider.c | 44 u32 clk_id; member 84 u32 clk_id = divider->clk_id; in zynqmp_clk_divider_recalc_rate() local 127 u32 clk_id = divider->clk_id; in zynqmp_clk_divider_round_rate() local 174 u32 clk_id = divider->clk_id; in zynqmp_clk_divider_set_rate() local 219 static u32 zynqmp_clk_get_max_divisor(u32 clk_id, u32 type) in zynqmp_clk_get_max_divisor() 273 u32 clk_id, in zynqmp_clk_register_divider()
|
H A D | clk-mux-zynqmp.c | 32 u32 clk_id; member 47 u32 clk_id = mux->clk_id; in zynqmp_clk_mux_get_parent() local 77 u32 clk_id = mux->clk_id; in zynqmp_clk_mux_set_parent() local 131 struct clk_hw *zynqmp_clk_register_mux(const char *name, u32 clk_id, in zynqmp_clk_register_mux()
|
H A D | clkc.c | 79 u32 clk_id; member 146 static inline int zynqmp_is_valid_clock(u32 clk_id) in zynqmp_is_valid_clock() 161 static int zynqmp_get_clock_name(u32 clk_id, char *clk_name) in zynqmp_get_clock_name() 181 static int zynqmp_get_clock_type(u32 clk_id, u32 *type) in zynqmp_get_clock_type() 310 struct clk_hw *zynqmp_clk_register_fixed_factor(const char *name, u32 clk_id, in zynqmp_clk_register_fixed_factor() 445 static int zynqmp_clock_get_topology(u32 clk_id, in zynqmp_clock_get_topology() 512 static int zynqmp_clock_get_parents(u32 clk_id, struct clock_parent *parents, in zynqmp_clock_get_parents() 545 static int zynqmp_get_parent_list(struct device_node *np, u32 clk_id, in zynqmp_get_parent_list() 586 static struct clk_hw *zynqmp_register_clk_topology(int clk_id, char *clk_name, in zynqmp_register_clk_topology()
|
/openbmc/linux/drivers/firmware/arm_scmi/ |
H A D | clock.c | 86 __le32 clk_id; member 136 u32 clk_id, struct scmi_clock_info *clk, in scmi_clock_attributes_get() 198 u32 clk_id; member 329 u32 clk_id, u64 *value) in scmi_clock_rate_get() 350 u32 clk_id, u64 rate) in scmi_clock_rate_set() 397 scmi_clock_config_set(const struct scmi_protocol_handle *ph, u32 clk_id, in scmi_clock_config_set() 421 static int scmi_clock_enable(const struct scmi_protocol_handle *ph, u32 clk_id) in scmi_clock_enable() 432 u32 clk_id) in scmi_clock_enable_atomic() 438 u32 clk_id) in scmi_clock_disable_atomic() 451 scmi_clock_info_get(const struct scmi_protocol_handle *ph, u32 clk_id) in scmi_clock_info_get() [all …]
|
/openbmc/u-boot/drivers/clk/rockchip/ |
H A D | clk_rk3128.c | 38 static int rkclk_set_pll(struct rk3128_cru *cru, enum rk_clk_id clk_id, in rkclk_set_pll() 239 enum rk_clk_id clk_id) in rkclk_pll_get_rate() 346 static ulong rk3128_peri_get_pclk(struct rk3128_cru *cru, ulong clk_id) in rk3128_peri_get_pclk() 367 static ulong rk3128_peri_set_pclk(struct rk3128_cru *cru, ulong clk_id, uint hz) in rk3128_peri_set_pclk() 416 static ulong rk3128_vop_set_clk(struct rk3128_cru *cru, ulong clk_id, uint hz) in rk3128_vop_set_clk() 455 static ulong rk3128_vop_get_rate(struct rk3128_cru *cru, ulong clk_id) in rk3128_vop_get_rate()
|
H A D | clk_rv1108.c | 44 static inline int rv1108_pll_id(enum rk_clk_id clk_id) in rv1108_pll_id() 65 static int rkclk_set_pll(struct rv1108_cru *cru, enum rk_clk_id clk_id, in rkclk_set_pll() 118 enum rk_clk_id clk_id) in rkclk_pll_get_rate() 413 static ulong rv1108_i2c_get_clk(struct rv1108_cru *cru, ulong clk_id) in rv1108_i2c_get_clk() 446 static ulong rv1108_i2c_set_clk(struct rv1108_cru *cru, ulong clk_id, uint hz) in rv1108_i2c_set_clk()
|
H A D | clk_rk3399.c | 515 static ulong rk3399_i2c_get_clk(struct rk3399_cru *cru, ulong clk_id) in rk3399_i2c_get_clk() 552 static ulong rk3399_i2c_set_clk(struct rk3399_cru *cru, ulong clk_id, uint hz) in rk3399_i2c_set_clk() 629 static ulong rk3399_spi_get_clk(struct rk3399_cru *cru, ulong clk_id) in rk3399_spi_get_clk() 651 static ulong rk3399_spi_set_clk(struct rk3399_cru *cru, ulong clk_id, uint hz) in rk3399_spi_set_clk() 678 static ulong rk3399_vop_set_clk(struct rk3399_cru *cru, ulong clk_id, u32 hz) in rk3399_vop_set_clk() 722 static ulong rk3399_mmc_get_clk(struct rk3399_cru *cru, uint clk_id) in rk3399_mmc_get_clk() 750 ulong clk_id, ulong set_rate) in rk3399_mmc_set_clk() 1248 static ulong rk3399_i2c_get_pmuclk(struct rk3399_pmucru *pmucru, ulong clk_id) in rk3399_i2c_get_pmuclk() 1273 static ulong rk3399_i2c_set_pmuclk(struct rk3399_pmucru *pmucru, ulong clk_id, in rk3399_i2c_set_pmuclk()
|
H A D | clk_rk3368.c | 157 static ulong rk3368_mmc_get_clk(struct rk3368_cru *cru, uint clk_id) in rk3368_mmc_get_clk() 253 ulong clk_id = clk->id; in rk3368_mmc_set_clk() local 378 static ulong rk3368_spi_get_clk(struct rk3368_cru *cru, ulong clk_id) in rk3368_spi_get_clk() 400 static ulong rk3368_spi_set_clk(struct rk3368_cru *cru, ulong clk_id, uint hz) in rk3368_spi_set_clk()
|
H A D | clk_rk3328.c | 206 static void rkclk_set_pll(struct rk3328_cru *cru, enum rk_clk_id clk_id, in rkclk_set_pll() 329 static ulong rk3328_i2c_get_clk(struct rk3328_cru *cru, ulong clk_id) in rk3328_i2c_get_clk() 358 static ulong rk3328_i2c_set_clk(struct rk3328_cru *cru, ulong clk_id, uint hz) in rk3328_i2c_set_clk() 440 static ulong rk3328_mmc_get_clk(struct rk3328_cru *cru, uint clk_id) in rk3328_mmc_get_clk() 467 ulong clk_id, ulong set_rate) in rk3328_mmc_set_clk()
|
H A D | clk_rk3036.c | 44 static int rkclk_set_pll(struct rk3036_cru *cru, enum rk_clk_id clk_id, in rkclk_set_pll() 170 enum rk_clk_id clk_id) in rkclk_pll_get_rate()
|
/openbmc/u-boot/drivers/firmware/ |
H A D | ti_sci.c | 790 u32 dev_id, u8 clk_id, in ti_sci_set_clock_state() 845 u32 dev_id, u8 clk_id, in ti_sci_cmd_get_clock_state() 934 u32 dev_id, u8 clk_id) in ti_sci_cmd_idle_clock() 953 u32 dev_id, u8 clk_id) in ti_sci_cmd_put_clock() 971 u32 dev_id, u8 clk_id, bool *req_state) in ti_sci_cmd_clk_is_auto() 1065 u32 dev_id, u8 clk_id, u8 parent_id) in ti_sci_cmd_clk_set_parent() 1118 u32 dev_id, u8 clk_id, u8 *parent_id) in ti_sci_cmd_clk_get_parent() 1172 u32 dev_id, u8 clk_id, in ti_sci_cmd_clk_get_num_parents() 1236 u32 dev_id, u8 clk_id, u64 min_freq, in ti_sci_cmd_clk_get_match_freq() 1302 u32 dev_id, u8 clk_id, u64 min_freq, in ti_sci_cmd_clk_set_freq() [all …]
|
H A D | ti_sci.h | 269 u8 clk_id; member 290 u8 clk_id; member 328 u8 clk_id; member 345 u8 clk_id; member 376 u8 clk_id; member 419 u8 clk_id; member 475 u8 clk_id; member 493 u8 clk_id; member
|
/openbmc/linux/tools/testing/selftests/timens/ |
H A D | timens.h | 64 static inline int _settime(clockid_t clk_id, time_t offset) in _settime() 86 static inline int _gettime(clockid_t clk_id, struct timespec *res, bool raw_syscall) in _gettime()
|
/openbmc/linux/tools/perf/util/ |
H A D | clockid.c | 55 static int get_clockid_res(clockid_t clk_id, u64 *res_ns) in get_clockid_res() 110 const char *clockid_name(clockid_t clk_id) in clockid_name()
|
/openbmc/linux/tools/testing/selftests/vDSO/ |
H A D | vdso_test_abi.c | 63 static void vdso_test_clock_gettime(clockid_t clk_id) in vdso_test_clock_gettime() 108 static void vdso_test_clock_getres(clockid_t clk_id) in vdso_test_clock_getres()
|
/openbmc/linux/sound/soc/qcom/qdsp6/ |
H A D | q6prm.c | 112 static int q6prm_request_lpass_clock(struct device *dev, int clk_id, int clk_attr, int clk_root, in q6prm_request_lpass_clock() 149 static int q6prm_release_lpass_clock(struct device *dev, int clk_id, int clk_attr, int clk_root, in q6prm_release_lpass_clock() 183 int q6prm_set_lpass_clock(struct device *dev, int clk_id, int clk_attr, int clk_root, in q6prm_set_lpass_clock()
|
/openbmc/linux/sound/soc/ti/ |
H A D | omap-dmic.c | 279 static int omap_dmic_select_fclk(struct omap_dmic *dmic, int clk_id, in omap_dmic_select_fclk() 363 static int omap_dmic_select_outclk(struct omap_dmic *dmic, int clk_id, in omap_dmic_select_outclk() 390 static int omap_dmic_set_dai_sysclk(struct snd_soc_dai *dai, int clk_id, in omap_dmic_set_dai_sysclk()
|
/openbmc/linux/drivers/firmware/ |
H A D | ti_sci.c | 943 u32 dev_id, u32 clk_id, in ti_sci_set_clock_state() 1008 u32 dev_id, u32 clk_id, in ti_sci_cmd_get_clock_state() 1084 u32 clk_id, bool needs_ssc, in ti_sci_cmd_get_clock() 1110 u32 dev_id, u32 clk_id) in ti_sci_cmd_idle_clock() 1130 u32 dev_id, u32 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() 1243 u32 dev_id, u32 clk_id, u32 parent_id) in ti_sci_cmd_clk_set_parent() 1380 u32 dev_id, u32 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() 1535 u32 dev_id, u32 clk_id, u64 min_freq, in ti_sci_cmd_clk_set_freq() [all …]
|
/openbmc/linux/sound/soc/codecs/ |
H A D | mc13783.c | 241 int clk_id, unsigned int freq, int dir, in mc13783_set_sysclk() 270 int clk_id, unsigned int freq, int dir) in mc13783_set_sysclk_dac() 276 int clk_id, unsigned int freq, int dir) in mc13783_set_sysclk_codec() 282 int clk_id, unsigned int freq, int dir) in mc13783_set_sysclk_sync()
|
/openbmc/linux/drivers/clk/baikal-t1/ |
H A D | clk-ccu-pll.c | 87 unsigned int clk_id) in ccu_pll_find_desc() 134 unsigned int clk_id; in ccu_pll_of_clk_hw_get() local
|
/openbmc/linux/drivers/clk/keystone/ |
H A D | sci-clk.c | 54 u32 clk_id; member 428 int clk_id = 0; in ti_sci_scan_clocks_from_fw() local 519 int clk_id; in ti_sci_scan_clocks_from_dt() local
|
/openbmc/linux/drivers/clk/tegra/ |
H A D | clk-tegra-audio.c | 35 int clk_id; member 66 int clk_id; member
|
/openbmc/linux/drivers/clk/mmp/ |
H A D | reset.h | 10 unsigned int clk_id; member
|