Lines Matching refs:mesh
145 volatile struct mesh_regs *mesh; member
244 struct device_node *mesh; in mesh_detect() local
280 mesh = find_devices("mesh"); in mesh_detect()
281 if (mesh == 0) in mesh_detect()
282 mesh = find_compatible_devices("scsi", "chrp,mesh0"); in mesh_detect()
283 for (; mesh != 0; mesh = mesh->next) { in mesh_detect()
287 if (mesh->n_addrs != 2 || mesh->n_intrs != 2) { in mesh_detect()
289 " (got %d,%d)\n", mesh->n_addrs, mesh->n_intrs); in mesh_detect()
292 if (mesh->parent != NULL in mesh_detect()
293 && pci_device_from_OF_node(mesh->parent, &pci_bus, in mesh_detect()
308 note_scsi_host(mesh, mesh_host); in mesh_detect()
316 ms->ofnode = mesh; in mesh_detect()
318 ms->mesh = (volatile struct mesh_regs *) in mesh_detect()
319 ioremap(mesh->addrs[0].address, 0x1000); in mesh_detect()
321 ioremap(mesh->addrs[1].address, 0x1000); in mesh_detect()
322 ms->meshintr = mesh->intrs[0].line; in mesh_detect()
323 ms->dmaintr = mesh->intrs[1].line; in mesh_detect()
345 if ((cfp = (int *) get_property(mesh, "clock-frequency", in mesh_detect()
389 if (ms->mesh) in mesh_release()
390 iounmap((void *) ms->mesh); in mesh_release()
512 volatile struct mesh_regs *mr = ms->mesh; in mesh_dump_regs()
552 volatile struct mesh_regs *mr = ms->mesh; in mesh_host_reset()
593 mr = ms->mesh; in mesh_notify_reboot()
612 volatile struct mesh_regs *mr = ms->mesh; in mesh_init()
691 volatile struct mesh_regs *mr = ms->mesh; in mesh_start_cmd()
852 volatile struct mesh_regs *mr = ms->mesh; in set_sdtr()
894 volatile struct mesh_regs *mr = ms->mesh; in start_phase()
1036 volatile struct mesh_regs *mr = ms->mesh; in get_msgin()
1070 volatile struct mesh_regs *mr = ms->mesh; in cmd_complete()
1249 volatile struct mesh_regs *mr = ms->mesh; in phase_mismatch()
1327 volatile struct mesh_regs *mr = ms->mesh; in reselected()
1457 volatile struct mesh_regs *mr = ms->mesh; in handle_reset()
1497 volatile struct mesh_regs *mr = ms->mesh; in handle_error()
1591 volatile struct mesh_regs *mr = ms->mesh; in handle_exception()
1624 volatile struct mesh_regs *mr = ms->mesh; in mesh_interrupt()
1774 out_8(&ms->mesh->sequence, SEQ_ENBRESEL); in mesh_done()
1863 volatile struct mesh_regs *mr = ms->mesh; in halt_dma()
1979 tlp->bs0 = ms->mesh->bus_status0; in dlog()
1980 tlp->bs1 = ms->mesh->bus_status1; in dlog()