Lines Matching refs:myadapter
942 struct blogic_adapter *myadapter = adapter; in blogic_init_probeinfo_list() local
949 myadapter->io_addr = probeinfo->io_addr; in blogic_init_probeinfo_list()
953 blogic_cmd(myadapter, BLOGIC_FETCH_LOCALRAM, in blogic_init_probeinfo_list()
2236 struct blogic_adapter *myadapter = adapter; in blogic_init() local
2241 memset(myadapter, 0, sizeof(struct blogic_adapter)); in blogic_init()
2242 myadapter->adapter_type = probeinfo->adapter_type; in blogic_init()
2243 myadapter->adapter_bus_type = probeinfo->adapter_bus_type; in blogic_init()
2244 myadapter->io_addr = probeinfo->io_addr; in blogic_init()
2245 myadapter->pci_addr = probeinfo->pci_addr; in blogic_init()
2246 myadapter->bus = probeinfo->bus; in blogic_init()
2247 myadapter->dev = probeinfo->dev; in blogic_init()
2248 myadapter->pci_device = probeinfo->pci_device; in blogic_init()
2249 myadapter->irq_ch = probeinfo->irq_ch; in blogic_init()
2250 myadapter->addr_count = in blogic_init()
2251 blogic_adapter_addr_count[myadapter->adapter_type]; in blogic_init()
2256 if (!request_region(myadapter->io_addr, myadapter->addr_count, in blogic_init()
2263 if (!blogic_probe(myadapter)) { in blogic_init()
2264 release_region(myadapter->io_addr, in blogic_init()
2265 myadapter->addr_count); in blogic_init()
2272 if (!blogic_hwreset(myadapter, true)) { in blogic_init()
2273 release_region(myadapter->io_addr, in blogic_init()
2274 myadapter->addr_count); in blogic_init()
2281 if (!blogic_checkadapter(myadapter)) { in blogic_init()
2282 release_region(myadapter->io_addr, in blogic_init()
2283 myadapter->addr_count); in blogic_init()
2290 myadapter->drvr_opts = in blogic_init()
2296 blogic_announce_drvr(myadapter); in blogic_init()
2304 release_region(myadapter->io_addr, in blogic_init()
2305 myadapter->addr_count); in blogic_init()
2308 myadapter = (struct blogic_adapter *) host->hostdata; in blogic_init()
2309 memcpy(myadapter, adapter, sizeof(struct blogic_adapter)); in blogic_init()
2310 myadapter->scsi_host = host; in blogic_init()
2311 myadapter->host_no = host->host_no; in blogic_init()
2316 list_add_tail(&myadapter->host_list, &blogic_host_list); in blogic_init()
2331 if (blogic_rdconfig(myadapter) && in blogic_init()
2332 blogic_reportconfig(myadapter) && in blogic_init()
2333 blogic_getres(myadapter) && in blogic_init()
2334 blogic_create_initccbs(myadapter) && in blogic_init()
2335 blogic_initadapter(myadapter) && in blogic_init()
2336 blogic_inquiry(myadapter)) { in blogic_init()
2343 release_region(myadapter->io_addr, in blogic_init()
2344 myadapter->addr_count); in blogic_init()
2345 if (!request_region(myadapter->io_addr, in blogic_init()
2346 myadapter->addr_count, in blogic_init()
2347 myadapter->full_model)) { in blogic_init()
2351 (unsigned long)myadapter->io_addr); in blogic_init()
2352 blogic_destroy_ccbs(myadapter); in blogic_init()
2353 blogic_relres(myadapter); in blogic_init()
2354 list_del(&myadapter->host_list); in blogic_init()
2358 blogic_inithoststruct(myadapter, in blogic_init()
2360 if (scsi_add_host(host, myadapter->pci_device in blogic_init()
2361 ? &myadapter->pci_device->dev in blogic_init()
2366 blogic_destroy_ccbs(myadapter); in blogic_init()
2367 blogic_relres(myadapter); in blogic_init()
2368 list_del(&myadapter->host_list); in blogic_init()
2385 blogic_destroy_ccbs(myadapter); in blogic_init()
2386 blogic_relres(myadapter); in blogic_init()
2387 list_del(&myadapter->host_list); in blogic_init()