Lines Matching refs:blogic_adapter
136 static void blogic_announce_drvr(struct blogic_adapter *adapter) in blogic_announce_drvr()
150 struct blogic_adapter *adapter = in blogic_drvr_info()
151 (struct blogic_adapter *) host->hostdata; in blogic_drvr_info()
161 static void blogic_init_ccbs(struct blogic_adapter *adapter, void *blk_pointer, in blogic_init_ccbs()
192 static bool __init blogic_create_initccbs(struct blogic_adapter *adapter) in blogic_create_initccbs()
216 static void blogic_destroy_ccbs(struct blogic_adapter *adapter) in blogic_destroy_ccbs()
245 static void blogic_create_addlccbs(struct blogic_adapter *adapter, in blogic_create_addlccbs()
279 static struct blogic_ccb *blogic_alloc_ccb(struct blogic_adapter *adapter) in blogic_alloc_ccb()
312 struct blogic_adapter *adapter = ccb->adapter; in blogic_dealloc_ccb()
345 static int blogic_cmd(struct blogic_adapter *adapter, enum blogic_opcode opcode, in blogic_cmd()
609 static int __init blogic_init_mm_probeinfo(struct blogic_adapter *adapter) in blogic_init_mm_probeinfo()
640 struct blogic_adapter *host_adapter = adapter; in blogic_init_mm_probeinfo()
831 static int __init blogic_init_fp_probeinfo(struct blogic_adapter *adapter) in blogic_init_fp_probeinfo()
923 static void __init blogic_init_probeinfo_list(struct blogic_adapter *adapter) in blogic_init_probeinfo_list()
943 struct blogic_adapter *myadapter = adapter; in blogic_init_probeinfo_list()
991 static bool blogic_failure(struct blogic_adapter *adapter, char *msg) in blogic_failure()
1012 static bool __init blogic_probe(struct blogic_adapter *adapter) in blogic_probe()
1088 static bool blogic_hwreset(struct blogic_adapter *adapter, bool hard_reset) in blogic_hwreset()
1196 static bool __init blogic_checkadapter(struct blogic_adapter *adapter) in blogic_checkadapter()
1233 static bool __init blogic_rdconfig(struct blogic_adapter *adapter) in blogic_rdconfig()
1693 static bool __init blogic_reportconfig(struct blogic_adapter *adapter) in blogic_reportconfig()
1848 static bool __init blogic_getres(struct blogic_adapter *adapter) in blogic_getres()
1877 static void blogic_relres(struct blogic_adapter *adapter) in blogic_relres()
1903 static bool blogic_initadapter(struct blogic_adapter *adapter) in blogic_initadapter()
2021 static bool __init blogic_inquiry(struct blogic_adapter *adapter) in blogic_inquiry()
2142 static void __init blogic_inithoststruct(struct blogic_adapter *adapter, in blogic_inithoststruct()
2165 struct blogic_adapter *adapter = in blogic_slaveconfig()
2166 (struct blogic_adapter *) dev->host->hostdata; in blogic_slaveconfig()
2203 struct blogic_adapter *adapter; in blogic_init()
2222 adapter = kzalloc(sizeof(struct blogic_adapter), GFP_KERNEL); in blogic_init()
2237 struct blogic_adapter *myadapter = adapter; in blogic_init()
2242 memset(myadapter, 0, sizeof(struct blogic_adapter)); in blogic_init()
2303 sizeof(struct blogic_adapter)); in blogic_init()
2309 myadapter = (struct blogic_adapter *) host->hostdata; in blogic_init()
2310 memcpy(myadapter, adapter, sizeof(struct blogic_adapter)); in blogic_init()
2406 static int __exit blogic_deladapter(struct blogic_adapter *adapter) in blogic_deladapter()
2445 struct blogic_adapter *adapter = ccb->adapter; in blogic_qcompleted_ccb()
2465 static int blogic_resultcode(struct blogic_adapter *adapter, in blogic_resultcode()
2522 blogic_inbox_to_ccb(struct blogic_adapter *adapter, struct blogic_inbox *inbox) in blogic_inbox_to_ccb()
2537 static void blogic_scan_inbox(struct blogic_adapter *adapter) in blogic_scan_inbox()
2597 static void blogic_process_ccbs(struct blogic_adapter *adapter) in blogic_process_ccbs()
2740 struct blogic_adapter *adapter = (struct blogic_adapter *) devid; in blogic_inthandler()
2824 static bool blogic_write_outbox(struct blogic_adapter *adapter, in blogic_write_outbox()
2858 struct blogic_adapter *adapter = in blogic_hostreset()
2859 (struct blogic_adapter *) SCpnt->device->host->hostdata; in blogic_hostreset()
2882 struct blogic_adapter *adapter = in blogic_qcmd_lck()
2883 (struct blogic_adapter *) command->device->host->hostdata; in blogic_qcmd_lck()
3104 struct blogic_adapter *adapter = in DEF_SCSI_QCMD()
3105 (struct blogic_adapter *) command->device->host->hostdata; in DEF_SCSI_QCMD()
3182 static int blogic_resetadapter(struct blogic_adapter *adapter, bool hard_reset)
3245 struct blogic_adapter *adapter = in blogic_diskparam()
3246 (struct blogic_adapter *) sdev->host->hostdata; in blogic_diskparam()
3321 struct blogic_adapter *adapter = in blogic_write_info()
3322 (struct blogic_adapter *) shost->hostdata; in blogic_write_info()
3334 struct blogic_adapter *adapter = (struct blogic_adapter *) shost->hostdata; in blogic_show_info()
3440 struct blogic_adapter *adapter, ...) in blogic_msg()
3709 struct blogic_adapter *ha, *next; in blogic_exit()