Home
last modified time | relevance | path

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

12345678910

/u-boot/doc/board/emulation/
A Dqemu-mips.rst23 Example usage
68 Download kernel + initrd
83 Generate uImage
90 Copy uImage to Flash
97 Generate Ide Disk
115 Copy to ide
122 Generate ext2 on part 2 on Copy uImage and initrd.gz
139 Set Environment
/u-boot/drivers/serial/
A Dserial_sh.c25 static int scif_rxfill(struct uart_port *port) in scif_rxfill()
30 static int scif_rxfill(struct uart_port *port) in scif_rxfill()
42 static int scif_rxfill(struct uart_port *port) in scif_rxfill()
75 static void handle_error(struct uart_port *port) in handle_error()
95 static int serial_rx_fifo_level(struct uart_port *port) in serial_rx_fifo_level()
110 static int serial_getc_check(struct uart_port *port) in serial_getc_check()
297 struct uart_port *port = &sh_sci; in sh_serial_setbrg() local
304 struct uart_port *port = &sh_sci; in sh_serial_init() local
314 struct uart_port *port = &sh_sci; in sh_serial_putc() local
330 struct uart_port *port = &sh_sci; in sh_serial_tstc() local
[all …]
A Dserial_ns16550.c76 #define DECLARE_ESERIAL_FUNCTIONS(port) \ argument
107 #define INIT_ESERIAL_STRUCTURE(port, __name) { \ argument
118 static void _serial_putc(const char c, const int port) in _serial_putc()
126 static void _serial_puts(const char *s, const int port) in _serial_puts()
133 static int _serial_getc(const int port) in _serial_getc()
138 static int _serial_tstc(const int port) in _serial_tstc()
143 static void _serial_setbrg(const int port) in _serial_setbrg()
A Dserial_sh.h66 # define SCSCR_INIT(port) 0x38 argument
80 # define SCSCR_INIT(port) 0x3a argument
182 #define SCxSR_TEND(port)\ argument
184 #define SCxSR_ERRORS(port)\ argument
186 #define SCxSR_RDxF(port)\ argument
188 #define SCxSR_TDxE(port)\ argument
190 #define SCxSR_FER(port)\ argument
192 #define SCxSR_PER(port)\ argument
194 #define SCxSR_BRK(port)\ argument
196 #define SCxSR_ORER(port)\ argument
[all …]
/u-boot/drivers/bios_emulator/
A Dbesys.c254 #define IS_SPKR_PORT(port) (port == 0x61) argument
267 static u8 VGA_inpb (const int port) in VGA_inpb()
343 static void VGA_outpb (int port, u8 val) in VGA_outpb()
501 static u32 PCI_inp(int port, int type) in PCI_inp()
532 static void PCI_outp(int port, u32 val, int type) in PCI_outp()
570 u8 X86API BE_inb(X86EMU_pioAddr port) in BE_inb()
616 u16 X86API BE_inw(X86EMU_pioAddr port) in BE_inw()
649 u32 X86API BE_inl(X86EMU_pioAddr port) in BE_inl()
679 void X86API BE_outb(X86EMU_pioAddr port, u8 val) in BE_outb()
714 void X86API BE_outw(X86EMU_pioAddr port, u16 val) in BE_outw()
[all …]
A Dbiosemui.h131 #define PM_inpb(port) inb(port+VIDEO_IO_OFFSET) argument
132 #define PM_inpw(port) inw(port+VIDEO_IO_OFFSET) argument
133 #define PM_inpd(port) inl(port+VIDEO_IO_OFFSET) argument
134 #define PM_outpb(port,val) outb(val,port+VIDEO_IO_OFFSET) argument
135 #define PM_outpw(port,val) outw(val,port+VIDEO_IO_OFFSET) argument
138 #define LOG_inpb(port) PM_inpb(port) argument
139 #define LOG_inpw(port) PM_inpw(port) argument
140 #define LOG_inpd(port) PM_inpd(port) argument
141 #define LOG_outpb(port,val) PM_outpb(port,val) argument
142 #define LOG_outpw(port,val) PM_outpw(port,val) argument
[all …]
/u-boot/arch/x86/cpu/quark/
A Dmsg_port.c11 void msg_port_setup(int op, int port, int reg) in msg_port_setup()
18 u32 msg_port_read(u8 port, u32 reg) in msg_port_read()
30 void msg_port_write(u8 port, u32 reg, u32 value) in msg_port_write()
38 u32 msg_port_alt_read(u8 port, u32 reg) in msg_port_alt_read()
50 void msg_port_alt_write(u8 port, u32 reg, u32 value) in msg_port_alt_write()
58 u32 msg_port_io_read(u8 port, u32 reg) in msg_port_io_read()
70 void msg_port_io_write(u8 port, u32 reg, u32 value) in msg_port_io_write()
/u-boot/drivers/misc/
A Dsmsc_sio1007.c11 static inline u8 sio1007_read(int port, int reg) in sio1007_read()
18 static inline void sio1007_write(int port, int reg, int val) in sio1007_write()
24 static inline void sio1007_clrsetbits(int port, int reg, u8 clr, u8 set) in sio1007_clrsetbits()
29 void sio1007_enable_serial(int port, int num, int iobase, int irq) in sio1007_enable_serial()
52 void sio1007_enable_runtime(int port, int iobase) in sio1007_enable_runtime()
67 void sio1007_gpio_config(int port, int gpio, int dir, int pol, int type) in sio1007_gpio_config()
90 int sio1007_gpio_get_value(int port, int gpio) in sio1007_gpio_get_value()
109 void sio1007_gpio_set_value(int port, int gpio, int val) in sio1007_gpio_set_value()
/u-boot/arch/x86/include/asm/arch-quark/
A Dmsg_port.h108 #define msg_port_generic_clrsetbits(type, port, reg, clr, set) \ argument
113 #define msg_port_clrbits(port, reg, clr) \ argument
115 #define msg_port_setbits(port, reg, set) \ argument
117 #define msg_port_clrsetbits(port, reg, clr, set) \ argument
120 #define msg_port_alt_clrbits(port, reg, clr) \ argument
122 #define msg_port_alt_setbits(port, reg, set) \ argument
124 #define msg_port_alt_clrsetbits(port, reg, clr, set) \ argument
127 #define msg_port_io_clrbits(port, reg, clr) \ argument
129 #define msg_port_io_setbits(port, reg, set) \ argument
131 #define msg_port_io_clrsetbits(port, reg, clr, set) \ argument
/u-boot/drivers/gpio/
A Dat91_gpio.c23 static struct at91_port *at91_pio_get_port(unsigned port) in at91_pio_get_port()
241 int at91_set_pio_input(unsigned port, u32 pin, int use_pullup) in at91_set_pio_input()
271 int at91_set_pio_output(unsigned port, u32 pin, int value) in at91_set_pio_output()
429 int at91_set_pio_value(unsigned port, unsigned pin, int value) in at91_set_pio_value()
451 int at91_get_pio_value(unsigned port, unsigned pin) in at91_get_pio_value()
512 struct at91_port_priv *port = dev_get_priv(dev); in at91_gpio_direction_input() local
523 struct at91_port_priv *port = dev_get_priv(dev); in at91_gpio_direction_output() local
533 struct at91_port_priv *port = dev_get_priv(dev); in at91_gpio_get_value() local
542 struct at91_port_priv *port = dev_get_priv(dev); in at91_gpio_set_value() local
551 struct at91_port_priv *port = dev_get_priv(dev); in at91_gpio_get_function() local
[all …]
A Datmel_pio4.c22 static struct atmel_pio4_port *atmel_pio4_port_base(u32 port) in atmel_pio4_port_base()
48 static int atmel_pio4_config_io_func(u32 port, u32 pin, in atmel_pio4_config_io_func()
71 int atmel_pio4_set_gpio(u32 port, u32 pin, u32 config) in atmel_pio4_set_gpio()
78 int atmel_pio4_set_a_periph(u32 port, u32 pin, u32 config) in atmel_pio4_set_a_periph()
85 int atmel_pio4_set_b_periph(u32 port, u32 pin, u32 config) in atmel_pio4_set_b_periph()
92 int atmel_pio4_set_c_periph(u32 port, u32 pin, u32 config) in atmel_pio4_set_c_periph()
99 int atmel_pio4_set_d_periph(u32 port, u32 pin, u32 config) in atmel_pio4_set_d_periph()
106 int atmel_pio4_set_e_periph(u32 port, u32 pin, u32 config) in atmel_pio4_set_e_periph()
113 int atmel_pio4_set_f_periph(u32 port, u32 pin, u32 config) in atmel_pio4_set_f_periph()
120 int atmel_pio4_set_g_periph(u32 port, u32 pin, u32 config) in atmel_pio4_set_g_periph()
[all …]
/u-boot/arch/mips/mach-octeon/include/
A Dmangle-port.h21 # define __swizzle_addr_b(port) (port) argument
22 # define __swizzle_addr_w(port) (port) argument
23 # define __swizzle_addr_l(port) (port) argument
24 # define __swizzle_addr_q(port) (port) argument
36 # define __swizzle_addr_b(port) \ argument
38 # define __swizzle_addr_w(port) \ argument
40 # define __swizzle_addr_l(port) \ argument
42 # define __swizzle_addr_q(port) (port) argument
/u-boot/arch/m68k/include/asm/
A Dio.h53 #define inb(port) in_8((u8 *)((port)+_IO_BASE)) argument
54 #define outb(val, port) out_8((u8 *)((port)+_IO_BASE), (val)) argument
56 #define inw(port) in_be16((u16 *)((port)+_IO_BASE)) argument
57 #define outw(val, port) out_be16((u16 *)((port)+_IO_BASE), (val)) argument
58 #define inl(port) in_be32((u32 *)((port)+_IO_BASE)) argument
59 #define outl(val, port) out_be32((u32 *)((port)+_IO_BASE), (val)) argument
61 #define inw(port) in_le16((u16 *)((port)+_IO_BASE)) argument
63 #define inl(port) in_le32((u32 *)((port)+_IO_BASE)) argument
69 static inline void _insb(volatile u8 * port, void *buf, int ns) in _insb()
83 static inline void _insw(volatile u16 * port, void *buf, int ns) in _insw()
[all …]
/u-boot/drivers/net/fm/
A Dp4080.c25 static int is_device_disabled(enum fm_port port) in is_device_disabled()
33 void fman_disable_port(enum fm_port port) in fman_disable_port()
44 void fman_enable_port(enum fm_port port) in fman_enable_port()
51 phy_interface_t fman_port_enet_if(enum fm_port port) in fman_port_enet_if()
A Dp5040.c27 static int is_device_disabled(enum fm_port port) in is_device_disabled()
35 void fman_disable_port(enum fm_port port) in fman_disable_port()
46 void fman_enable_port(enum fm_port port) in fman_enable_port()
53 phy_interface_t fman_port_enet_if(enum fm_port port) in fman_port_enet_if()
A Dp1023.c17 static int is_device_disabled(enum fm_port port) in is_device_disabled()
25 void fman_disable_port(enum fm_port port) in fman_disable_port()
36 void fman_enable_port(enum fm_port port) in fman_enable_port()
43 phy_interface_t fman_port_enet_if(enum fm_port port) in fman_port_enet_if()
A Dp5020.c21 static int is_device_disabled(enum fm_port port) in is_device_disabled()
29 void fman_disable_port(enum fm_port port) in fman_disable_port()
40 void fman_enable_port(enum fm_port port) in fman_enable_port()
47 phy_interface_t fman_port_enet_if(enum fm_port port) in fman_port_enet_if()
A Db4860.c26 static int is_device_disabled(enum fm_port port) in is_device_disabled()
34 void fman_disable_port(enum fm_port port) in fman_disable_port()
41 void fman_enable_port(enum fm_port port) in fman_enable_port()
48 phy_interface_t fman_port_enet_if(enum fm_port port) in fman_port_enet_if()
A Dinit.c119 static int fm_port_to_index(enum fm_port port) in fm_port_to_index()
155 void fm_disable_port(enum fm_port port) in fm_disable_port()
168 void fm_enable_port(enum fm_port port) in fm_enable_port()
179 void fm_info_set_mdio(enum fm_port port, struct mii_dev *bus) in fm_info_set_mdio()
189 void fm_info_set_phy_address(enum fm_port port, int address) in fm_info_set_phy_address()
205 int fm_info_get_phy_address(enum fm_port port) in fm_info_get_phy_address()
219 phy_interface_t fm_info_get_enet_if(enum fm_port port) in fm_info_get_enet_if()
234 enum fm_port port, int offset) in __def_board_ft_fman_fixup_port()
A Dt4240.c36 static int is_device_disabled(enum fm_port port) in is_device_disabled()
44 void fman_disable_port(enum fm_port port) in fman_disable_port()
51 void fman_enable_port(enum fm_port port) in fman_enable_port()
58 phy_interface_t fman_port_enet_if(enum fm_port port) in fman_port_enet_if()
A Dt1024.c21 static int is_device_disabled(enum fm_port port) in is_device_disabled()
29 void fman_disable_port(enum fm_port port) in fman_disable_port()
36 phy_interface_t fman_port_enet_if(enum fm_port port) in fman_port_enet_if()
A Dt2080.c29 static int is_device_disabled(enum fm_port port) in is_device_disabled()
37 void fman_disable_port(enum fm_port port) in fman_disable_port()
44 phy_interface_t fman_port_enet_if(enum fm_port port) in fman_port_enet_if()
/u-boot/arch/xtensa/include/asm/
A Dio.h59 #define inb(port) readb((u8 *)((port))) argument
60 #define outb(val, port) writeb((val), (u8 *)((unsigned long)(port))) argument
61 #define inw(port) readw((u16 *)((port))) argument
62 #define outw(val, port) writew((val), (u16 *)((unsigned long)(port))) argument
63 #define inl(port) readl((u32 *)((port))) argument
66 #define inb_p(port) inb((port)) argument
67 #define outb_p(val, port) outb((val), (port)) argument
68 #define inw_p(port) inw((port)) argument
69 #define outw_p(val, port) outw((val), (port)) argument
70 #define inl_p(port) inl((port)) argument
[all …]
/u-boot/arch/powerpc/include/asm/
A Dio.h53 #define inb(port) in_8((u8 *)((port)+_IO_BASE)) argument
54 #define outb(val, port) out_8((u8 *)((port)+_IO_BASE), (val)) argument
56 #define inw(port) in_be16((u16 *)((port)+_IO_BASE)) argument
57 #define outw(val, port) out_be16((u16 *)((port)+_IO_BASE), (val)) argument
58 #define inl(port) in_be32((u32 *)((port)+_IO_BASE)) argument
61 #define inw(port) in_le16((u16 *)((port)+_IO_BASE)) argument
63 #define inl(port) in_le32((u32 *)((port)+_IO_BASE)) argument
67 #define inb_p(port) in_8((u8 *)((port)+_IO_BASE)) argument
68 #define outb_p(val, port) out_8((u8 *)((port)+_IO_BASE), (val)) argument
69 #define inw_p(port) in_le16((u16 *)((port)+_IO_BASE)) argument
[all …]
/u-boot/arch/arm/mach-mvebu/serdes/axp/
A Dboard_env_spec.h130 #define SATA_BASE_REG(port) (0xA2000 + (port)*0x2000) argument
132 #define SATA_PWR_PLL_CTRL_REG(port) (SATA_BASE_REG(port) + 0x804) argument
133 #define SATA_DIG_LP_ENA_REG(port) (SATA_BASE_REG(port) + 0x88C) argument
134 #define SATA_REF_CLK_SEL_REG(port) (SATA_BASE_REG(port) + 0x918) argument
135 #define SATA_COMPHY_CTRL_REG(port) (SATA_BASE_REG(port) + 0x920) argument
139 #define SATA_GEN_1_SET_0_REG(port) (SATA_BASE_REG(port) + 0x834) argument
140 #define SATA_GEN_1_SET_1_REG(port) (SATA_BASE_REG(port) + 0x838) argument
141 #define SATA_GEN_2_SET_0_REG(port) (SATA_BASE_REG(port) + 0x83C) argument
142 #define SATA_GEN_2_SET_1_REG(port) (SATA_BASE_REG(port) + 0x840) argument
147 #define MV_ETH_REGS_BASE(port) MV_ETH_REGS_OFFSET(port) argument
[all …]

Completed in 33 milliseconds

12345678910