/linux/drivers/scsi/sym53c8xx_2/ |
H A D | sym_glue.h | 208 struct sym_hcb *ncb; 213 static inline struct sym_hcb * sym_get_hcb(struct Scsi_Host *host) in sym_get_hcb() 248 void sym_set_cam_result_error(struct sym_hcb *np, struct sym_ccb *cp, int resid); 250 void sym_xpt_done(struct sym_hcb *np, struct scsi_cmnd *ccb); 252 void sym_xpt_async_bus_reset(struct sym_hcb *np); 253 int sym_setup_data_and_start (struct sym_hcb *np, struct scsi_cmnd *csio, struct sym_ccb *cp);
|
H A D | sym_hipd.h | 797 struct sym_hcb { struct 903 void (*fw_setup)(struct sym_hcb *np, struct sym_fw *fw); argument 1029 #define HCB_BA(np, lbl) (np->hcb_ba + offsetof(struct sym_hcb, lbl)) argument 1036 void sym_fw_bind_script(struct sym_hcb *np, u32 *start, int len); 1043 int sym_reset_scsi_bus(struct sym_hcb *np, int enab_int); 1046 void sym_start_next_ccbs(struct sym_hcb *np, struct sym_lcb *lp, int maxn); 1048 void sym_put_start_queue(struct sym_hcb *np, struct sym_ccb *cp); 1052 int sym_clear_tasks(struct sym_hcb *np, int cam_status, int target, int lun, int task); 1053 struct sym_ccb *sym_get_ccb(struct sym_hcb *np, struct scsi_cmnd *cmd, u_char tag_order); 1054 void sym_free_ccb(struct sym_hcb *np, struct sym_ccb *cp); [all …]
|
H A D | sym_hipd.c | 41 static void sym_int_ma (struct sym_hcb *np); 42 static void sym_int_sir(struct sym_hcb *); 43 static struct sym_ccb *sym_alloc_ccb(struct sym_hcb *np); 44 static struct sym_ccb *sym_ccb_from_dsa(struct sym_hcb *np, u32 dsa); 45 static void sym_alloc_lcb_tags (struct sym_hcb *np, u_char tn, u_char ln); 46 static void sym_complete_error (struct sym_hcb *np, struct sym_ccb *cp); 47 static void sym_complete_ok (struct sym_hcb *np, struct sym_ccb *cp); 48 static int sym_compute_residual(struct sym_hcb *np, struct sym_ccb *cp); 68 static void sym_print_nego_msg(struct sym_hcb *np, int target, char *label, u_char *msg) in sym_print_nego_msg() 120 static void sym_chip_reset (struct sym_hcb *np) in sym_chip_reset() [all …]
|
H A D | sym_glue.c | 127 void sym_xpt_done(struct sym_hcb *np, struct scsi_cmnd *cmd) in sym_xpt_done() 141 void sym_xpt_async_bus_reset(struct sym_hcb *np) in sym_xpt_async_bus_reset() 169 void sym_set_cam_result_error(struct sym_hcb *np, struct sym_ccb *cp, int resid) in sym_set_cam_result_error() 238 static int sym_scatter(struct sym_hcb *np, struct sym_ccb *cp, struct scsi_cmnd *cmd) in sym_scatter() 280 static int sym_queue_command(struct sym_hcb *np, struct scsi_cmnd *cmd) in sym_queue_command() 312 static inline int sym_setup_cdb(struct sym_hcb *np, struct scsi_cmnd *cmd, struct sym_ccb *cp) in sym_setup_cdb() 325 int sym_setup_data_and_start(struct sym_hcb *np, struct scsi_cmnd *cmd, struct sym_ccb *cp) in sym_setup_data_and_start() 423 static void sym_timer(struct sym_hcb *np) in sym_timer() 490 struct sym_hcb *np = SYM_SOFTC_PTR(cmd); in sym53c8xx_queue_command_lck() 548 struct sym_hcb *np = from_timer(np, t, s.timer); in sym53c8xx_timer() [all …]
|
H A D | sym_fw.c | 96 struct sym_hcb *np = sym_get_hcb(shost); in sym_fw1_patch() 140 struct sym_hcb *np = sym_data->ncb; in sym_fw2_patch() 245 sym_fw_setup_bus_addresses(struct sym_hcb *np, struct sym_fw *fw) in sym_fw_setup_bus_addresses() 282 sym_fw1_setup(struct sym_hcb *np, struct sym_fw *fw) in sym_fw1_setup() 304 sym_fw2_setup(struct sym_hcb *np, struct sym_fw *fw) in sym_fw2_setup() 348 void sym_fw_bind_script(struct sym_hcb *np, u32 *start, int len) in sym_fw_bind_script()
|
H A D | sym_fw.h | 112 struct sym_hcb; 132 void (*setup)(struct sym_hcb *, struct sym_fw *); 181 #define HADDR_1(label) (RELOC_SOFTC | offsetof(struct sym_hcb, label)) 183 (offsetof(struct sym_hcb, label)+(ofs)))
|
H A D | sym_nvram.h | 183 void sym_nvram_setup_host(struct Scsi_Host *shost, struct sym_hcb *np, struct sym_nvram *nvram); 188 static inline void sym_nvram_setup_host(struct Scsi_Host *shost, struct sym_hcb *np, struct sym_nvr… in sym_nvram_setup_host()
|
H A D | sym_fw2.h | 1220 SCR_SEL_TBL_ATN ^ offsetof (struct sym_hcb, abrt_sel), 1242 offsetof (struct sym_hcb, abrt_tbl), 1844 offsetof(struct sym_hcb, scratch), 1849 offsetof(struct sym_hcb, scratch), 1854 offsetof(struct sym_hcb, scratch),
|
H A D | sym_fw1.h | 1341 SCR_SEL_TBL_ATN ^ offsetof (struct sym_hcb, abrt_sel), 1363 offsetof (struct sym_hcb, abrt_tbl),
|
H A D | sym_nvram.c | 37 void sym_nvram_setup_host(struct Scsi_Host *shost, struct sym_hcb *np, struct sym_nvram *nvram) in sym_nvram_setup_host()
|