• Home
  • Raw
  • Download

Lines Matching refs:plat

42 	struct sata_platdata *plat = dev_get_platdata(dev);  in broadwell_sata_init()  local
57 reg16 |= 0x8000 | plat->port_map; in broadwell_sata_init()
75 reg32 |= (plat->port_map ^ 0xf) << 24; in broadwell_sata_init()
76 reg32 |= (plat->devslp_mux & 1) << 15; in broadwell_sata_init()
90 writel(plat->port_map, abar + 0x0c); in broadwell_sata_init()
95 if (plat->devslp_disable) { in broadwell_sata_init()
102 if (!(plat->port_map & (1 << port))) in broadwell_sata_init()
112 if ((plat->port_map & ((1 << 3)|(1 << 2))) == 0) in broadwell_sata_init()
115 if ((plat->port_map & ((1 << 1)|(1 << 0))) == 0) in broadwell_sata_init()
120 if (plat->port0_gen3_tx) in broadwell_sata_init()
124 (plat->port0_gen3_tx & in broadwell_sata_init()
128 if (plat->port1_gen3_tx) in broadwell_sata_init()
132 (plat->port1_gen3_tx & in broadwell_sata_init()
137 if (plat->port0_gen3_dtle) { in broadwell_sata_init()
140 (plat->port0_gen3_dtle & SATA_DTLE_MASK) in broadwell_sata_init()
145 (plat->port0_gen3_dtle & SATA_DTLE_MASK) in broadwell_sata_init()
149 if (plat->port1_gen3_dtle) { in broadwell_sata_init()
152 (plat->port1_gen3_dtle & SATA_DTLE_MASK) in broadwell_sata_init()
157 (plat->port1_gen3_dtle & SATA_DTLE_MASK) in broadwell_sata_init()
212 struct sata_platdata *plat = dev_get_platdata(dev); in broadwell_sata_enable() local
223 map |= (plat->port_map ^ 0x3f) << 8; in broadwell_sata_enable()
235 struct sata_platdata *plat = dev_get_platdata(dev); in broadwell_sata_ofdata_to_platdata() local
239 plat->port_map = fdtdec_get_int(blob, node, "intel,sata-port-map", 0); in broadwell_sata_ofdata_to_platdata()
240 plat->port0_gen3_tx = fdtdec_get_int(blob, node, in broadwell_sata_ofdata_to_platdata()