/u-boot/drivers/usb/host/ |
H A D | ehci-omap.c | 98 static void omap_usbhs_hsic_init(int port) argument 103 reg = readl(&usbtll->channel_conf + port); 111 writel(reg, &usbtll->channel_conf + port); 115 static void omap_ehci_soft_phy_reset(int port) argument 120 ulpi_vp.port_num = port; 125 static void omap_ehci_soft_phy_reset(int port) argument 206 /* Clear port mode fields for PHY mode */ 222 /* Clear port mode fields for PHY mode */ 289 /* Go through each port portX-mode to determing phy mode */ 291 snprintf(prop, sizeof(prop), "port [all...] |
/u-boot/drivers/led/ |
H A D | led_cortina.c | 55 u32 port; /* corresponding ethernet port */ member in struct:cortina_led_cfg 155 priv->port = dev_read_u32_default(dev, "port", 0); 202 u32 val, port, off_event, blink_event, on_event; local 240 port = priv->port; 242 val |= port << LED_PORT_SHIFT;
|
/u-boot/board/freescale/mx6sxsabreauto/ |
H A D | mx6sxsabreauto.c | 178 int board_usb_phy_mode(int port) argument 180 if (port == 1) 183 return usb_phy_mode(port); 186 int board_ehci_hcd_init(int port) argument 190 if (port > 1) 194 port * 4);
|
/u-boot/arch/x86/cpu/broadwell/ |
H A D | sata.c | 30 * 0 = port 0 DEVSLP on DEVSLP0/GPIO33 31 * 1 = port 3 DEVSLP on DEVSLP0/GPIO33 49 int port; local 104 for (port = 0; port < 4; port++) { 105 if (!(plat->port_map & (1 << port))) 108 setbits_le32(abar + 0x144 + (0x80 * port), 1 << 1); 242 plat->port_map = fdtdec_get_int(blob, node, "intel,sata-port-map", 0);
|
/u-boot/arch/mips/mach-octeon/ |
H A D | cvmx-helper-util.c | 54 * First IPD port number assigned to this interface. 56 * Last IPD port number assigned to this interface. 59 * same interface port/mode configuration. This value is used 71 * Interface number to ipd port map for the octeon 68xx. 87 * Interface number to ipd port map for the octeon 78xx. 108 * Interface number to ipd port map for the octeon 73xx. 120 * Interface number to ipd port map for the octeon 75xx. 702 int cvmx_helper_get_pko_port(int interface, int port) argument 704 return cvmx_pko_get_base_pko_port(interface, port); 791 int cvmx_helper_get_bpid(int interface, int port) argument 893 int port; local [all...] |
H A D | cvmx-pko3.c | 286 unsigned int port, num_ports; local 342 for (port = 0; port < num_ports; port++) { 345 /* Get the per-port mode for BGX-interfaces */ 347 mode = cvmx_helper_bgx_get_mode(xiface, port); 350 /* convert interface/port to mac number */ 351 i = __cvmx_pko3_get_mac_num(xiface, port); 353 cvmx_printf("%s: ERROR: interface %d:%u port %d has no MAC %d/%d\n", 354 __func__, node, interface, port, [all...] |
/u-boot/drivers/net/mscc_eswitch/ |
H A D | luton_switch.c | 216 /* map the 8 CPU extraction queues to CPU port 26 */ 231 /* Enable IFH parsing on CPU port 0 and 1 */ 246 /* Enable switching to/from cpu port */ 253 static void luton_gmii_port_init(struct luton_private *priv, int port) argument 255 void __iomem *regs = priv->regs[port]; 268 priv->regs[ANA] + ANA_PORT_VLAN_CFG(port)); 270 /* Enable switching to/from port */ 271 setbits_le32(priv->regs[SYS] + SYS_SWITCH_PORT_MODE(port), 275 static void luton_port_init(struct luton_private *priv, int port) argument 277 void __iomem *regs = priv->regs[port]; 297 luton_ext_port_init(struct luton_private *priv, int port) argument 541 int port = BIT(0); /* use port 0 */ local [all...] |
/u-boot/arch/powerpc/cpu/mpc8xx/ |
H A D | immap.c | 177 * use *uint and set the address based on cmd + port 184 static uint port; local 200 port = argv[1][0] - 'A'; 201 if (port > 3) 202 port -= 0x20; 203 if (port > 3) 242 iopin.port = port;
|
/u-boot/drivers/net/ti/ |
H A D | am65-cpsw-nuss.c | 193 struct am65_cpsw_port *port = &common->ports[priv->port_id]; local 213 if (mac_control == port->mac_control) 217 printf("link up on port %d, speed %d, %s duplex\n", 221 printf("link down on port %d\n", priv->port_id); 224 writel(mac_control, port->macsl_base + AM65_CPSW_MACSL_CTL_REG); 225 port->mac_control = mac_control; 326 struct am65_cpsw_port *port = &common->ports[priv->port_id]; local 405 /* port 0 put into forward mode */ 415 writel(PKTSIZE_ALIGN, port->port_base + AM65_CPSW_PN_RX_MAXLEN_REG); 418 am65_cpsw_set_sl_mac(port, pdat 535 struct am65_cpsw_port *port = &common->ports[priv->port_id]; local 764 struct am65_cpsw_port *port = &cpsw_common->ports[i]; local [all...] |
/u-boot/arch/powerpc/cpu/mpc83xx/ |
H A D | cpu_init.c | 34 extern void qe_config_iopin(u8 port, u8 pin, int dir, 40 u8 port, pin; local 45 port = qe_iop_conf_tab[i].port; 50 qe_config_iopin(port, pin, dir, open_drain, assign);
|
/u-boot/include/ |
H A D | ahci.h | 43 /* Registers for each SATA port */ 50 #define PORT_CMD 0x18 /* port command */ 72 #define PORT_IRQ_BAD_PMP (1 << 23) /* incorrect port multiplier */ 76 #define PORT_IRQ_CONNECT (1 << 6) /* port connect change status */ 106 #define PORT_CMD_START (1 << 0) /* Enable port DMA engine */ 157 struct ahci_ioports port[AHCI_MAX_PORTS]; member in struct:ahci_uc_priv 169 u32 link_port_map; /*linkup port map*/ 182 * port_status() - get the status of a SATA port 185 * @port: Port number to check (0 for first) 186 * @return 0 if detected, -ENXIO if nothing on port, othe [all...] |
H A D | mv88e6352.h | 65 u8 port; member in struct:mv88e_sw_reg
|
/u-boot/arch/arm/mach-sunxi/ |
H A D | clock_sun4i.c | 63 int clock_twi_onoff(int port, int state) argument 71 CLK_GATE_OPEN << (APB1_GATE_TWI_SHIFT + port)); 74 CLK_GATE_OPEN << (APB1_GATE_TWI_SHIFT + port));
|
H A D | clock_sun50i_h6.c | 107 int clock_twi_onoff(int port, int state) argument 118 if (port == 5) { 122 shift = port;
|
/u-boot/drivers/serial/ |
H A D | serial_mcf.c | 29 extern void uart_port_conf(int port); 89 plat->port = dev_seq(dev); 92 plat->port, plat->baudrate);
|
/u-boot/board/freescale/t208xqds/ |
H A D | eth_t208xqds.c | 181 enum fm_port port, int offset) 203 if (fm_info_get_enet_if(port) == PHY_INTERFACE_MODE_SGMII) { 204 phy = fm_info_get_phy_address(port); 205 switch (port) { 256 if (mdio_mux[port] == EMI1_SLOT2) { 260 } else if (mdio_mux[port] == EMI1_SLOT3) { 290 if (mdio_mux[port] == EMI1_SLOT1) { 294 } else if (mdio_mux[port] == EMI1_SLOT2) { 311 } else if (fm_info_get_enet_if(port) == PHY_INTERFACE_MODE_XGMII) { 323 switch (port) { 180 board_ft_fman_fixup_port(void *fdt, char *compat, phys_addr_t addr, enum fm_port port, int offset) argument [all...] |
/u-boot/drivers/usb/gadget/ |
H A D | ep0.c | 219 int port = 0; /* XXX compound device */ local 240 usbd_device_device_descriptor (device, port))) { 263 usbd_device_device_descriptor (device, port))) { 277 port, 323 port, 0, 352 (device, port, 0, bNumInterface,
|
/u-boot/board/freescale/mx6ul_14x14_evk/ |
H A D | mx6ul_14x14_evk.c | 176 int board_usb_phy_mode(int port) argument 178 if (port == 1) 181 return usb_phy_mode(port); 184 int board_ehci_hcd_init(int port) argument 188 if (port > 1) 192 port * 4);
|
/u-boot/arch/mips/mach-octeon/include/mach/ |
H A D | cvmx-pcie.h | 39 u64 port : 2; /* PCIe port 0,1 */ member in struct:__anon73::__anon74 56 u64 port : 2; /* PCIe port 0,1 */ member in struct:__anon73::__anon75 75 * @param pcie_port PCIe port the IO is for 85 * @param pcie_port PCIe port the IO is for 95 * @param pcie_port PCIe port the IO is for 105 * @param pcie_port PCIe port the IO is for 112 * Initialize a PCIe port for use in host(RC) mode. It doesn't enumerate the bus. 114 * @param pcie_port PCIe port t [all...] |
H A D | cvmx-wqe.h | 192 u64 port : 12; member in struct:__anon158::__anon160 265 u64 port : 12; member in struct:__anon158::__anon164 615 * ingress port number, which can also be used as a destination 616 * port number for the same port. 619 * @returns returns the normalized port number, also known as "ipd" port 623 int port; local 626 /* In 78xx wqe entry has channel number not port*/ 627 port 644 cvmx_wqe_set_port(cvmx_wqe_t *work, int port) argument [all...] |
H A D | octeon_eth.h | 17 u32 port; /** ipd port */ member in struct:octeon_eth_info 19 u32 index; /** port index on interface */ 21 u32 initted_flag; /** 0 if port not initialized */ 49 * Called to check the status of a port. This is used for some
|
/u-boot/cmd/ |
H A D | usb.c | 493 static int usb_test(struct usb_device *dev, int port, char* arg) argument 497 if (port > dev->maxchild) { 498 printf("Device is no hub or does not have %d ports.\n", port); 534 if (port) 535 printf(" on downstream facing port %d...\n", port); 537 printf(" on upstream facing port...\n"); 540 port ? USB_RT_PORT : USB_RECIP_DEVICE, 541 port ? USB_PORT_FEAT_TEST : USB_FEAT_TEST, 542 (mode << 8) | port, [all...] |
/u-boot/include/usb/ |
H A D | ehci-ci.h | 254 int usb_phy_mode(int port); 256 int board_ehci_hcd_init(int port); 257 int board_ehci_power(int port, int on); 258 int board_usb_phy_mode(int port);
|
/u-boot/drivers/net/octeon/ |
H A D | octeon_eth.c | 111 * @param interface interface of port to set 112 * @param index index of port to set MAC address for 260 debug("%s(), dev_ptr: %p, dev: %s, port: %d\n", __func__, dev, 261 dev->name, priv->port); 287 * enabled port, which does not have such PHY setup here. 303 * Initializes the specified interface and port 306 * @param index port index on interface 307 * @param port ipd port number 310 * @return 0 for success, -1 if out of memory, 1 if port i 312 octeon_eth_initialize(struct udevice *dev, int interface, int index, int port, cvmx_helper_interface_mode_t if_mode) argument 598 int port = priv->port; local [all...] |
/u-boot/arch/arm/mach-k3/ |
H A D | j721s2_init.c | 326 u32 port = (main_devstat & MAIN_DEVSTAT_BKUP_MMC_PORT_MASK) >> local 328 if (port == 0x0) 354 u32 port = (main_devstat & local 357 if (port == 0x0)
|