Home
last modified time | relevance | path

Searched refs:dpll (Results 1 – 25 of 52) sorted by relevance

123

/linux/drivers/dpll/
H A Ddpll_netlink.c34 dpll_msg_add_dev_handle(struct sk_buff *msg, struct dpll_device *dpll) in dpll_msg_add_dev_handle() argument
36 if (nla_put_u32(msg, DPLL_A_ID, dpll->id)) in dpll_msg_add_dev_handle()
63 if (xa_get_mark(&dpll_device_xa, par_ref->dpll->id, in dpll_pin_available()
69 static bool dpll_device_registered(struct dpll_device *dpll) in dpll_device_registered() argument
71 return dpll_device_ops(dpll); in dpll_device_registered()
80 if (dpll_device_registered(ref->dpll)) in dpll_pin_first_registered_ref()
115 dpll_msg_add_mode(struct sk_buff *msg, struct dpll_device *dpll, in dpll_msg_add_mode() argument
118 const struct dpll_device_ops *ops = dpll_device_ops(dpll); in dpll_msg_add_mode()
122 ret = ops->mode_get(dpll, dpll_priv(dpll), &mode, extack); in dpll_msg_add_mode()
132 dpll_msg_add_mode_supported(struct sk_buff *msg, struct dpll_device *dpll, in dpll_msg_add_mode_supported() argument
[all …]
H A Ddpll_core.c62 void dpll_device_notify(struct dpll_device *dpll, unsigned long action) in dpll_device_notify() argument
65 .dpll = dpll, in dpll_device_notify()
66 .id = dpll->id, in dpll_device_notify()
67 .idx = dpll->device_idx, in dpll_device_notify()
68 .clock_id = dpll->clock_id, in dpll_device_notify()
69 .type = dpll->type, in dpll_device_notify()
91 static void dpll_device_tracker_alloc(struct dpll_device *dpll, in dpll_device_tracker_alloc() argument
95 ref_tracker_alloc(&dpll->refcnt_tracker, tracker, GFP_KERNEL); in dpll_device_tracker_alloc()
99 static void dpll_device_tracker_free(struct dpll_device *dpll, in dpll_device_tracker_free() argument
103 ref_tracker_free(&dpll->refcnt_tracker, tracker); in dpll_device_tracker_free()
[all …]
H A DMakefile6 obj-$(CONFIG_DPLL) += dpll.o
7 dpll-y += dpll_core.o
8 dpll-y += dpll_netlink.o
9 dpll-y += dpll_nl.o
H A Ddpll_core.h83 struct dpll_device *dpll; member
90 void *dpll_priv(struct dpll_device *dpll);
91 void *dpll_pin_on_dpll_priv(struct dpll_device *dpll, struct dpll_pin *pin);
94 const struct dpll_device_ops *dpll_device_ops(struct dpll_device *dpll);
103 void dpll_device_notify(struct dpll_device *dpll, unsigned long action);
/linux/drivers/gpu/drm/gma500/
H A Dpsb_intel_display.c108 u32 dpll = 0, fp = 0, dspcntr, pipeconf; in psb_intel_crtc_mode_set() local
159 dpll = DPLL_VGA_MODE_DIS; in psb_intel_crtc_mode_set()
161 dpll |= DPLLB_MODE_LVDS; in psb_intel_crtc_mode_set()
162 dpll |= DPLL_DVO_HIGH_SPEED; in psb_intel_crtc_mode_set()
164 dpll |= DPLLB_MODE_DAC_SERIAL; in psb_intel_crtc_mode_set()
168 dpll |= DPLL_DVO_HIGH_SPEED; in psb_intel_crtc_mode_set()
169 dpll |= in psb_intel_crtc_mode_set()
174 dpll |= (1 << (clock.p1 - 1)) << 16; in psb_intel_crtc_mode_set()
177 dpll |= DPLL_DAC_SERIAL_P2_CLOCK_DIV_5; in psb_intel_crtc_mode_set()
180 dpll |= DPLLB_LVDS_P2_CLOCK_DIV_7; in psb_intel_crtc_mode_set()
[all …]
H A Dcdv_intel_display.c585 u32 dpll = 0, dspcntr, pipeconf; in cdv_intel_crtc_mode_set() local
666 dpll = DPLL_VGA_MODE_DIS; in cdv_intel_crtc_mode_set()
677 dpll |= DPLL_SYNCLOCK_ENABLE; in cdv_intel_crtc_mode_set()
723 REG_WRITE(map->dpll, dpll | DPLL_VGA_MODE_DIS | DPLL_SYNCLOCK_ENABLE); in cdv_intel_crtc_mode_set()
724 REG_READ(map->dpll); in cdv_intel_crtc_mode_set()
759 dpll |= DPLL_VCO_ENABLE; in cdv_intel_crtc_mode_set()
768 REG_WRITE(map->dpll, in cdv_intel_crtc_mode_set()
769 (REG_READ(map->dpll) & ~DPLL_LOCK) | DPLL_VCO_ENABLE); in cdv_intel_crtc_mode_set()
770 REG_READ(map->dpll); in cdv_intel_crtc_mode_set()
774 if (!(REG_READ(map->dpll) & DPLL_LOCK)) { in cdv_intel_crtc_mode_set()
[all …]
H A Dgma_display.c223 temp = REG_READ(map->dpll); in gma_crtc_dpms()
225 REG_WRITE(map->dpll, temp); in gma_crtc_dpms()
226 REG_READ(map->dpll); in gma_crtc_dpms()
229 REG_WRITE(map->dpll, temp | DPLL_VCO_ENABLE); in gma_crtc_dpms()
230 REG_READ(map->dpll); in gma_crtc_dpms()
233 REG_WRITE(map->dpll, temp | DPLL_VCO_ENABLE); in gma_crtc_dpms()
234 REG_READ(map->dpll); in gma_crtc_dpms()
311 temp = REG_READ(map->dpll); in gma_crtc_dpms()
313 REG_WRITE(map->dpll, temp & ~DPLL_VCO_ENABLE); in gma_crtc_dpms()
314 REG_READ(map->dpll); in gma_crtc_dpms()
[all …]
H A Doaktrail_device.c144 p->dpll = PSB_RVDC32(MRST_DPLL_A); in oaktrail_save_display_registers()
261 PSB_WVDC32(p->dpll, MRST_DPLL_A); in oaktrail_restore_display_registers()
402 .dpll = MRST_DPLL_A,
426 .dpll = DPLL_B,
H A Dpsb_device.c204 .dpll = DPLL_A,
228 .dpll = DPLL_B,
/linux/Documentation/devicetree/bindings/clock/ti/
H A Ddpll.txt16 "ti,omap3-dpll-clock",
17 "ti,omap3-dpll-core-clock",
18 "ti,omap3-dpll-per-clock",
19 "ti,omap3-dpll-per-j-type-clock",
20 "ti,omap4-dpll-clock",
21 "ti,omap4-dpll-x2-clock",
22 "ti,omap4-dpll-core-clock",
23 "ti,omap4-dpll-m4xen-clock",
24 "ti,omap4-dpll-j-type-clock",
25 "ti,omap5-mpu-dpll-clock",
[all …]
/linux/Documentation/driver-api/
H A Ddpll.rst4 The Linux kernel dpll subsystem
22 The main purpose of dpll subsystem is to provide general interface
32 Single dpll device object means single Digital PLL circuit and bunch of
38 Changing the configuration of dpll device is done with `do` request of
52 The number of pins per dpll vary, but usually multiple pins shall be
53 provided for a single dpll device.
73 on hardware capabilities and active dpll device work mode
76 request for a dpll device.
81 - ``DPLL_PIN_STATE_CONNECTED`` - the pin is selected to drive dpll
84 dpll device
[all …]
/linux/drivers/net/ethernet/intel/ice/
H A Dice_dpll.c211 const struct dpll_device *dpll, void *dpll_priv, in ice_dpll_frequency_set() argument
249 const struct dpll_device *dpll, void *dpll_priv, in ice_dpll_input_frequency_set() argument
252 return ice_dpll_frequency_set(pin, pin_priv, dpll, dpll_priv, frequency, in ice_dpll_input_frequency_set()
274 const struct dpll_device *dpll, void *dpll_priv, in ice_dpll_output_frequency_set() argument
277 return ice_dpll_frequency_set(pin, pin_priv, dpll, dpll_priv, frequency, in ice_dpll_output_frequency_set()
300 const struct dpll_device *dpll, void *dpll_priv, in ice_dpll_frequency_get() argument
333 const struct dpll_device *dpll, void *dpll_priv, in ice_dpll_input_frequency_get() argument
336 return ice_dpll_frequency_get(pin, pin_priv, dpll, dpll_priv, frequency, in ice_dpll_input_frequency_get()
358 const struct dpll_device *dpll, void *dpll_priv, in ice_dpll_output_frequency_get() argument
361 return ice_dpll_frequency_get(pin, pin_priv, dpll, dpll_priv, frequency, in ice_dpll_output_frequency_get()
[all …]
/linux/drivers/dpll/zl3073x/
H A Ddpll.c49 struct zl3073x_dpll *dpll; member
110 const struct dpll_device *dpll, void *dpll_priv, in zl3073x_dpll_pin_direction_get() argument
151 const struct dpll_device *dpll, in zl3073x_dpll_input_pin_esync_get() argument
190 const struct dpll_device *dpll, in zl3073x_dpll_input_pin_esync_set() argument
232 struct zl3073x_dpll *zldpll = pin->dpll; in zl3073x_dpll_input_pin_ref_sync_get()
263 struct zl3073x_dpll *zldpll = pin->dpll; in zl3073x_dpll_input_pin_ref_sync_set()
369 const struct dpll_device *dpll, void *dpll_priv, in zl3073x_dpll_input_pin_ffo_get() argument
389 const struct dpll_device *dpll, in zl3073x_dpll_input_pin_measured_freq_get() argument
407 const struct dpll_device *dpll, in zl3073x_dpll_input_pin_frequency_get() argument
426 const struct dpll_device *dpll, in zl3073x_dpll_input_pin_frequency_set() argument
[all …]
/linux/arch/arm/mach-omap1/
H A Dsram.S36 strh r0, [r2] @ set dpll into bypass mode
41 strh r0, [r2] @ write new dpll value
49 lock: ldrh r4, [r2], #0 @ read back dpll value
52 tst r4, #1 << 0 @ dpll rate locked?
/linux/arch/arm/boot/dts/ti/omap/
H A Dam43xx-clocks.dtsi231 compatible = "ti,am3-dpll-core-clock";
237 dpll_core_x2_ck: clock-dpll-core-x2 {
239 compatible = "ti,am3-dpll-x2-clock";
244 dpll_core_m4_ck: clock-dpll-core-m4-8@2d38 {
256 dpll_core_m5_ck: clock-dpll-core-m5-8@2d3c {
268 dpll_core_m6_ck: clock-dpll-core-m6-8@2d40 {
282 compatible = "ti,am3-dpll-clock";
288 dpll_mpu_m2_ck: clock-dpll-mpu-m2-8@2d70 {
311 compatible = "ti,am3-dpll-clock";
317 dpll_ddr_m2_ck: clock-dpll-ddr-m2-8@2db0 {
[all …]
H A Dam33xx-clocks.dtsi191 compatible = "ti,am3-dpll-core-clock";
197 dpll_core_x2_ck: clock-dpll-core-x2 {
199 compatible = "ti,am3-dpll-x2-clock";
204 dpll_core_m4_ck: clock-dpll-core-m4@480 {
214 dpll_core_m5_ck: clock-dpll-core-m5@484 {
224 dpll_core_m6_ck: clock-dpll-core-m6@4d8 {
236 compatible = "ti,am3-dpll-clock";
242 dpll_mpu_m2_ck: clock-dpll-mpu-m2@4a8 {
254 compatible = "ti,am3-dpll-no-gate-clock";
260 dpll_ddr_m2_ck: clock-dpll-ddr-m2@4a0 {
[all …]
H A Domap54xx-clocks.dtsi119 compatible = "ti,omap4-dpll-m4xen-clock";
127 compatible = "ti,omap4-dpll-x2-clock";
201 compatible = "ti,omap4-dpll-core-clock";
209 compatible = "ti,omap4-dpll-x2-clock";
352 compatible = "ti,omap4-dpll-clock";
362 compatible = "ti,omap4-dpll-x2-clock";
402 compatible = "ti,omap5-mpu-dpll-clock";
586 compatible = "ti,omap4-dpll-clock";
594 compatible = "ti,omap4-dpll-x2-clock";
661 compatible = "ti,omap4-dpll-clock";
[all …]
H A Domap44xx-clocks.dtsi154 compatible = "ti,omap4-dpll-m4xen-clock";
162 compatible = "ti,omap4-dpll-x2-clock";
223 compatible = "ti,omap4-dpll-core-clock";
231 compatible = "ti,omap4-dpll-x2-clock";
390 compatible = "ti,omap4-dpll-clock";
400 compatible = "ti,omap4-dpll-x2-clock";
435 compatible = "ti,omap4-dpll-clock";
636 compatible = "ti,omap4-dpll-clock";
654 compatible = "ti,omap4-dpll-x2-clock";
748 compatible = "ti,omap4-dpll-j-type-clock";
/linux/drivers/ata/
H A Dpata_hpt3x2n.c312 int dpll = hpt3x2n_use_dpll(ap, qc->tf.flags & ATA_TFLAG_WRITE); in hpt3x2n_qc_defer() local
319 if ((flags & USE_DPLL) != dpll && alt->qc_active) in hpt3x2n_qc_defer()
328 int dpll = hpt3x2n_use_dpll(ap, qc->tf.flags & ATA_TFLAG_WRITE); in hpt3x2n_qc_issue() local
330 if ((flags & USE_DPLL) != dpll) { in hpt3x2n_qc_issue()
332 flags |= dpll; in hpt3x2n_qc_issue()
335 hpt3x2n_set_clock(ap, dpll ? 0x21 : 0x23); in hpt3x2n_qc_issue()
H A Dpata_hpt37x.c948 int dpll, adjust; in hpt37x_init_one() local
951 dpll = (ppi[0]->udma_mask & 0xC0) ? 3 : 2; in hpt37x_init_one()
953 f_low = (MHz[clock_slot] * 48) / MHz[dpll]; in hpt37x_init_one()
981 if (dpll == 3) in hpt37x_init_one()
987 MHz[clock_slot], MHz[dpll]); in hpt37x_init_one()
/linux/arch/arm64/boot/dts/sprd/
H A Dsharkl3.dtsi123 dpll: dpll@0 { label
124 compatible = "sprd,sc9863a-dpll";
/linux/drivers/clk/ti/
H A DMakefile5 clk-common = dpll.o composite.o divider.o gate.o \
/linux/arch/arm/mach-omap2/
H A Dsram242x.S254 str r0, [r4] @ set dpll ctrl val
267 beq pend @ jump over dpll relock
272 orr r8, r7, #0x3 @ val for lock dpll
H A Dsram243x.S254 str r0, [r4] @ set dpll ctrl val
267 beq pend @ jump over dpll relock
272 orr r8, r7, #0x3 @ val for lock dpll
/linux/drivers/ptp/
H A Dptp_ocp.c415 struct dpll_device *dpll; member
4911 ptp_ocp_dpll_lock_status_get(const struct dpll_device *dpll, void *priv, in ptp_ocp_dpll_lock_status_get() argument
4924 const struct dpll_device *dpll, void *priv, in ptp_ocp_dpll_state_get() argument
4941 static int ptp_ocp_dpll_mode_get(const struct dpll_device *dpll, void *priv, in ptp_ocp_dpll_mode_get() argument
4950 const struct dpll_device *dpll, in ptp_ocp_dpll_direction_get() argument
4965 const struct dpll_device *dpll, in ptp_ocp_dpll_direction_set() argument
4984 const struct dpll_device *dpll, in ptp_ocp_dpll_frequency_set() argument
5006 const struct dpll_device *dpll, in ptp_ocp_dpll_frequency_get() argument
5051 dpll_device_change_ntf(bp->dpll); in ptp_ocp_sync_work()
5118 bp->dpll = dpll_device_get(clkid, 0, THIS_MODULE, &bp->tracker); in ptp_ocp_probe()
[all …]

123