Lines Matching refs:mesh_host
1858 struct Scsi_Host *mesh_host; in mesh_probe() local
1883 mesh_host = scsi_host_alloc(&mesh_template, sizeof(struct mesh_state)); in mesh_probe()
1884 if (mesh_host == NULL) { in mesh_probe()
1891 note_scsi_host(mesh, mesh_host); in mesh_probe()
1894 mesh_host->base = macio_resource_start(mdev, 0); in mesh_probe()
1895 mesh_host->irq = macio_irq(mdev, 0); in mesh_probe()
1896 ms = (struct mesh_state *) mesh_host->hostdata; in mesh_probe()
1898 ms->host = mesh_host; in mesh_probe()
1920 ms->dma_cmd_size = (mesh_host->sg_tablesize + 2) * sizeof(struct dbdma_cmd); in mesh_probe()
1971 if (scsi_add_host(mesh_host, &mdev->ofdev.dev)) in mesh_probe()
1973 scsi_scan_host(mesh_host); in mesh_probe()
1991 scsi_host_put(mesh_host); in mesh_probe()
2001 struct Scsi_Host *mesh_host = ms->host; in mesh_remove() local
2003 scsi_remove_host(mesh_host); in mesh_remove()
2024 scsi_host_put(mesh_host); in mesh_remove()