Searched refs:port_map (Results 1 - 11 of 11) sorted by relevance

/u-boot/arch/x86/cpu/ivybridge/
H A Dsata.c20 static void common_sata_init(struct udevice *dev, unsigned int port_map) argument
32 reg16 |= port_map;
36 port_map &= 0xff;
37 dm_pci_write_config32(dev, 0x94, ((port_map ^ 0x3f) << 24) | 0x183);
42 unsigned int port_map, speed_support, port_tx; local
52 port_map = fdtdec_get_int(blob, node, "intel,sata-port-map", 0);
73 common_sata_init(dev, 0x8000 | port_map);
89 writel(port_map, abar + 0x0c);
123 common_sata_init(dev, port_map);
153 common_sata_init(dev, port_map);
196 unsigned port_map; local
[all...]
/u-boot/arch/mips/mach-octeon/
H A Dcvmx-helper-util.c712 const struct ipd_port_map *port_map; local
716 port_map = ipd_port_map_68xx;
719 port_map = ipd_port_map_78xx;
722 port_map = ipd_port_map_73xx;
725 port_map = ipd_port_map_75xx;
731 ipd_port += port_map[xi.interface].first_ipd_port;
732 if (port_map[xi.interface].type == GMII) {
739 ipd_port += port_map[xi.interface].ipd_port_adj;
744 } else if (port_map[xi.interface].type == ILK) {
746 } else if (port_map[x
809 const struct ipd_port_map *port_map; local
821 const struct ipd_port_map *port_map; local
833 const struct ipd_port_map *port_map; local
845 const struct ipd_port_map *port_map; local
892 const struct ipd_port_map *port_map; local
[all...]
/u-boot/arch/x86/cpu/broadwell/
H A Dsata.c22 int port_map; member in struct:sata_plat
60 reg16 |= 0x8000 | plat->port_map;
78 reg32 |= (plat->port_map ^ 0xf) << 24;
93 writel(plat->port_map, abar + 0x0c);
105 if (!(plat->port_map & (1 << port)))
115 if ((plat->port_map & ((1 << 3)|(1 << 2))) == 0)
118 if ((plat->port_map & ((1 << 1)|(1 << 0))) == 0)
226 map |= (plat->port_map ^ 0x3f) << 8;
242 plat->port_map = fdtdec_get_int(blob, node, "intel,sata-port-map", 0);
/u-boot/board/highbank/
H A Dahci.c144 u32 port_map; local
146 port_map = readl(0xffe08000 + HOST_PORTS_IMPL);
148 if (port_map & (1 << i))
/u-boot/drivers/ata/
H A Dahci.c172 u32 port_map; local
189 uc_priv->port_map = readl(mmio + HOST_PORTS_IMPL);
190 port_map = uc_priv->port_map;
193 debug("cap 0x%x port_map 0x%x n_ports %d\n",
194 uc_priv->cap, uc_priv->port_map, uc_priv->n_ports);
197 if (!(port_map & (1 << i)))
308 impl = uc_priv->port_map;
616 if (!(uc_priv->port_map & (1 << port))) {
617 debug("Port %x not valid in map %x\n", port, uc_priv->port_map);
[all...]
H A Dmtk_ahci.c74 &hpriv->port_map);
H A Ddwc_ahsata.c160 uc_priv->port_map = readl(&host_mmio->pi);
165 debug("cap 0x%x port_map 0x%x n_ports %d\n",
166 uc_priv->cap, uc_priv->port_map, uc_priv->n_ports);
285 impl = uc_priv->port_map;
/u-boot/drivers/net/
H A Dcortina_ni.c303 if (!priv->port_map[i].phy_addr)
306 ca_mdio_read(priv->port_map[i].phy_addr, 1, &data);
308 priv->active_port = priv->port_map[i].port;
487 priv->port_map[NI_PORT_3].phy_addr,
499 priv->port_map[NI_PORT_4].phy_addr,
1001 priv->phydev->addr = priv->port_map[priv->active_port].phy_addr;
1063 &priv->port_map[i].phy_addr);
1065 &priv->port_map[i].port);
H A Dcortina_ni.h61 struct port_map_s port_map[5]; member in struct:cortina_ni_priv
H A Dmvpp2.c1229 u32 port_map; member in struct:mvpp2_bm_pool
2855 port->pool_long->port_map |= (1 << port->id);
/u-boot/include/
H A Dahci.h168 u32 port_map; /* cache of HOST_PORTS_IMPL reg */ member in struct:ahci_uc_priv

Completed in 92 milliseconds