Lines Matching defs:np

81 static void sym_print_nego_msg(struct sym_hcb *np, int target, char *label, u_char *msg)  in sym_print_nego_msg()
133 static void sym_chip_reset (struct sym_hcb *np) in sym_chip_reset()
152 static void sym_soft_reset (struct sym_hcb *np) in sym_soft_reset()
185 static void sym_start_reset(struct sym_hcb *np) in sym_start_reset()
190 int sym_reset_scsi_bus(struct sym_hcb *np, int enab_int) in sym_reset_scsi_bus()
245 static void sym_selectclock(struct sym_hcb *np, u_char scntl3) in sym_selectclock()
302 static unsigned getfreq (struct sym_hcb *np, int gen) in getfreq()
374 static unsigned sym_getfreq (struct sym_hcb *np) in sym_getfreq()
389 static void sym_getclock (struct sym_hcb *np, int mult) in sym_getclock()
446 static int sym_getpciclock (struct sym_hcb *np)
482 sym_getsync(struct sym_hcb *np, u_char dt, u_char sfac, u_char *divp, u_char *fakp)
602 static inline void sym_init_burst(struct sym_hcb *np, u_char bc)
627 static void sym_save_initial_setting (struct sym_hcb *np)
654 static void sym_set_bus_mode(struct sym_hcb *np, struct sym_nvram *nvram)
682 static int sym_prepare_setting(struct Scsi_Host *shost, struct sym_hcb *np, struct sym_nvram *nvram)
975 static int sym_regtest(struct sym_hcb *np)
998 static inline int sym_regtest(struct sym_hcb *np)
1004 static int sym_snooptest(struct sym_hcb *np)
1132 struct sym_hcb *np = sym_get_hcb(shost); local
1190 struct sym_hcb *np = sym_get_hcb(shost); local
1315 int sym_lookup_dmap(struct sym_hcb *np, u32 h, int s)
1348 static void sym_update_dmap_regs(struct sym_hcb *np)
1364 static void sym_check_goals(struct sym_hcb *np, struct scsi_target *starget,
1419 static int sym_prepare_nego(struct sym_hcb *np, struct sym_ccb *cp, u_char *msgptr)
1480 void sym_put_start_queue(struct sym_hcb *np, struct sym_ccb *cp)
1540 void sym_start_next_ccbs(struct sym_hcb *np, struct sym_lcb *lp, int maxn)
1594 static int sym_wakeup_done (struct sym_hcb *np)
1641 static void sym_flush_comp_queue(struct sym_hcb *np, int cam_status)
1684 static void sym_flush_busy_queue (struct sym_hcb *np, int cam_status)
1707 struct sym_hcb *np = sym_data->ncb; local
1944 static void sym_settrans(struct sym_hcb *np, int target, u_char opts, u_char ofs,
2075 static void sym_setwide(struct sym_hcb *np, int target, u_char wide)
2104 sym_setsync(struct sym_hcb *np, int target,
2137 sym_setpprot(struct sym_hcb *np, int target, u_char opts, u_char ofs,
2186 static void sym_recover_scsi_int (struct sym_hcb *np, u_char hsts)
2237 static void sym_int_sto (struct sym_hcb *np)
2252 static void sym_int_udc (struct sym_hcb *np)
2270 struct sym_hcb *np = sym_get_hcb(shost); local
2310 static void sym_int_par (struct sym_hcb *np, u_short sist)
2399 static void sym_int_ma (struct sym_hcb *np)
2815 struct sym_hcb *np = sym_data->ncb; local
2978 sym_dequeue_from_squeue(struct sym_hcb *np, int i, int target, int lun, int task)
3039 static void sym_sir_bad_scsi_status(struct sym_hcb *np, int num, struct sym_ccb *cp)
3194 int sym_clear_tasks(struct sym_hcb *np, int cam_status, int target, int lun, int task)
3277 static void sym_sir_task_recovery(struct sym_hcb *np, int num)
3635 static int sym_evaluate_dp(struct sym_hcb *np, struct sym_ccb *cp, u32 scr, int *ofs)
3753 static void sym_modify_dp(struct sym_hcb *np, struct sym_tcb *tp, struct sym_ccb *cp, int ofs)
3852 int sym_compute_residual(struct sym_hcb *np, struct sym_ccb *cp)
3954 sym_sync_nego_check(struct sym_hcb *np, int req, struct sym_ccb *cp)
4032 static void sym_sync_nego(struct sym_hcb *np, struct sym_tcb *tp, struct sym_ccb *cp)
4069 sym_ppr_nego_check(struct sym_hcb *np, int req, int target)
4169 static void sym_ppr_nego(struct sym_hcb *np, struct sym_tcb *tp, struct sym_ccb *cp)
4206 sym_wide_nego_check(struct sym_hcb *np, int req, struct sym_ccb *cp)
4269 static void sym_wide_nego(struct sym_hcb *np, struct sym_tcb *tp, struct sym_ccb *cp)
4333 static void sym_nego_default(struct sym_hcb *np, struct sym_tcb *tp, struct sym_ccb *cp)
4364 static void sym_nego_rejected(struct sym_hcb *np, struct sym_tcb *tp, struct sym_ccb *cp)
4373 static void sym_int_sir(struct sym_hcb *np)
4646 struct sym_ccb *sym_get_ccb (struct sym_hcb *np, struct scsi_cmnd *cmd, u_char tag_order)
4773 void sym_free_ccb (struct sym_hcb *np, struct sym_ccb *cp)
4865 static struct sym_ccb *sym_alloc_ccb(struct sym_hcb *np)
4933 static struct sym_ccb *sym_ccb_from_dsa(struct sym_hcb *np, u32 dsa)
4953 static void sym_init_tcb (struct sym_hcb *np, u_char tn)
4969 struct sym_lcb *sym_alloc_lcb (struct sym_hcb *np, u_char tn, u_char ln)
5053 static void sym_alloc_lcb_tags (struct sym_hcb *np, u_char tn, u_char ln)
5100 int sym_free_lcb(struct sym_hcb *np, u_char tn, u_char ln)
5136 int sym_queue_scsiio(struct sym_hcb *np, struct scsi_cmnd *cmd, struct sym_ccb *cp)
5277 int sym_reset_scsi_target(struct sym_hcb *np, int target)
5296 static int sym_abort_ccb(struct sym_hcb *np, struct sym_ccb *cp, int timed_out)
5326 int sym_abort_scsiio(struct sym_hcb *np, struct scsi_cmnd *cmd, int timed_out)
5356 void sym_complete_error(struct sym_hcb *np, struct sym_ccb *cp)
5487 void sym_complete_ok (struct sym_hcb *np, struct sym_ccb *cp)
5578 struct sym_hcb *np = sym_get_hcb(shost); local
5799 void sym_hcb_free(struct sym_hcb *np)