Home
last modified time | relevance | path

Searched refs:port2adr (Results 1 – 6 of 6) sorted by relevance

/arch/sh/boards/mach-se/770x/
Dio.c16 port2adr(unsigned int port) in port2adr() function
41 return (*port2adr(port) >> 8); in se_inb()
43 return (*port2adr(port))&0xff; in se_inb()
51 v = (*port2adr(port) >> 8); in se_inb_p()
53 v = (*port2adr(port))&0xff; in se_inb_p()
61 return *port2adr(port); in se_inw()
76 *(port2adr(port)) = value << 8; in se_outb()
78 *(port2adr(port)) = value; in se_outb()
84 *(port2adr(port)) = value << 8; in se_outb_p()
86 *(port2adr(port)) = value; in se_outb_p()
[all …]
/arch/sh/boards/mach-se/7206/
Dio.c27 port2adr(unsigned int port) in port2adr() function
39 return (*port2adr(port)) & 0xff; in se7206_inb()
46 v = (*port2adr(port)) & 0xff; in se7206_inb_p()
53 return *port2adr(port);; in se7206_inw()
58 *(port2adr(port)) = value; in se7206_outb()
63 *(port2adr(port)) = value; in se7206_outb_p()
69 *port2adr(port) = value; in se7206_outw()
74 volatile __u16 *p = port2adr(port); in se7206_insb()
83 volatile __u16 *p = port2adr(port); in se7206_insw()
91 volatile __u16 *p = port2adr(port); in se7206_outsb()
[all …]
/arch/sh/boards/mach-snapgear/
Dio.c22 static inline volatile __u16 *port2adr(unsigned int port) in port2adr() function
42 return (*port2adr(port)) & 0xff; in snapgear_inb()
54 v = (*port2adr(port))&0xff; in snapgear_inb_p()
66 return *port2adr(port); in snapgear_inw()
79 return *port2adr(port); in snapgear_inl()
93 *(port2adr(port)) = value; in snapgear_outb()
103 *(port2adr(port)) = value; in snapgear_outb_p()
114 *port2adr(port) = value; in snapgear_outw()
/arch/sh/boards/mach-se/7751/
Dio.c18 static inline volatile u16 *port2adr(unsigned int port) in port2adr() function
40 return (*port2adr(port)) & 0xff; in sh7751se_inb()
52 v = (*port2adr(port)) & 0xff; in sh7751se_inb_p()
64 return *port2adr(port); in sh7751se_inw()
77 return *port2adr(port); in sh7751se_inl()
91 *(port2adr(port)) = value; in sh7751se_outb()
101 *(port2adr(port)) = value; in sh7751se_outb_p()
112 *port2adr(port) = value; in sh7751se_outw()
/arch/sh/boards/mach-titan/
Dio.c10 static inline unsigned int port2adr(unsigned int port) in port2adr() function
22 return ctrl_inw(port2adr(port)) & 0xff; in titan_inb()
34 v = ctrl_inw(port2adr(port)) & 0xff; in titan_inb_p()
46 return ctrl_inw(port2adr(port)); in titan_inw()
59 return ctrl_inw(port2adr(port)); in titan_inl()
72 ctrl_outw(value, port2adr(port)); in titan_outb()
82 ctrl_outw(value, port2adr(port)); in titan_outb_p()
93 ctrl_outw(value, port2adr(port)); in titan_outw()
125 return (void __iomem *)port2adr(port); in titan_ioport_map()
/arch/sh/boards/mach-systemh/
Dio.c19 port2adr(unsigned int port) in port2adr() function
43 return (*port2adr(port))&0xff; in sh7751systemh_inb()
57 v = (*port2adr(port))&0xff; in sh7751systemh_inb_p()
69 return *port2adr(port); in sh7751systemh_inw()
84 return *port2adr(port); in sh7751systemh_inl()
102 *(port2adr(port)) = value; in sh7751systemh_outb()
114 *(port2adr(port)) = value; in sh7751systemh_outb_p()
125 *port2adr(port) = value; in sh7751systemh_outw()