xref: /OK3568_Linux_fs/kernel/arch/powerpc/platforms/maple/maple.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun /* SPDX-License-Identifier: GPL-2.0 */
2*4882a593Smuzhiyun /*
3*4882a593Smuzhiyun  * Declarations for maple-specific code.
4*4882a593Smuzhiyun  *
5*4882a593Smuzhiyun  * Maple is the name of a PPC970 evaluation board.
6*4882a593Smuzhiyun  */
7*4882a593Smuzhiyun extern int maple_set_rtc_time(struct rtc_time *tm);
8*4882a593Smuzhiyun extern void maple_get_rtc_time(struct rtc_time *tm);
9*4882a593Smuzhiyun extern time64_t maple_get_boot_time(void);
10*4882a593Smuzhiyun extern void maple_calibrate_decr(void);
11*4882a593Smuzhiyun extern void maple_pci_init(void);
12*4882a593Smuzhiyun extern void maple_pci_irq_fixup(struct pci_dev *dev);
13*4882a593Smuzhiyun extern int maple_pci_get_legacy_ide_irq(struct pci_dev *dev, int channel);
14*4882a593Smuzhiyun 
15*4882a593Smuzhiyun extern struct pci_controller_ops maple_pci_controller_ops;
16