Home
last modified time | relevance | path

Searched refs:phase_offset (Results 1 – 5 of 5) sorted by relevance

/linux/drivers/dpll/zl3073x/
H A Ddpll.c59 s64 phase_offset; member
390 void *dpll_priv, s64 *phase_offset, in zl3073x_dpll_input_pin_phase_offset_get() argument
411 *phase_offset = 0; in zl3073x_dpll_input_pin_phase_offset_get()
415 ref_phase = pin->phase_offset; in zl3073x_dpll_input_pin_phase_offset_get()
437 *phase_offset = ref_phase * DPLL_PHASE_OFFSET_DIVIDER; in zl3073x_dpll_input_pin_phase_offset_get()
1651 s64 phase_offset; in zl3073x_dpll_pin_phase_offset_check() local
1674 rc = zl3073x_read_u48(zldev, reg, &phase_offset); in zl3073x_dpll_pin_phase_offset_check()
1683 phase_offset = div_s64(sign_extend64(phase_offset, 47), 100); in zl3073x_dpll_pin_phase_offset_check()
1686 if (phase_offset != pin->phase_offset) { in zl3073x_dpll_pin_phase_offset_check()
1688 pin->label, pin->phase_offset, phase_offset); in zl3073x_dpll_pin_phase_offset_check()
[all …]
/linux/drivers/net/ethernet/intel/ice/
H A Dice_dpll.c1987 s64 *phase_offset, struct netlink_ext_ack *extack) in ice_dpll_phase_offset_get() argument
1996 *phase_offset = d->phase_offset * ICE_DPLL_PHASE_OFFSET_FACTOR; in ice_dpll_phase_offset_get()
1998 *phase_offset = (p->input && in ice_dpll_phase_offset_get()
2000 p->input->phase_offset : in ice_dpll_phase_offset_get()
2001 p->phase_offset) * ICE_DPLL_PHASE_OFFSET_FACTOR; in ice_dpll_phase_offset_get()
2003 *phase_offset = 0; in ice_dpll_phase_offset_get()
2740 if (d->prev_phase_offset != d->phase_offset) { in ice_dpll_notify_changes()
2741 d->prev_phase_offset = d->phase_offset; in ice_dpll_notify_changes()
2811 s64 phase_offset, tmp; in ice_dpll_pps_update_phase_offsets() local
2828 phase_offset = 0; in ice_dpll_pps_update_phase_offsets()
[all …]
H A Dice_common.c5520 u8 *dpll_state, u8 *config, s64 *phase_offset, in ice_aq_get_cgu_dpll_status() argument
5536 *phase_offset = le32_to_cpu(cmd->phase_offset_h); in ice_aq_get_cgu_dpll_status()
5537 *phase_offset <<= 32; in ice_aq_get_cgu_dpll_status()
5538 *phase_offset += le32_to_cpu(cmd->phase_offset_l); in ice_aq_get_cgu_dpll_status()
5539 *phase_offset = sign_extend64(*phase_offset, 47); in ice_aq_get_cgu_dpll_status()
/linux/include/linux/
H A Ddpll.h106 s64 *phase_offset,
/linux/drivers/dpll/
H A Ddpll_netlink.c377 s64 phase_offset; in dpll_msg_add_phase_offset() local
383 dpll, dpll_priv(dpll), &phase_offset, in dpll_msg_add_phase_offset()
387 if (nla_put_64bit(msg, DPLL_A_PIN_PHASE_OFFSET, sizeof(phase_offset), in dpll_msg_add_phase_offset()
388 &phase_offset, DPLL_A_PIN_PAD)) in dpll_msg_add_phase_offset()