Lines Matching refs:st_hba
313 struct st_hba { struct
322 struct req_msg * (*alloc_rq) (struct st_hba *); argument
323 int (*map_sg)(struct st_hba *, struct req_msg *, struct st_ccb *); argument
324 void (*send) (struct st_hba *, struct req_msg *, u16); argument
353 struct req_msg * (*alloc_rq) (struct st_hba *); argument
354 int (*map_sg)(struct st_hba *, struct req_msg *, struct st_ccb *);
355 void (*send) (struct st_hba *, struct req_msg *, u16);
391 static struct status_msg *stex_get_status(struct st_hba *hba) in stex_get_status()
409 static struct req_msg *stex_alloc_req(struct st_hba *hba) in stex_alloc_req()
419 static struct req_msg *stex_ss_alloc_req(struct st_hba *hba) in stex_ss_alloc_req()
425 static int stex_map_sg(struct st_hba *hba, in stex_map_sg()
457 static int stex_ss_map_sg(struct st_hba *hba, in stex_ss_map_sg()
490 static void stex_controller_info(struct st_hba *hba, struct st_ccb *ccb) in stex_controller_info()
518 stex_send_cmd(struct st_hba *hba, struct req_msg *req, u16 tag) in stex_send_cmd()
531 stex_ss_send_cmd(struct st_hba *hba, struct req_msg *req, u16 tag) in stex_ss_send_cmd()
565 static void return_abnormal_state(struct st_hba *hba, int status) in return_abnormal_state()
599 struct st_hba *hba; in stex_queuecommand_lck()
608 hba = (struct st_hba *) &host->hostdata[0]; in stex_queuecommand_lck()
787 static void stex_check_cmd(struct st_hba *hba, in stex_check_cmd()
796 static void stex_mu_intr(struct st_hba *hba, u32 doorbell) in stex_mu_intr()
885 struct st_hba *hba = __hba; in stex_intr()
911 static void stex_ss_mu_intr(struct st_hba *hba) in stex_ss_mu_intr()
986 struct st_hba *hba = __hba; in stex_ss_intr()
1025 static int stex_common_handshake(struct st_hba *hba) in stex_common_handshake()
1109 static int stex_ss_handshake(struct st_hba *hba) in stex_ss_handshake()
1220 static int stex_handshake(struct st_hba *hba) in stex_handshake()
1250 struct st_hba *hba = (struct st_hba *)host->hostdata; in stex_abort()
1308 static void stex_hard_reset(struct st_hba *hba) in stex_hard_reset()
1347 static int stex_yos_reset(struct st_hba *hba) in stex_yos_reset()
1378 static void stex_ss_reset(struct st_hba *hba) in stex_ss_reset()
1385 static void stex_p3_reset(struct st_hba *hba) in stex_p3_reset()
1391 static int stex_do_reset(struct st_hba *hba) in stex_do_reset()
1442 struct st_hba *hba; in stex_reset()
1444 hba = (struct st_hba *) &cmd->device->host->hostdata[0]; in stex_reset()
1454 struct st_hba *hba = container_of(work, struct st_hba, reset_work); in stex_reset_work()
1617 static int stex_request_irq(struct st_hba *hba) in stex_request_irq()
1644 static void stex_free_irq(struct st_hba *hba) in stex_free_irq()
1655 struct st_hba *hba; in stex_probe()
1670 host = scsi_host_alloc(&driver_template, sizeof(struct st_hba)); in stex_probe()
1679 hba = (struct st_hba *)host->hostdata; in stex_probe()
1680 memset(hba, 0, sizeof(struct st_hba)); in stex_probe()
1852 static void stex_hba_stop(struct st_hba *hba, int st_sleep_mic) in stex_hba_stop()
1914 static void stex_hba_free(struct st_hba *hba) in stex_hba_free()
1932 struct st_hba *hba = pci_get_drvdata(pdev); in stex_remove()
1951 struct st_hba *hba = pci_get_drvdata(pdev); in stex_shutdown()
1962 static int stex_choice_sleep_mic(struct st_hba *hba, pm_message_t state) in stex_choice_sleep_mic()
1977 struct st_hba *hba = pci_get_drvdata(pdev); in stex_suspend()
1989 struct st_hba *hba = pci_get_drvdata(pdev); in stex_resume()