-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <davem@davemloft.net>
- Loading branch information
Showing
5 changed files
with
32 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
/* SPDX-License-Identifier: GPL-2.0-or-later */ | ||
/* | ||
* PTP PCH | ||
* | ||
* Copyright 2019 Linaro Ltd. | ||
* | ||
* Author Lee Jones <lee.jones@linaro.org> | ||
*/ | ||
|
||
#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_ */ |