Lines Matching refs:st_hba
313 struct st_hba {
322 struct req_msg * (*alloc_rq) (struct st_hba *);
323 int (*map_sg)(struct st_hba *, struct req_msg *, struct st_ccb *);
324 void (*send) (struct st_hba *, struct req_msg *, u16);
354 struct req_msg * (*alloc_rq) (struct st_hba *);
355 int (*map_sg)(struct st_hba *, struct req_msg *, struct st_ccb *);
356 void (*send) (struct st_hba *, struct req_msg *, u16);
392 static struct status_msg *stex_get_status(struct st_hba *hba)
413 static struct req_msg *stex_alloc_req(struct st_hba *hba)
423 static struct req_msg *stex_ss_alloc_req(struct st_hba *hba)
429 static int stex_map_sg(struct st_hba *hba,
461 static int stex_ss_map_sg(struct st_hba *hba,
494 static void stex_controller_info(struct st_hba *hba, struct st_ccb *ccb)
522 stex_send_cmd(struct st_hba *hba, struct req_msg *req, u16 tag)
535 stex_ss_send_cmd(struct st_hba *hba, struct req_msg *req, u16 tag)
569 static void return_abnormal_state(struct st_hba *hba, int status)
603 struct st_hba *hba;
612 hba = (struct st_hba *) &host->hostdata[0];
791 static void stex_check_cmd(struct st_hba *hba,
800 static void stex_mu_intr(struct st_hba *hba, u32 doorbell)
889 struct st_hba *hba = __hba;
915 static void stex_ss_mu_intr(struct st_hba *hba)
990 struct st_hba *hba = __hba;
1029 static int stex_common_handshake(struct st_hba *hba)
1113 static int stex_ss_handshake(struct st_hba *hba)
1224 static int stex_handshake(struct st_hba *hba)
1254 struct st_hba *hba = (struct st_hba *)host->hostdata;
1312 static void stex_hard_reset(struct st_hba *hba)
1351 static int stex_yos_reset(struct st_hba *hba)
1382 static void stex_ss_reset(struct st_hba *hba)
1389 static void stex_p3_reset(struct st_hba *hba)
1395 static int stex_do_reset(struct st_hba *hba)
1446 struct st_hba *hba;
1448 hba = (struct st_hba *) &cmd->device->host->hostdata[0];
1458 struct st_hba *hba = container_of(work, struct st_hba, reset_work);
1621 static int stex_request_irq(struct st_hba *hba)
1648 static void stex_free_irq(struct st_hba *hba)
1659 struct st_hba *hba;
1674 host = scsi_host_alloc(&driver_template, sizeof(struct st_hba));
1683 hba = (struct st_hba *)host->hostdata;
1684 memset(hba, 0, sizeof(struct st_hba));
1857 static void stex_hba_stop(struct st_hba *hba, int st_sleep_mic)
1919 static void stex_hba_free(struct st_hba *hba)
1937 struct st_hba *hba = pci_get_drvdata(pdev);
1956 struct st_hba *hba = pci_get_drvdata(pdev);
1967 static int stex_choice_sleep_mic(struct st_hba *hba, pm_message_t state)
1982 struct st_hba *hba = pci_get_drvdata(pdev);
1994 struct st_hba *hba = pci_get_drvdata(pdev);