162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */
262306a36Sopenharmony_ci#ifndef __ASM_SH_IO_NOIOPORT_H
362306a36Sopenharmony_ci#define __ASM_SH_IO_NOIOPORT_H
462306a36Sopenharmony_ci
562306a36Sopenharmony_cistatic inline u8 inb(unsigned long addr)
662306a36Sopenharmony_ci{
762306a36Sopenharmony_ci	BUG();
862306a36Sopenharmony_ci	return -1;
962306a36Sopenharmony_ci}
1062306a36Sopenharmony_ci
1162306a36Sopenharmony_cistatic inline u16 inw(unsigned long addr)
1262306a36Sopenharmony_ci{
1362306a36Sopenharmony_ci	BUG();
1462306a36Sopenharmony_ci	return -1;
1562306a36Sopenharmony_ci}
1662306a36Sopenharmony_ci
1762306a36Sopenharmony_cistatic inline u32 inl(unsigned long addr)
1862306a36Sopenharmony_ci{
1962306a36Sopenharmony_ci	BUG();
2062306a36Sopenharmony_ci	return -1;
2162306a36Sopenharmony_ci}
2262306a36Sopenharmony_ci
2362306a36Sopenharmony_cistatic inline void outb(unsigned char x, unsigned long port)
2462306a36Sopenharmony_ci{
2562306a36Sopenharmony_ci	BUG();
2662306a36Sopenharmony_ci}
2762306a36Sopenharmony_ci
2862306a36Sopenharmony_cistatic inline void outw(unsigned short x, unsigned long port)
2962306a36Sopenharmony_ci{
3062306a36Sopenharmony_ci	BUG();
3162306a36Sopenharmony_ci}
3262306a36Sopenharmony_ci
3362306a36Sopenharmony_cistatic inline void outl(unsigned int x, unsigned long port)
3462306a36Sopenharmony_ci{
3562306a36Sopenharmony_ci	BUG();
3662306a36Sopenharmony_ci}
3762306a36Sopenharmony_ci
3862306a36Sopenharmony_cistatic inline void __iomem *ioport_map(unsigned long port, unsigned int size)
3962306a36Sopenharmony_ci{
4062306a36Sopenharmony_ci	BUG();
4162306a36Sopenharmony_ci	return NULL;
4262306a36Sopenharmony_ci}
4362306a36Sopenharmony_ci
4462306a36Sopenharmony_cistatic inline void ioport_unmap(void __iomem *addr)
4562306a36Sopenharmony_ci{
4662306a36Sopenharmony_ci	BUG();
4762306a36Sopenharmony_ci}
4862306a36Sopenharmony_ci
4962306a36Sopenharmony_cistatic inline void insb(unsigned long port, void *dst, unsigned long count)
5062306a36Sopenharmony_ci{
5162306a36Sopenharmony_ci	BUG();
5262306a36Sopenharmony_ci}
5362306a36Sopenharmony_ci
5462306a36Sopenharmony_cistatic inline void insw(unsigned long port, void *dst, unsigned long count)
5562306a36Sopenharmony_ci{
5662306a36Sopenharmony_ci	BUG();
5762306a36Sopenharmony_ci}
5862306a36Sopenharmony_ci
5962306a36Sopenharmony_cistatic inline void insl(unsigned long port, void *dst, unsigned long count)
6062306a36Sopenharmony_ci{
6162306a36Sopenharmony_ci	BUG();
6262306a36Sopenharmony_ci}
6362306a36Sopenharmony_ci
6462306a36Sopenharmony_cistatic inline void outsb(unsigned long port, const void *src, unsigned long count)
6562306a36Sopenharmony_ci{
6662306a36Sopenharmony_ci	BUG();
6762306a36Sopenharmony_ci}
6862306a36Sopenharmony_ci
6962306a36Sopenharmony_cistatic inline void outsw(unsigned long port, const void *src, unsigned long count)
7062306a36Sopenharmony_ci{
7162306a36Sopenharmony_ci	BUG();
7262306a36Sopenharmony_ci}
7362306a36Sopenharmony_ci
7462306a36Sopenharmony_cistatic inline void outsl(unsigned long port, const void *src, unsigned long count)
7562306a36Sopenharmony_ci{
7662306a36Sopenharmony_ci	BUG();
7762306a36Sopenharmony_ci}
7862306a36Sopenharmony_ci
7962306a36Sopenharmony_ci#endif /* __ASM_SH_IO_NOIOPORT_H */
80