Searched refs:clock_name (Results 1 - 5 of 5) sorted by relevance

/linux-4.4.14/include/linux/
H A Dclock_cooling.h34 * @clock_name: string containing the clock used as cooling mechanism.
37 clock_cooling_register(struct device *dev, const char *clock_name);
49 clock_cooling_register(struct device *dev, const char *clock_name) clock_cooling_register() argument
/linux-4.4.14/drivers/clk/bcm/
H A Dclk-kona-setup.c180 const char *clock_name) bit_posn_valid()
186 field_name, clock_name, bit_posn, limit); bit_posn_valid()
200 const char *clock_name) bitfield_valid()
206 field_name, clock_name); bitfield_valid()
211 field_name, clock_name, shift, width, limit); bitfield_valid()
239 static bool policy_valid(struct bcm_clk_policy *policy, const char *clock_name) policy_valid() argument
241 if (!bit_posn_valid(policy->bit, "policy", clock_name)) policy_valid()
254 const char *clock_name) gate_valid()
256 if (!bit_posn_valid(gate->status_bit, "gate status", clock_name)) gate_valid()
260 if (!bit_posn_valid(gate->en_bit, "gate enable", clock_name)) gate_valid()
266 clock_name)) gate_valid()
276 static bool hyst_valid(struct bcm_clk_hyst *hyst, const char *clock_name) hyst_valid() argument
278 if (!bit_posn_valid(hyst->en_bit, "hysteresis enable", clock_name)) hyst_valid()
281 if (!bit_posn_valid(hyst->val_bit, "hysteresis value", clock_name)) hyst_valid()
292 const char *clock_name) sel_valid()
294 if (!bitfield_valid(sel->shift, sel->width, field_name, clock_name)) sel_valid()
314 __func__, clock_name, max_sel, sel_valid()
320 __func__, clock_name); sel_valid()
336 const char *clock_name) div_valid()
342 field_name, clock_name); div_valid()
348 field_name, clock_name)) div_valid()
354 __func__, field_name, clock_name, div_valid()
393 const char *clock_name) trig_valid()
395 return bit_posn_valid(trig->bit, field_name, clock_name); trig_valid()
179 bit_posn_valid(u32 bit_posn, const char *field_name, const char *clock_name) bit_posn_valid() argument
199 bitfield_valid(u32 shift, u32 width, const char *field_name, const char *clock_name) bitfield_valid() argument
253 gate_valid(struct bcm_clk_gate *gate, const char *field_name, const char *clock_name) gate_valid() argument
291 sel_valid(struct bcm_clk_sel *sel, const char *field_name, const char *clock_name) sel_valid() argument
335 div_valid(struct bcm_clk_div *div, const char *field_name, const char *clock_name) div_valid() argument
392 trig_valid(struct bcm_clk_trig *trig, const char *field_name, const char *clock_name) trig_valid() argument
/linux-4.4.14/drivers/net/can/mscan/
H A Dmpc5xxx_can.c40 u32 (*get_clock)(struct platform_device *ofdev, const char *clock_name,
52 const char *clock_name, int *mscan_clksrc) mpc52xx_can_get_clock()
70 if (clock_name && strcmp(clock_name, "ip") == 0) mpc52xx_can_get_clock()
104 const char *clock_name, int *mscan_clksrc) mpc52xx_can_get_clock()
278 const char *clock_name, int *mscan_clksrc) mpc512x_can_get_clock()
294 const char *clock_name = NULL; mpc5xxx_can_probe() local
326 clock_name = of_get_property(np, "fsl,mscan-clock-source", NULL); mpc5xxx_can_probe()
330 priv->can.clock.freq = data->get_clock(ofdev, clock_name, mpc5xxx_can_probe()
51 mpc52xx_can_get_clock(struct platform_device *ofdev, const char *clock_name, int *mscan_clksrc) mpc52xx_can_get_clock() argument
103 mpc52xx_can_get_clock(struct platform_device *ofdev, const char *clock_name, int *mscan_clksrc) mpc52xx_can_get_clock() argument
277 mpc512x_can_get_clock(struct platform_device *ofdev, const char *clock_name, int *mscan_clksrc) mpc512x_can_get_clock() argument
/linux-4.4.14/drivers/thermal/
H A Dclock_cooling.c404 * @clock_name: string containing the clock used as cooling mechanism.
418 clock_cooling_register(struct device *dev, const char *clock_name) clock_cooling_register() argument
430 ccdev->clk = devm_clk_get(dev, clock_name); clock_cooling_register()
/linux-4.4.14/drivers/ptp/
H A Dptp_sysfs.c31 static DEVICE_ATTR(clock_name, 0444, clock_name_show, NULL);

Completed in 263 milliseconds