printf: Remove unused 'bprintf'
[drm/drm-misc.git] / include / linux / ptp_pch.h
blob7ba643b62c1543f2bd8d0442cedb724ce890dd4a
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /*
3 * PTP PCH
5 * Copyright 2019 Linaro Ltd.
7 * Author Lee Jones <lee.jones@linaro.org>
8 */
10 #ifndef _PTP_PCH_H_
11 #define _PTP_PCH_H_
13 #include <linux/types.h>
15 struct pci_dev;
17 void pch_ch_control_write(struct pci_dev *pdev, u32 val);
18 u32 pch_ch_event_read(struct pci_dev *pdev);
19 void pch_ch_event_write(struct pci_dev *pdev, u32 val);
20 u32 pch_src_uuid_lo_read(struct pci_dev *pdev);
21 u32 pch_src_uuid_hi_read(struct pci_dev *pdev);
22 u64 pch_rx_snap_read(struct pci_dev *pdev);
23 u64 pch_tx_snap_read(struct pci_dev *pdev);
24 int pch_set_station_address(u8 *addr, struct pci_dev *pdev);
26 #endif /* _PTP_PCH_H_ */