Searched refs:phase_offset (Results 1 – 6 of 6) sorted by relevance
| /linux/drivers/dpll/zl3073x/ |
| H A D | dpll.c | 60 s64 phase_offset; member 476 void *dpll_priv, s64 *phase_offset, in zl3073x_dpll_input_pin_phase_offset_get() argument 499 *phase_offset = 0; in zl3073x_dpll_input_pin_phase_offset_get() 503 ref_phase = pin->phase_offset; in zl3073x_dpll_input_pin_phase_offset_get() 525 *phase_offset = ref_phase * DPLL_PHASE_OFFSET_DIVIDER; in zl3073x_dpll_input_pin_phase_offset_get() 2053 s64 phase_offset; in zl3073x_dpll_pin_phase_offset_check() local 2078 rc = zl3073x_read_u48(zldev, reg, &phase_offset); in zl3073x_dpll_pin_phase_offset_check() 2087 phase_offset = div_s64(sign_extend64(phase_offset, 47), 100); in zl3073x_dpll_pin_phase_offset_check() 2090 if (phase_offset != pin->phase_offset) { in zl3073x_dpll_pin_phase_offset_check() 2092 pin->label, pin->phase_offset, phase_offset); in zl3073x_dpll_pin_phase_offset_check() [all …]
|
| /linux/drivers/net/ethernet/intel/ice/ |
| H A D | ice_dpll.c | 1996 s64 *phase_offset, struct netlink_ext_ack *extack) in ice_dpll_phase_offset_get() argument 2005 *phase_offset = d->phase_offset * ICE_DPLL_PHASE_OFFSET_FACTOR; in ice_dpll_phase_offset_get() 2007 *phase_offset = (p->input && in ice_dpll_phase_offset_get() 2009 p->input->phase_offset : in ice_dpll_phase_offset_get() 2010 p->phase_offset) * ICE_DPLL_PHASE_OFFSET_FACTOR; in ice_dpll_phase_offset_get() 2012 *phase_offset = 0; in ice_dpll_phase_offset_get() 2950 if (d->prev_phase_offset != d->phase_offset) { in ice_dpll_notify_changes() 2951 d->prev_phase_offset = d->phase_offset; in ice_dpll_notify_changes() 3021 s64 phase_offset, tmp; in ice_dpll_pps_update_phase_offsets() local 3039 phase_offset = 0; in ice_dpll_pps_update_phase_offsets() [all …]
|
| H A D | ice_common.h | 305 u8 *dpll_state, u8 *config, s64 *phase_offset,
|
| H A D | ice_common.c | 5522 u8 *dpll_state, u8 *config, s64 *phase_offset, in ice_aq_get_cgu_dpll_status() argument 5538 *phase_offset = le32_to_cpu(cmd->phase_offset_h); in ice_aq_get_cgu_dpll_status() 5539 *phase_offset <<= 32; in ice_aq_get_cgu_dpll_status() 5540 *phase_offset += le32_to_cpu(cmd->phase_offset_l); in ice_aq_get_cgu_dpll_status() 5541 *phase_offset = sign_extend64(*phase_offset, 47); in ice_aq_get_cgu_dpll_status()
|
| H A D | ice_ptp_hw.c | 6107 u8 *ref_state, u8 *eec_mode, s64 *phase_offset, in ice_get_cgu_state() argument 6123 if (phase_offset) in ice_get_cgu_state() 6124 *phase_offset = hw_phase_offset; in ice_get_cgu_state()
|
| /linux/drivers/dpll/ |
| H A D | dpll_netlink.c | 406 s64 phase_offset; in dpll_msg_add_phase_offset() local 412 dpll, dpll_priv(dpll), &phase_offset, in dpll_msg_add_phase_offset() 416 if (nla_put_64bit(msg, DPLL_A_PIN_PHASE_OFFSET, sizeof(phase_offset), in dpll_msg_add_phase_offset() 417 &phase_offset, DPLL_A_PIN_PAD)) in dpll_msg_add_phase_offset()
|