Lines Matching refs:sym_hcb
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()
139 static void sym_soft_reset (struct sym_hcb *np) in sym_soft_reset()
172 static void sym_start_reset(struct sym_hcb *np) in sym_start_reset()
177 int sym_reset_scsi_bus(struct sym_hcb *np, int enab_int) in sym_reset_scsi_bus()
232 static void sym_selectclock(struct sym_hcb *np, u_char scntl3) in sym_selectclock()
289 static unsigned getfreq (struct sym_hcb *np, int gen) in getfreq()
361 static unsigned sym_getfreq (struct sym_hcb *np) in sym_getfreq()
376 static void sym_getclock (struct sym_hcb *np, int mult) in sym_getclock()
433 static int sym_getpciclock (struct sym_hcb *np)
469 sym_getsync(struct sym_hcb *np, u_char dt, u_char sfac, u_char *divp, u_char *fakp)
589 static inline void sym_init_burst(struct sym_hcb *np, u_char bc)
614 static void sym_save_initial_setting (struct sym_hcb *np)
641 static void sym_set_bus_mode(struct sym_hcb *np, struct sym_nvram *nvram)
669 static int sym_prepare_setting(struct Scsi_Host *shost, struct sym_hcb *np, struct sym_nvram *nvram)
962 static int sym_regtest(struct sym_hcb *np)
985 static inline int sym_regtest(struct sym_hcb *np)
991 static int sym_snooptest(struct sym_hcb *np)
1119 struct sym_hcb *np = sym_get_hcb(shost);
1177 struct sym_hcb *np = sym_get_hcb(shost);
1302 int sym_lookup_dmap(struct sym_hcb *np, u32 h, int s)
1335 static void sym_update_dmap_regs(struct sym_hcb *np)
1351 static void sym_check_goals(struct sym_hcb *np, struct scsi_target *starget,
1406 static int sym_prepare_nego(struct sym_hcb *np, struct sym_ccb *cp, u_char *msgptr)
1467 void sym_put_start_queue(struct sym_hcb *np, struct sym_ccb *cp)
1527 void sym_start_next_ccbs(struct sym_hcb *np, struct sym_lcb *lp, int maxn)
1581 static int sym_wakeup_done (struct sym_hcb *np)
1628 static void sym_flush_comp_queue(struct sym_hcb *np, int cam_status)
1671 static void sym_flush_busy_queue (struct sym_hcb *np, int cam_status)
1694 struct sym_hcb *np = sym_data->ncb;
1931 static void sym_settrans(struct sym_hcb *np, int target, u_char opts, u_char ofs,
2062 static void sym_setwide(struct sym_hcb *np, int target, u_char wide)
2091 sym_setsync(struct sym_hcb *np, int target,
2124 sym_setpprot(struct sym_hcb *np, int target, u_char opts, u_char ofs,
2173 static void sym_recover_scsi_int (struct sym_hcb *np, u_char hsts)
2224 static void sym_int_sto (struct sym_hcb *np)
2239 static void sym_int_udc (struct sym_hcb *np)
2257 struct sym_hcb *np = sym_get_hcb(shost);
2297 static void sym_int_par (struct sym_hcb *np, u_short sist)
2386 static void sym_int_ma (struct sym_hcb *np)
2802 struct sym_hcb *np = sym_data->ncb;
2965 sym_dequeue_from_squeue(struct sym_hcb *np, int i, int target, int lun, int task)
3030 static void sym_sir_bad_scsi_status(struct sym_hcb *np, int num, struct sym_ccb *cp)
3186 int sym_clear_tasks(struct sym_hcb *np, int cam_status, int target, int lun, int task)
3269 static void sym_sir_task_recovery(struct sym_hcb *np, int num)
3627 static int sym_evaluate_dp(struct sym_hcb *np, struct sym_ccb *cp, u32 scr, int *ofs)
3745 static void sym_modify_dp(struct sym_hcb *np, struct sym_tcb *tp, struct sym_ccb *cp, int ofs)
3844 int sym_compute_residual(struct sym_hcb *np, struct sym_ccb *cp)
3945 sym_sync_nego_check(struct sym_hcb *np, int req, struct sym_ccb *cp)
4023 static void sym_sync_nego(struct sym_hcb *np, struct sym_tcb *tp, struct sym_ccb *cp)
4060 sym_ppr_nego_check(struct sym_hcb *np, int req, int target)
4160 static void sym_ppr_nego(struct sym_hcb *np, struct sym_tcb *tp, struct sym_ccb *cp)
4197 sym_wide_nego_check(struct sym_hcb *np, int req, struct sym_ccb *cp)
4260 static void sym_wide_nego(struct sym_hcb *np, struct sym_tcb *tp, struct sym_ccb *cp)
4324 static void sym_nego_default(struct sym_hcb *np, struct sym_tcb *tp, struct sym_ccb *cp)
4355 static void sym_nego_rejected(struct sym_hcb *np, struct sym_tcb *tp, struct sym_ccb *cp)
4371 static void sym_int_sir(struct sym_hcb *np)
4644 struct sym_ccb *sym_get_ccb (struct sym_hcb *np, struct scsi_cmnd *cmd, u_char tag_order)
4771 void sym_free_ccb (struct sym_hcb *np, struct sym_ccb *cp)
4863 static struct sym_ccb *sym_alloc_ccb(struct sym_hcb *np)
4931 static struct sym_ccb *sym_ccb_from_dsa(struct sym_hcb *np, u32 dsa)
4951 static void sym_init_tcb (struct sym_hcb *np, u_char tn)
4967 struct sym_lcb *sym_alloc_lcb (struct sym_hcb *np, u_char tn, u_char ln)
5048 static void sym_alloc_lcb_tags (struct sym_hcb *np, u_char tn, u_char ln)
5094 int sym_free_lcb(struct sym_hcb *np, u_char tn, u_char ln)
5130 int sym_queue_scsiio(struct sym_hcb *np, struct scsi_cmnd *cmd, struct sym_ccb *cp)
5271 int sym_reset_scsi_target(struct sym_hcb *np, int target)
5290 static int sym_abort_ccb(struct sym_hcb *np, struct sym_ccb *cp, int timed_out)
5320 int sym_abort_scsiio(struct sym_hcb *np, struct scsi_cmnd *cmd, int timed_out)
5350 void sym_complete_error(struct sym_hcb *np, struct sym_ccb *cp)
5485 void sym_complete_ok (struct sym_hcb *np, struct sym_ccb *cp)
5580 struct sym_hcb *np = sym_get_hcb(shost);
5800 void sym_hcb_free(struct sym_hcb *np)