Lines Matching refs:mesh_host
1854 struct Scsi_Host *mesh_host; in mesh_probe() local
1879 mesh_host = scsi_host_alloc(&mesh_template, sizeof(struct mesh_state)); in mesh_probe()
1880 if (mesh_host == NULL) { in mesh_probe()
1885 mesh_host->base = macio_resource_start(mdev, 0); in mesh_probe()
1886 mesh_host->irq = macio_irq(mdev, 0); in mesh_probe()
1887 ms = (struct mesh_state *) mesh_host->hostdata; in mesh_probe()
1889 ms->host = mesh_host; in mesh_probe()
1911 ms->dma_cmd_size = (mesh_host->sg_tablesize + 2) * sizeof(struct dbdma_cmd); in mesh_probe()
1962 if (scsi_add_host(mesh_host, &mdev->ofdev.dev)) in mesh_probe()
1964 scsi_scan_host(mesh_host); in mesh_probe()
1982 scsi_host_put(mesh_host); in mesh_probe()
1992 struct Scsi_Host *mesh_host = ms->host; in mesh_remove() local
1994 scsi_remove_host(mesh_host); in mesh_remove()
2015 scsi_host_put(mesh_host); in mesh_remove()