Lines Matching refs:myadapter
943 struct blogic_adapter *myadapter = adapter; in blogic_init_probeinfo_list() local
950 myadapter->io_addr = probeinfo->io_addr; in blogic_init_probeinfo_list()
954 blogic_cmd(myadapter, BLOGIC_FETCH_LOCALRAM, in blogic_init_probeinfo_list()
2238 struct blogic_adapter *myadapter = adapter; in blogic_init() local
2243 memset(myadapter, 0, sizeof(struct blogic_adapter)); in blogic_init()
2244 myadapter->adapter_type = probeinfo->adapter_type; in blogic_init()
2245 myadapter->adapter_bus_type = probeinfo->adapter_bus_type; in blogic_init()
2246 myadapter->io_addr = probeinfo->io_addr; in blogic_init()
2247 myadapter->pci_addr = probeinfo->pci_addr; in blogic_init()
2248 myadapter->bus = probeinfo->bus; in blogic_init()
2249 myadapter->dev = probeinfo->dev; in blogic_init()
2250 myadapter->pci_device = probeinfo->pci_device; in blogic_init()
2251 myadapter->irq_ch = probeinfo->irq_ch; in blogic_init()
2252 myadapter->addr_count = in blogic_init()
2253 blogic_adapter_addr_count[myadapter->adapter_type]; in blogic_init()
2258 if (!request_region(myadapter->io_addr, myadapter->addr_count, in blogic_init()
2265 if (!blogic_probe(myadapter)) { in blogic_init()
2266 release_region(myadapter->io_addr, in blogic_init()
2267 myadapter->addr_count); in blogic_init()
2274 if (!blogic_hwreset(myadapter, true)) { in blogic_init()
2275 release_region(myadapter->io_addr, in blogic_init()
2276 myadapter->addr_count); in blogic_init()
2283 if (!blogic_checkadapter(myadapter)) { in blogic_init()
2284 release_region(myadapter->io_addr, in blogic_init()
2285 myadapter->addr_count); in blogic_init()
2292 myadapter->drvr_opts = in blogic_init()
2298 blogic_announce_drvr(myadapter); in blogic_init()
2306 release_region(myadapter->io_addr, in blogic_init()
2307 myadapter->addr_count); in blogic_init()
2310 myadapter = (struct blogic_adapter *) host->hostdata; in blogic_init()
2311 memcpy(myadapter, adapter, sizeof(struct blogic_adapter)); in blogic_init()
2312 myadapter->scsi_host = host; in blogic_init()
2313 myadapter->host_no = host->host_no; in blogic_init()
2318 list_add_tail(&myadapter->host_list, &blogic_host_list); in blogic_init()
2333 if (blogic_rdconfig(myadapter) && in blogic_init()
2334 blogic_reportconfig(myadapter) && in blogic_init()
2335 blogic_getres(myadapter) && in blogic_init()
2336 blogic_create_initccbs(myadapter) && in blogic_init()
2337 blogic_initadapter(myadapter) && in blogic_init()
2338 blogic_inquiry(myadapter)) { in blogic_init()
2345 release_region(myadapter->io_addr, in blogic_init()
2346 myadapter->addr_count); in blogic_init()
2347 if (!request_region(myadapter->io_addr, in blogic_init()
2348 myadapter->addr_count, in blogic_init()
2349 myadapter->full_model)) { in blogic_init()
2353 (unsigned long)myadapter->io_addr); in blogic_init()
2354 blogic_destroy_ccbs(myadapter); in blogic_init()
2355 blogic_relres(myadapter); in blogic_init()
2356 list_del(&myadapter->host_list); in blogic_init()
2360 blogic_inithoststruct(myadapter, in blogic_init()
2362 if (scsi_add_host(host, myadapter->pci_device in blogic_init()
2363 ? &myadapter->pci_device->dev in blogic_init()
2368 blogic_destroy_ccbs(myadapter); in blogic_init()
2369 blogic_relres(myadapter); in blogic_init()
2370 list_del(&myadapter->host_list); in blogic_init()
2387 blogic_destroy_ccbs(myadapter); in blogic_init()
2388 blogic_relres(myadapter); in blogic_init()
2389 list_del(&myadapter->host_list); in blogic_init()