]> git.proxmox.com Git - mirror_ubuntu-kernels.git/blame - include/linux/ptp_pch.h
Merge tag 'powerpc-5.13-1' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc...
[mirror_ubuntu-kernels.git] / include / linux / ptp_pch.h
CommitLineData
f90fc37f
LJ
1/* SPDX-License-Identifier: GPL-2.0-or-later */
2/*
3 * PTP PCH
4 *
5 * Copyright 2019 Linaro Ltd.
6 *
7 * Author Lee Jones <lee.jones@linaro.org>
8 */
9
10#ifndef _PTP_PCH_H_
11#define _PTP_PCH_H_
12
13void pch_ch_control_write(struct pci_dev *pdev, u32 val);
14u32 pch_ch_event_read(struct pci_dev *pdev);
15void pch_ch_event_write(struct pci_dev *pdev, u32 val);
16u32 pch_src_uuid_lo_read(struct pci_dev *pdev);
17u32 pch_src_uuid_hi_read(struct pci_dev *pdev);
18u64 pch_rx_snap_read(struct pci_dev *pdev);
19u64 pch_tx_snap_read(struct pci_dev *pdev);
20int pch_set_station_address(u8 *addr, struct pci_dev *pdev);
21
22#endif /* _PTP_PCH_H_ */