Lines Matching refs:mesh_host
1859 struct Scsi_Host *mesh_host; in mesh_probe() local
1884 mesh_host = scsi_host_alloc(&mesh_template, sizeof(struct mesh_state)); in mesh_probe()
1885 if (mesh_host == NULL) { in mesh_probe()
1892 note_scsi_host(mesh, mesh_host); in mesh_probe()
1895 mesh_host->base = macio_resource_start(mdev, 0); in mesh_probe()
1896 mesh_host->irq = macio_irq(mdev, 0); in mesh_probe()
1897 ms = (struct mesh_state *) mesh_host->hostdata; in mesh_probe()
1899 ms->host = mesh_host; in mesh_probe()
1921 ms->dma_cmd_size = (mesh_host->sg_tablesize + 2) * sizeof(struct dbdma_cmd); in mesh_probe()
1972 if (scsi_add_host(mesh_host, &mdev->ofdev.dev)) in mesh_probe()
1974 scsi_scan_host(mesh_host); in mesh_probe()
1992 scsi_host_put(mesh_host); in mesh_probe()
2002 struct Scsi_Host *mesh_host = ms->host; in mesh_remove() local
2004 scsi_remove_host(mesh_host); in mesh_remove()
2025 scsi_host_put(mesh_host); in mesh_remove()