Home
last modified time | relevance | path

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

123456789

/rk3399_rockchip-uboot/drivers/serial/
H A Dserial_sh.c27 static int scif_rxfill(struct uart_port *port) in scif_rxfill()
32 static int scif_rxfill(struct uart_port *port) in scif_rxfill()
44 static int scif_rxfill(struct uart_port *port) in scif_rxfill()
52 static int scif_rxfill(struct uart_port *port) in scif_rxfill()
58 static void sh_serial_init_generic(struct uart_port *port) in sh_serial_init_generic()
70 sh_serial_setbrg_generic(struct uart_port *port, int clk, int baudrate) in sh_serial_setbrg_generic()
82 static void handle_error(struct uart_port *port) in handle_error()
90 static int serial_raw_putc(struct uart_port *port, const char c) in serial_raw_putc()
102 static int serial_rx_fifo_level(struct uart_port *port) in serial_rx_fifo_level()
107 static int sh_serial_tstc_generic(struct uart_port *port) in sh_serial_tstc_generic()
[all …]
H A Dserial_sh.h28 # define SCSCR_INIT(port) 0x30 /* TIE=0,RIE=0,TE=1,RE=1 */ argument
41 # define SCSCR_INIT(port) (port->mapbase == SCIF2) ? 0xF3 : 0xF0 argument
49 # define SCSCR_INIT(port) 0x0030 /* TIE=0,RIE=0,TE=1,RE=1 */ argument
57 # define SCSCR_INIT(port) 0x3a /* TIE=0,RIE=0,TE=1,RE=1,REIE=1 */ argument
67 # define SCSCR_INIT(port) (((port)->type == PORT_SCI) ? \ argument
75 # define SCSCR_INIT(port) 0x38 /* TIE=0,RIE=0,TE=1,RE=1,REIE=1 */ argument
81 # define SCSCR_INIT(port) 0x3B argument
87 # define SCSCR_INIT(port) 0x32 /* TIE=0,RIE=0,TE=1,RE=1,REIE=0,CKE=1 */ argument
95 # define SCSCR_INIT(port) 0x0038 /* TIE=0,RIE=0,TE=1,RE=1,REIE=1 */ argument
100 # define SCSCR_INIT(port) 0x0038 /* TIE=0,RIE=0,TE=1,RE=1,REIE=1 */ argument
[all …]
H A Dserial_ns16550.c80 #define DECLARE_ESERIAL_FUNCTIONS(port) \ argument
111 #define INIT_ESERIAL_STRUCTURE(port, __name) { \ argument
122 static void _serial_putc(const char c, const int port) in _serial_putc()
130 static void _serial_puts(const char *s, const int port) in _serial_puts()
137 static int _serial_getc(const int port) in _serial_getc()
142 static int _serial_tstc(const int port) in _serial_tstc()
147 static void _serial_setbrg(const int port) in _serial_setbrg()
/rk3399_rockchip-uboot/drivers/bios_emulator/
H A Dbesys.c249 #define IS_TIMER_PORT(port) (0x40 <= port && port <= 0x43) argument
250 #define IS_CMOS_PORT(port) (0x70 <= port && port <= 0x71) argument
252 #define IS_VGA_PORT(port) (0x3C0 <= port && port <= 0x3DA) argument
253 #define IS_PCI_PORT(port) (0xCF8 <= port && port <= 0xCFF) argument
254 #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()
[all …]
H 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
136 #define PM_outpd(port,val) outl(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
[all …]
/rk3399_rockchip-uboot/drivers/power/power_delivery/
H A Dtcpm.c457 struct tcpm_port *port; member
471 #define tcpm_port_is_sink(port) \ argument
479 #define tcpm_port_is_source(port) \ argument
485 #define tcpm_port_is_debug(port) \ argument
488 #define tcpm_port_is_audio(port) \ argument
491 #define tcpm_port_is_audio_detached(port) \ argument
495 #define tcpm_try_snk(port) \ argument
499 #define tcpm_try_src(port) \ argument
503 #define tcpm_data_role_for_source(port) \ argument
507 #define tcpm_data_role_for_sink(port) \ argument
[all …]
/rk3399_rockchip-uboot/arch/x86/cpu/quark/
H A Dmsg_port.c12 void msg_port_setup(int op, int port, int reg) in msg_port_setup()
19 u32 msg_port_read(u8 port, u32 reg) in msg_port_read()
31 void msg_port_write(u8 port, u32 reg, u32 value) in msg_port_write()
39 u32 msg_port_alt_read(u8 port, u32 reg) in msg_port_alt_read()
51 void msg_port_alt_write(u8 port, u32 reg, u32 value) in msg_port_alt_write()
59 u32 msg_port_io_read(u8 port, u32 reg) in msg_port_io_read()
71 void msg_port_io_write(u8 port, u32 reg, u32 value) in msg_port_io_write()
/rk3399_rockchip-uboot/drivers/gpio/
H A Dat91_gpio.c23 static struct at91_port *at91_pio_get_port(unsigned port) in at91_pio_get_port()
59 int at91_set_pio_pullup(unsigned port, unsigned pin, int use_pullup) in at91_set_pio_pullup()
72 int at91_set_pio_periph(unsigned port, unsigned pin, int use_pullup) in at91_set_pio_periph()
90 int at91_set_a_periph(unsigned port, unsigned pin, int use_pullup) in at91_set_a_periph()
109 int at91_set_b_periph(unsigned port, unsigned pin, int use_pullup) in at91_set_b_periph()
128 int at91_pio3_set_a_periph(unsigned port, unsigned pin, int use_pullup) in at91_pio3_set_a_periph()
151 int at91_pio3_set_b_periph(unsigned port, unsigned pin, int use_pullup) in at91_pio3_set_b_periph()
173 int at91_pio3_set_c_periph(unsigned port, unsigned pin, int use_pullup) in at91_pio3_set_c_periph()
195 int at91_pio3_set_d_periph(unsigned port, unsigned pin, int use_pullup) in at91_pio3_set_d_periph()
241 int at91_set_pio_input(unsigned port, u32 pin, int use_pullup) in at91_set_pio_input()
[all …]
H A Datmel_pio4.c20 static struct atmel_pio4_port *atmel_pio4_port_base(u32 port) in atmel_pio4_port_base()
46 static int atmel_pio4_config_io_func(u32 port, u32 pin, in atmel_pio4_config_io_func()
69 int atmel_pio4_set_gpio(u32 port, u32 pin, u32 use_pullup) in atmel_pio4_set_gpio()
76 int atmel_pio4_set_a_periph(u32 port, u32 pin, u32 use_pullup) in atmel_pio4_set_a_periph()
83 int atmel_pio4_set_b_periph(u32 port, u32 pin, u32 use_pullup) in atmel_pio4_set_b_periph()
90 int atmel_pio4_set_c_periph(u32 port, u32 pin, u32 use_pullup) in atmel_pio4_set_c_periph()
97 int atmel_pio4_set_d_periph(u32 port, u32 pin, u32 use_pullup) in atmel_pio4_set_d_periph()
104 int atmel_pio4_set_e_periph(u32 port, u32 pin, u32 use_pullup) in atmel_pio4_set_e_periph()
111 int atmel_pio4_set_f_periph(u32 port, u32 pin, u32 use_pullup) in atmel_pio4_set_f_periph()
118 int atmel_pio4_set_g_periph(u32 port, u32 pin, u32 use_pullup) in atmel_pio4_set_g_periph()
[all …]
/rk3399_rockchip-uboot/drivers/misc/
H A Dsmsc_sio1007.c12 static inline u8 sio1007_read(int port, int reg) in sio1007_read()
19 static inline void sio1007_write(int port, int reg, int val) in sio1007_write()
25 static inline void sio1007_clrsetbits(int port, int reg, u8 clr, u8 set) in sio1007_clrsetbits()
30 void sio1007_enable_serial(int port, int num, int iobase, int irq) in sio1007_enable_serial()
53 void sio1007_enable_runtime(int port, int iobase) in sio1007_enable_runtime()
68 void sio1007_gpio_config(int port, int gpio, int dir, int pol, int type) in sio1007_gpio_config()
91 int sio1007_gpio_get_value(int port, int gpio) in sio1007_gpio_get_value()
110 void sio1007_gpio_set_value(int port, int gpio, int val) in sio1007_gpio_set_value()
/rk3399_rockchip-uboot/arch/x86/include/asm/arch-quark/
H A Dmsg_port.h109 #define msg_port_generic_clrsetbits(type, port, reg, clr, set) \ argument
114 #define msg_port_clrbits(port, reg, clr) \ argument
116 #define msg_port_setbits(port, reg, set) \ argument
118 #define msg_port_clrsetbits(port, reg, clr, set) \ argument
121 #define msg_port_alt_clrbits(port, reg, clr) \ argument
123 #define msg_port_alt_setbits(port, reg, set) \ argument
125 #define msg_port_alt_clrsetbits(port, reg, clr, set) \ argument
128 #define msg_port_io_clrbits(port, reg, clr) \ argument
130 #define msg_port_io_setbits(port, reg, set) \ argument
132 #define msg_port_io_clrsetbits(port, reg, clr, set) \ argument
/rk3399_rockchip-uboot/arch/m68k/include/asm/
H A Dio.h47 #define insb(port, buf, ns) _insb((u8 *)((port)+_IO_BASE), (buf), (ns)) argument
48 #define outsb(port, buf, ns) _outsb((u8 *)((port)+_IO_BASE), (buf), (ns)) argument
49 #define insw(port, buf, ns) _insw_ns((u16 *)((port)+_IO_BASE), (buf), (ns)) argument
50 #define outsw(port, buf, ns) _outsw_ns((u16 *)((port)+_IO_BASE), (buf), (ns)) argument
51 #define insl(port, buf, nl) _insl_ns((u32 *)((port)+_IO_BASE), (buf), (nl)) argument
52 #define outsl(port, buf, nl) _outsl_ns((u32 *)((port)+_IO_BASE), (buf), (nl)) argument
54 #define inb(port) in_8((u8 *)((port)+_IO_BASE)) argument
55 #define outb(val, port) out_8((u8 *)((port)+_IO_BASE), (val)) argument
57 #define inw(port) in_be16((u16 *)((port)+_IO_BASE)) argument
58 #define outw(val, port) out_be16((u16 *)((port)+_IO_BASE), (val)) argument
[all …]
/rk3399_rockchip-uboot/drivers/net/fm/
H A Dp1023.c18 static int is_device_disabled(enum fm_port port) in is_device_disabled()
26 void fman_disable_port(enum fm_port port) in fman_disable_port()
37 void fman_enable_port(enum fm_port port) in fman_enable_port()
44 phy_interface_t fman_port_enet_if(enum fm_port port) in fman_port_enet_if()
H A Dp4080.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()
45 void fman_enable_port(enum fm_port port) in fman_enable_port()
52 phy_interface_t fman_port_enet_if(enum fm_port port) in fman_port_enet_if()
H A Dp5020.c22 static int is_device_disabled(enum fm_port port) in is_device_disabled()
30 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()
H A Dp5040.c28 static int is_device_disabled(enum fm_port port) in is_device_disabled()
36 void fman_disable_port(enum fm_port port) in fman_disable_port()
47 void fman_enable_port(enum fm_port port) in fman_enable_port()
54 phy_interface_t fman_port_enet_if(enum fm_port port) in fman_port_enet_if()
H 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()
H A Dinit.c117 static int fm_port_to_index(enum fm_port port) in fm_port_to_index()
153 void fm_disable_port(enum fm_port port) in fm_disable_port()
166 void fm_enable_port(enum fm_port port) in fm_enable_port()
177 void fm_info_set_mdio(enum fm_port port, struct mii_dev *bus) in fm_info_set_mdio()
187 void fm_info_set_phy_address(enum fm_port port, int address) in fm_info_set_phy_address()
203 int fm_info_get_phy_address(enum fm_port port) in fm_info_get_phy_address()
217 phy_interface_t fm_info_get_enet_if(enum fm_port port) in fm_info_get_enet_if()
232 enum fm_port port, int offset) in __def_board_ft_fman_fixup_port()
H A Dt4240.c37 static int is_device_disabled(enum fm_port port) in is_device_disabled()
45 void fman_disable_port(enum fm_port port) in fman_disable_port()
52 void fman_enable_port(enum fm_port port) in fman_enable_port()
59 phy_interface_t fman_port_enet_if(enum fm_port port) in fman_port_enet_if()
H A Dt1024.c22 static int is_device_disabled(enum fm_port port) in is_device_disabled()
30 void fman_disable_port(enum fm_port port) in fman_disable_port()
37 phy_interface_t fman_port_enet_if(enum fm_port port) in fman_port_enet_if()
H A Dt2080.c30 static int is_device_disabled(enum fm_port port) in is_device_disabled()
38 void fman_disable_port(enum fm_port port) in fman_disable_port()
45 phy_interface_t fman_port_enet_if(enum fm_port port) in fman_port_enet_if()
/rk3399_rockchip-uboot/arch/powerpc/include/asm/
H A Dio.h43 #define insb(port, buf, ns) _insb((u8 *)((port)+_IO_BASE), (buf), (ns)) argument
44 #define outsb(port, buf, ns) _outsb((u8 *)((port)+_IO_BASE), (buf), (ns)) argument
45 #define insw(port, buf, ns) _insw_ns((u16 *)((port)+_IO_BASE), (buf), (ns)) argument
46 #define outsw(port, buf, ns) _outsw_ns((u16 *)((port)+_IO_BASE), (buf), (ns)) argument
47 #define insl(port, buf, nl) _insl_ns((u32 *)((port)+_IO_BASE), (buf), (nl)) argument
48 #define outsl(port, buf, nl) _outsl_ns((u32 *)((port)+_IO_BASE), (buf), (nl)) argument
50 #define inb(port) in_8((u8 *)((port)+_IO_BASE)) argument
51 #define outb(val, port) out_8((u8 *)((port)+_IO_BASE), (val)) argument
53 #define inw(port) in_be16((u16 *)((port)+_IO_BASE)) argument
54 #define outw(val, port) out_be16((u16 *)((port)+_IO_BASE), (val)) argument
[all …]
/rk3399_rockchip-uboot/arch/xtensa/include/asm/
H A Dio.h60 #define inb(port) readb((u8 *)((port))) argument
61 #define outb(val, port) writeb((val), (u8 *)((unsigned long)(port))) argument
62 #define inw(port) readw((u16 *)((port))) argument
63 #define outw(val, port) writew((val), (u16 *)((unsigned long)(port))) argument
64 #define inl(port) readl((u32 *)((port))) argument
65 #define outl(val, port) writel((val), (u32 *)((unsigned long)(port))) argument
67 #define inb_p(port) inb((port)) argument
68 #define outb_p(val, port) outb((val), (port)) argument
69 #define inw_p(port) inw((port)) argument
70 #define outw_p(val, port) outw((val), (port)) argument
[all …]
/rk3399_rockchip-uboot/arch/arm/mach-mvebu/serdes/axp/
H A Dboard_env_spec.h131 #define SATA_BASE_REG(port) (0xA2000 + (port)*0x2000) argument
133 #define SATA_PWR_PLL_CTRL_REG(port) (SATA_BASE_REG(port) + 0x804) argument
134 #define SATA_DIG_LP_ENA_REG(port) (SATA_BASE_REG(port) + 0x88C) argument
135 #define SATA_REF_CLK_SEL_REG(port) (SATA_BASE_REG(port) + 0x918) argument
136 #define SATA_COMPHY_CTRL_REG(port) (SATA_BASE_REG(port) + 0x920) argument
137 #define SATA_LP_PHY_EXT_CTRL_REG(port) (SATA_BASE_REG(port) + 0x058) argument
138 #define SATA_LP_PHY_EXT_STAT_REG(port) (SATA_BASE_REG(port) + 0x05C) argument
139 #define SATA_IMP_TX_SSC_CTRL_REG(port) (SATA_BASE_REG(port) + 0x810) argument
140 #define SATA_GEN_1_SET_0_REG(port) (SATA_BASE_REG(port) + 0x834) argument
141 #define SATA_GEN_1_SET_1_REG(port) (SATA_BASE_REG(port) + 0x838) argument
[all …]
/rk3399_rockchip-uboot/drivers/usb/host/
H A Dehci-mxs.c59 static int ehci_mxs_toggle_clock(const struct ehci_mxs_port *port, int enable) in ehci_mxs_toggle_clock()
80 int __weak board_ehci_hcd_init(int port) in board_ehci_hcd_init()
85 int __weak board_ehci_hcd_exit(int port) in board_ehci_hcd_exit()
96 const struct ehci_mxs_port *port; in ehci_hcd_init() local
142 const struct ehci_mxs_port *port; in ehci_hcd_stop() local

123456789