/linux-4.4.14/drivers/scsi/sym53c8xx_2/ |
H A D | sym_fw2.h | 318 offsetof (struct sym_ccb, phys.head.status), 468 offsetof (struct sym_ccb, phys.head.lastp), 527 offsetof (struct sym_ccb, phys.head.lastp), 559 offsetof (struct sym_ccb, phys.head.lastp), 575 offsetof (struct sym_ccb, phys.head.lastp), 667 offsetof (struct sym_ccb, phys.head.status), 677 offsetof (struct sym_ccb, phys.head.status), 753 offsetof (struct sym_ccb, phys.head.lastp), 755 offsetof (struct sym_ccb, phys.head.savep), 775 offsetof (struct sym_ccb, phys.head.savep), 777 offsetof (struct sym_ccb, phys.head.lastp), 805 offsetof (struct sym_ccb, phys.head.status), 1001 offsetof(struct sym_ccb, phys.head.go.restart), 1016 offsetof (struct sym_ccb, phys.head.status), 1032 offsetof(struct sym_ccb, phys.head.go.restart), 1098 offsetof (struct sym_ccb, phys.pm0.sg), 1118 offsetof (struct sym_ccb, phys.pm0.sg), 1132 offsetof (struct sym_ccb, phys.pm0.ret), 1163 offsetof (struct sym_ccb, phys.pm1.sg), 1183 offsetof (struct sym_ccb, phys.pm1.sg), 1197 offsetof (struct sym_ccb, phys.pm1.ret), 1648 offsetof(struct sym_ccb, phys.pm0.ret), 1652 offsetof(struct sym_ccb, phys.pm1.ret), 1680 offsetof(struct sym_ccb, phys.pm0.ret), 1695 offsetof(struct sym_ccb, phys.pm0.sg.size), 1697 offsetof(struct sym_ccb, phys.pm0.sg.addr), 1705 offsetof(struct sym_ccb, phys.head.lastp), 1710 offsetof(struct sym_ccb, phys.pm1.ret), 1725 offsetof(struct sym_ccb, phys.pm1.sg.size), 1727 offsetof(struct sym_ccb, phys.pm1.sg.addr), 1749 offsetof (struct sym_ccb, phys.wresid.addr), 1778 offsetof (struct sym_ccb, phys.wresid.size), 1794 offsetof (struct sym_ccb, phys.wresid), 1830 offsetof (struct sym_ccb, phys.wresid),
|
H A D | sym_hipd.h | 286 * xerr_status field of struct sym_ccb. 296 * nego_status field of struct sym_ccb. 311 (((dsa) >> (_LGRU16_(sizeof(struct sym_ccb)))) & CCB_HASH_MASK) 431 struct sym_ccb * nego_cp; /* CCB used for the nego */ 706 * Also assumed at offset 0 of the sym_ccb structure. 734 struct sym_ccb { struct 787 struct sym_ccb *link_ccbh; /* Host adapter CCB hash chain */ 803 #define CCB_BA(cp,lbl) cpu_to_scr(cp->ccb_ba + offsetof(struct sym_ccb, lbl)) 977 struct sym_ccb **ccbh; /* CCBs hashed by DSA value */ 1009 struct sym_ccb * last_cp; 1061 void sym_put_start_queue(struct sym_hcb *np, struct sym_ccb *cp); 1066 struct sym_ccb *sym_get_ccb(struct sym_hcb *np, struct scsi_cmnd *cmd, u_char tag_order); 1067 void sym_free_ccb(struct sym_hcb *np, struct sym_ccb *cp); 1070 int sym_queue_scsiio(struct sym_hcb *np, struct scsi_cmnd *csio, struct sym_ccb *cp);
|
H A D | sym_glue.h | 256 static inline void sym_set_cam_result_ok(struct sym_ccb *cp, struct scsi_cmnd *cmd, int resid) sym_set_cam_result_ok() 261 void sym_set_cam_result_error(struct sym_hcb *np, struct sym_ccb *cp, int resid); 266 int sym_setup_data_and_start (struct sym_hcb *np, struct scsi_cmnd *csio, struct sym_ccb *cp);
|
H A D | sym_hipd.c | 56 static struct sym_ccb *sym_alloc_ccb(struct sym_hcb *np); 57 static struct sym_ccb *sym_ccb_from_dsa(struct sym_hcb *np, u32 dsa); 59 static void sym_complete_error (struct sym_hcb *np, struct sym_ccb *cp); 60 static void sym_complete_ok (struct sym_hcb *np, struct sym_ccb *cp); 61 static int sym_compute_residual(struct sym_hcb *np, struct sym_ccb *cp); 73 static void sym_print_msg(struct sym_ccb *cp, char *label, u_char *msg) sym_print_msg() 1419 static int sym_prepare_nego(struct sym_hcb *np, struct sym_ccb *cp, u_char *msgptr) sym_prepare_nego() 1480 void sym_put_start_queue(struct sym_hcb *np, struct sym_ccb *cp) sym_put_start_queue() 1543 struct sym_ccb *cp; sym_start_next_ccbs() 1559 cp = sym_que_entry(qp, struct sym_ccb, link2_ccbq); sym_start_next_ccbs() 1596 struct sym_ccb *cp; sym_wakeup_done() 1644 struct sym_ccb *cp; sym_flush_comp_queue() 1648 cp = sym_que_entry(qp, struct sym_ccb, link_ccbq); sym_flush_comp_queue() 2036 struct sym_ccb *cp; sym_settrans() 2037 cp = sym_que_entry(qp, struct sym_ccb, link_ccbq); sym_settrans() 2190 struct sym_ccb *cp = sym_ccb_from_dsa(np, dsa); sym_recover_scsi_int() 2319 struct sym_ccb *cp = sym_ccb_from_dsa(np, dsa); sym_int_par() 2414 struct sym_ccb *cp; sym_int_ma() 2981 struct sym_ccb *cp; sym_dequeue_from_squeue() 3043 static void sym_sir_bad_scsi_status(struct sym_hcb *np, int num, struct sym_ccb *cp) sym_sir_bad_scsi_status() 3202 struct sym_ccb *cp; sym_clear_tasks() 3218 cp = sym_que_entry(qp, struct sym_ccb, link_ccbq); sym_clear_tasks() 3284 struct sym_ccb *cp; sym_sir_task_recovery() 3325 cp = sym_que_entry(qp,struct sym_ccb,link_ccbq); sym_sir_task_recovery() 3357 cp = sym_que_entry(qp, struct sym_ccb, link_ccbq); sym_sir_task_recovery() 3473 cp = sym_que_entry(qp, struct sym_ccb, link_ccbq); sym_sir_task_recovery() 3639 static int sym_evaluate_dp(struct sym_hcb *np, struct sym_ccb *cp, u32 scr, int *ofs) sym_evaluate_dp() 3757 static void sym_modify_dp(struct sym_hcb *np, struct sym_tcb *tp, struct sym_ccb *cp, int ofs) sym_modify_dp() 3856 int sym_compute_residual(struct sym_hcb *np, struct sym_ccb *cp) sym_compute_residual() 3958 sym_sync_nego_check(struct sym_hcb *np, int req, struct sym_ccb *cp) sym_sync_nego_check() 4036 static void sym_sync_nego(struct sym_hcb *np, struct sym_tcb *tp, struct sym_ccb *cp) sym_sync_nego() 4173 static void sym_ppr_nego(struct sym_hcb *np, struct sym_tcb *tp, struct sym_ccb *cp) sym_ppr_nego() 4210 sym_wide_nego_check(struct sym_hcb *np, int req, struct sym_ccb *cp) sym_wide_nego_check() 4273 static void sym_wide_nego(struct sym_hcb *np, struct sym_tcb *tp, struct sym_ccb *cp) sym_wide_nego() 4337 static void sym_nego_default(struct sym_hcb *np, struct sym_tcb *tp, struct sym_ccb *cp) sym_nego_default() 4368 static void sym_nego_rejected(struct sym_hcb *np, struct sym_tcb *tp, struct sym_ccb *cp) sym_nego_rejected() 4381 struct sym_ccb *cp = sym_ccb_from_dsa(np, dsa); sym_int_sir() 4650 struct sym_ccb *sym_get_ccb (struct sym_hcb *np, struct scsi_cmnd *cmd, u_char tag_order) sym_get_ccb() 4658 struct sym_ccb *cp = NULL; sym_get_ccb() 4668 cp = sym_que_entry(qp, struct sym_ccb, link_ccbq); sym_get_ccb() 4777 void sym_free_ccb (struct sym_hcb *np, struct sym_ccb *cp) sym_free_ccb() 4869 static struct sym_ccb *sym_alloc_ccb(struct sym_hcb *np) sym_alloc_ccb() 4871 struct sym_ccb *cp = NULL; sym_alloc_ccb() 4884 cp = sym_calloc_dma(sizeof(struct sym_ccb), "CCB"); sym_alloc_ccb() 4937 static struct sym_ccb *sym_ccb_from_dsa(struct sym_hcb *np, u32 dsa) sym_ccb_from_dsa() 4940 struct sym_ccb *cp; sym_ccb_from_dsa() 5140 int sym_queue_scsiio(struct sym_hcb *np, struct scsi_cmnd *cmd, struct sym_ccb *cp) sym_queue_scsiio() 5300 static int sym_abort_ccb(struct sym_hcb *np, struct sym_ccb *cp, int timed_out) sym_abort_ccb() 5332 struct sym_ccb *cp; sym_abort_scsiio() 5340 struct sym_ccb *cp2 = sym_que_entry(qp, struct sym_ccb, link_ccbq); sym_abort_scsiio() 5360 void sym_complete_error(struct sym_hcb *np, struct sym_ccb *cp) sym_complete_error() 5491 void sym_complete_ok (struct sym_hcb *np, struct sym_ccb *cp) sym_complete_ok() 5660 np->ccbh = kcalloc(CCB_HASH_SIZE, sizeof(struct sym_ccb **), GFP_KERNEL); sym_hcb_attach() 5806 struct sym_ccb *cp; sym_hcb_free() 5823 cp = sym_que_entry(qp, struct sym_ccb, link_ccbq); sym_hcb_free()
|
H A D | sym_fw1.h | 1212 offsetof (struct sym_ccb, phys.pm0.sg), 1232 offsetof (struct sym_ccb, phys.pm0.sg), 1248 SCR_REG_REG (scratcha, SCR_ADD, offsetof (struct sym_ccb,phys.pm0.ret)), 1288 offsetof (struct sym_ccb, phys.pm1.sg), 1308 offsetof (struct sym_ccb, phys.pm1.sg), 1324 SCR_REG_REG (scratcha, SCR_ADD, offsetof (struct sym_ccb,phys.pm1.ret)), 1740 offsetof (struct sym_ccb, phys.wresid),
|
H A D | sym_glue.c | 187 void sym_set_cam_result_error(struct sym_hcb *np, struct sym_ccb *cp, int resid) sym_set_cam_result_error() 258 static int sym_scatter(struct sym_hcb *np, struct sym_ccb *cp, struct scsi_cmnd *cmd) sym_scatter() 305 struct sym_ccb *cp; sym_queue_command() 332 static inline int sym_setup_cdb(struct sym_hcb *np, struct scsi_cmnd *cmd, struct sym_ccb *cp) sym_setup_cdb() 345 int sym_setup_data_and_start(struct sym_hcb *np, struct scsi_cmnd *cmd, struct sym_ccb *cp) sym_setup_data_and_start() 638 struct sym_ccb *cp = sym_que_entry(qp, struct sym_ccb, link_ccbq); sym_eh_handler()
|