Lines Matching refs:port_map
18 static void common_sata_init(struct udevice *dev, unsigned int port_map) in common_sata_init() argument
30 reg16 |= port_map; in common_sata_init()
34 port_map &= 0xff; in common_sata_init()
35 dm_pci_write_config32(dev, 0x94, ((port_map ^ 0x3f) << 24) | 0x183); in common_sata_init()
40 unsigned int port_map, speed_support, port_tx; in bd82x6x_sata_init() local
50 port_map = fdtdec_get_int(blob, node, "intel,sata-port-map", 0); in bd82x6x_sata_init()
71 common_sata_init(dev, 0x8000 | port_map); in bd82x6x_sata_init()
87 writel(port_map, abar + 0x0c); in bd82x6x_sata_init()
121 common_sata_init(dev, port_map); in bd82x6x_sata_init()
151 common_sata_init(dev, port_map); in bd82x6x_sata_init()
194 unsigned port_map; in bd82x6x_sata_enable() local
205 port_map = fdtdec_get_int(blob, node, "intel,sata-port-map", 0); in bd82x6x_sata_enable()
207 map |= (port_map ^ 0x3f) << 8; in bd82x6x_sata_enable()