diff options
| author | David S. Miller <[email protected]> | 2021-03-12 17:09:34 -0800 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2021-03-12 17:09:34 -0800 |
| commit | b202923d3a93296c2e2627eee0222dfef3606777 (patch) | |
| tree | 1b4fcba4b1265d8b4acbc7126dc875d98dc48cb2 /include/linux | |
| parent | a9349f08ec6c1251d41ef167d27a15cc39bc5b97 (diff) | |
| parent | 287f93ded67f48fd7126ee37e98103c6cf52eb0f (diff) | |
Merge branch 'ptp-warnings'
Lee Jones says:
====================
Rid W=1 warnings from PTP
This set is part of a larger effort attempting to clean-up W=1
kernel builds, which are currently overwhelmingly riddled with
niggly little warnings.
====================
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/ptp_pch.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/include/linux/ptp_pch.h b/include/linux/ptp_pch.h new file mode 100644 index 000000000000..51818198c292 --- /dev/null +++ b/include/linux/ptp_pch.h @@ -0,0 +1,22 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ +/* + * PTP PCH + * + * Copyright 2019 Linaro Ltd. + * + * Author Lee Jones <[email protected]> + */ + +#ifndef _PTP_PCH_H_ +#define _PTP_PCH_H_ + +void pch_ch_control_write(struct pci_dev *pdev, u32 val); +u32 pch_ch_event_read(struct pci_dev *pdev); +void pch_ch_event_write(struct pci_dev *pdev, u32 val); +u32 pch_src_uuid_lo_read(struct pci_dev *pdev); +u32 pch_src_uuid_hi_read(struct pci_dev *pdev); +u64 pch_rx_snap_read(struct pci_dev *pdev); +u64 pch_tx_snap_read(struct pci_dev *pdev); +int pch_set_station_address(u8 *addr, struct pci_dev *pdev); + +#endif /* _PTP_PCH_H_ */ |