diff options
| author | Jakub Kicinski <kuba@kernel.org> | 2025-09-30 04:57:43 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2025-09-30 04:57:43 +0300 |
| commit | c5cb31c99257aacd5cc2ff72a3b6f0c660046c9b (patch) | |
| tree | 62051a47e9889f0c2e17904b084ac407cb70e23a /include/linux | |
| parent | 377ea331281f2c63dc281a6ea2dc318e4e1fc2d1 (diff) | |
| parent | 9363b4837659d1b7ee04cfa714373ce4b4b8269f (diff) | |
| download | linux-c5cb31c99257aacd5cc2ff72a3b6f0c660046c9b.tar.xz | |
Merge branch 'dpll-add-phase-offset-averaging-factor'
Ivan Vecera says:
====================
dpll: add phase offset averaging factor
For some hardware, the phase shift may result from averaging previous values
and the newly measured value. In this case, the averaging is controlled by
a configurable averaging factor.
Add new device level attribute phase-offset-avg-factor, appropriate
callbacks and implement them in zl3073x driver.
====================
Link: https://patch.msgid.link/20250927084912.2343597-1-ivecera@redhat.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/dpll.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/dpll.h b/include/linux/dpll.h index fa1e76920d0e..25be745bf41f 100644 --- a/include/linux/dpll.h +++ b/include/linux/dpll.h @@ -38,6 +38,12 @@ struct dpll_device_ops { void *dpll_priv, enum dpll_feature_state *state, struct netlink_ext_ack *extack); + int (*phase_offset_avg_factor_set)(const struct dpll_device *dpll, + void *dpll_priv, u32 factor, + struct netlink_ext_ack *extack); + int (*phase_offset_avg_factor_get)(const struct dpll_device *dpll, + void *dpll_priv, u32 *factor, + struct netlink_ext_ack *extack); }; struct dpll_pin_ops { |
