Commit 19a5304
committed
dpll: add phase_offset_avg_factor_get/set callback ops
JIRA: https://issues.redhat.com/browse/RHEL-126530
Conflicts:
- adjusted a context conflict caused by RH_KABI_RESERVE macros in struct
dpll_device_ops.
Upstream commit(s):
commit e28d5a6
Author: Ivan Vecera <ivecera@redhat.com>
Date: Sat Sep 27 10:49:11 2025 +0200
dpll: add phase_offset_avg_factor_get/set callback ops
Add new callback operations for a dpll device:
- phase_offset_avg_factor_get(...) - to obtain current phase offset
averaging factor from dpll device,
- phase_offset_avg_factor_set(...) - to set phase offset averaging factor
Obtain the factor value using the get callback and provide it to the user
if the device driver implement this callback. Execute the set callback upon
user requests, if the driver implement it.
Signed-off-by: Ivan Vecera <ivecera@redhat.com>
v2:
* do not require 'set' callback to retrieve current value
* always call 'set' callback regardless of current value
Reviewed-by: Vadim Fedorenko <vadim.fedorenko@linux.dev>
Link: https://patch.msgid.link/20250927084912.2343597-3-ivecera@redhat.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Petr Oros <poros@redhat.com>1 parent 5e91e41 commit 19a5304
2 files changed
+65
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
164 | 164 | | |
165 | 165 | | |
166 | 166 | | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
167 | 188 | | |
168 | 189 | | |
169 | 190 | | |
| |||
675 | 696 | | |
676 | 697 | | |
677 | 698 | | |
| 699 | + | |
| 700 | + | |
| 701 | + | |
678 | 702 | | |
679 | 703 | | |
680 | 704 | | |
| |||
839 | 863 | | |
840 | 864 | | |
841 | 865 | | |
| 866 | + | |
| 867 | + | |
| 868 | + | |
| 869 | + | |
| 870 | + | |
| 871 | + | |
| 872 | + | |
| 873 | + | |
| 874 | + | |
| 875 | + | |
| 876 | + | |
| 877 | + | |
| 878 | + | |
| 879 | + | |
| 880 | + | |
| 881 | + | |
| 882 | + | |
842 | 883 | | |
843 | 884 | | |
844 | 885 | | |
| |||
1736 | 1777 | | |
1737 | 1778 | | |
1738 | 1779 | | |
1739 | | - | |
1740 | | - | |
1741 | | - | |
1742 | | - | |
| 1780 | + | |
| 1781 | + | |
1743 | 1782 | | |
1744 | | - | |
1745 | | - | |
1746 | | - | |
| 1783 | + | |
| 1784 | + | |
| 1785 | + | |
| 1786 | + | |
| 1787 | + | |
| 1788 | + | |
| 1789 | + | |
| 1790 | + | |
| 1791 | + | |
| 1792 | + | |
| 1793 | + | |
| 1794 | + | |
| 1795 | + | |
| 1796 | + | |
| 1797 | + | |
| 1798 | + | |
1747 | 1799 | | |
1748 | 1800 | | |
1749 | 1801 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
43 | 49 | | |
44 | 50 | | |
45 | 51 | | |
| |||
0 commit comments