Searched refs:clocks (Results 1 - 25 of 29) sorted by relevance

12

/drivers/clk/bcm/
H A Dclk-bcm21664.c25 .clocks = CLOCKS("ref_crystal"),
43 .clocks = CLOCKS("bbl_32k",
67 .clocks = CLOCKS("ref_crystal",
79 .clocks = CLOCKS("ref_crystal",
91 .clocks = CLOCKS("ref_crystal",
103 .clocks = CLOCKS("ref_crystal",
114 .clocks = CLOCKS("ref_32k"), /* Verify */
119 .clocks = CLOCKS("ref_32k"), /* Verify */
124 .clocks = CLOCKS("ref_32k"), /* Verify */
129 .clocks
[all...]
H A Dclk-bcm281xx.c27 .clocks = CLOCKS("ref_crystal"),
43 .clocks = CLOCKS("bbl_32k",
52 .clocks = CLOCKS("ref_crystal",
61 .clocks = CLOCKS("var_312m",
85 .clocks = CLOCKS("ref_crystal",
104 .clocks = CLOCKS("ref_crystal",
116 .clocks = CLOCKS("ref_crystal",
128 .clocks = CLOCKS("ref_crystal",
140 .clocks = CLOCKS("ref_crystal",
152 .clocks
[all...]
H A Dclk-kona-setup.c512 * placeholders for non-supported clocks. Keep track of the
537 static u32 *parent_process(const char *clocks[], argument
551 if (!clocks)
558 for (clock = clocks; *clock; clock++)
561 orig_count = (u32)(clock - clocks);
564 /* If all clocks are unsupported, we treat it as no clock */
602 if (clocks[i] != BAD_CLK_NAME) {
603 parent_names[j] = clocks[i];
615 clk_sel_setup(const char **clocks, struct bcm_clk_sel *sel, argument
625 * by the parent clock's position in the "clocks" lis
[all...]
H A Dclk-kona.h85 * CCU policy control for clocks. Clocks can be enabled or disabled
112 * Enabling or disabling clocks with this type of gate is
113 * managed automatically by the hardware. Such clocks can be
115 * of auto-gated clocks can be read from the gate status bit.
210 /* Gate hysteresis for clocks */
320 * Clocks may have multiple "parent" clocks. If there is more than
322 * clocks is currently in use. The selected clock is indicated in a
325 * available parent clocks. Occasionally the reset value of a
329 * We register all known parent clocks with the common clock code
399 const char *clocks[]; /* mus member in struct:peri_clk_data
[all...]
/drivers/clk/
H A Dclk-max-gen.c2 * clk-max-gen.c - Generic clock driver for Maxim PMICs clocks
114 struct clk **clocks; local
119 clocks = devm_kzalloc(dev, sizeof(struct clk *) * num_init, GFP_KERNEL);
120 if (!clocks)
150 clocks[i] = max_gen_clk_register(dev, &max_gen_clks[i]);
151 if (IS_ERR(clocks[i])) {
152 ret = PTR_ERR(clocks[i]);
159 platform_set_drvdata(pdev, clocks);
168 of_data->clks = clocks;
H A Dclkdev.c26 static LIST_HEAD(clocks);
65 rc = of_parse_phandle_with_args(np, "clocks", "#clock-cells", index,
81 * This function parses the clocks and clock-names properties,
94 * For named clocks, first look up the name in the
113 * clocks.
144 list_for_each_entry(p, &clocks, node) {
208 list_add_tail(&cl->node, &clocks);
217 list_add_tail(&cl->node, &clocks);
/drivers/clk/ti/
H A Dclk.c32 * ti_dt_clocks_register - register DT alias clocks during boot
33 * @oclks: list of clocks to register
36 * default, DT clocks are found based on their node name. If any
78 * once all the other clocks have been initialized.
143 * mapping from clocks node to the memory map index. All the clocks
145 * clocks will access their memory maps based on the node layout.
149 struct device_node *clocks; local
151 /* get clocks for this parent */
152 clocks
[all...]
/drivers/staging/media/davinci_vpfe/
H A Dvpfe.h80 /* number of clocks */
82 /* clocks used for vpfe capture */
83 char *clocks[]; member in struct:vpfe_config
H A Dvpfe_mc_capture.c192 * vpfe_disable_clock() - Disable clocks for vpfe capture driver
195 * Disables clocks defined in vpfe configuration. The function
209 v4l2_info(vpfe_dev->pdev->driver, "vpfe capture clocks disabled\n");
213 * vpfe_enable_clock() - Enable clocks for vpfe capture driver
216 * Enables clocks defined in vpfe configuration. The function
235 if (vpfe_cfg->clocks[i] == NULL) {
238 vpfe_cfg->clocks[i]);
243 clk_get(vpfe_dev->pdev, vpfe_cfg->clocks[i]);
247 vpfe_cfg->clocks[i]);
254 vpfe_cfg->clocks[
[all...]
/drivers/staging/iio/trigger/
H A DKconfig13 clocks as IIO triggers.
/drivers/ata/
H A Dpata_atp867x.c156 unsigned char clocks = clk; local
163 clocks++;
165 switch (clocks) {
167 clocks = 1;
175 clocks = 7; /* 12 clk */
179 clocks = 0;
184 return clocks << ATP867X_IO_PIOSPD_ACTIVE_SHIFT;
189 unsigned char clocks = clk; local
191 switch (clocks) {
193 clocks
[all...]
H A Dpata_hpt366.c124 struct hpt_clock *clocks = ap->host->private_data; local
126 while (clocks->xfer_mode) {
127 if (clocks->xfer_mode == speed)
128 return clocks->timing;
129 clocks++;
H A Dpata_hpt3x2n.c44 struct hpt_clock *clocks[3]; member in struct:hpt_chip
69 /* 66MHz DPLL clocks */
98 * that matches the speed provided. For the moment the clocks table
105 struct hpt_clock *clocks = hpt3x2n_clocks; local
107 while (clocks->xfer_speed) {
108 if (clocks->xfer_speed == speed)
109 return clocks->timing;
110 clocks++;
H A Dpata_hpt37x.c38 struct hpt_clock const *clocks[4]; member in struct:hpt_chip
212 struct hpt_clock *clocks = ap->host->private_data; local
214 while (clocks->xfer_speed) {
215 if (clocks->xfer_speed == speed)
216 return clocks->timing;
217 clocks++;
956 pr_warn("BIOS has not set timing clocks\n");
974 if (chip_table->clocks[clock_slot] == NULL || prefer_dpll) {
1023 private_data = (void *)chip_table->clocks[clock_slot];
1027 * about lack of UDMA133 support on lower clocks
[all...]
/drivers/media/platform/exynos4-is/
H A Dfimc-is.c71 if (IS_ERR(is->clocks[i]))
73 clk_put(is->clocks[i]);
74 is->clocks[i] = ERR_PTR(-EINVAL);
83 is->clocks[i] = ERR_PTR(-EINVAL);
86 is->clocks[i] = clk_get(&is->pdev->dev, fimc_is_clocks[i]);
87 if (IS_ERR(is->clocks[i])) {
88 ret = PTR_ERR(is->clocks[i]);
105 ret = clk_set_parent(is->clocks[ISS_CLK_ACLK200],
106 is->clocks[ISS_CLK_ACLK200_DIV]);
110 ret = clk_set_parent(is->clocks[ISS_CLK_ACLK400MCUIS
[all...]
H A Dfimc-is.h239 * @clocks: FIMC-LITE gate clock
265 struct clk *clocks[ISS_CLKS_MAX]; member in struct:fimc_is
/drivers/mfd/
H A Dasic3.c87 struct asic3_clk clocks[ARRAY_SIZE(asic3_clk_init)]; member in struct:asic3
665 /* Turn on external clocks and the OWM clock */
666 asic3_clk_enable(asic, &asic->clocks[ASIC3_CLOCK_EX0]);
667 asic3_clk_enable(asic, &asic->clocks[ASIC3_CLOCK_EX1]);
668 asic3_clk_enable(asic, &asic->clocks[ASIC3_CLOCK_OWM]);
692 asic3_clk_disable(asic, &asic->clocks[ASIC3_CLOCK_OWM]);
693 asic3_clk_disable(asic, &asic->clocks[ASIC3_CLOCK_EX0]);
694 asic3_clk_disable(asic, &asic->clocks[ASIC3_CLOCK_EX1]);
756 asic3_clk_enable(asic, &asic->clocks[ASIC3_CLOCK_EX0]);
760 asic3_clk_enable(asic, &asic->clocks[ASIC3_CLOCK_EX
[all...]
/drivers/gpu/drm/exynos/
H A Dexynos_drm_fimc.c148 * @clocks: fimc clocks.
162 struct clk *clocks[FIMC_CLKS_MAX]; member in struct:fimc_context
1224 clk_prepare_enable(ctx->clocks[FIMC_CLK_GATE]);
1225 clk_prepare_enable(ctx->clocks[FIMC_CLK_WB_A]);
1228 clk_disable_unprepare(ctx->clocks[FIMC_CLK_GATE]);
1229 clk_disable_unprepare(ctx->clocks[FIMC_CLK_WB_A]);
1608 if (IS_ERR(ctx->clocks[i]))
1610 clk_put(ctx->clocks[i]);
1611 ctx->clocks[
[all...]
/drivers/ptp/
H A DKconfig14 synchronize distributed clocks over Ethernet networks. The
21 This driver adds support for PTP clocks as character
56 comment "Enable PHYLIB and NETWORK_PHY_TIMESTAMPING to see the additional clocks."
/drivers/clk/rockchip/
H A Dclk.c320 void __init rockchip_clk_protect_critical(const char *clocks[], int nclocks) argument
324 /* Protect the clocks that needs to stay on */
326 struct clk *clk = __clk_lookup(clocks[i]);
H A Dclk.h369 void rockchip_clk_protect_critical(const char *clocks[], int nclocks);
/drivers/media/i2c/cx25840/
H A Dcx25840-ir.c308 u64 clocks; local
310 clocks = CX25840_IR_REFCLK_FREQ / 1000000 * (u64) ns; /* millicycles */
311 rem = do_div(clocks, 1000); /* /1000 = cycles */
313 clocks++;
314 return clocks;
1092 v4l2_info(sd, "\tExpected carrier (16 clocks): %u Hz\n",
1116 v4l2_info(sd, "\tNext carrier edge window: 16 clocks "
1159 v4l2_info(sd, "\tCarrier (16 clocks): %u Hz\n",
/drivers/media/pci/cx23885/
H A Dcx23888-ir.c316 u64 clocks; local
318 clocks = CX23888_IR_REFCLK_FREQ / 1000000 * (u64) ns; /* millicycles */
319 rem = do_div(clocks, 1000); /* /1000 = cycles */
321 clocks++;
322 return clocks;
994 v4l2_info(sd, "\tExpected carrier (16 clocks): %u Hz\n",
1018 v4l2_info(sd, "\tNext carrier edge window: 16 clocks "
1063 v4l2_info(sd, "\tCarrier (16 clocks): %u Hz\n",
/drivers/gpu/drm/nouveau/core/subdev/clock/
H A Dbase.c537 struct nouveau_clocks *clocks,
554 clk->domains = clocks;
534 nouveau_clock_create_(struct nouveau_object *parent, struct nouveau_object *engine, struct nouveau_oclass *oclass, struct nouveau_clocks *clocks, struct nouveau_pstate *pstates, int nb_pstates, bool allow_reclock, int length, void **object) argument
/drivers/net/hamradio/
H A Ddmascc.c168 int clocks; /* see dmascc_cfg documentation */ member in struct:scc_param
574 priv->param.clocks = TCTRxCP | RCRTxCP;
827 /* Configure clocks */
834 write_scc(priv, R11, priv->param.clocks);
835 if ((priv->type == TYPE_TWIN) && !(priv->param.clocks & TRxCOI)) {

Completed in 413 milliseconds

12