Lines Matching refs:port
74 static int srio_erratum_a004034(u8 port) in srio_erratum_a004034() argument
86 >> (12 - port * 4)) & 0x3; in srio_erratum_a004034()
88 .port[port].pccsr) >> 27) & 0x7; in srio_erratum_a004034()
107 .port[port].pescsr) & 0x2) { in srio_erratum_a004034()
123 .port[port].pccsr, in srio_erratum_a004034()
129 setbits_be32((void *)&srio_regs->impl.port[port].pcr, in srio_erratum_a004034()
136 if (port) in srio_erratum_a004034()
182 out_be32((void *)&srio_regs->impl.port[port].slcsr, in srio_erratum_a004034()
185 clrbits_be32((void *)&srio_regs->impl.port[port].pcr, in srio_erratum_a004034()
189 .port[port].pccsr, in srio_erratum_a004034()
196 .port[port].pccsr) >> 27) & 0x7; in srio_erratum_a004034()
198 .port[port].pescsr) & 0x2) { in srio_erratum_a004034()
216 if (!(in_be32((void *)&srio_regs->lp_serial.port[port].pescsr) in srio_erratum_a004034()
219 .port[port].pescsr), 0xffffffff); in srio_erratum_a004034()
221 .port[port].edcsr), 0); in srio_erratum_a004034()
292 void srio_boot_master(int port) in srio_boot_master() argument
297 out_be32((void *)&srio->impl.port[port - 1].ptaacr, in srio_boot_master()
300 debug("SRIOBOOT - MASTER: Master port [ %d ] for srio boot.\n", port); in srio_boot_master()
307 out_be32((void *)&srio->atmu.port[port - 1].inbw[0].riwtar, in srio_boot_master()
309 out_be32((void *)&srio->atmu.port[port - 1].inbw[0].riwbar, in srio_boot_master()
311 out_be32((void *)&srio->atmu.port[port - 1].inbw[0].riwar, in srio_boot_master()
321 out_be32((void *)&srio->atmu.port[port - 1].inbw[1].riwtar, in srio_boot_master()
323 out_be32((void *)&srio->atmu.port[port - 1].inbw[1].riwbar, in srio_boot_master()
325 out_be32((void *)&srio->atmu.port[port - 1].inbw[1].riwar, in srio_boot_master()
335 out_be32((void *)&srio->atmu.port[port - 1].inbw[2].riwtar, in srio_boot_master()
337 out_be32((void *)&srio->atmu.port[port - 1].inbw[2].riwbar, in srio_boot_master()
339 out_be32((void *)&srio->atmu.port[port - 1].inbw[2].riwar, in srio_boot_master()
344 void srio_boot_master_release_slave(int port) in srio_boot_master_release_slave() argument
351 escsr = in_be32((void *)&srio->lp_serial.port[port - 1].pescsr); in srio_boot_master_release_slave()
355 port); in srio_boot_master_release_slave()
359 port); in srio_boot_master_release_slave()
364 out_be32((void *)&srio->atmu.port[port - 1] in srio_boot_master_release_slave()
366 out_be32((void *)&srio->atmu.port[port - 1] in srio_boot_master_release_slave()
368 if (port - 1) in srio_boot_master_release_slave()
369 out_be32((void *)&srio->atmu.port[port - 1] in srio_boot_master_release_slave()
373 out_be32((void *)&srio->atmu.port[port - 1] in srio_boot_master_release_slave()
376 out_be32((void *)&srio->atmu.port[port - 1] in srio_boot_master_release_slave()
385 out_be32((void *)&srio->atmu.port[port - 1] in srio_boot_master_release_slave()
388 out_be32((void *)&srio->atmu.port[port - 1] in srio_boot_master_release_slave()
390 if (port - 1) in srio_boot_master_release_slave()
391 out_be32((void *)&srio->atmu.port[port - 1] in srio_boot_master_release_slave()
396 out_be32((void *)&srio->atmu.port[port - 1] in srio_boot_master_release_slave()
400 out_be32((void *)&srio->atmu.port[port - 1] in srio_boot_master_release_slave()
409 if (port - 1) { in srio_boot_master_release_slave()
446 debug("SRIOBOOT - MASTER: Port [ %d ] is not ready.\n", port); in srio_boot_master_release_slave()