Home
last modified time | relevance | path

Searched defs:port (Results 1 – 25 of 506) sorted by relevance

12345678910>>...21

/linux-2.4.37.9/drivers/char/
Dsh-sci.h39 # define SCSCR_INIT(port) 0x30 /* TIE=0,RIE=0,TE=1,RE=1 */ argument
48 # define SCSCR_INIT(port) 0x0030 /* TIE=0,RIE=0,TE=1,RE=1 */ argument
60 # define SCSCR_INIT(port) 0x30 /* TIE=0,RIE=0,TE=1,RE=1 */ argument
71 # define SCSCR_INIT(port) (((port)->type == PORT_SCI) ? \ argument
82 # define SCSCR_INIT(port) 0x38 /* TIE=0,RIE=0,TE=1,RE=1,REIE=1 */ argument
93 # define SCSCR_INIT(port) 0x38 /* TIE=0,RIE=0,TE=1,RE=1,REIE=1 */ argument
109 # define SCSCR_INIT(port) 0x38 /* TIE=0,RIE=0, argument
159 # define SCxSR_TEND(port) SCI_TEND argument
160 # define SCxSR_ERRORS(port) SCI_ERRORS argument
161 # define SCxSR_RDxF(port) SCI_RDRF argument
[all …]
Dsh-sci.c122 static void put_char(struct sci_port *port, char c) in put_char()
143 static void handle_error(struct sci_port *port) in handle_error()
148 static int get_char(struct sci_port *port) in get_char()
191 static void put_string(struct sci_port *port, const char *buffer, int count) in put_string()
291 static int kgdb_is_char_ready(struct sci_port *port) in kgdb_is_char_ready()
302 static void kgdb_put_char(struct sci_port *port, char c) in kgdb_put_char()
316 static int kgdb_get_char(struct sci_port *port) in kgdb_get_char()
350 static void kgdb_handle_error(struct sci_port *port) in kgdb_handle_error()
358 struct sci_port *port = ptr; in kgdb_break_interrupt() local
389 static void sci_init_pins_sci(struct sci_port* port, unsigned int cflag) in sci_init_pins_sci()
[all …]
Dgeneric_serial.c64 struct gs_port *port; in gs_put_char() local
107 struct gs_port *port; in gs_write() local
187 struct gs_port *port; in gs_write() local
314 struct gs_port *port = tty->driver_data; in gs_write_room() local
328 struct gs_port *port = tty->driver_data; in gs_chars_in_buffer() local
338 struct gs_port *port; in gs_real_chars_in_buffer() local
354 struct gs_port *port = ptr; in gs_wait_tx_flushed() local
426 struct gs_port *port; in gs_flush_buffer() local
449 struct gs_port *port; in gs_flush_chars() local
474 struct gs_port *port; in gs_stop() local
[all …]
/linux-2.4.37.9/arch/sh/kernel/
Dio_hd64461.c11 static __inline__ unsigned long PORT2ADDR(unsigned long port) in PORT2ADDR()
59 unsigned char hd64461_inb(unsigned long port) in hd64461_inb()
64 unsigned char hd64461_inb_p(unsigned long port) in hd64461_inb_p()
71 unsigned short hd64461_inw(unsigned long port) in hd64461_inw()
76 unsigned int hd64461_inl(unsigned long port) in hd64461_inl()
81 void hd64461_insb(unsigned long port, void *buffer, unsigned long count) in hd64461_insb()
87 void hd64461_insw(unsigned long port, void *buffer, unsigned long count) in hd64461_insw()
93 void hd64461_insl(unsigned long port, void *buffer, unsigned long count) in hd64461_insl()
99 void hd64461_outb(unsigned char b, unsigned long port) in hd64461_outb()
104 void hd64461_outb_p(unsigned char b, unsigned long port) in hd64461_outb_p()
[all …]
Dio_microdev.c41 unsigned char microdev_inb(unsigned long port) in microdev_inb()
46 unsigned short microdev_inw(unsigned long port) in microdev_inw()
51 unsigned int microdev_inl(unsigned long port) in microdev_inl()
56 void microdev_outb(unsigned char b, unsigned long port) in microdev_outb()
109 void microdev_outw(unsigned short b, unsigned long port) in microdev_outw()
114 void microdev_outl(unsigned int b, unsigned long port) in microdev_outl()
119 unsigned char microdev_inb_p(unsigned long port) in microdev_inb_p()
126 unsigned short microdev_inw_p(unsigned long port) in microdev_inw_p()
133 unsigned int microdev_inl_p(unsigned long port) in microdev_inl_p()
140 void microdev_outb_p(unsigned char b, unsigned long port) in microdev_outb_p()
[all …]
Dio_hs7729pci.c22 #define io_is_pci(port) (port >= PCIBIOS_MIN_IO) argument
24 #define io_is_pci(port) (0) argument
44 port2adr(unsigned long port) in port2adr()
56 shifted_port(unsigned long port) in shifted_port()
67 #define maybebadio(name,port) \ argument
72 unsigned char hs7729pci_inb(unsigned long port) in hs7729pci_inb()
88 unsigned char hs7729pci_inb_p(unsigned long port) in hs7729pci_inb_p()
108 unsigned short hs7729pci_inw(unsigned long port) in hs7729pci_inw()
119 unsigned int hs7729pci_inl(unsigned long port) in hs7729pci_inl()
127 void hs7729pci_outb(unsigned char value, unsigned long port) in hs7729pci_outb()
[all …]
Dio_7751se.c55 #define maybebadio(name,port) \ argument
65 port2adr(unsigned int port) in port2adr()
97 #define CHECK_SH7751_PCIIO(port) \ argument
100 #define CHECK_SH7751_PCIIO(port) (0) argument
110 unsigned char sh7751se_inb(unsigned long port) in sh7751se_inb()
120 unsigned char sh7751se_inb_p(unsigned long port) in sh7751se_inb_p()
134 unsigned short sh7751se_inw(unsigned long port) in sh7751se_inw()
147 unsigned int sh7751se_inl(unsigned long port) in sh7751se_inl()
160 void sh7751se_outb(unsigned char value, unsigned long port) in sh7751se_outb()
171 void sh7751se_outb_p(unsigned char value, unsigned long port) in sh7751se_outb_p()
[all …]
Dio_adx.c25 unsigned char adx_inb(unsigned long port) in adx_inb()
30 unsigned short adx_inw(unsigned long port) in adx_inw()
35 unsigned int adx_inl(unsigned long port) in adx_inl()
40 unsigned char adx_inb_p(unsigned long port) in adx_inb_p()
48 unsigned short adx_inw_p(unsigned long port) in adx_inw_p()
56 unsigned int adx_inl_p(unsigned long port) in adx_inl_p()
64 void adx_insb(unsigned long port, void *buffer, unsigned long count) in adx_insb()
70 void adx_insw(unsigned long port, void *buffer, unsigned long count) in adx_insw()
76 void adx_insl(unsigned long port, void *buffer, unsigned long count) in adx_insl()
82 void adx_outb(unsigned char b, unsigned long port) in adx_outb()
[all …]
Dio_generic.c35 unsigned char generic_inb(unsigned long port) in generic_inb()
40 unsigned short generic_inw(unsigned long port) in generic_inw()
45 unsigned int generic_inl(unsigned long port) in generic_inl()
50 unsigned char generic_inb_p(unsigned long port) in generic_inb_p()
58 unsigned short generic_inw_p(unsigned long port) in generic_inw_p()
66 unsigned int generic_inl_p(unsigned long port) in generic_inl_p()
74 void generic_insb(unsigned long port, void *buffer, unsigned long count) in generic_insb()
80 void generic_insw(unsigned long port, void *buffer, unsigned long count) in generic_insw()
89 void generic_insl(unsigned long port, void *buffer, unsigned long count) in generic_insl()
98 void generic_outb(unsigned char b, unsigned long port) in generic_outb()
[all …]
Dio_snapgear.c42 #define maybebadio(name,port) \ argument
54 port2adr(unsigned int port) in port2adr()
70 #define CHECK_SH7751_PCIIO(port) \ argument
73 #define CHECK_SH7751_PCIIO(port) (0) argument
84 unsigned char snapgear_inb(unsigned long port) in snapgear_inb()
95 unsigned char snapgear_inb_p(unsigned long port) in snapgear_inb_p()
110 unsigned short snapgear_inw(unsigned long port) in snapgear_inw()
124 unsigned int snapgear_inl(unsigned long port) in snapgear_inl()
138 void snapgear_outb(unsigned char value, unsigned long port) in snapgear_outb()
150 void snapgear_outb_p(unsigned char value, unsigned long port) in snapgear_outb_p()
[all …]
Dio_ec3104.c31 #define low_port(port) ((port) < 0x10000) argument
33 static inline unsigned long port2addr(unsigned long port) in port2addr()
49 unsigned char ec3104_inb(unsigned long port) in ec3104_inb()
58 unsigned short ec3104_inw(unsigned long port) in ec3104_inw()
63 unsigned long ec3104_inl(unsigned long port) in ec3104_inl()
68 void ec3104_outb(unsigned char data, unsigned long port) in ec3104_outb()
73 void ec3104_outw(unsigned short data, unsigned long port) in ec3104_outw()
78 void ec3104_outl(unsigned long data, unsigned long port) in ec3104_outl()
Dio_se.c34 port2adr(unsigned int port) in port2adr()
47 shifted_port(unsigned long port) in shifted_port()
56 #define maybebadio(name,port) \ argument
60 unsigned char se_inb(unsigned long port) in se_inb()
70 unsigned char se_inb_p(unsigned long port) in se_inb_p()
84 unsigned short se_inw(unsigned long port) in se_inw()
94 unsigned int se_inl(unsigned long port) in se_inl()
100 void se_outb(unsigned char value, unsigned long port) in se_outb()
110 void se_outb_p(unsigned char value, unsigned long port) in se_outb_p()
121 void se_outw(unsigned short value, unsigned long port) in se_outw()
[all …]
Dio_cat68701.c30 unsigned char cat68701_inb(unsigned long port) in cat68701_inb()
35 unsigned short cat68701_inw(unsigned long port) in cat68701_inw()
40 unsigned int cat68701_inl(unsigned long port) in cat68701_inl()
45 unsigned char cat68701_inb_p(unsigned long port) in cat68701_inb_p()
53 unsigned short cat68701_inw_p(unsigned long port) in cat68701_inw_p()
61 unsigned int cat68701_inl_p(unsigned long port) in cat68701_inl_p()
69 void cat68701_insb(unsigned long port, void *buffer, unsigned long count) in cat68701_insb()
75 void cat68701_insw(unsigned long port, void *buffer, unsigned long count) in cat68701_insw()
84 void cat68701_insl(unsigned long port, void *buffer, unsigned long count) in cat68701_insl()
93 void cat68701_outb(unsigned char b, unsigned long port) in cat68701_outb()
[all …]
Dio_shmse.c23 struct iop *simple_check(struct iop *p, unsigned long port){ in simple_check()
30 unsigned short simple_inw(struct iop *p, unsigned long port){ in simple_inw()
34 void simple_outw(struct iop *p, unsigned short value, unsigned long port){ in simple_outw()
38 unsigned char bad_inb(struct iop *p, unsigned long port) in bad_inb()
43 void bad_outb(struct iop *p, unsigned char value, unsigned long port){ in bad_outb()
59 static __inline__ struct iop *port2iop(unsigned long port){ in port2iop()
72 unsigned char shmse_inb(unsigned long port) in shmse_inb()
78 unsigned char shmse_inb_p(unsigned long port) in shmse_inb_p()
85 unsigned short shmse_inw(unsigned long port) in shmse_inw()
91 unsigned int shmse_inl(unsigned long port) in shmse_inl()
[all …]
Dio.c13 unsigned char _inb(unsigned long port) in _inb()
19 unsigned short _inw(unsigned long port) in _inw()
25 unsigned int _inl(unsigned long port) in _inl()
31 void _outb(unsigned char b, unsigned long port) in _outb()
37 void _outw(unsigned short b, unsigned long port) in _outw()
44 void _outl(unsigned int b, unsigned long port) in _outl()
51 unsigned char _inb_p(unsigned long port) in _inb_p()
57 unsigned short _inw_p(unsigned long port) in _inw_p()
64 void _outb_p(unsigned char b, unsigned long port) in _outb_p()
70 void _outw_p(unsigned short b, unsigned long port) in _outw_p()
[all …]
Dio_bigsur.c60 u32 port, endport = baseport + nports; in bigsur_port_map() local
87 u32 port, endport = baseport + nports; in bigsur_port_unmap() local
105 unsigned long bigsur_isa_port2addr(unsigned long port) in bigsur_isa_port2addr()
143 unsigned char bigsur_inb(unsigned long port) in bigsur_inb()
152 unsigned char bigsur_inb_p(unsigned long port) in bigsur_inb_p()
163 unsigned short bigsur_inw(unsigned long port) in bigsur_inw()
171 unsigned int bigsur_inl(unsigned long port) in bigsur_inl()
179 void bigsur_insb(unsigned long port, void *buffer, unsigned long count) in bigsur_insb()
185 void bigsur_insw(unsigned long port, void *buffer, unsigned long count) in bigsur_insw()
191 void bigsur_insl(unsigned long port, void *buffer, unsigned long count) in bigsur_insl()
[all …]
Dio_hd64465.c60 unsigned int port, endport = baseport + nports; in hd64465_port_map() local
87 unsigned int port, endport = baseport + nports; in hd64465_port_unmap() local
106 unsigned long hd64465_isa_port2addr(unsigned long port) in hd64465_isa_port2addr()
146 unsigned char hd64465_inb(unsigned long port) in hd64465_inb()
155 unsigned char hd64465_inb_p(unsigned long port) in hd64465_inb_p()
166 unsigned short hd64465_inw(unsigned long port) in hd64465_inw()
174 unsigned int hd64465_inl(unsigned long port) in hd64465_inl()
182 void hd64465_insb(unsigned long port, void *buffer, unsigned long count) in hd64465_insb()
188 void hd64465_insw(unsigned long port, void *buffer, unsigned long count) in hd64465_insw()
194 void hd64465_insl(unsigned long port, void *buffer, unsigned long count) in hd64465_insl()
[all …]
/linux-2.4.37.9/drivers/net/bonding/
Dbond_3ad.c188 static inline struct bonding *__get_bond_by_port(struct port *port) in __get_bond_by_port()
219 static inline struct port *__get_next_port(struct port *port) in __get_next_port()
239 static inline struct aggregator *__get_first_agg(struct port *port) in __get_first_agg()
276 static inline void __disable_port(struct port *port) in __disable_port()
286 static inline void __enable_port(struct port *port) in __enable_port()
300 static inline int __port_is_enabled(struct port *port) in __port_is_enabled()
311 static inline u32 __get_agg_selection_mode(struct port *port) in __get_agg_selection_mode()
327 static inline int __check_agg_selection_timer(struct port *port) in __check_agg_selection_timer()
343 static inline void __get_rx_machine_lock(struct port *port) in __get_rx_machine_lock()
353 static inline void __release_rx_machine_lock(struct port *port) in __release_rx_machine_lock()
[all …]
Dbond_3ad.h215 typedef struct port { struct
216 u16 actor_port_number; argument
217 u16 actor_port_priority; argument
220 u16 actor_port_aggregator_identifier; argument
222 u16 actor_admin_port_key; argument
223 u16 actor_oper_port_key; argument
224 u8 actor_admin_port_state; argument
225 u8 actor_oper_port_state; argument
232 u16 partner_admin_port_number; argument
233 u16 partner_oper_port_number; argument
[all …]
/linux-2.4.37.9/include/asm-mips/vr41xx/
Dvrc4173.h50 #define vrc4173_outb(val,port) outb((val), vrc4173_io_offset+(port)) argument
51 #define vrc4173_outw(val,port) outw((val), vrc4173_io_offset+(port)) argument
52 #define vrc4173_outl(val,port) outl((val), vrc4173_io_offset+(port)) argument
53 #define vrc4173_outb_p(val,port) outb_p((val), vrc4173_io_offset+(port)) argument
54 #define vrc4173_outw_p(val,port) outw_p((val), vrc4173_io_offset+(port)) argument
55 #define vrc4173_outl_p(val,port) outl_p((val), vrc4173_io_offset+(port)) argument
57 #define vrc4173_inb(port) inb(vrc4173_io_offset+(port)) argument
58 #define vrc4173_inw(port) inw(vrc4173_io_offset+(port)) argument
59 #define vrc4173_inl(port) inl(vrc4173_io_offset+(port)) argument
60 #define vrc4173_inb_p(port) inb_p(vrc4173_io_offset+(port)) argument
[all …]
/linux-2.4.37.9/drivers/net/wan/8253x/
D8253xsyn.c42 struct sab_port *port; in sab8253x_flush_to_ldiscS() local
78 struct sab_port *port = (struct sab_port *)tty->driver_data; in sab8253x_flush_charsS() local
104 struct sab_port *port = (struct sab_port *)tty->driver_data; in sab8253x_stopS() local
116 struct sab_port *port = (struct sab_port *)tty->driver_data; in sab8253x_startS() local
126 static void sab8253x_receive_charsS(struct sab_port *port, in sab8253x_receive_charsS()
258 static void sab8253x_check_statusS(struct sab_port *port, in sab8253x_check_statusS()
352 static void sab8253x_change_speedS(struct sab_port *port) in sab8253x_change_speedS()
557 struct sab_port *port = (struct sab_port *)tty->driver_data; in sab8253x_set_termiosS() local
599 static int sab8253x_startupS(struct sab_port *port) in sab8253x_startupS()
693 static void sab8253x_shutdownS(struct sab_port *port) in sab8253x_shutdownS()
[all …]
/linux-2.4.37.9/arch/mips/sibyte/sb1250/
Dide.c76 static inline void sibyte_outb(u8 val, unsigned long port) { in sibyte_outb()
80 static inline void sibyte_outw(u16 val, unsigned long port) { in sibyte_outw()
84 static inline void sibyte_outl(u32 val, unsigned long port) { in sibyte_outl()
88 static inline unsigned char sibyte_inb(unsigned long port) in sibyte_inb()
93 static inline unsigned short sibyte_inw(unsigned long port) in sibyte_inw()
98 static inline unsigned int sibyte_inl(unsigned long port) in sibyte_inl()
104 static inline void sibyte_outsb(unsigned long port, void *addr, unsigned int count) in sibyte_outsb()
112 static inline void sibyte_insb(unsigned long port, void *addr, unsigned int count) in sibyte_insb()
120 static inline void sibyte_outsw(unsigned long port, void *addr, unsigned int count) in sibyte_outsw()
128 static inline void sibyte_insw(unsigned long port, void *addr, unsigned int count) in sibyte_insw()
[all …]
/linux-2.4.37.9/include/asm-m68k/
Dide.h109 #define insw(port, addr, n) raw_insw((u16 *)port, addr, n) argument
111 #define insl(port, addr, n) raw_insl((u32 *)port, addr, n) argument
112 #define outb(val, port) out_8(port, val) argument
113 #define outw(val, port) out_be16(port, val) argument
114 #define outsw(port, addr, n) raw_outsw((u16 *)port, addr, n) argument
115 #define outl(val, port) out_be32(port, val) argument
116 #define outsl(port, addr, n) raw_outsl((u32 *)port, addr, n) argument
119 #define __ide_mm_insw(port, addr, n) raw_insw((u16 *)port, addr, n) argument
121 #define __ide_mm_insl(port, addr, n) raw_insl((u32 *)port, addr, n) argument
122 #define writeb(val, port) out_8(port, val) argument
[all …]
/linux-2.4.37.9/drivers/ide/
Dide-iops.c40 static u8 ide_unplugged_inb (unsigned long port) in ide_unplugged_inb()
45 static u16 ide_unplugged_inw (unsigned long port) in ide_unplugged_inw()
50 static void ide_unplugged_insw (unsigned long port, void *addr, u32 count) in ide_unplugged_insw()
54 static u32 ide_unplugged_inl (unsigned long port) in ide_unplugged_inl()
59 static void ide_unplugged_insl (unsigned long port, void *addr, u32 count) in ide_unplugged_insl()
63 static void ide_unplugged_outb (u8 addr, unsigned long port) in ide_unplugged_outb()
67 static void ide_unplugged_outbsync (ide_drive_t *drive, u8 addr, unsigned long port) in ide_unplugged_outbsync()
71 static void ide_unplugged_outw (u16 addr, unsigned long port) in ide_unplugged_outw()
75 static void ide_unplugged_outsw (unsigned long port, void *addr, u32 count) in ide_unplugged_outsw()
79 static void ide_unplugged_outl (u32 addr, unsigned long port) in ide_unplugged_outl()
[all …]
/linux-2.4.37.9/include/asm-mips/
Dmv64340.h689 #define MV64340_ETH_ACCESS_PROTECTION_REG(port) (0x2294 + (port<<2)) argument
690 #define MV64340_ETH_MIB_COUNTERS_BASE(port) (0x3000 + (port<<7)) argument
691 #define MV64340_ETH_PORT_CONFIG_REG(port) (0x2400 + (port<<10)) argument
692 #define MV64340_ETH_PORT_CONFIG_EXTEND_REG(port) (0x2404 + (port<<10)) argument
693 #define MV64340_ETH_MII_SERIAL_PARAMETRS_REG(port) (0x2408 + (port<<10)) argument
694 #define MV64340_ETH_GMII_SERIAL_PARAMETRS_REG(port) (0x240c + (port<<10)) argument
695 #define MV64340_ETH_VLAN_ETHERTYPE_REG(port) (0x2410 + (port<<10)) argument
696 #define MV64340_ETH_MAC_ADDR_LOW(port) (0x2414 + (port<<10)) argument
697 #define MV64340_ETH_MAC_ADDR_HIGH(port) (0x2418 + (port<<10)) argument
698 #define MV64340_ETH_SDMA_CONFIG_REG(port) (0x241c + (port<<10)) argument
[all …]

12345678910>>...21