Lines Matching refs:port
71 static int srio_erratum_a004034(u8 port) in srio_erratum_a004034() argument
83 >> (12 - port * 4)) & 0x3; in srio_erratum_a004034()
85 .port[port].pccsr) >> 27) & 0x7; in srio_erratum_a004034()
104 .port[port].pescsr) & 0x2) { in srio_erratum_a004034()
120 .port[port].pccsr, in srio_erratum_a004034()
126 setbits_be32((void *)&srio_regs->impl.port[port].pcr, in srio_erratum_a004034()
133 if (port) in srio_erratum_a004034()
179 out_be32((void *)&srio_regs->impl.port[port].slcsr, in srio_erratum_a004034()
182 clrbits_be32((void *)&srio_regs->impl.port[port].pcr, in srio_erratum_a004034()
186 .port[port].pccsr, in srio_erratum_a004034()
193 .port[port].pccsr) >> 27) & 0x7; in srio_erratum_a004034()
195 .port[port].pescsr) & 0x2) { in srio_erratum_a004034()
213 if (!(in_be32((void *)&srio_regs->lp_serial.port[port].pescsr) in srio_erratum_a004034()
216 .port[port].pescsr), 0xffffffff); in srio_erratum_a004034()
218 .port[port].edcsr), 0); in srio_erratum_a004034()
289 void srio_boot_master(int port) in srio_boot_master() argument
294 out_be32((void *)&srio->impl.port[port - 1].ptaacr, in srio_boot_master()
297 debug("SRIOBOOT - MASTER: Master port [ %d ] for srio boot.\n", port); in srio_boot_master()
304 out_be32((void *)&srio->atmu.port[port - 1].inbw[0].riwtar, in srio_boot_master()
306 out_be32((void *)&srio->atmu.port[port - 1].inbw[0].riwbar, in srio_boot_master()
308 out_be32((void *)&srio->atmu.port[port - 1].inbw[0].riwar, in srio_boot_master()
318 out_be32((void *)&srio->atmu.port[port - 1].inbw[1].riwtar, in srio_boot_master()
320 out_be32((void *)&srio->atmu.port[port - 1].inbw[1].riwbar, in srio_boot_master()
322 out_be32((void *)&srio->atmu.port[port - 1].inbw[1].riwar, in srio_boot_master()
332 out_be32((void *)&srio->atmu.port[port - 1].inbw[2].riwtar, in srio_boot_master()
334 out_be32((void *)&srio->atmu.port[port - 1].inbw[2].riwbar, in srio_boot_master()
336 out_be32((void *)&srio->atmu.port[port - 1].inbw[2].riwar, in srio_boot_master()
341 void srio_boot_master_release_slave(int port) in srio_boot_master_release_slave() argument
348 escsr = in_be32((void *)&srio->lp_serial.port[port - 1].pescsr); in srio_boot_master_release_slave()
352 port); in srio_boot_master_release_slave()
356 port); in srio_boot_master_release_slave()
361 out_be32((void *)&srio->atmu.port[port - 1] in srio_boot_master_release_slave()
363 out_be32((void *)&srio->atmu.port[port - 1] in srio_boot_master_release_slave()
365 if (port - 1) in srio_boot_master_release_slave()
366 out_be32((void *)&srio->atmu.port[port - 1] in srio_boot_master_release_slave()
370 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()
382 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()
387 if (port - 1) in srio_boot_master_release_slave()
388 out_be32((void *)&srio->atmu.port[port - 1] in srio_boot_master_release_slave()
393 out_be32((void *)&srio->atmu.port[port - 1] in srio_boot_master_release_slave()
397 out_be32((void *)&srio->atmu.port[port - 1] in srio_boot_master_release_slave()
406 if (port - 1) { in srio_boot_master_release_slave()
443 debug("SRIOBOOT - MASTER: Port [ %d ] is not ready.\n", port); in srio_boot_master_release_slave()