Lines Matching refs:st_hba
295 struct st_hba { struct
304 struct req_msg * (*alloc_rq) (struct st_hba *); argument
305 int (*map_sg)(struct st_hba *, struct req_msg *, struct st_ccb *); argument
306 void (*send) (struct st_hba *, struct req_msg *, u16); argument
334 struct req_msg * (*alloc_rq) (struct st_hba *); argument
335 int (*map_sg)(struct st_hba *, struct req_msg *, struct st_ccb *);
336 void (*send) (struct st_hba *, struct req_msg *, u16);
366 static struct status_msg *stex_get_status(struct st_hba *hba) in stex_get_status()
387 static struct req_msg *stex_alloc_req(struct st_hba *hba) in stex_alloc_req()
397 static struct req_msg *stex_ss_alloc_req(struct st_hba *hba) in stex_ss_alloc_req()
403 static int stex_map_sg(struct st_hba *hba, in stex_map_sg()
435 static int stex_ss_map_sg(struct st_hba *hba, in stex_ss_map_sg()
468 static void stex_controller_info(struct st_hba *hba, struct st_ccb *ccb) in stex_controller_info()
496 stex_send_cmd(struct st_hba *hba, struct req_msg *req, u16 tag) in stex_send_cmd()
509 stex_ss_send_cmd(struct st_hba *hba, struct req_msg *req, u16 tag) in stex_ss_send_cmd()
552 struct st_hba *hba; in stex_queuecommand_lck()
561 hba = (struct st_hba *) &host->hostdata[0]; in stex_queuecommand_lck()
735 static void stex_check_cmd(struct st_hba *hba, in stex_check_cmd()
744 static void stex_mu_intr(struct st_hba *hba, u32 doorbell) in stex_mu_intr()
833 struct st_hba *hba = __hba; in stex_intr()
859 static void stex_ss_mu_intr(struct st_hba *hba) in stex_ss_mu_intr()
934 struct st_hba *hba = __hba; in stex_ss_intr()
957 static int stex_common_handshake(struct st_hba *hba) in stex_common_handshake()
1041 static int stex_ss_handshake(struct st_hba *hba) in stex_ss_handshake()
1105 static int stex_handshake(struct st_hba *hba) in stex_handshake()
1133 struct st_hba *hba = (struct st_hba *)host->hostdata; in stex_abort()
1183 static void stex_hard_reset(struct st_hba *hba) in stex_hard_reset()
1222 static int stex_yos_reset(struct st_hba *hba) in stex_yos_reset()
1253 static void stex_ss_reset(struct st_hba *hba) in stex_ss_reset()
1260 static int stex_do_reset(struct st_hba *hba) in stex_do_reset()
1324 struct st_hba *hba; in stex_reset()
1326 hba = (struct st_hba *) &cmd->device->host->hostdata[0]; in stex_reset()
1336 struct st_hba *hba = container_of(work, struct st_hba, reset_work); in stex_reset_work()
1478 static int stex_request_irq(struct st_hba *hba) in stex_request_irq()
1504 static void stex_free_irq(struct st_hba *hba) in stex_free_irq()
1515 struct st_hba *hba; in stex_probe()
1527 host = scsi_host_alloc(&driver_template, sizeof(struct st_hba)); in stex_probe()
1536 hba = (struct st_hba *)host->hostdata; in stex_probe()
1537 memset(hba, 0, sizeof(struct st_hba)); in stex_probe()
1688 static void stex_hba_stop(struct st_hba *hba) in stex_hba_stop()
1734 static void stex_hba_free(struct st_hba *hba) in stex_hba_free()
1752 struct st_hba *hba = pci_get_drvdata(pdev); in stex_remove()
1767 struct st_hba *hba = pci_get_drvdata(pdev); in stex_shutdown()