clk_id 196 arch/nds32/kernel/vdso/gettimeofday.c register clockid_t clk_id asm("$r0") = _clk_id; clk_id 203 arch/nds32/kernel/vdso/gettimeofday.c :"r"(clk_id), "r"(res), "i"(__NR_clock_getres) clk_id 209 arch/nds32/kernel/vdso/gettimeofday.c notrace int __vdso_clock_getres(clockid_t clk_id, struct timespec *res) clk_id 215 arch/nds32/kernel/vdso/gettimeofday.c switch (clk_id) { clk_id 228 arch/nds32/kernel/vdso/gettimeofday.c return clock_getres_fallback(clk_id, res); clk_id 212 drivers/base/regmap/regmap-mmio.c const char *clk_id, clk_id 299 drivers/base/regmap/regmap-mmio.c if (clk_id == NULL) clk_id 302 drivers/base/regmap/regmap-mmio.c ctx->clk = clk_get(dev, clk_id); clk_id 322 drivers/base/regmap/regmap-mmio.c struct regmap *__regmap_init_mmio_clk(struct device *dev, const char *clk_id, clk_id 330 drivers/base/regmap/regmap-mmio.c ctx = regmap_mmio_gen_context(dev, clk_id, regs, config); clk_id 340 drivers/base/regmap/regmap-mmio.c const char *clk_id, clk_id 348 drivers/base/regmap/regmap-mmio.c ctx = regmap_mmio_gen_context(dev, clk_id, regs, config); clk_id 551 drivers/clk/clk-nomadik.c u32 clk_id; clk_id 556 drivers/clk/clk-nomadik.c if (of_property_read_u32(np, "clock-id", &clk_id)) { clk_id 562 drivers/clk/clk-nomadik.c hw = src_clk_register(NULL, clk_name, parent_name, clk_id); clk_id 879 drivers/clk/clk-u300.c u32 clk_id; clk_id 887 drivers/clk/clk-u300.c if (of_property_read_u32(np, "clock-id", &clk_id)) { clk_id 915 drivers/clk/clk-u300.c if (u3clk->type == clk_type && u3clk->id == clk_id) clk_id 931 drivers/clk/clk-u300.c if (clk_type == U300_CLK_TYPE_REST && clk_id == 5) clk_id 933 drivers/clk/clk-u300.c if (clk_type == U300_CLK_TYPE_REST && clk_id == 9) clk_id 935 drivers/clk/clk-u300.c if (clk_type == U300_CLK_TYPE_REST && clk_id == 12) clk_id 61 drivers/clk/keystone/sci-clk.c u32 clk_id; clk_id 84 drivers/clk/keystone/sci-clk.c clk->clk_id, enable_ssc, clk_id 101 drivers/clk/keystone/sci-clk.c clk->clk_id); clk_id 105 drivers/clk/keystone/sci-clk.c clk->dev_id, clk->clk_id, ret); clk_id 122 drivers/clk/keystone/sci-clk.c clk->clk_id, &req_state, clk_id 127 drivers/clk/keystone/sci-clk.c clk->dev_id, clk->clk_id, ret); clk_id 150 drivers/clk/keystone/sci-clk.c clk->clk_id, &freq); clk_id 154 drivers/clk/keystone/sci-clk.c clk->dev_id, clk->clk_id, ret); clk_id 180 drivers/clk/keystone/sci-clk.c clk->clk_id, clk_id 188 drivers/clk/keystone/sci-clk.c clk->dev_id, clk->clk_id, ret); clk_id 212 drivers/clk/keystone/sci-clk.c clk->clk_id, rate, rate, rate); clk_id 228 drivers/clk/keystone/sci-clk.c clk->clk_id, (void *)&parent_id); clk_id 232 drivers/clk/keystone/sci-clk.c clk->dev_id, clk->clk_id, ret); clk_id 236 drivers/clk/keystone/sci-clk.c parent_id = parent_id - clk->clk_id - 1; clk_id 253 drivers/clk/keystone/sci-clk.c clk->clk_id, clk_id 254 drivers/clk/keystone/sci-clk.c index + 1 + clk->clk_id); clk_id 289 drivers/clk/keystone/sci-clk.c sci_clk->clk_id); clk_id 316 drivers/clk/keystone/sci-clk.c sci_clk->clk_id + 1 + i); clk_id 352 drivers/clk/keystone/sci-clk.c if (ca->dev_id == cb->dev_id && ca->clk_id == cb->clk_id) clk_id 355 drivers/clk/keystone/sci-clk.c (ca->dev_id == cb->dev_id && ca->clk_id > cb->clk_id)) clk_id 380 drivers/clk/keystone/sci-clk.c key.clk_id = clkspec->args[1]; clk_id 420 drivers/clk/keystone/sci-clk.c int clk_id = 0; clk_id 428 drivers/clk/keystone/sci-clk.c clk_id, clk_id 432 drivers/clk/keystone/sci-clk.c if (!clk_id) { clk_id 439 drivers/clk/keystone/sci-clk.c clk_id = 0; clk_id 442 drivers/clk/keystone/sci-clk.c clk_id++; clk_id 465 drivers/clk/keystone/sci-clk.c sci_clk->clk_id = clk_id; clk_id 471 drivers/clk/keystone/sci-clk.c clk_id++; clk_id 511 drivers/clk/keystone/sci-clk.c int clk_id; clk_id 547 drivers/clk/keystone/sci-clk.c sci_clk->clk_id = args.args[1]; clk_id 551 drivers/clk/keystone/sci-clk.c sci_clk->clk_id, clk_id 574 drivers/clk/keystone/sci-clk.c sci_clk->clk_id, num_parents); clk_id 578 drivers/clk/keystone/sci-clk.c clk_id = args.args[1] + 1; clk_id 587 drivers/clk/keystone/sci-clk.c sci_clk->clk_id = clk_id++; clk_id 611 drivers/clk/keystone/sci-clk.c prev->clk_id == sci_clk->clk_id) clk_id 292 drivers/clk/mmp/clk-of-mmp2.c cells[i].clk_id = apbc_gate_clks[i].id; clk_id 240 drivers/clk/mmp/clk-of-pxa168.c cells[i].clk_id = apbc_gate_clks[i].id; clk_id 197 drivers/clk/mmp/clk-of-pxa1928.c cells[base + i].clk_id = apbc_gate_clks[i].id; clk_id 249 drivers/clk/mmp/clk-of-pxa910.c cells[base + i].clk_id = apbc_gate_clks[i].id; clk_id 259 drivers/clk/mmp/clk-of-pxa910.c cells[base + i].clk_id = apbcp_gate_clks[i].id; clk_id 24 drivers/clk/mmp/reset.c if (cell->clk_id == reset_spec->args[0]) clk_id 10 drivers/clk/mmp/reset.h unsigned int clk_id; clk_id 165 drivers/clk/nxp/clk-lpc18xx-cgu.c u8 clk_id; clk_id 174 drivers/clk/nxp/clk-lpc18xx-cgu.c .clk_id = CLK_SRC_ ##_id, \ clk_id 200 drivers/clk/nxp/clk-lpc18xx-cgu.c u8 clk_id; clk_id 208 drivers/clk/nxp/clk-lpc18xx-cgu.c .clk_id = BASE_ ##_id ##_CLK, \ clk_id 263 drivers/clk/nxp/clk-lpc18xx-cgu.c u8 clk_id; clk_id 274 drivers/clk/nxp/clk-lpc18xx-cgu.c .clk_id = CLK_SRC_ ##_id, \ clk_id 538 drivers/clk/nxp/clk-lpc18xx-cgu.c const char *name = clk_src_names[clk->clk_id]; clk_id 558 drivers/clk/nxp/clk-lpc18xx-cgu.c const char *name = clk_base_names[clk->clk_id]; clk_id 585 drivers/clk/nxp/clk-lpc18xx-cgu.c const char *name = clk_src_names[clk->clk_id]; clk_id 307 drivers/clk/qcom/clk-rpm.c int ret, clk_id = r->rpm_clk_id; clk_id 313 drivers/clk/qcom/clk-rpm.c ret = qcom_rpm_write(r->rpm, QCOM_RPM_ACTIVE_STATE, clk_id, &value, 1); clk_id 328 drivers/clk/qcom/clk-rpm.c int ret, clk_id = r->rpm_clk_id; clk_id 334 drivers/clk/qcom/clk-rpm.c ret = qcom_rpm_write(r->rpm, QCOM_RPM_ACTIVE_STATE, clk_id, &value, 1); clk_id 35 drivers/clk/tegra/clk-tegra-audio.c int clk_id; clk_id 41 drivers/clk/tegra/clk-tegra-audio.c .clk_id = tegra_clk_ ## _name,\ clk_id 66 drivers/clk/tegra/clk-tegra-audio.c int clk_id; clk_id 77 drivers/clk/tegra/clk-tegra-audio.c .clk_id = tegra_clk_ ## _name ## _2x,\ clk_id 181 drivers/clk/tegra/clk-tegra-audio.c dt_clk = tegra_lookup_dt_id(info->clk_id, tegra_clks); clk_id 207 drivers/clk/tegra/clk-tegra-audio.c dt_clk = tegra_lookup_dt_id(data->clk_id, tegra_clks); clk_id 231 drivers/clk/tegra/clk-tegra-audio.c dt_clk = tegra_lookup_dt_id(data->clk_id, tegra_clks); clk_id 233 drivers/clk/tegra/clk-tegra-periph.c .clk_id = _clk_id, \ clk_id 243 drivers/clk/tegra/clk-tegra-periph.c .clk_id = _clk_id, \ clk_id 843 drivers/clk/tegra/clk-tegra-periph.c int clk_id; clk_id 859 drivers/clk/tegra/clk-tegra-periph.c .clk_id = tegra_clk_ ## _id,\ clk_id 885 drivers/clk/tegra/clk-tegra-periph.c dt_clk = tegra_lookup_dt_id(data->clk_id, tegra_clks); clk_id 911 drivers/clk/tegra/clk-tegra-periph.c dt_clk = tegra_lookup_dt_id(data->clk_id, tegra_clks); clk_id 936 drivers/clk/tegra/clk-tegra-periph.c dt_clk = tegra_lookup_dt_id(data->clk_id, tegra_clks); clk_id 973 drivers/clk/tegra/clk-tegra-periph.c dt_clk = tegra_lookup_dt_id(data->clk_id, tegra_clks); clk_id 1084 drivers/clk/tegra/clk-tegra114.c clks[data->clk_id] = clk; clk_id 876 drivers/clk/tegra/clk-tegra20.c clks[data->clk_id] = clk; clk_id 885 drivers/clk/tegra/clk-tegra20.c clks[data->clk_id] = clk; clk_id 3042 drivers/clk/tegra/clk-tegra210.c clkp = tegra_lookup_dt_id(init->clk_id, tegra210_clks); clk_id 3044 drivers/clk/tegra/clk-tegra210.c pr_warn("clock %u not found\n", init->clk_id); clk_id 3485 drivers/clk/tegra/clk-tegra210.c int clk_id = tegra210_pg_mbist_war[i].clk_init_data[j]; clk_id 3486 drivers/clk/tegra/clk-tegra210.c struct clk *clk = clks[clk_id]; clk_id 3488 drivers/clk/tegra/clk-tegra210.c if (WARN(IS_ERR(clk), "clk_id: %d\n", clk_id)) { clk_id 1070 drivers/clk/tegra/clk-tegra30.c clks[data->clk_id] = clk; clk_id 1079 drivers/clk/tegra/clk-tegra30.c clks[data->clk_id] = clk; clk_id 231 drivers/clk/tegra/clk.c for (; dup_list->clk_id < clk_max; dup_list++) { clk_id 232 drivers/clk/tegra/clk.c clk = clks[dup_list->clk_id]; clk_id 243 drivers/clk/tegra/clk.c for (; tbl->clk_id < clk_max; tbl++) { clk_id 244 drivers/clk/tegra/clk.c clk = clks[tbl->clk_id]; clk_id 247 drivers/clk/tegra/clk.c __func__, PTR_ERR(clk), tbl->clk_id); clk_id 340 drivers/clk/tegra/clk.c struct clk ** __init tegra_lookup_dt_id(int clk_id, clk_id 343 drivers/clk/tegra/clk.c if (tegra_clk[clk_id].present) clk_id 344 drivers/clk/tegra/clk.c return &clks[tegra_clk[clk_id].dt_id]; clk_id 333 drivers/clk/tegra/clk.h int clk_id; clk_id 611 drivers/clk/tegra/clk.h int clk_id; clk_id 631 drivers/clk/tegra/clk.h .clk_id = _clk_id, \ clk_id 732 drivers/clk/tegra/clk.h unsigned int clk_id; clk_id 744 drivers/clk/tegra/clk.h int clk_id; clk_id 750 drivers/clk/tegra/clk.h .clk_id = _clk_id, \ clk_id 780 drivers/clk/tegra/clk.h struct clk **tegra_lookup_dt_id(int clk_id, struct tegra_clk *tegra_clk); clk_id 23 drivers/clk/zynqmp/clk-gate-zynqmp.c u32 clk_id; clk_id 38 drivers/clk/zynqmp/clk-gate-zynqmp.c u32 clk_id = gate->clk_id; clk_id 42 drivers/clk/zynqmp/clk-gate-zynqmp.c ret = eemi_ops->clock_enable(clk_id); clk_id 59 drivers/clk/zynqmp/clk-gate-zynqmp.c u32 clk_id = gate->clk_id; clk_id 63 drivers/clk/zynqmp/clk-gate-zynqmp.c ret = eemi_ops->clock_disable(clk_id); clk_id 80 drivers/clk/zynqmp/clk-gate-zynqmp.c u32 clk_id = gate->clk_id; clk_id 84 drivers/clk/zynqmp/clk-gate-zynqmp.c ret = eemi_ops->clock_getstate(clk_id, &state); clk_id 110 drivers/clk/zynqmp/clk-gate-zynqmp.c struct clk_hw *zynqmp_clk_register_gate(const char *name, u32 clk_id, clk_id 134 drivers/clk/zynqmp/clk-gate-zynqmp.c gate->clk_id = clk_id; clk_id 32 drivers/clk/zynqmp/clk-mux-zynqmp.c u32 clk_id; clk_id 47 drivers/clk/zynqmp/clk-mux-zynqmp.c u32 clk_id = mux->clk_id; clk_id 52 drivers/clk/zynqmp/clk-mux-zynqmp.c ret = eemi_ops->clock_getparent(clk_id, &val); clk_id 72 drivers/clk/zynqmp/clk-mux-zynqmp.c u32 clk_id = mux->clk_id; clk_id 76 drivers/clk/zynqmp/clk-mux-zynqmp.c ret = eemi_ops->clock_setparent(clk_id, index); clk_id 106 drivers/clk/zynqmp/clk-mux-zynqmp.c struct clk_hw *zynqmp_clk_register_mux(const char *name, u32 clk_id, clk_id 130 drivers/clk/zynqmp/clk-mux-zynqmp.c mux->clk_id = clk_id; clk_id 35 drivers/clk/zynqmp/clk-zynqmp.h struct clk_hw *zynqmp_clk_register_pll(const char *name, u32 clk_id, clk_id 40 drivers/clk/zynqmp/clk-zynqmp.h struct clk_hw *zynqmp_clk_register_gate(const char *name, u32 clk_id, clk_id 46 drivers/clk/zynqmp/clk-zynqmp.h u32 clk_id, clk_id 51 drivers/clk/zynqmp/clk-zynqmp.h struct clk_hw *zynqmp_clk_register_mux(const char *name, u32 clk_id, clk_id 57 drivers/clk/zynqmp/clk-zynqmp.h u32 clk_id, clk_id 78 drivers/clk/zynqmp/clkc.c u32 clk_id; clk_id 120 drivers/clk/zynqmp/clkc.c static struct clk_hw *(* const clk_topology[]) (const char *name, u32 clk_id, clk_id 145 drivers/clk/zynqmp/clkc.c static inline int zynqmp_is_valid_clock(u32 clk_id) clk_id 147 drivers/clk/zynqmp/clkc.c if (clk_id >= clock_max_idx) clk_id 150 drivers/clk/zynqmp/clkc.c return clock[clk_id].valid; clk_id 160 drivers/clk/zynqmp/clkc.c static int zynqmp_get_clock_name(u32 clk_id, char *clk_name) clk_id 164 drivers/clk/zynqmp/clkc.c ret = zynqmp_is_valid_clock(clk_id); clk_id 166 drivers/clk/zynqmp/clkc.c strncpy(clk_name, clock[clk_id].clk_name, MAX_NAME_LEN); clk_id 180 drivers/clk/zynqmp/clkc.c static int zynqmp_get_clock_type(u32 clk_id, u32 *type) clk_id 184 drivers/clk/zynqmp/clkc.c ret = zynqmp_is_valid_clock(clk_id); clk_id 186 drivers/clk/zynqmp/clkc.c *type = clock[clk_id].type; clk_id 285 drivers/clk/zynqmp/clkc.c struct clk_hw *zynqmp_clk_register_fixed_factor(const char *name, u32 clk_id, clk_id 297 drivers/clk/zynqmp/clkc.c qdata.arg1 = clk_id; clk_id 414 drivers/clk/zynqmp/clkc.c static int zynqmp_clock_get_topology(u32 clk_id, clk_id 423 drivers/clk/zynqmp/clkc.c ret = zynqmp_pm_clock_get_topology(clock[clk_id].clk_id, j, clk_id 481 drivers/clk/zynqmp/clkc.c static int zynqmp_clock_get_parents(u32 clk_id, struct clock_parent *parents, clk_id 490 drivers/clk/zynqmp/clkc.c ret = zynqmp_pm_clock_get_parents(clock[clk_id].clk_id, j, clk_id 514 drivers/clk/zynqmp/clkc.c static int zynqmp_get_parent_list(struct device_node *np, u32 clk_id, clk_id 518 drivers/clk/zynqmp/clkc.c u32 total_parents = clock[clk_id].num_parents; clk_id 522 drivers/clk/zynqmp/clkc.c clk_nodes = clock[clk_id].node; clk_id 523 drivers/clk/zynqmp/clkc.c parents = clock[clk_id].parent; clk_id 555 drivers/clk/zynqmp/clkc.c static struct clk_hw *zynqmp_register_clk_topology(int clk_id, char *clk_name, clk_id 565 drivers/clk/zynqmp/clkc.c nodes = clock[clk_id].node; clk_id 566 drivers/clk/zynqmp/clkc.c num_nodes = clock[clk_id].num_nodes; clk_id 567 drivers/clk/zynqmp/clkc.c clk_dev_id = clock[clk_id].clk_id; clk_id 673 drivers/clk/zynqmp/clkc.c clock[i].clk_id = FIELD_PREP(CLK_ATTR_NODE_CLASS, class) | clk_id 678 drivers/clk/zynqmp/clkc.c zynqmp_pm_clock_get_name(clock[i].clk_id, &name); clk_id 42 drivers/clk/zynqmp/divider.c u32 clk_id; clk_id 64 drivers/clk/zynqmp/divider.c u32 clk_id = divider->clk_id; clk_id 70 drivers/clk/zynqmp/divider.c ret = eemi_ops->clock_getdivider(clk_id, &div); clk_id 105 drivers/clk/zynqmp/divider.c u32 clk_id = divider->clk_id; clk_id 113 drivers/clk/zynqmp/divider.c ret = eemi_ops->clock_getdivider(clk_id, &bestdiv); clk_id 148 drivers/clk/zynqmp/divider.c u32 clk_id = divider->clk_id; clk_id 163 drivers/clk/zynqmp/divider.c ret = eemi_ops->clock_setdivider(clk_id, div); clk_id 189 drivers/clk/zynqmp/divider.c u32 clk_id, clk_id 215 drivers/clk/zynqmp/divider.c div->clk_id = clk_id; clk_id 20 drivers/clk/zynqmp/pll.c u32 clk_id; clk_id 49 drivers/clk/zynqmp/pll.c u32 clk_id = clk->clk_id; clk_id 55 drivers/clk/zynqmp/pll.c ret = eemi_ops->ioctl(0, IOCTL_GET_PLL_FRAC_MODE, clk_id, 0, clk_id 72 drivers/clk/zynqmp/pll.c u32 clk_id = clk->clk_id; clk_id 83 drivers/clk/zynqmp/pll.c ret = eemi_ops->ioctl(0, IOCTL_SET_PLL_FRAC_MODE, clk_id, mode, NULL); clk_id 136 drivers/clk/zynqmp/pll.c u32 clk_id = clk->clk_id; clk_id 144 drivers/clk/zynqmp/pll.c ret = eemi_ops->clock_getdivider(clk_id, &fbdiv); clk_id 151 drivers/clk/zynqmp/pll.c eemi_ops->ioctl(0, IOCTL_GET_PLL_FRAC_DATA, clk_id, 0, clk_id 175 drivers/clk/zynqmp/pll.c u32 clk_id = clk->clk_id; clk_id 190 drivers/clk/zynqmp/pll.c ret = eemi_ops->clock_setdivider(clk_id, m); clk_id 195 drivers/clk/zynqmp/pll.c eemi_ops->ioctl(0, IOCTL_SET_PLL_FRAC_DATA, clk_id, f, NULL); clk_id 202 drivers/clk/zynqmp/pll.c ret = eemi_ops->clock_setdivider(clk_id, fbdiv); clk_id 220 drivers/clk/zynqmp/pll.c u32 clk_id = clk->clk_id; clk_id 225 drivers/clk/zynqmp/pll.c ret = eemi_ops->clock_getstate(clk_id, &state); clk_id 245 drivers/clk/zynqmp/pll.c u32 clk_id = clk->clk_id; clk_id 252 drivers/clk/zynqmp/pll.c ret = eemi_ops->clock_enable(clk_id); clk_id 268 drivers/clk/zynqmp/pll.c u32 clk_id = clk->clk_id; clk_id 275 drivers/clk/zynqmp/pll.c ret = eemi_ops->clock_disable(clk_id); clk_id 300 drivers/clk/zynqmp/pll.c struct clk_hw *zynqmp_clk_register_pll(const char *name, u32 clk_id, clk_id 321 drivers/clk/zynqmp/pll.c pll->clk_id = clk_id; clk_id 1203 drivers/firewire/core-cdev.c switch (a->clk_id) { clk_id 1225 drivers/firewire/core-cdev.c ct2.clk_id = CLOCK_REALTIME; clk_id 99 drivers/firmware/arm_scmi/clock.c u32 clk_id, struct scmi_clock_info *clk) clk_id 106 drivers/firmware/arm_scmi/clock.c sizeof(clk_id), sizeof(*attr), &t); clk_id 110 drivers/firmware/arm_scmi/clock.c put_unaligned_le32(clk_id, t->tx.buf); clk_id 124 drivers/firmware/arm_scmi/clock.c scmi_clock_describe_rates_get(const struct scmi_handle *handle, u32 clk_id, clk_id 145 drivers/firmware/arm_scmi/clock.c clk_desc->id = cpu_to_le32(clk_id); clk_id 197 drivers/firmware/arm_scmi/clock.c scmi_clock_rate_get(const struct scmi_handle *handle, u32 clk_id, u64 *value) clk_id 207 drivers/firmware/arm_scmi/clock.c put_unaligned_le32(clk_id, t->tx.buf); clk_id 217 drivers/firmware/arm_scmi/clock.c static int scmi_clock_rate_set(const struct scmi_handle *handle, u32 clk_id, clk_id 237 drivers/firmware/arm_scmi/clock.c cfg->id = cpu_to_le32(clk_id); clk_id 254 drivers/firmware/arm_scmi/clock.c scmi_clock_config_set(const struct scmi_handle *handle, u32 clk_id, u32 config) clk_id 266 drivers/firmware/arm_scmi/clock.c cfg->id = cpu_to_le32(clk_id); clk_id 275 drivers/firmware/arm_scmi/clock.c static int scmi_clock_enable(const struct scmi_handle *handle, u32 clk_id) clk_id 277 drivers/firmware/arm_scmi/clock.c return scmi_clock_config_set(handle, clk_id, CLOCK_ENABLE); clk_id 280 drivers/firmware/arm_scmi/clock.c static int scmi_clock_disable(const struct scmi_handle *handle, u32 clk_id) clk_id 282 drivers/firmware/arm_scmi/clock.c return scmi_clock_config_set(handle, clk_id, 0); clk_id 293 drivers/firmware/arm_scmi/clock.c scmi_clock_info_get(const struct scmi_handle *handle, u32 clk_id) clk_id 296 drivers/firmware/arm_scmi/clock.c struct scmi_clock_info *clk = ci->clk + clk_id; clk_id 532 drivers/firmware/arm_scpi.c scpi_clk_get_range(u16 clk_id, unsigned long *min, unsigned long *max) clk_id 536 drivers/firmware/arm_scpi.c __le16 le_clk_id = cpu_to_le16(clk_id); clk_id 547 drivers/firmware/arm_scpi.c static unsigned long scpi_clk_get_val(u16 clk_id) clk_id 551 drivers/firmware/arm_scpi.c __le16 le_clk_id = cpu_to_le16(clk_id); clk_id 559 drivers/firmware/arm_scpi.c static int scpi_clk_set_val(u16 clk_id, unsigned long rate) clk_id 563 drivers/firmware/arm_scpi.c .id = cpu_to_le16(clk_id), clk_id 571 drivers/firmware/arm_scpi.c static int legacy_scpi_clk_set_val(u16 clk_id, unsigned long rate) clk_id 575 drivers/firmware/arm_scpi.c .id = cpu_to_le16(clk_id), clk_id 958 drivers/firmware/ti_sci.c u32 dev_id, u32 clk_id, clk_id 986 drivers/firmware/ti_sci.c if (clk_id < 255) { clk_id 987 drivers/firmware/ti_sci.c req->clk_id = clk_id; clk_id 989 drivers/firmware/ti_sci.c req->clk_id = 255; clk_id 990 drivers/firmware/ti_sci.c req->clk_id_32 = clk_id; clk_id 1023 drivers/firmware/ti_sci.c u32 dev_id, u32 clk_id, clk_id 1054 drivers/firmware/ti_sci.c if (clk_id < 255) { clk_id 1055 drivers/firmware/ti_sci.c req->clk_id = clk_id; clk_id 1057 drivers/firmware/ti_sci.c req->clk_id = 255; clk_id 1058 drivers/firmware/ti_sci.c req->clk_id_32 = clk_id; clk_id 1099 drivers/firmware/ti_sci.c u32 clk_id, bool needs_ssc, clk_id 1108 drivers/firmware/ti_sci.c return ti_sci_set_clock_state(handle, dev_id, clk_id, flags, clk_id 1125 drivers/firmware/ti_sci.c u32 dev_id, u32 clk_id) clk_id 1127 drivers/firmware/ti_sci.c return ti_sci_set_clock_state(handle, dev_id, clk_id, 0, clk_id 1144 drivers/firmware/ti_sci.c u32 dev_id, u32 clk_id) clk_id 1146 drivers/firmware/ti_sci.c return ti_sci_set_clock_state(handle, dev_id, clk_id, 0, clk_id 1162 drivers/firmware/ti_sci.c u32 dev_id, u32 clk_id, bool *req_state) clk_id 1170 drivers/firmware/ti_sci.c ret = ti_sci_cmd_get_clock_state(handle, dev_id, clk_id, &state, NULL); clk_id 1191 drivers/firmware/ti_sci.c u32 clk_id, bool *req_state, bool *curr_state) clk_id 1199 drivers/firmware/ti_sci.c ret = ti_sci_cmd_get_clock_state(handle, dev_id, clk_id, clk_id 1224 drivers/firmware/ti_sci.c u32 clk_id, bool *req_state, bool *curr_state) clk_id 1232 drivers/firmware/ti_sci.c ret = ti_sci_cmd_get_clock_state(handle, dev_id, clk_id, clk_id 1256 drivers/firmware/ti_sci.c u32 dev_id, u32 clk_id, u32 parent_id) clk_id 1283 drivers/firmware/ti_sci.c if (clk_id < 255) { clk_id 1284 drivers/firmware/ti_sci.c req->clk_id = clk_id; clk_id 1286 drivers/firmware/ti_sci.c req->clk_id = 255; clk_id 1287 drivers/firmware/ti_sci.c req->clk_id_32 = clk_id; clk_id 1324 drivers/firmware/ti_sci.c u32 dev_id, u32 clk_id, u32 *parent_id) clk_id 1351 drivers/firmware/ti_sci.c if (clk_id < 255) { clk_id 1352 drivers/firmware/ti_sci.c req->clk_id = clk_id; clk_id 1354 drivers/firmware/ti_sci.c req->clk_id = 255; clk_id 1355 drivers/firmware/ti_sci.c req->clk_id_32 = clk_id; clk_id 1393 drivers/firmware/ti_sci.c u32 dev_id, u32 clk_id, clk_id 1421 drivers/firmware/ti_sci.c if (clk_id < 255) { clk_id 1422 drivers/firmware/ti_sci.c req->clk_id = clk_id; clk_id 1424 drivers/firmware/ti_sci.c req->clk_id = 255; clk_id 1425 drivers/firmware/ti_sci.c req->clk_id_32 = clk_id; clk_id 1471 drivers/firmware/ti_sci.c u32 dev_id, u32 clk_id, u64 min_freq, clk_id 1500 drivers/firmware/ti_sci.c if (clk_id < 255) { clk_id 1501 drivers/firmware/ti_sci.c req->clk_id = clk_id; clk_id 1503 drivers/firmware/ti_sci.c req->clk_id = 255; clk_id 1504 drivers/firmware/ti_sci.c req->clk_id_32 = clk_id; clk_id 1548 drivers/firmware/ti_sci.c u32 dev_id, u32 clk_id, u64 min_freq, clk_id 1576 drivers/firmware/ti_sci.c if (clk_id < 255) { clk_id 1577 drivers/firmware/ti_sci.c req->clk_id = clk_id; clk_id 1579 drivers/firmware/ti_sci.c req->clk_id = 255; clk_id 1580 drivers/firmware/ti_sci.c req->clk_id_32 = clk_id; clk_id 1614 drivers/firmware/ti_sci.c u32 dev_id, u32 clk_id, u64 *freq) clk_id 1641 drivers/firmware/ti_sci.c if (clk_id < 255) { clk_id 1642 drivers/firmware/ti_sci.c req->clk_id = clk_id; clk_id 1644 drivers/firmware/ti_sci.c req->clk_id = 255; clk_id 1645 drivers/firmware/ti_sci.c req->clk_id_32 = clk_id; clk_id 273 drivers/firmware/ti_sci.h u8 clk_id; clk_id 299 drivers/firmware/ti_sci.h u8 clk_id; clk_id 342 drivers/firmware/ti_sci.h u8 clk_id; clk_id 364 drivers/firmware/ti_sci.h u8 clk_id; clk_id 402 drivers/firmware/ti_sci.h u8 clk_id; clk_id 453 drivers/firmware/ti_sci.h u8 clk_id; clk_id 512 drivers/firmware/ti_sci.h u8 clk_id; clk_id 533 drivers/firmware/ti_sci.h u8 clk_id; clk_id 2523 drivers/gpu/drm/amd/include/atomfirmware.h uint8_t clk_id; // atom_smu9_syspll0_clock_id (only valid when command == GET_SMU_CLOCK_INFO_V3_1_GET_CLOCK_FREQ ) clk_id 162 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c int ret = 0, clk_id = 0; clk_id 171 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c clk_id = smu_clk_get_index(smu, clk_type); clk_id 172 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c if (clk_id < 0) clk_id 173 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c return clk_id; clk_id 176 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c param = (uint32_t)((clk_id << 16) | (max & 0xffff)); clk_id 184 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c param = (uint32_t)((clk_id << 16) | (min & 0xffff)); clk_id 198 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c int ret = 0, clk_id = 0; clk_id 207 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c clk_id = smu_clk_get_index(smu, clk_type); clk_id 208 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c if (clk_id < 0) clk_id 209 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c return clk_id; clk_id 212 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c param = (uint32_t)((clk_id << 16) | (max & 0xffff)); clk_id 220 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c param = (uint32_t)((clk_id << 16) | (min & 0xffff)); clk_id 277 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c int ret = 0, clk_id = 0; clk_id 286 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c clk_id = smu_clk_get_index(smu, clk_type); clk_id 287 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c if (clk_id < 0) clk_id 288 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c return clk_id; clk_id 290 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c param = (uint32_t)(((clk_id & 0xffff) << 16) | (level & 0xffff)); clk_id 356 drivers/gpu/drm/amd/powerplay/arcturus_ppt.c PPCLK_e clk_id) clk_id 363 drivers/gpu/drm/amd/powerplay/arcturus_ppt.c (clk_id << 16 | 0xFF)); clk_id 379 drivers/gpu/drm/amd/powerplay/arcturus_ppt.c (clk_id << 16 | i)); clk_id 1099 drivers/gpu/drm/amd/powerplay/arcturus_ppt.c int ret = 0, clk_id = 0; clk_id 1104 drivers/gpu/drm/amd/powerplay/arcturus_ppt.c clk_id = smu_clk_get_index(smu, clk_type); clk_id 1105 drivers/gpu/drm/amd/powerplay/arcturus_ppt.c if (clk_id < 0) clk_id 1112 drivers/gpu/drm/amd/powerplay/arcturus_ppt.c switch (clk_id) { clk_id 1138 drivers/gpu/drm/amd/powerplay/arcturus_ppt.c *value = metrics.CurrClock[clk_id]; clk_id 492 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c uint8_t clk_id, uint8_t syspll_id, clk_id 500 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c parameters.clk_id = clk_id; clk_id 240 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.h uint8_t clk_id, uint8_t syspll_id, clk_id 480 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c PPCLK_e clk_id, uint32_t *num_of_levels) clk_id 486 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c (clk_id << 16 | 0xFF)); clk_id 519 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c struct vega12_single_dpm_table *dpm_table, PPCLK_e clk_id) clk_id 524 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c ret = vega12_get_number_of_dpm_level(hwmgr, clk_id, &num_of_levels); clk_id 532 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c ret = vega12_get_dpm_frequency_by_index(hwmgr, clk_id, i, &clk); clk_id 520 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c PPCLK_e clk_id, uint32_t *num_of_levels) clk_id 526 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c (clk_id << 16 | 0xFF)); clk_id 540 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c PPCLK_e clk_id, uint32_t index, uint32_t *clk) clk_id 546 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c (clk_id << 16 | index)); clk_id 560 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c struct vega20_single_dpm_table *dpm_table, PPCLK_e clk_id) clk_id 565 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c ret = vega20_get_number_of_dpm_level(hwmgr, clk_id, &num_of_levels); clk_id 573 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c ret = vega20_get_dpm_frequency_by_index(hwmgr, clk_id, i, &clk); clk_id 2114 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c PPCLK_e clk_id, uint32_t *clk_freq) clk_id 2121 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c PPSMC_MSG_GetDpmClockFreq, (clk_id << 16))) == 0, clk_id 500 drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h int (*get_current_clk_freq)(struct smu_context *smu, enum smu_clk_type clk_id, uint32_t *value); clk_id 636 drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h #define smu_get_current_clk_freq(smu, clk_id, value) \ clk_id 637 drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h ((smu)->funcs->get_current_clk_freq? (smu)->funcs->get_current_clk_freq((smu), (clk_id), (value)) : 0) clk_id 654 drivers/gpu/drm/amd/powerplay/navi10_ppt.c int ret = 0, clk_id = 0; clk_id 661 drivers/gpu/drm/amd/powerplay/navi10_ppt.c clk_id = smu_clk_get_index(smu, clk_type); clk_id 662 drivers/gpu/drm/amd/powerplay/navi10_ppt.c if (clk_id < 0) clk_id 663 drivers/gpu/drm/amd/powerplay/navi10_ppt.c return clk_id; clk_id 665 drivers/gpu/drm/amd/powerplay/navi10_ppt.c *value = metrics.CurrClock[clk_id]; clk_id 586 drivers/gpu/drm/amd/powerplay/smu_v11_0.c input.clk_id = SMU11_SYSPLL0_SOCCLK_ID; clk_id 600 drivers/gpu/drm/amd/powerplay/smu_v11_0.c input.clk_id = SMU11_SYSPLL0_DCEFCLK_ID; clk_id 614 drivers/gpu/drm/amd/powerplay/smu_v11_0.c input.clk_id = SMU11_SYSPLL0_ECLK_ID; clk_id 628 drivers/gpu/drm/amd/powerplay/smu_v11_0.c input.clk_id = SMU11_SYSPLL0_VCLK_ID; clk_id 642 drivers/gpu/drm/amd/powerplay/smu_v11_0.c input.clk_id = SMU11_SYSPLL0_DCLK_ID; clk_id 658 drivers/gpu/drm/amd/powerplay/smu_v11_0.c input.clk_id = SMU11_SYSPLL1_0_FCLK_ID; clk_id 946 drivers/gpu/drm/amd/powerplay/smu_v11_0.c int clk_id; clk_id 955 drivers/gpu/drm/amd/powerplay/smu_v11_0.c clk_id = smu_clk_get_index(smu, clock_select); clk_id 956 drivers/gpu/drm/amd/powerplay/smu_v11_0.c if (clk_id < 0) clk_id 960 drivers/gpu/drm/amd/powerplay/smu_v11_0.c clk_id << 16); clk_id 975 drivers/gpu/drm/amd/powerplay/smu_v11_0.c clk_id << 16); clk_id 1099 drivers/gpu/drm/amd/powerplay/smu_v11_0.c enum smu_clk_type clk_id, clk_id 1106 drivers/gpu/drm/amd/powerplay/smu_v11_0.c if (clk_id >= SMU_CLK_COUNT || !value) clk_id 1109 drivers/gpu/drm/amd/powerplay/smu_v11_0.c asic_clk_id = smu_clk_get_index(smu, clk_id); clk_id 1115 drivers/gpu/drm/amd/powerplay/smu_v11_0.c ret = smu_get_current_clk_freq_by_table(smu, clk_id, &freq); clk_id 1728 drivers/gpu/drm/amd/powerplay/smu_v11_0.c int ret = 0, clk_id = 0; clk_id 1732 drivers/gpu/drm/amd/powerplay/smu_v11_0.c clk_id = smu_clk_get_index(smu, clk_type); clk_id 1733 drivers/gpu/drm/amd/powerplay/smu_v11_0.c if (clk_id < 0) { clk_id 1737 drivers/gpu/drm/amd/powerplay/smu_v11_0.c param = (clk_id & 0xffff) << 16; clk_id 663 drivers/gpu/drm/amd/powerplay/vega20_ppt.c PPCLK_e clk_id) clk_id 670 drivers/gpu/drm/amd/powerplay/vega20_ppt.c (clk_id << 16 | 0xFF)); clk_id 687 drivers/gpu/drm/amd/powerplay/vega20_ppt.c (clk_id << 16 | i)); clk_id 2551 drivers/gpu/drm/amd/powerplay/vega20_ppt.c PPCLK_e clk_id; clk_id 2563 drivers/gpu/drm/amd/powerplay/vega20_ppt.c clk_id = PPCLK_GFXCLK; clk_id 2570 drivers/gpu/drm/amd/powerplay/vega20_ppt.c clk_id = PPCLK_UCLK; clk_id 2593 drivers/gpu/drm/amd/powerplay/vega20_ppt.c clk_id); clk_id 199 drivers/media/i2c/s5k6aa.c u8 clk_id; clk_id 321 drivers/media/i2c/s5k6aa.c preset->clk_id = 0; clk_id 753 drivers/media/i2c/s5k6aa.c preset->clk_id); clk_id 68 drivers/phy/ti/phy-am654-serdes.c int clk_id; clk_id 331 drivers/phy/ti/phy-am654-serdes.c return serdes_am654_mux_table[val][mux->clk_id]; clk_id 340 drivers/phy/ti/phy-am654-serdes.c int clk_id = mux->clk_id; clk_id 356 drivers/phy/ti/phy-am654-serdes.c parents[clk_id] = index; clk_id 462 drivers/phy/ti/phy-am654-serdes.c mux->clk_id = clock_num; clk_id 473 drivers/rtc/rtc-sh.c int clk_id, ret; clk_id 513 drivers/rtc/rtc-sh.c clk_id = pdev->id; clk_id 515 drivers/rtc/rtc-sh.c if (clk_id < 0) clk_id 516 drivers/rtc/rtc-sh.c clk_id = 0; clk_id 518 drivers/rtc/rtc-sh.c snprintf(clk_name, sizeof(clk_name), "rtc%d", clk_id); clk_id 118 drivers/soc/mediatek/mtk-scpsys.c enum clk_id clk_id[MAX_CLKS]; clk_id 418 drivers/soc/mediatek/mtk-scpsys.c for (j = 0; j < MAX_CLKS && data->clk_id[j]; j++) { clk_id 419 drivers/soc/mediatek/mtk-scpsys.c struct clk *c = clk[data->clk_id[j]]; clk_id 485 drivers/soc/mediatek/mtk-scpsys.c .clk_id = {CLK_NONE}, clk_id 493 drivers/soc/mediatek/mtk-scpsys.c .clk_id = {CLK_MM}, clk_id 503 drivers/soc/mediatek/mtk-scpsys.c .clk_id = {CLK_MFG}, clk_id 512 drivers/soc/mediatek/mtk-scpsys.c .clk_id = {CLK_MM}, clk_id 521 drivers/soc/mediatek/mtk-scpsys.c .clk_id = {CLK_MM}, clk_id 529 drivers/soc/mediatek/mtk-scpsys.c .clk_id = {CLK_NONE}, clk_id 538 drivers/soc/mediatek/mtk-scpsys.c .clk_id = {CLK_ETHIF}, clk_id 547 drivers/soc/mediatek/mtk-scpsys.c .clk_id = {CLK_ETHIF}, clk_id 554 drivers/soc/mediatek/mtk-scpsys.c .clk_id = {CLK_NONE}, clk_id 569 drivers/soc/mediatek/mtk-scpsys.c .clk_id = {CLK_MM}, clk_id 578 drivers/soc/mediatek/mtk-scpsys.c .clk_id = {CLK_MM, CLK_VDEC}, clk_id 587 drivers/soc/mediatek/mtk-scpsys.c .clk_id = {CLK_MM, CLK_VENC, CLK_JPGDEC}, clk_id 596 drivers/soc/mediatek/mtk-scpsys.c .clk_id = {CLK_MM}, clk_id 605 drivers/soc/mediatek/mtk-scpsys.c .clk_id = {CLK_AUDIO}, clk_id 614 drivers/soc/mediatek/mtk-scpsys.c .clk_id = {CLK_NONE}, clk_id 623 drivers/soc/mediatek/mtk-scpsys.c .clk_id = {CLK_NONE}, clk_id 632 drivers/soc/mediatek/mtk-scpsys.c .clk_id = {CLK_MFG}, clk_id 642 drivers/soc/mediatek/mtk-scpsys.c .clk_id = {CLK_NONE}, clk_id 651 drivers/soc/mediatek/mtk-scpsys.c .clk_id = {CLK_NONE}, clk_id 660 drivers/soc/mediatek/mtk-scpsys.c .clk_id = {CLK_NONE}, clk_id 685 drivers/soc/mediatek/mtk-scpsys.c .clk_id = {CLK_VDEC}, clk_id 693 drivers/soc/mediatek/mtk-scpsys.c .clk_id = {CLK_NONE}, clk_id 701 drivers/soc/mediatek/mtk-scpsys.c .clk_id = {CLK_NONE}, clk_id 709 drivers/soc/mediatek/mtk-scpsys.c .clk_id = {CLK_MM}, clk_id 718 drivers/soc/mediatek/mtk-scpsys.c .clk_id = {CLK_NONE}, clk_id 726 drivers/soc/mediatek/mtk-scpsys.c .clk_id = {CLK_MFG}, clk_id 734 drivers/soc/mediatek/mtk-scpsys.c .clk_id = {CLK_NONE}, clk_id 759 drivers/soc/mediatek/mtk-scpsys.c .clk_id = {CLK_NONE}, clk_id 769 drivers/soc/mediatek/mtk-scpsys.c .clk_id = {CLK_HIFSEL}, clk_id 779 drivers/soc/mediatek/mtk-scpsys.c .clk_id = {CLK_HIFSEL}, clk_id 789 drivers/soc/mediatek/mtk-scpsys.c .clk_id = {CLK_NONE}, clk_id 806 drivers/soc/mediatek/mtk-scpsys.c .clk_id = {CLK_NONE}, clk_id 815 drivers/soc/mediatek/mtk-scpsys.c .clk_id = {CLK_ETHIF}, clk_id 824 drivers/soc/mediatek/mtk-scpsys.c .clk_id = {CLK_ETHIF}, clk_id 831 drivers/soc/mediatek/mtk-scpsys.c .clk_id = {CLK_NONE}, clk_id 847 drivers/soc/mediatek/mtk-scpsys.c .clk_id = {CLK_MM}, clk_id 855 drivers/soc/mediatek/mtk-scpsys.c .clk_id = {CLK_MM, CLK_VENC}, clk_id 863 drivers/soc/mediatek/mtk-scpsys.c .clk_id = {CLK_MM}, clk_id 871 drivers/soc/mediatek/mtk-scpsys.c .clk_id = {CLK_MM}, clk_id 881 drivers/soc/mediatek/mtk-scpsys.c .clk_id = {CLK_MM, CLK_VENC_LT}, clk_id 889 drivers/soc/mediatek/mtk-scpsys.c .clk_id = {CLK_NONE}, clk_id 897 drivers/soc/mediatek/mtk-scpsys.c .clk_id = {CLK_NONE}, clk_id 906 drivers/soc/mediatek/mtk-scpsys.c .clk_id = {CLK_MFG}, clk_id 914 drivers/soc/mediatek/mtk-scpsys.c .clk_id = {CLK_NONE}, clk_id 922 drivers/soc/mediatek/mtk-scpsys.c .clk_id = {CLK_NONE}, clk_id 563 include/linux/regmap.h struct regmap *__regmap_init_mmio_clk(struct device *dev, const char *clk_id, clk_id 608 include/linux/regmap.h const char *clk_id, clk_id 771 include/linux/regmap.h #define regmap_init_mmio_clk(dev, clk_id, regs, config) \ clk_id 773 include/linux/regmap.h dev, clk_id, regs, config) clk_id 928 include/linux/regmap.h #define devm_regmap_init_mmio_clk(dev, clk_id, regs, config) \ clk_id 930 include/linux/regmap.h dev, clk_id, regs, config) clk_id 70 include/linux/scmi_protocol.h (const struct scmi_handle *handle, u32 clk_id); clk_id 71 include/linux/scmi_protocol.h int (*rate_get)(const struct scmi_handle *handle, u32 clk_id, clk_id 73 include/linux/scmi_protocol.h int (*rate_set)(const struct scmi_handle *handle, u32 clk_id, clk_id 75 include/linux/scmi_protocol.h int (*enable)(const struct scmi_handle *handle, u32 clk_id); clk_id 76 include/linux/scmi_protocol.h int (*disable)(const struct scmi_handle *handle, u32 clk_id); clk_id 59 include/sound/soc-component.h int clk_id, int source, unsigned int freq, int dir); clk_id 276 include/sound/soc-component.h int clk_id, int source, clk_id 114 include/sound/soc-dai.h int snd_soc_dai_set_sysclk(struct snd_soc_dai *dai, int clk_id, clk_id 179 include/sound/soc-dai.h int clk_id, unsigned int freq, int dir); clk_id 926 include/uapi/linux/firewire-cdev.h __s32 clk_id; clk_id 10823 kernel/events/core.c static int perf_event_set_clock(struct perf_event *event, clockid_t clk_id) clk_id 10827 kernel/events/core.c switch (clk_id) { clk_id 292 sound/soc/atmel/mchp-i2s-mcc.c int clk_id, unsigned int freq, int dir) clk_id 297 sound/soc/atmel/mchp-i2s-mcc.c __func__, clk_id, freq, dir); clk_id 716 sound/soc/bcm/cygnus-ssp.c int clk_id, unsigned int freq, int dir) clk_id 355 sound/soc/cirrus/ep93xx-i2s.c static int ep93xx_i2s_set_sysclk(struct snd_soc_dai *cpu_dai, int clk_id, clk_id 360 sound/soc/cirrus/ep93xx-i2s.c if (dir == SND_SOC_CLOCK_IN || clk_id != 0) clk_id 1002 sound/soc/codecs/88pm860x-codec.c int clk_id, unsigned int freq, int dir) clk_id 282 sound/soc/codecs/ad193x.c int clk_id, unsigned int freq, int dir) clk_id 288 sound/soc/codecs/ad193x.c if (clk_id == AD193X_SYSCLK_MCLK) { clk_id 1158 sound/soc/codecs/adau1373.c int clk_id, unsigned int freq, int dir) clk_id 1163 sound/soc/codecs/adau1373.c switch (clk_id) { clk_id 1172 sound/soc/codecs/adau1373.c adau1373_dai->clk_src = clk_id; clk_id 1175 sound/soc/codecs/adau1373.c ADAU1373_BCLKDIV_SOURCE, clk_id << 5); clk_id 593 sound/soc/codecs/adau1701.c static int adau1701_set_sysclk(struct snd_soc_component *component, int clk_id, clk_id 599 sound/soc/codecs/adau1701.c switch (clk_id) { clk_id 374 sound/soc/codecs/adau17x1.c int clk_id, unsigned int freq, int dir) clk_id 381 sound/soc/codecs/adau17x1.c switch (clk_id) { clk_id 420 sound/soc/codecs/adau17x1.c adau->clk_src = clk_id; clk_id 793 sound/soc/codecs/adau1977.c int clk_id, int source, unsigned int freq, int dir) clk_id 803 sound/soc/codecs/adau1977.c if (clk_id != ADAU1977_SYSCLK) clk_id 537 sound/soc/codecs/adav80x.c int clk_id, int source, clk_id 544 sound/soc/codecs/adav80x.c switch (clk_id) { clk_id 557 sound/soc/codecs/adav80x.c if (adav80x->clk_src != clk_id) { clk_id 560 sound/soc/codecs/adav80x.c adav80x->clk_src = clk_id; clk_id 561 sound/soc/codecs/adav80x.c if (clk_id == ADAV80X_CLK_XTAL) clk_id 562 sound/soc/codecs/adav80x.c clk_id = ADAV80X_CLK_XIN; clk_id 564 sound/soc/codecs/adav80x.c iclk_ctrl1 = ADAV80X_ICLK_CTRL1_DAC_SRC(clk_id) | clk_id 565 sound/soc/codecs/adav80x.c ADAV80X_ICLK_CTRL1_ADC_SRC(clk_id) | clk_id 566 sound/soc/codecs/adav80x.c ADAV80X_ICLK_CTRL1_ICLK2_SRC(clk_id); clk_id 567 sound/soc/codecs/adav80x.c iclk_ctrl2 = ADAV80X_ICLK_CTRL2_ICLK1_SRC(clk_id); clk_id 579 sound/soc/codecs/adav80x.c switch (clk_id) { clk_id 588 sound/soc/codecs/adav80x.c clk_id -= ADAV80X_CLK_SYSCLK1; clk_id 589 sound/soc/codecs/adav80x.c mask = ADAV80X_PLL_OUTE_SYSCLKPD(clk_id); clk_id 594 sound/soc/codecs/adav80x.c adav80x->sysclk_pd[clk_id] = true; clk_id 598 sound/soc/codecs/adav80x.c adav80x->sysclk_pd[clk_id] = false; clk_id 249 sound/soc/codecs/ak4535.c int clk_id, unsigned int freq, int dir) clk_id 315 sound/soc/codecs/ak4613.c int clk_id, unsigned int freq, int dir) clk_id 305 sound/soc/codecs/ak4641.c int clk_id, unsigned int freq, int dir) clk_id 336 sound/soc/codecs/ak4642.c int clk_id, unsigned int freq, int dir) clk_id 468 sound/soc/codecs/ak4671.c static int ak4671_set_dai_sysclk(struct snd_soc_dai *dai, int clk_id, clk_id 618 sound/soc/codecs/alc5623.c int clk_id, unsigned int freq, int dir) clk_id 791 sound/soc/codecs/alc5632.c int clk_id, unsigned int freq, int dir) clk_id 1364 sound/soc/codecs/arizona.c int arizona_set_sysclk(struct snd_soc_component *component, int clk_id, clk_id 1375 sound/soc/codecs/arizona.c switch (clk_id) { clk_id 1389 sound/soc/codecs/arizona.c return arizona_set_opclk(component, clk_id, freq); clk_id 1897 sound/soc/codecs/arizona.c static const char *arizona_dai_clk_str(int clk_id) clk_id 1899 sound/soc/codecs/arizona.c switch (clk_id) { clk_id 1910 sound/soc/codecs/arizona.c int clk_id, unsigned int freq, int dir) clk_id 1918 sound/soc/codecs/arizona.c switch (clk_id) { clk_id 1926 sound/soc/codecs/arizona.c if (clk_id == dai_priv->clk) clk_id 1936 sound/soc/codecs/arizona.c arizona_dai_clk_str(clk_id)); clk_id 1946 sound/soc/codecs/arizona.c routes[0].source = arizona_dai_clk_str(clk_id); clk_id 1947 sound/soc/codecs/arizona.c routes[1].source = arizona_dai_clk_str(clk_id); clk_id 1950 sound/soc/codecs/arizona.c dai_priv->clk = clk_id; clk_id 273 sound/soc/codecs/arizona.h int arizona_set_sysclk(struct snd_soc_component *component, int clk_id, int source, clk_id 950 sound/soc/codecs/cpcap.c int clk_id, int freq) clk_id 977 sound/soc/codecs/cpcap.c if (clk_id < 0 || clk_id > 1) { clk_id 978 sound/soc/codecs/cpcap.c dev_err(cpcap->component->dev, "invalid clk id %d", clk_id); clk_id 982 sound/soc/codecs/cpcap.c clk_id ? BIT(clkidshift) : 0); clk_id 1028 sound/soc/codecs/cpcap.c cpcap->codec_clk_id = clk_id; clk_id 1126 sound/soc/codecs/cpcap.c static int cpcap_hifi_set_dai_sysclk(struct snd_soc_dai *codec_dai, int clk_id, clk_id 1133 sound/soc/codecs/cpcap.c dev_dbg(dev, "HiFi setup sysclk: clk_id=%u, freq=%u", clk_id, freq); clk_id 1134 sound/soc/codecs/cpcap.c return cpcap_set_sysclk(cpcap, CPCAP_DAI_HIFI, clk_id, freq); clk_id 1283 sound/soc/codecs/cpcap.c static int cpcap_voice_set_dai_sysclk(struct snd_soc_dai *codec_dai, int clk_id, clk_id 1290 sound/soc/codecs/cpcap.c clk_id, freq); clk_id 1291 sound/soc/codecs/cpcap.c return cpcap_set_sysclk(cpcap, CPCAP_DAI_VOICE, clk_id, freq); clk_id 50 sound/soc/codecs/cq93vc.c int clk_id, unsigned int freq, int dir) clk_id 202 sound/soc/codecs/cs35l32.c int clk_id, int source, unsigned int freq, int dir) clk_id 638 sound/soc/codecs/cs35l33.c int clk_id, int source, unsigned int freq, int dir) clk_id 601 sound/soc/codecs/cs35l34.c int clk_id, unsigned int freq, int dir) clk_id 652 sound/soc/codecs/cs35l35.c int clk_id, unsigned int freq, int dir) clk_id 712 sound/soc/codecs/cs35l35.c int clk_id, int source, unsigned int freq, clk_id 719 sound/soc/codecs/cs35l35.c switch (clk_id) { clk_id 908 sound/soc/codecs/cs35l36.c static int cs35l36_dai_set_sysclk(struct snd_soc_dai *dai, int clk_id, clk_id 1003 sound/soc/codecs/cs35l36.c int clk_id, int source, unsigned int freq, clk_id 1014 sound/soc/codecs/cs35l36.c switch (clk_id) { clk_id 319 sound/soc/codecs/cs4265.c static int cs4265_set_sysclk(struct snd_soc_dai *codec_dai, int clk_id, clk_id 326 sound/soc/codecs/cs4265.c if (clk_id != 0) { clk_id 327 sound/soc/codecs/cs4265.c dev_err(component->dev, "Invalid clk_id %d\n", clk_id); clk_id 255 sound/soc/codecs/cs4270.c int clk_id, unsigned int freq, int dir) clk_id 198 sound/soc/codecs/cs4271.c int clk_id, unsigned int freq, int dir) clk_id 842 sound/soc/codecs/cs42l42.c int clk_id, unsigned int freq, int dir) clk_id 354 sound/soc/codecs/cs42l51.c int clk_id, unsigned int freq, int dir) clk_id 713 sound/soc/codecs/cs42l52.c int clk_id, unsigned int freq, int dir) clk_id 715 sound/soc/codecs/cs42l56.c int clk_id, unsigned int freq, int dir) clk_id 908 sound/soc/codecs/cs42l73.c int clk_id, unsigned int freq, int dir) clk_id 913 sound/soc/codecs/cs42l73.c switch (clk_id) { clk_id 928 sound/soc/codecs/cs42l73.c priv->mclksel = clk_id; clk_id 204 sound/soc/codecs/cs42xx8.c int clk_id, unsigned int freq, int dir) clk_id 1537 sound/soc/codecs/cs43130.c int clk_id, unsigned int freq, int dir) clk_id 1628 sound/soc/codecs/cs43130.c int clk_id, int source, unsigned int freq, clk_id 1634 sound/soc/codecs/cs43130.c clk_id, source, freq, dir); clk_id 546 sound/soc/codecs/cs53l30.c int clk_id, unsigned int freq, int dir) clk_id 992 sound/soc/codecs/cx2072x.c static int cx2072x_set_dai_sysclk(struct snd_soc_dai *dai, int clk_id, clk_id 943 sound/soc/codecs/da7210.c int clk_id, unsigned int freq, int dir) clk_id 948 sound/soc/codecs/da7210.c switch (clk_id) { clk_id 967 sound/soc/codecs/da7210.c dev_err(codec_dai->dev, "Unknown clock source %d\n", clk_id); clk_id 1338 sound/soc/codecs/da7213.c int clk_id, unsigned int freq, int dir) clk_id 1344 sound/soc/codecs/da7213.c if ((da7213->clk_src == clk_id) && (da7213->mclk_rate == freq)) clk_id 1353 sound/soc/codecs/da7213.c switch (clk_id) { clk_id 1364 sound/soc/codecs/da7213.c dev_err(codec_dai->dev, "Unknown clock source %d\n", clk_id); clk_id 1368 sound/soc/codecs/da7213.c da7213->clk_src = clk_id; clk_id 1810 sound/soc/codecs/da7218.c int clk_id, unsigned int freq, int dir) clk_id 1825 sound/soc/codecs/da7218.c switch (clk_id) { clk_id 1836 sound/soc/codecs/da7218.c dev_err(codec_dai->dev, "Unknown clock source %d\n", clk_id); clk_id 1158 sound/soc/codecs/da7219.c int clk_id, unsigned int freq, int dir) clk_id 1164 sound/soc/codecs/da7219.c if ((da7219->clk_src == clk_id) && (da7219->mclk_rate == freq)) clk_id 1175 sound/soc/codecs/da7219.c switch (clk_id) { clk_id 1186 sound/soc/codecs/da7219.c dev_err(codec_dai->dev, "Unknown clock source %d\n", clk_id); clk_id 1191 sound/soc/codecs/da7219.c da7219->clk_src = clk_id; clk_id 1180 sound/soc/codecs/da732x.c static int da732x_set_dai_sysclk(struct snd_soc_dai *dai, int clk_id, clk_id 1237 sound/soc/codecs/da9055.c int clk_id, unsigned int freq, int dir) clk_id 1242 sound/soc/codecs/da9055.c switch (clk_id) { clk_id 1263 sound/soc/codecs/da9055.c dev_err(codec_dai->dev, "Unknown clock source %d\n", clk_id); clk_id 78 sound/soc/codecs/es7134.c static int es7134_set_sysclk(struct snd_soc_dai *dai, int clk_id, clk_id 83 sound/soc/codecs/es7134.c if (dir == SND_SOC_CLOCK_IN && clk_id == 0) { clk_id 112 sound/soc/codecs/es7241.c static int es7241_set_sysclk(struct snd_soc_dai *dai, int clk_id, clk_id 117 sound/soc/codecs/es7241.c if (dir == SND_SOC_CLOCK_IN && clk_id == 0) { clk_id 364 sound/soc/codecs/es8316.c int clk_id, unsigned int freq, int dir) clk_id 552 sound/soc/codecs/es8328.c int clk_id, unsigned int freq, int dir) clk_id 1194 sound/soc/codecs/lm49453.c static int lm49453_set_dai_sysclk(struct snd_soc_dai *dai, int clk_id, clk_id 2635 sound/soc/codecs/madera.c int madera_set_sysclk(struct snd_soc_component *component, int clk_id, clk_id 2647 sound/soc/codecs/madera.c switch (clk_id) { clk_id 2670 sound/soc/codecs/madera.c return madera_set_opclk(component, clk_id, freq); clk_id 3194 sound/soc/codecs/madera.c static int madera_is_syncclk(int clk_id) clk_id 3196 sound/soc/codecs/madera.c switch (clk_id) { clk_id 3210 sound/soc/codecs/madera.c int clk_id, unsigned int freq, int dir) clk_id 3220 sound/soc/codecs/madera.c is_sync = madera_is_syncclk(clk_id); clk_id 3222 sound/soc/codecs/madera.c dev_err(component->dev, "Illegal DAI clock id %d\n", clk_id); clk_id 3253 sound/soc/codecs/madera.c dai_priv->clk = clk_id; clk_id 403 sound/soc/codecs/madera.h int madera_set_sysclk(struct snd_soc_component *component, int clk_id, clk_id 1096 sound/soc/codecs/max98088.c int clk_id, unsigned int freq, int dir) clk_id 1130 sound/soc/codecs/max98088.c dev_dbg(dai->dev, "Clock source is %d at %uHz\n", clk_id, freq); clk_id 1979 sound/soc/codecs/max98090.c int clk_id, unsigned int freq, int dir) clk_id 1122 sound/soc/codecs/max98095.c int clk_id, unsigned int freq, int dir) clk_id 1152 sound/soc/codecs/max98095.c dev_dbg(dai->dev, "Clock source is %d at %uHz\n", clk_id, freq); clk_id 152 sound/soc/codecs/max9850.c int clk_id, unsigned int freq, int dir) clk_id 258 sound/soc/codecs/max9867.c int clk_id, unsigned int freq, int dir) clk_id 461 sound/soc/codecs/max98925.c int clk_id, unsigned int freq, int dir) clk_id 466 sound/soc/codecs/max98925.c switch (clk_id) { clk_id 480 sound/soc/codecs/max98927.c int clk_id, unsigned int freq, int dir) clk_id 242 sound/soc/codecs/mc13783.c int clk_id, unsigned int freq, int dir, clk_id 260 sound/soc/codecs/mc13783.c if (clk_id == MC13783_CLK_CLIB) clk_id 271 sound/soc/codecs/mc13783.c int clk_id, unsigned int freq, int dir) clk_id 273 sound/soc/codecs/mc13783.c return mc13783_set_sysclk(dai, clk_id, freq, dir, MC13783_AUDIO_DAC); clk_id 277 sound/soc/codecs/mc13783.c int clk_id, unsigned int freq, int dir) clk_id 279 sound/soc/codecs/mc13783.c return mc13783_set_sysclk(dai, clk_id, freq, dir, MC13783_AUDIO_CODEC); clk_id 283 sound/soc/codecs/mc13783.c int clk_id, unsigned int freq, int dir) clk_id 287 sound/soc/codecs/mc13783.c ret = mc13783_set_sysclk(dai, clk_id, freq, dir, MC13783_AUDIO_DAC); clk_id 291 sound/soc/codecs/mc13783.c return mc13783_set_sysclk(dai, clk_id, freq, dir, MC13783_AUDIO_CODEC); clk_id 438 sound/soc/codecs/ml26124.c int clk_id, unsigned int freq, int dir) clk_id 443 sound/soc/codecs/ml26124.c switch (clk_id) { clk_id 854 sound/soc/codecs/msm8916-wcd-digital.c int clk_id, int source, clk_id 700 sound/soc/codecs/nau8540.c int clk_id, int source, unsigned int freq, int dir) clk_id 704 sound/soc/codecs/nau8540.c switch (clk_id) { clk_id 721 sound/soc/codecs/nau8540.c dev_err(nau8540->dev, "Invalid clock id (%d)\n", clk_id); clk_id 726 sound/soc/codecs/nau8540.c freq, clk_id); clk_id 480 sound/soc/codecs/nau8810.c int clk_id, unsigned int freq, int dir) clk_id 485 sound/soc/codecs/nau8810.c nau8810->clk_id = clk_id; clk_id 488 sound/soc/codecs/nau8810.c freq, clk_id == NAU8810_SCLK_PLL ? "PLL" : "MCLK"); clk_id 730 sound/soc/codecs/nau8810.c if (nau8810->clk_id == NAU8810_SCLK_MCLK) { clk_id 275 sound/soc/codecs/nau8810.h int clk_id; clk_id 612 sound/soc/codecs/nau8822.c static int nau8822_set_dai_sysclk(struct snd_soc_dai *dai, int clk_id, clk_id 618 sound/soc/codecs/nau8822.c nau8822->div_id = clk_id; clk_id 621 sound/soc/codecs/nau8822.c clk_id == NAU8822_CLK_PLL ? "PLL" : "MCLK"); clk_id 32 sound/soc/codecs/nau8824.c int clk_id, unsigned int freq); clk_id 1391 sound/soc/codecs/nau8824.c int clk_id, unsigned int freq) clk_id 1395 sound/soc/codecs/nau8824.c switch (clk_id) { clk_id 1441 sound/soc/codecs/nau8824.c dev_err(nau8824->dev, "Invalid clock id (%d)\n", clk_id); clk_id 1446 sound/soc/codecs/nau8824.c clk_id); clk_id 1452 sound/soc/codecs/nau8824.c int clk_id, int source, unsigned int freq, int dir) clk_id 1456 sound/soc/codecs/nau8824.c return nau8824_config_sysclk(nau8824, clk_id, freq); clk_id 49 sound/soc/codecs/nau8825.c int clk_id, unsigned int freq); clk_id 2153 sound/soc/codecs/nau8825.c static int nau8825_configure_sysclk(struct nau8825 *nau8825, int clk_id, clk_id 2159 sound/soc/codecs/nau8825.c switch (clk_id) { clk_id 2292 sound/soc/codecs/nau8825.c dev_err(nau8825->dev, "Invalid clock id (%d)\n", clk_id); clk_id 2297 sound/soc/codecs/nau8825.c clk_id); clk_id 2301 sound/soc/codecs/nau8825.c static int nau8825_set_sysclk(struct snd_soc_component *component, int clk_id, clk_id 2306 sound/soc/codecs/nau8825.c return nau8825_configure_sysclk(nau8825, clk_id, freq); clk_id 464 sound/soc/codecs/pcm186x.c static int pcm186x_set_dai_sysclk(struct snd_soc_dai *dai, int clk_id, clk_id 471 sound/soc/codecs/pcm186x.c __func__, clk_id, freq, dir); clk_id 16 sound/soc/codecs/pcm3060.c static int pcm3060_set_sysclk(struct snd_soc_dai *dai, int clk_id, clk_id 29 sound/soc/codecs/pcm3060.c switch (clk_id) { clk_id 43 sound/soc/codecs/pcm3060.c dev_err(comp->dev, "unsupported sysclock id: %d\n", clk_id); clk_id 300 sound/soc/codecs/pcm3168a.c int clk_id, unsigned int freq, int dir) clk_id 1691 sound/soc/codecs/rt1011.c int clk_id, int source, unsigned int freq, int dir) clk_id 1696 sound/soc/codecs/rt1011.c if (freq == rt1011->sysclk && clk_id == rt1011->sysclk_src) clk_id 1703 sound/soc/codecs/rt1011.c switch (clk_id) { clk_id 1719 sound/soc/codecs/rt1011.c dev_err(component->dev, "Invalid clock id (%d)\n", clk_id); clk_id 1725 sound/soc/codecs/rt1011.c rt1011->sysclk_src = clk_id; clk_id 1728 sound/soc/codecs/rt1011.c freq, clk_id); clk_id 756 sound/soc/codecs/rt1305.c int clk_id, int source, unsigned int freq, int dir) clk_id 761 sound/soc/codecs/rt1305.c if (freq == rt1305->sysclk && clk_id == rt1305->sysclk_src) clk_id 764 sound/soc/codecs/rt1305.c switch (clk_id) { clk_id 778 sound/soc/codecs/rt1305.c dev_err(component->dev, "Invalid clock id (%d)\n", clk_id); clk_id 784 sound/soc/codecs/rt1305.c rt1305->sysclk_src = clk_id; clk_id 787 sound/soc/codecs/rt1305.c freq, clk_id); clk_id 578 sound/soc/codecs/rt1308.c int clk_id, int source, unsigned int freq, int dir) clk_id 583 sound/soc/codecs/rt1308.c if (freq == rt1308->sysclk && clk_id == rt1308->sysclk_src) clk_id 586 sound/soc/codecs/rt1308.c switch (clk_id) { clk_id 603 sound/soc/codecs/rt1308.c dev_err(component->dev, "Invalid clock id (%d)\n", clk_id); clk_id 609 sound/soc/codecs/rt1308.c rt1308->sysclk_src = clk_id; clk_id 612 sound/soc/codecs/rt1308.c freq, clk_id); clk_id 43 sound/soc/codecs/rt274.c int clk_id; clk_id 804 sound/soc/codecs/rt274.c int clk_id, unsigned int freq, int dir) clk_id 812 sound/soc/codecs/rt274.c switch (clk_id) { clk_id 838 sound/soc/codecs/rt274.c if (clk_id == RT274_SCLK_S_MCLK) { clk_id 846 sound/soc/codecs/rt274.c if (clk_id == RT274_SCLK_S_MCLK) { clk_id 869 sound/soc/codecs/rt274.c rt274->clk_id = clk_id; clk_id 46 sound/soc/codecs/rt286.c int clk_id; clk_id 338 sound/soc/codecs/rt286.c if (rt286->clk_id == RT286_SCLK_S_MCLK) clk_id 801 sound/soc/codecs/rt286.c int clk_id, unsigned int freq, int dir) clk_id 808 sound/soc/codecs/rt286.c if (RT286_SCLK_S_MCLK == clk_id) { clk_id 824 sound/soc/codecs/rt286.c if (RT286_SCLK_S_MCLK == clk_id) { clk_id 832 sound/soc/codecs/rt286.c if (RT286_SCLK_S_MCLK == clk_id) { clk_id 859 sound/soc/codecs/rt286.c rt286->clk_id = clk_id; clk_id 45 sound/soc/codecs/rt298.c int clk_id; clk_id 364 sound/soc/codecs/rt298.c if (rt298->clk_id == RT298_SCLK_S_MCLK) clk_id 870 sound/soc/codecs/rt298.c int clk_id, unsigned int freq, int dir) clk_id 877 sound/soc/codecs/rt298.c if (RT298_SCLK_S_MCLK == clk_id) { clk_id 891 sound/soc/codecs/rt298.c if (RT298_SCLK_S_MCLK == clk_id) { clk_id 899 sound/soc/codecs/rt298.c if (RT298_SCLK_S_MCLK == clk_id) { clk_id 926 sound/soc/codecs/rt298.c rt298->clk_id = clk_id; clk_id 863 sound/soc/codecs/rt5514.c int clk_id, unsigned int freq, int dir) clk_id 869 sound/soc/codecs/rt5514.c if (freq == rt5514->sysclk && clk_id == rt5514->sysclk_src) clk_id 872 sound/soc/codecs/rt5514.c switch (clk_id) { clk_id 882 sound/soc/codecs/rt5514.c dev_err(component->dev, "Invalid clock id (%d)\n", clk_id); clk_id 890 sound/soc/codecs/rt5514.c rt5514->sysclk_src = clk_id; clk_id 892 sound/soc/codecs/rt5514.c dev_dbg(dai->dev, "Sysclk is %dHz and clock id is %d\n", freq, clk_id); clk_id 1063 sound/soc/codecs/rt5616.c int clk_id, unsigned int freq, int dir) clk_id 1069 sound/soc/codecs/rt5616.c if (freq == rt5616->sysclk && clk_id == rt5616->sysclk_src) clk_id 1072 sound/soc/codecs/rt5616.c switch (clk_id) { clk_id 1080 sound/soc/codecs/rt5616.c dev_err(component->dev, "Invalid clock id (%d)\n", clk_id); clk_id 1087 sound/soc/codecs/rt5616.c rt5616->sysclk_src = clk_id; clk_id 1089 sound/soc/codecs/rt5616.c dev_dbg(dai->dev, "Sysclk is %dHz and clock id is %d\n", freq, clk_id); clk_id 1453 sound/soc/codecs/rt5631.c int clk_id, unsigned int freq, int dir) clk_id 1834 sound/soc/codecs/rt5640.c int clk_id, unsigned int freq, int dir) clk_id 1841 sound/soc/codecs/rt5640.c if (freq == rt5640->sysclk && clk_id == rt5640->sysclk_src) clk_id 1844 sound/soc/codecs/rt5640.c switch (clk_id) { clk_id 1856 sound/soc/codecs/rt5640.c dev_err(component->dev, "Invalid clock id (%d)\n", clk_id); clk_id 1864 sound/soc/codecs/rt5640.c rt5640->sysclk_src = clk_id; clk_id 1866 sound/soc/codecs/rt5640.c dev_dbg(dai->dev, "Sysclk is %dHz and clock id is %d\n", freq, clk_id); clk_id 2879 sound/soc/codecs/rt5645.c int clk_id, unsigned int freq, int dir) clk_id 2885 sound/soc/codecs/rt5645.c if (freq == rt5645->sysclk && clk_id == rt5645->sysclk_src) clk_id 2888 sound/soc/codecs/rt5645.c switch (clk_id) { clk_id 2899 sound/soc/codecs/rt5645.c dev_err(component->dev, "Invalid clock id (%d)\n", clk_id); clk_id 2905 sound/soc/codecs/rt5645.c rt5645->sysclk_src = clk_id; clk_id 2907 sound/soc/codecs/rt5645.c dev_dbg(dai->dev, "Sysclk is %dHz and clock id is %d\n", freq, clk_id); clk_id 1411 sound/soc/codecs/rt5651.c int clk_id, unsigned int freq, int dir) clk_id 1418 sound/soc/codecs/rt5651.c if (freq == rt5651->sysclk && clk_id == rt5651->sysclk_src) clk_id 1421 sound/soc/codecs/rt5651.c switch (clk_id) { clk_id 1433 sound/soc/codecs/rt5651.c dev_err(component->dev, "Invalid clock id (%d)\n", clk_id); clk_id 1441 sound/soc/codecs/rt5651.c rt5651->sysclk_src = clk_id; clk_id 1443 sound/soc/codecs/rt5651.c dev_dbg(dai->dev, "Sysclk is %dHz and clock id is %d\n", freq, clk_id); clk_id 3461 sound/soc/codecs/rt5659.c static int rt5659_set_component_sysclk(struct snd_soc_component *component, int clk_id, clk_id 3467 sound/soc/codecs/rt5659.c if (freq == rt5659->sysclk && clk_id == rt5659->sysclk_src) clk_id 3470 sound/soc/codecs/rt5659.c switch (clk_id) { clk_id 3481 sound/soc/codecs/rt5659.c dev_err(component->dev, "Invalid clock id (%d)\n", clk_id); clk_id 3487 sound/soc/codecs/rt5659.c rt5659->sysclk_src = clk_id; clk_id 3490 sound/soc/codecs/rt5659.c freq, clk_id); clk_id 971 sound/soc/codecs/rt5660.c int clk_id, unsigned int freq, int dir) clk_id 977 sound/soc/codecs/rt5660.c if (freq == rt5660->sysclk && clk_id == rt5660->sysclk_src) clk_id 980 sound/soc/codecs/rt5660.c switch (clk_id) { clk_id 994 sound/soc/codecs/rt5660.c dev_err(component->dev, "Invalid clock id (%d)\n", clk_id); clk_id 1002 sound/soc/codecs/rt5660.c rt5660->sysclk_src = clk_id; clk_id 1004 sound/soc/codecs/rt5660.c dev_dbg(dai->dev, "Sysclk is %dHz and clock id is %d\n", freq, clk_id); clk_id 2857 sound/soc/codecs/rt5663.c static int rt5663_set_dai_sysclk(struct snd_soc_dai *dai, int clk_id, clk_id 2864 sound/soc/codecs/rt5663.c if (freq == rt5663->sysclk && clk_id == rt5663->sysclk_src) clk_id 2867 sound/soc/codecs/rt5663.c switch (clk_id) { clk_id 2878 sound/soc/codecs/rt5663.c dev_err(component->dev, "Invalid clock id (%d)\n", clk_id); clk_id 2884 sound/soc/codecs/rt5663.c rt5663->sysclk_src = clk_id; clk_id 2887 sound/soc/codecs/rt5663.c freq, clk_id); clk_id 4285 sound/soc/codecs/rt5665.c static int rt5665_set_component_sysclk(struct snd_soc_component *component, int clk_id, clk_id 4291 sound/soc/codecs/rt5665.c if (freq == rt5665->sysclk && clk_id == rt5665->sysclk_src) clk_id 4294 sound/soc/codecs/rt5665.c switch (clk_id) { clk_id 4308 sound/soc/codecs/rt5665.c dev_err(component->dev, "Invalid clock id (%d)\n", clk_id); clk_id 4324 sound/soc/codecs/rt5665.c rt5665->sysclk_src = clk_id; clk_id 4326 sound/soc/codecs/rt5665.c dev_dbg(component->dev, "Sysclk is %dHz and clock id is %d\n", freq, clk_id); clk_id 2089 sound/soc/codecs/rt5668.c int clk_id, int source, unsigned int freq, int dir) clk_id 2094 sound/soc/codecs/rt5668.c if (freq == rt5668->sysclk && clk_id == rt5668->sysclk_src) clk_id 2097 sound/soc/codecs/rt5668.c switch (clk_id) { clk_id 2115 sound/soc/codecs/rt5668.c dev_err(component->dev, "Invalid clock id (%d)\n", clk_id); clk_id 2128 sound/soc/codecs/rt5668.c rt5668->sysclk_src = clk_id; clk_id 2131 sound/soc/codecs/rt5668.c freq, clk_id); clk_id 2396 sound/soc/codecs/rt5670.c static int rt5670_set_codec_sysclk(struct snd_soc_component *component, int clk_id, clk_id 2402 sound/soc/codecs/rt5670.c switch (clk_id) { clk_id 2413 sound/soc/codecs/rt5670.c dev_err(component->dev, "Invalid clock id (%d)\n", clk_id); clk_id 2419 sound/soc/codecs/rt5670.c if (clk_id != RT5670_SCLK_S_RCCLK) clk_id 2420 sound/soc/codecs/rt5670.c rt5670->sysclk_src = clk_id; clk_id 2422 sound/soc/codecs/rt5670.c dev_dbg(component->dev, "Sysclk : %dHz clock id : %d\n", freq, clk_id); clk_id 4262 sound/soc/codecs/rt5677.c int clk_id, unsigned int freq, int dir) clk_id 4268 sound/soc/codecs/rt5677.c if (freq == rt5677->sysclk && clk_id == rt5677->sysclk_src) clk_id 4271 sound/soc/codecs/rt5677.c switch (clk_id) { clk_id 4282 sound/soc/codecs/rt5677.c dev_err(component->dev, "Invalid clock id (%d)\n", clk_id); clk_id 4288 sound/soc/codecs/rt5677.c rt5677->sysclk_src = clk_id; clk_id 4290 sound/soc/codecs/rt5677.c dev_dbg(dai->dev, "Sysclk is %dHz and clock id is %d\n", freq, clk_id); clk_id 2167 sound/soc/codecs/rt5682.c int clk_id, int source, unsigned int freq, int dir) clk_id 2172 sound/soc/codecs/rt5682.c if (freq == rt5682->sysclk && clk_id == rt5682->sysclk_src) clk_id 2175 sound/soc/codecs/rt5682.c switch (clk_id) { clk_id 2193 sound/soc/codecs/rt5682.c dev_err(component->dev, "Invalid clock id (%d)\n", clk_id); clk_id 2206 sound/soc/codecs/rt5682.c rt5682->sysclk_src = clk_id; clk_id 2209 sound/soc/codecs/rt5682.c freq, clk_id); clk_id 863 sound/soc/codecs/sgtl5000.c int clk_id, unsigned int freq, int dir) clk_id 868 sound/soc/codecs/sgtl5000.c switch (clk_id) { clk_id 643 sound/soc/codecs/ssm2518.c static int ssm2518_set_sysclk(struct snd_soc_component *component, int clk_id, clk_id 649 sound/soc/codecs/ssm2518.c if (clk_id != SSM2518_SYSCLK) clk_id 356 sound/soc/codecs/ssm2602.c int clk_id, unsigned int freq, int dir) clk_id 362 sound/soc/codecs/ssm2602.c if (clk_id != SSM2602_SYSCLK) clk_id 384 sound/soc/codecs/ssm2602.c switch (clk_id) { clk_id 581 sound/soc/codecs/sta32x.c int clk_id, unsigned int freq, int dir) clk_id 610 sound/soc/codecs/sta350.c int clk_id, unsigned int freq, int dir) clk_id 260 sound/soc/codecs/sti-sas.c static int sti_sas_set_sysclk(struct snd_soc_dai *dai, int clk_id, clk_id 269 sound/soc/codecs/sti-sas.c if (clk_id != 0) clk_id 393 sound/soc/codecs/tas2552.c static int tas2552_set_dai_sysclk(struct snd_soc_dai *dai, int clk_id, clk_id 400 sound/soc/codecs/tas2552.c switch (clk_id) { clk_id 407 sound/soc/codecs/tas2552.c clk_id = TAS2552_PLL_CLKIN_BCLK; clk_id 414 sound/soc/codecs/tas2552.c val = (clk_id << 3) & mask; /* bit 4:5 in the register */ clk_id 416 sound/soc/codecs/tas2552.c tas2552->pll_clk_id = clk_id; clk_id 424 sound/soc/codecs/tas2552.c val = (clk_id >> 1) & mask; /* bit 0:1 in the register */ clk_id 426 sound/soc/codecs/tas2552.c tas2552->pdm_clk_id = clk_id; clk_id 430 sound/soc/codecs/tas2552.c dev_err(component->dev, "Invalid clk id: %d\n", clk_id); clk_id 297 sound/soc/codecs/tas5086.c int clk_id, unsigned int freq, int dir) clk_id 302 sound/soc/codecs/tas5086.c switch (clk_id) { clk_id 472 sound/soc/codecs/tlv320aic23.c int clk_id, unsigned int freq, int dir) clk_id 156 sound/soc/codecs/tlv320aic26.c int clk_id, unsigned int freq, int dir) clk_id 163 sound/soc/codecs/tlv320aic26.c codec_dai, clk_id, freq, dir); clk_id 1085 sound/soc/codecs/tlv320aic31xx.c int clk_id, unsigned int freq, int dir) clk_id 1092 sound/soc/codecs/tlv320aic31xx.c __func__, clk_id, freq, dir); clk_id 1115 sound/soc/codecs/tlv320aic31xx.c clk_id << AIC31XX_PLL_CLKIN_SHIFT); clk_id 569 sound/soc/codecs/tlv320aic32x4.c int clk_id, unsigned int freq, int dir) clk_id 1237 sound/soc/codecs/tlv320aic3x.c int clk_id, unsigned int freq, int dir) clk_id 1244 sound/soc/codecs/tlv320aic3x.c clk_id << PLLCLK_IN_SHIFT); clk_id 1246 sound/soc/codecs/tlv320aic3x.c clk_id << CLKDIV_IN_SHIFT); clk_id 1282 sound/soc/codecs/tlv320dac33.c int clk_id, unsigned int freq, int dir) clk_id 1290 sound/soc/codecs/tlv320dac33.c switch (clk_id) { clk_id 1300 sound/soc/codecs/tlv320dac33.c dev_err(component->dev, "Invalid clock ID (%d)\n", clk_id); clk_id 2639 sound/soc/codecs/tscs454.c int clk_id, unsigned int freq, int dir) clk_id 1807 sound/soc/codecs/twl4030.c static int twl4030_set_dai_sysclk(struct snd_soc_dai *codec_dai, int clk_id, clk_id 2010 sound/soc/codecs/twl4030.c int clk_id, unsigned int freq, int dir) clk_id 933 sound/soc/codecs/twl6040.c int clk_id, unsigned int freq, int dir) clk_id 938 sound/soc/codecs/twl6040.c switch (clk_id) { clk_id 941 sound/soc/codecs/twl6040.c priv->pll = clk_id; clk_id 945 sound/soc/codecs/twl6040.c dev_err(component->dev, "unknown clk_id %d\n", clk_id); clk_id 125 sound/soc/codecs/uda1334.c int clk_id, unsigned int freq, int dir) clk_id 246 sound/soc/codecs/uda134x.c int clk_id, unsigned int freq, int dir) clk_id 252 sound/soc/codecs/uda134x.c clk_id, freq, dir); clk_id 4876 sound/soc/codecs/wcd9335.c int clk_id, int source, clk_id 762 sound/soc/codecs/wm0010.c int clk_id, unsigned int freq, int dir) clk_id 1786 sound/soc/codecs/wm2200.c static int wm2200_set_sysclk(struct snd_soc_component *component, int clk_id, clk_id 1792 sound/soc/codecs/wm2200.c switch (clk_id) { clk_id 1797 sound/soc/codecs/wm2200.c dev_err(component->dev, "Unknown clock %d\n", clk_id); clk_id 1506 sound/soc/codecs/wm5100.c static int wm5100_set_sysclk(struct snd_soc_component *component, int clk_id, clk_id 1513 sound/soc/codecs/wm5100.c switch (clk_id) { clk_id 1543 sound/soc/codecs/wm5100.c wm5100->aif_async[clk_id - 1] = false; clk_id 1546 sound/soc/codecs/wm5100.c wm5100->aif_async[clk_id - 1] = true; clk_id 1579 sound/soc/codecs/wm5100.c dev_err(component->dev, "Unknown clock %d\n", clk_id); clk_id 1639 sound/soc/codecs/wm5100.c if (clk_id == WM5100_CLK_SYSCLK) { clk_id 751 sound/soc/codecs/wm8350.c int clk_id, unsigned int freq, int dir) clk_id 758 sound/soc/codecs/wm8350.c switch (clk_id) { clk_id 771 sound/soc/codecs/wm8350.c snd_soc_component_write(component, WM8350_FLL_CONTROL_4, fll_4 | clk_id); clk_id 845 sound/soc/codecs/wm8400.c int clk_id, unsigned int freq, int dir) clk_id 209 sound/soc/codecs/wm8523.c int clk_id, unsigned int freq, int dir) clk_id 93 sound/soc/codecs/wm8524.c int clk_id, unsigned int freq, int dir) clk_id 750 sound/soc/codecs/wm8580.c static int wm8580_set_sysclk(struct snd_soc_dai *dai, int clk_id, clk_id 773 sound/soc/codecs/wm8580.c switch (clk_id) { clk_id 789 sound/soc/codecs/wm8580.c dev_err(component->dev, "Unknown clock %d\n", clk_id); clk_id 221 sound/soc/codecs/wm8711.c int clk_id, unsigned int freq, int dir) clk_id 382 sound/soc/codecs/wm8731.c int clk_id, unsigned int freq, int dir) clk_id 388 sound/soc/codecs/wm8731.c switch (clk_id) { clk_id 393 sound/soc/codecs/wm8731.c wm8731->sysclk_type = clk_id; clk_id 380 sound/soc/codecs/wm8737.c int clk_id, unsigned int freq, int dir) clk_id 259 sound/soc/codecs/wm8741.c int clk_id, unsigned int freq, int dir) clk_id 500 sound/soc/codecs/wm8750.c int clk_id, unsigned int freq, int dir) clk_id 862 sound/soc/codecs/wm8753.c int clk_id, unsigned int freq, int dir) clk_id 873 sound/soc/codecs/wm8753.c if (clk_id == WM8753_MCLK) { clk_id 876 sound/soc/codecs/wm8753.c } else if (clk_id == WM8753_PCMCLK) { clk_id 485 sound/soc/codecs/wm8770.c int clk_id, unsigned int freq, int dir) clk_id 320 sound/soc/codecs/wm8776.c int clk_id, unsigned int freq, int dir) clk_id 449 sound/soc/codecs/wm8804.c int clk_id, unsigned int freq, int dir) clk_id 455 sound/soc/codecs/wm8804.c switch (clk_id) { clk_id 476 sound/soc/codecs/wm8804.c dev_err(dai->dev, "Unknown clock source: %d\n", clk_id); clk_id 1213 sound/soc/codecs/wm8903.c int clk_id, unsigned int freq, int dir) clk_id 1414 sound/soc/codecs/wm8904.c static int wm8904_set_sysclk(struct snd_soc_dai *dai, int clk_id, clk_id 1420 sound/soc/codecs/wm8904.c switch (clk_id) { clk_id 1422 sound/soc/codecs/wm8904.c priv->sysclk_src = clk_id; clk_id 1427 sound/soc/codecs/wm8904.c priv->sysclk_src = clk_id; clk_id 1434 sound/soc/codecs/wm8904.c dev_dbg(dai->dev, "Clock source is %d at %uHz\n", clk_id, freq); clk_id 615 sound/soc/codecs/wm8940.c int clk_id, unsigned int freq, int dir) clk_id 638 sound/soc/codecs/wm8955.c static int wm8955_set_sysclk(struct snd_soc_dai *dai, int clk_id, clk_id 645 sound/soc/codecs/wm8955.c switch (clk_id) { clk_id 663 sound/soc/codecs/wm8955.c dev_dbg(dai->dev, "Clock source is %d at %uHz\n", clk_id, freq); clk_id 132 sound/soc/codecs/wm8960.c int clk_id; clk_id 755 sound/soc/codecs/wm8960.c if (wm8960->clk_id != WM8960_SYSCLK_MCLK && !wm8960->freq_in) { clk_id 767 sound/soc/codecs/wm8960.c if (wm8960->clk_id == WM8960_SYSCLK_AUTO) { clk_id 778 sound/soc/codecs/wm8960.c if (wm8960->clk_id != WM8960_SYSCLK_PLL) { clk_id 782 sound/soc/codecs/wm8960.c } else if (wm8960->clk_id != WM8960_SYSCLK_AUTO) { clk_id 929 sound/soc/codecs/wm8960.c if (wm8960->clk_id == WM8960_SYSCLK_AUTO && (pm2 & 0x1)) clk_id 1050 sound/soc/codecs/wm8960.c if (wm8960->clk_id == WM8960_SYSCLK_AUTO && (pm2 & 0x1)) clk_id 1282 sound/soc/codecs/wm8960.c static int wm8960_set_dai_sysclk(struct snd_soc_dai *dai, int clk_id, clk_id 1288 sound/soc/codecs/wm8960.c switch (clk_id) { clk_id 1304 sound/soc/codecs/wm8960.c wm8960->clk_id = clk_id; clk_id 592 sound/soc/codecs/wm8961.c static int wm8961_set_sysclk(struct snd_soc_dai *dai, int clk_id, clk_id 2612 sound/soc/codecs/wm8962.c static int wm8962_set_dai_sysclk(struct snd_soc_dai *dai, int clk_id, clk_id 2619 sound/soc/codecs/wm8962.c switch (clk_id) { clk_id 430 sound/soc/codecs/wm8971.c int clk_id, unsigned int freq, int dir) clk_id 442 sound/soc/codecs/wm8974.c static int wm8974_set_dai_sysclk(struct snd_soc_dai *dai, int clk_id, clk_id 607 sound/soc/codecs/wm8978.c static int wm8978_set_dai_sysclk(struct snd_soc_dai *codec_dai, int clk_id, clk_id 614 sound/soc/codecs/wm8978.c dev_dbg(component->dev, "%s: ID %d, freq %u\n", __func__, clk_id, freq); clk_id 626 sound/soc/codecs/wm8978.c wm8978->sysclk = clk_id; clk_id 629 sound/soc/codecs/wm8978.c if (wm8978->sysclk == WM8978_PLL && (!freq || clk_id == WM8978_MCLK)) { clk_id 824 sound/soc/codecs/wm8983.c int clk_id, unsigned int freq, int dir) clk_id 829 sound/soc/codecs/wm8983.c switch (clk_id) { clk_id 839 sound/soc/codecs/wm8983.c dev_err(dai->dev, "Unknown clock source: %d\n", clk_id); clk_id 919 sound/soc/codecs/wm8985.c int clk_id, unsigned int freq, int dir) clk_id 927 sound/soc/codecs/wm8985.c switch (clk_id) { clk_id 939 sound/soc/codecs/wm8985.c dev_err(dai->dev, "Unknown clock source %d\n", clk_id); clk_id 553 sound/soc/codecs/wm8988.c int clk_id, unsigned int freq, int dir) clk_id 964 sound/soc/codecs/wm8990.c int clk_id, unsigned int freq, int dir) clk_id 1068 sound/soc/codecs/wm8993.c int clk_id, unsigned int freq, int dir) clk_id 1073 sound/soc/codecs/wm8993.c switch (clk_id) { clk_id 1078 sound/soc/codecs/wm8993.c wm8993->sysclk_source = clk_id; clk_id 2376 sound/soc/codecs/wm8994.c int clk_id, unsigned int freq, int dir) clk_id 2392 sound/soc/codecs/wm8994.c switch (clk_id) { clk_id 1906 sound/soc/codecs/wm8995.c int clk_id, unsigned int freq, int dir) clk_id 1923 sound/soc/codecs/wm8995.c switch (clk_id) { clk_id 1946 sound/soc/codecs/wm8995.c dev_err(dai->dev, "Unknown clock source %d\n", clk_id); clk_id 1811 sound/soc/codecs/wm8996.c int clk_id, unsigned int freq, int dir) clk_id 1821 sound/soc/codecs/wm8996.c if (freq == wm8996->sysclk && clk_id == wm8996->sysclk_src) clk_id 1829 sound/soc/codecs/wm8996.c switch (clk_id) { clk_id 1843 sound/soc/codecs/wm8996.c dev_err(component->dev, "Unsupported clock source %d\n", clk_id); clk_id 1885 sound/soc/codecs/wm8996.c wm8996->sysclk_src = clk_id; clk_id 1167 sound/soc/codecs/wm9081.c static int wm9081_set_sysclk(struct snd_soc_component *component, int clk_id, clk_id 1172 sound/soc/codecs/wm9081.c switch (clk_id) { clk_id 1175 sound/soc/codecs/wm9081.c wm9081->sysclk_source = clk_id; clk_id 621 sound/soc/dwc/dwc-i2s.c const char *clk_id; clk_id 656 sound/soc/dwc/dwc-i2s.c clk_id = NULL; clk_id 664 sound/soc/dwc/dwc-i2s.c clk_id = "i2sclk"; clk_id 678 sound/soc/dwc/dwc-i2s.c dev->clk = devm_clk_get(&pdev->dev, clk_id); clk_id 233 sound/soc/fsl/fsl_esai.c static int fsl_esai_set_dai_sysclk(struct snd_soc_dai *dai, int clk_id, clk_id 238 sound/soc/fsl/fsl_esai.c bool tx = (clk_id <= ESAI_HCKT_EXTAL || esai_priv->synchronous); clk_id 264 sound/soc/fsl/fsl_esai.c switch (clk_id) { clk_id 281 sound/soc/fsl/fsl_esai.c clk_id % 2 ? "extal" : "fsys"); clk_id 366 sound/soc/fsl/fsl_micfil.c static int fsl_micfil_set_dai_sysclk(struct snd_soc_dai *dai, int clk_id, clk_id 151 sound/soc/fsl/fsl_sai.c int clk_id, unsigned int freq, int fsl_dir) clk_id 158 sound/soc/fsl/fsl_sai.c switch (clk_id) { clk_id 182 sound/soc/fsl/fsl_sai.c int clk_id, unsigned int freq, int dir) clk_id 189 sound/soc/fsl/fsl_sai.c ret = fsl_sai_set_dai_sysclk_tr(cpu_dai, clk_id, freq, clk_id 196 sound/soc/fsl/fsl_sai.c ret = fsl_sai_set_dai_sysclk_tr(cpu_dai, clk_id, freq, clk_id 157 sound/soc/fsl/imx-ssi.c int clk_id, unsigned int freq, int dir) clk_id 164 sound/soc/fsl/imx-ssi.c switch (clk_id) { clk_id 88 sound/soc/fsl/mpc5200_psc_i2s.c int clk_id, unsigned int freq, int dir) clk_id 142 sound/soc/intel/boards/bytcr_rt5651.c int clk_id, clk_freq, ret; clk_id 146 sound/soc/intel/boards/bytcr_rt5651.c clk_id = RT5651_PLL1_S_BCLK1, clk_id 149 sound/soc/intel/boards/bytcr_rt5651.c clk_id = RT5651_PLL1_S_MCLK; clk_id 155 sound/soc/intel/boards/bytcr_rt5651.c ret = snd_soc_dai_set_pll(codec_dai, 0, clk_id, clk_freq, rate * 512); clk_id 209 sound/soc/intel/boards/sof_rt5682.c int clk_id, clk_freq, pll_out, ret; clk_id 221 sound/soc/intel/boards/sof_rt5682.c clk_id = RT5682_PLL1_S_MCLK; clk_id 227 sound/soc/intel/boards/sof_rt5682.c clk_id = RT5682_PLL1_S_BCLK1; clk_id 233 sound/soc/intel/boards/sof_rt5682.c ret = snd_soc_dai_set_pll(codec_dai, 0, clk_id, clk_freq, pll_out); clk_id 42 sound/soc/intel/skylake/skl-ssp-clk.h u8 clk_id; clk_id 602 sound/soc/intel/skylake/skl.c { .clk_id = SKL_XTAL, .name = "xtal" }, clk_id 603 sound/soc/intel/skylake/skl.c { .clk_id = SKL_CARDINAL, .name = "cardinal", .rate = 24576000 }, clk_id 604 sound/soc/intel/skylake/skl.c { .clk_id = SKL_PLL, .name = "pll", .rate = 96000000 }, clk_id 607 sound/soc/intel/skylake/skl.c struct skl_clk_parent_src *skl_get_parent_clk(u8 clk_id) clk_id 612 sound/soc/intel/skylake/skl.c if (skl_clk_src[i].clk_id == clk_id) clk_id 184 sound/soc/intel/skylake/skl.h struct skl_clk_parent_src *skl_get_parent_clk(u8 clk_id); clk_id 302 sound/soc/jz4740/jz4740-i2s.c static int jz4740_i2s_set_sysclk(struct snd_soc_dai *dai, int clk_id, clk_id 309 sound/soc/jz4740/jz4740-i2s.c switch (clk_id) { clk_id 265 sound/soc/mediatek/mt2701/mt2701-afe-pcm.c static int mt2701_afe_i2s_set_sysclk(struct snd_soc_dai *dai, int clk_id, clk_id 790 sound/soc/mediatek/mt8183/mt8183-dai-i2s.c int clk_id, unsigned int freq, int dir) clk_id 616 sound/soc/mediatek/mt8183/mt8183-dai-tdm.c int clk_id, unsigned int freq, int dir) clk_id 99 sound/soc/meson/axg-tdm-interface.c static int axg_tdm_iface_set_sysclk(struct snd_soc_dai *dai, int clk_id, clk_id 105 sound/soc/meson/axg-tdm-interface.c if (dir == SND_SOC_CLOCK_OUT && clk_id == 0) { clk_id 49 sound/soc/mxs/mxs-saif.c int clk_id, unsigned int freq, int dir) clk_id 53 sound/soc/mxs/mxs-saif.c switch (clk_id) { clk_id 114 sound/soc/pxa/mmp-sspa.c int clk_id, unsigned int freq, int dir) clk_id 119 sound/soc/pxa/mmp-sspa.c switch (clk_id) { clk_id 203 sound/soc/pxa/pxa-ssp.c int clk_id, unsigned int freq, int dir) clk_id 223 sound/soc/pxa/pxa-ssp.c clk_id = PXA_SSP_CLK_EXT; clk_id 228 sound/soc/pxa/pxa-ssp.c cpu_dai->id, clk_id, freq); clk_id 230 sound/soc/pxa/pxa-ssp.c switch (clk_id) { clk_id 148 sound/soc/pxa/pxa2xx-i2s.c int clk_id, unsigned int freq, int dir) clk_id 150 sound/soc/pxa/pxa2xx-i2s.c if (clk_id != PXA2XX_I2S_SYSCLK) clk_id 22 sound/soc/qcom/lpass-cpu.c static int lpass_cpu_daiops_set_sysclk(struct snd_soc_dai *dai, int clk_id, clk_id 417 sound/soc/qcom/qdsp6/q6afe-dai.c int clk_id, unsigned int freq, int dir) clk_id 422 sound/soc/qcom/qdsp6/q6afe-dai.c switch (clk_id) { clk_id 424 sound/soc/qcom/qdsp6/q6afe-dai.c return q6afe_port_set_sysclk(port, clk_id, 0, 5, freq, dir); clk_id 427 sound/soc/qcom/qdsp6/q6afe-dai.c return q6afe_port_set_sysclk(port, clk_id, clk_id 433 sound/soc/qcom/qdsp6/q6afe-dai.c return q6afe_port_set_sysclk(port, clk_id, clk_id 438 sound/soc/qcom/qdsp6/q6afe-dai.c return q6afe_port_set_sysclk(port, clk_id, clk_id 461 sound/soc/qcom/qdsp6/q6afe.c uint32_t clk_id; clk_id 961 sound/soc/qcom/qdsp6/q6afe.c int q6afe_port_set_sysclk(struct q6afe_port *port, int clk_id, clk_id 970 sound/soc/qcom/qdsp6/q6afe.c switch (clk_id) { clk_id 998 sound/soc/qcom/qdsp6/q6afe.c cset.clk_id = clk_id; clk_id 208 sound/soc/qcom/qdsp6/q6afe.h int q6afe_port_set_sysclk(struct q6afe_port *port, int clk_id, clk_id 416 sound/soc/rockchip/rockchip_i2s.c static int rockchip_i2s_set_sysclk(struct snd_soc_dai *cpu_dai, int clk_id, clk_id 497 sound/soc/samsung/i2s.c static int i2s_set_sysclk(struct snd_soc_dai *dai, int clk_id, unsigned int rfs, clk_id 516 sound/soc/samsung/i2s.c switch (clk_id) { clk_id 550 sound/soc/samsung/i2s.c || (clk_id == SAMSUNG_I2S_RCLKSRC_0)) clk_id 551 sound/soc/samsung/i2s.c clk_id = 0; clk_id 553 sound/soc/samsung/i2s.c clk_id = 1; clk_id 557 sound/soc/samsung/i2s.c if ((clk_id && !(mod & rsrc_mask)) || clk_id 558 sound/soc/samsung/i2s.c (!clk_id && (mod & rsrc_mask))) { clk_id 568 sound/soc/samsung/i2s.c if (clk_id) clk_id 589 sound/soc/samsung/i2s.c } else if ((!clk_id && (mod & rsrc_mask)) clk_id 590 sound/soc/samsung/i2s.c || (clk_id && !(mod & rsrc_mask))) { clk_id 600 sound/soc/samsung/i2s.c if (clk_id == 1) clk_id 402 sound/soc/samsung/pcm.c int clk_id, unsigned int freq, int dir) clk_id 408 sound/soc/samsung/pcm.c switch (clk_id) { clk_id 335 sound/soc/samsung/s3c-i2s-v2.c int clk_id, unsigned int freq, int dir) clk_id 343 sound/soc/samsung/s3c-i2s-v2.c switch (clk_id) { clk_id 277 sound/soc/samsung/s3c24xx-i2s.c int clk_id, unsigned int freq, int dir) clk_id 283 sound/soc/samsung/s3c24xx-i2s.c switch (clk_id) { clk_id 114 sound/soc/samsung/spdif.c int clk_id, unsigned int freq, int dir) clk_id 123 sound/soc/samsung/spdif.c if (clk_id == SND_SOC_SPDIF_INT_MCLK) clk_id 625 sound/soc/sh/siu_dai.c static int siu_dai_set_sysclk(struct snd_soc_dai *dai, int clk_id, clk_id 635 sound/soc/sh/siu_dai.c dev_dbg(dai->dev, "%s: using clock %d\n", __func__, clk_id); clk_id 637 sound/soc/sh/siu_dai.c switch (clk_id) { clk_id 208 sound/soc/sh/ssi.c static int ssi_set_sysclk(struct snd_soc_dai *cpu_dai, int clk_id, clk_id 22 sound/soc/soc-component.c int clk_id, int source, unsigned int freq, clk_id 26 sound/soc/soc-component.c return component->driver->set_sysclk(component, clk_id, source, clk_id 21 sound/soc/soc-dai.c int snd_soc_dai_set_sysclk(struct snd_soc_dai *dai, int clk_id, clk_id 25 sound/soc/soc-dai.c return dai->driver->ops->set_sysclk(dai, clk_id, freq, dir); clk_id 27 sound/soc/soc-dai.c return snd_soc_component_set_sysclk(dai->component, clk_id, 0, clk_id 724 sound/soc/sti/uniperif_player.c static int uni_player_set_sysclk(struct snd_soc_dai *dai, int clk_id, clk_id 734 sound/soc/sti/uniperif_player.c if (clk_id != 0) clk_id 112 sound/soc/stm/stm32_adfsdm.c static int stm32_adfsdm_set_sysclk(struct snd_soc_dai *dai, int clk_id, clk_id 405 sound/soc/stm/stm32_i2s.c int clk_id, unsigned int freq, int dir) clk_id 550 sound/soc/stm/stm32_sai_sub.c int clk_id, unsigned int freq, int dir) clk_id 816 sound/soc/sunxi/sun4i-i2s.c static int sun4i_i2s_set_sysclk(struct snd_soc_dai *dai, int clk_id, clk_id 821 sound/soc/sunxi/sun4i-i2s.c if (clk_id != 0) clk_id 661 sound/soc/ti/davinci-mcasp.c static int davinci_mcasp_set_sysclk(struct snd_soc_dai *dai, int clk_id, clk_id 52 sound/soc/ti/omap-abe-twl6040.c int clk_id, freq; clk_id 55 sound/soc/ti/omap-abe-twl6040.c clk_id = twl6040_get_clk_id(codec_dai->component); clk_id 56 sound/soc/ti/omap-abe-twl6040.c if (clk_id == TWL6040_SYSCLK_SEL_HPPLL) clk_id 58 sound/soc/ti/omap-abe-twl6040.c else if (clk_id == TWL6040_SYSCLK_SEL_LPPLL) clk_id 64 sound/soc/ti/omap-abe-twl6040.c ret = snd_soc_dai_set_sysclk(codec_dai, clk_id, freq, clk_id 278 sound/soc/ti/omap-dmic.c static int omap_dmic_select_fclk(struct omap_dmic *dmic, int clk_id, clk_id 297 sound/soc/ti/omap-dmic.c if (dmic->sysclk == clk_id) { clk_id 308 sound/soc/ti/omap-dmic.c switch (clk_id) { clk_id 319 sound/soc/ti/omap-dmic.c dev_err(dmic->dev, "fclk clk_id (%d) not supported\n", clk_id); clk_id 352 sound/soc/ti/omap-dmic.c dmic->sysclk = clk_id; clk_id 362 sound/soc/ti/omap-dmic.c static int omap_dmic_select_outclk(struct omap_dmic *dmic, int clk_id, clk_id 367 sound/soc/ti/omap-dmic.c if (clk_id != OMAP_DMIC_ABE_DMIC_CLK) { clk_id 369 sound/soc/ti/omap-dmic.c clk_id); clk_id 389 sound/soc/ti/omap-dmic.c static int omap_dmic_set_dai_sysclk(struct snd_soc_dai *dai, int clk_id, clk_id 395 sound/soc/ti/omap-dmic.c return omap_dmic_select_fclk(dmic, clk_id, freq); clk_id 397 sound/soc/ti/omap-dmic.c return omap_dmic_select_outclk(dmic, clk_id, freq); clk_id 1211 sound/soc/ti/omap-mcbsp.c int clk_id, unsigned int freq, clk_id 1229 sound/soc/ti/omap-mcbsp.c switch (clk_id) { clk_id 146 sound/soc/uniphier/aio-cpu.c static int uniphier_aio_set_sysclk(struct snd_soc_dai *dai, int clk_id, clk_id 154 sound/soc/uniphier/aio-cpu.c switch (clk_id) { clk_id 190 sound/soc/uniphier/aio-cpu.c dev_err(dev, "Sysclk(%d) is not supported\n", clk_id); clk_id 622 sound/soc/ux500/ux500_msp_dai.c int clk_id, unsigned int freq, int dir) clk_id 627 sound/soc/ux500/ux500_msp_dai.c __func__, dai->id, clk_id, freq); clk_id 629 sound/soc/ux500/ux500_msp_dai.c switch (clk_id) { clk_id 636 sound/soc/ux500/ux500_msp_dai.c __func__, dai->id, clk_id); clk_id 1869 tools/perf/builtin-record.c static int get_clockid_res(clockid_t clk_id, u64 *res_ns) clk_id 1874 tools/perf/builtin-record.c if (!clock_getres(clk_id, &res)) clk_id 732 tools/perf/builtin-trace.c .arg = { [0] = STRARRAY(clk_id, clockid), }, }, clk_id 19 tools/testing/selftests/seccomp/seccomp_benchmark.c unsigned long long timing(clockid_t clk_id, unsigned long long samples) clk_id 26 tools/testing/selftests/seccomp/seccomp_benchmark.c assert(clock_gettime(clk_id, &start) == 0); clk_id 31 tools/testing/selftests/seccomp/seccomp_benchmark.c assert(clock_gettime(clk_id, &finish) == 0);