Home
last modified time | relevance | path

Searched refs:port_map (Results 1 – 7 of 7) sorted by relevance

/rk3399_rockchip-uboot/arch/x86/cpu/ivybridge/
H A Dsata.c19 static void common_sata_init(struct udevice *dev, unsigned int port_map) in common_sata_init() argument
31 reg16 |= port_map; in common_sata_init()
35 port_map &= 0xff; in common_sata_init()
36 dm_pci_write_config32(dev, 0x94, ((port_map ^ 0x3f) << 24) | 0x183); in common_sata_init()
41 unsigned int port_map, speed_support, port_tx; in bd82x6x_sata_init() local
51 port_map = fdtdec_get_int(blob, node, "intel,sata-port-map", 0); in bd82x6x_sata_init()
72 common_sata_init(dev, 0x8000 | port_map); in bd82x6x_sata_init()
88 writel(port_map, abar + 0x0c); in bd82x6x_sata_init()
122 common_sata_init(dev, port_map); in bd82x6x_sata_init()
152 common_sata_init(dev, port_map); in bd82x6x_sata_init()
[all …]
/rk3399_rockchip-uboot/arch/x86/cpu/broadwell/
H A Dsata.c20 int port_map; member
58 reg16 |= 0x8000 | plat->port_map; in broadwell_sata_init()
76 reg32 |= (plat->port_map ^ 0xf) << 24; in broadwell_sata_init()
91 writel(plat->port_map, abar + 0x0c); in broadwell_sata_init()
103 if (!(plat->port_map & (1 << port))) in broadwell_sata_init()
113 if ((plat->port_map & ((1 << 3)|(1 << 2))) == 0) in broadwell_sata_init()
116 if ((plat->port_map & ((1 << 1)|(1 << 0))) == 0) in broadwell_sata_init()
224 map |= (plat->port_map ^ 0x3f) << 8; in broadwell_sata_enable()
240 plat->port_map = fdtdec_get_int(blob, node, "intel,sata-port-map", 0); in broadwell_sata_ofdata_to_platdata()
/rk3399_rockchip-uboot/board/highbank/
H A Dahci.c144 u32 port_map; in cphy_disable_overrides() local
146 port_map = readl(0xffe08000 + HOST_PORTS_IMPL); in cphy_disable_overrides()
148 if (port_map & (1 << i)) in cphy_disable_overrides()
/rk3399_rockchip-uboot/drivers/ata/
H A Dahci.c201 u32 port_map; in ahci_host_init() local
237 uc_priv->port_map = readl(mmio + HOST_PORTS_IMPL); in ahci_host_init()
238 port_map = uc_priv->port_map; in ahci_host_init()
242 uc_priv->cap, uc_priv->port_map, uc_priv->n_ports); in ahci_host_init()
251 if (!(port_map & (1 << i))) in ahci_host_init()
382 impl = uc_priv->port_map; in ahci_print_info()
H A Ddwc_ahsata.c154 uc_priv->port_map = readl(&host_mmio->pi); in ahci_host_init()
160 uc_priv->cap, uc_priv->port_map, uc_priv->n_ports); in ahci_host_init()
279 impl = uc_priv->port_map; in ahci_print_info()
/rk3399_rockchip-uboot/include/
H A Dahci.h175 u32 port_map; /* cache of HOST_PORTS_IMPL reg */ member
/rk3399_rockchip-uboot/drivers/net/
H A Dmvpp2.c1256 u32 port_map; member
2880 port->pool_long->port_map |= (1 << port->id); in mvpp2_swf_bm_pool_init()