Lines Matching defs:np
749 #define _sym_calloc_dma(np, s, n) __sym_calloc_dma(np->bus_dmat, s, n) argument
750 #define _sym_mfree_dma(np, p, s, n) \ argument
754 #define _vtobus(np, p) __vtobus(np->bus_dmat, _uvptv_(p)) argument
1696 #define HCB_BA(np, lbl) (np->hcb_ba + offsetof(struct sym_hcb, lbl)) argument
1701 static __inline const char *sym_name(hcb_p np) in sym_name()
1767 sym_fw1_patch(hcb_p np) in sym_fw1_patch()
1808 sym_fw2_patch(hcb_p np) in sym_fw2_patch()
1901 sym_fw_setup_bus_addresses(hcb_p np, const struct sym_fw *fw) in sym_fw_setup_bus_addresses()
1930 sym_fw1_setup(hcb_p np, const struct sym_fw *fw) in sym_fw1_setup()
1952 sym_fw2_setup(hcb_p np, const struct sym_fw *fw) in sym_fw2_setup()
1996 static void sym_fw_bind_script (hcb_p np, u32 *start, int len) in sym_fw_bind_script()
2266 static void PRINT_TARGET (hcb_p np, int target) in PRINT_TARGET()
2271 static void PRINT_LUN(hcb_p np, int target, int lun) in PRINT_LUN()
2317 hcb_p np; in sym_enqueue_cam_ccb() local
2338 static void sym_xpt_done(hcb_p np, union ccb *ccb, ccb_p cp) in sym_xpt_done()
2352 static void sym_xpt_done2(hcb_p np, union ccb *ccb, int cam_status) in sym_xpt_done2()
2400 static __inline void sym_init_burst(hcb_p np, u_char bc) in sym_init_burst()
2419 static void sym_print_targets_flag(hcb_p np, int mask, char *msg) in sym_print_targets_flag()
2447 static void sym_save_initial_setting (hcb_p np) in sym_save_initial_setting()
2471 static int sym_prepare_setting(hcb_p np, struct sym_nvram *nvram) in sym_prepare_setting()
2807 static int sym_prepare_nego(hcb_p np, ccb_p cp, int nego, u_char *msgptr) in sym_prepare_nego()
2878 static void sym_put_start_queue(hcb_p np, ccb_p cp) in sym_put_start_queue()
2932 static void sym_chip_reset (hcb_p np) in sym_chip_reset()
2949 static void sym_soft_reset (hcb_p np) in sym_soft_reset()
2978 static void sym_start_reset(hcb_p np) in sym_start_reset()
2983 static int sym_reset_scsi_bus(hcb_p np, int enab_int) in sym_reset_scsi_bus()
3042 static int sym_wakeup_done (hcb_p np) in sym_wakeup_done()
3079 static void sym_flush_busy_queue (hcb_p np, int cam_status) in sym_flush_busy_queue()
3098 static void sym_init (hcb_p np, int reason) in sym_init()
3322 sym_getsync(hcb_p np, u_char dt, u_char sfac, u_char *divp, u_char *fakp) in sym_getsync()
3415 sym_xpt_async_transfer_neg(hcb_p np, int target, u_int spi_valid) in sym_xpt_async_transfer_neg()
3471 static void sym_setwide(hcb_p np, ccb_p cp, u_char wide) in sym_setwide()
3493 sym_setsync(hcb_p np, ccb_p cp, u_char ofs, u_char per, u_char div, u_char fak) in sym_setsync()
3514 static void sym_setpprot(hcb_p np, ccb_p cp, u_char dt, u_char ofs, in sym_setpprot()
3535 static void sym_settrans(hcb_p np, ccb_p cp, u_char dt, u_char ofs, in sym_settrans()
3673 static void sym_log_hard_error(hcb_p np, u_short sist, u_char dstat) in sym_log_hard_error()
3798 static void sym_intr1 (hcb_p np) in sym_intr1()
3943 hcb_p np = arg; in sym_intr() local
3985 static void sym_recover_scsi_int (hcb_p np, u_char hsts) in sym_recover_scsi_int()
4036 static void sym_int_sto (hcb_p np) in sym_int_sto()
4051 static void sym_int_udc (hcb_p np) in sym_int_udc()
4067 static void sym_int_sbmc (hcb_p np) in sym_int_sbmc()
4109 static void sym_int_par (hcb_p np, u_short sist) in sym_int_par()
4190 static void sym_int_ma (hcb_p np) in sym_int_ma()
4546 sym_dequeue_from_squeue(hcb_p np, int i, int target, int lun, int task) in sym_dequeue_from_squeue()
4604 sym_flush_comp_queue(hcb_p np, int cam_status) in sym_flush_comp_queue()
4643 static void sym_sir_bad_scsi_status(hcb_p np, ccb_p cp) in sym_sir_bad_scsi_status()
4816 sym_clear_tasks(hcb_p np, int cam_status, int target, int lun, int task) in sym_clear_tasks()
4899 static void sym_sir_task_recovery(hcb_p np, int num) in sym_sir_task_recovery()
5247 static int sym_evaluate_dp(hcb_p np, ccb_p cp, u32 scr, int *ofs) in sym_evaluate_dp()
5364 static void sym_modify_dp(hcb_p np, ccb_p cp, int ofs) in sym_modify_dp()
5461 static int sym_compute_residual(hcb_p np, ccb_p cp) in sym_compute_residual()
5589 static void sym_sync_nego(hcb_p np, tcb_p tp, ccb_p cp) in sym_sync_nego()
5690 static void sym_ppr_nego(hcb_p np, tcb_p tp, ccb_p cp) in sym_ppr_nego()
5829 static void sym_wide_nego(hcb_p np, tcb_p tp, ccb_p cp) in sym_wide_nego()
5940 static void sym_nego_default(hcb_p np, tcb_p tp, ccb_p cp) in sym_nego_default()
5974 static void sym_nego_rejected(hcb_p np, tcb_p tp, ccb_p cp) in sym_nego_rejected()
5983 static void sym_int_sir (hcb_p np) in sym_int_sir()
6251 static ccb_p sym_get_ccb (hcb_p np, u_char tn, u_char ln, u_char tag_order) in sym_get_ccb()
6371 static void sym_free_ccb(hcb_p np, ccb_p cp) in sym_free_ccb()
6460 static ccb_p sym_alloc_ccb(hcb_p np) in sym_alloc_ccb()
6542 static ccb_p sym_ccb_from_dsa(hcb_p np, u32 dsa) in sym_ccb_from_dsa()
6561 static lcb_p sym_alloc_lcb (hcb_p np, u_char tn, u_char ln) in sym_alloc_lcb()
6639 static void sym_alloc_lcb_tags (hcb_p np, u_char tn, u_char ln) in sym_alloc_lcb_tags()
6690 static int sym_regtest (hcb_p np)
6714 static int sym_snooptest (hcb_p np)
6835 static void sym_selectclock(hcb_p np, u_char scntl3)
6871 static unsigned getfreq (hcb_p np, int gen)
6920 static unsigned sym_getfreq (hcb_p np)
6935 static void sym_getclock (hcb_p np, int mult)
7001 static int sym_getpciclock (hcb_p np)
7078 static void sym_complete_error (hcb_p np, ccb_p cp)
7232 static void sym_complete_ok (hcb_p np, ccb_p cp)
7299 hcb_p np = ccb->ccb_h.sym_hcb_ptr; local
7323 static int sym_abort_scsiio(hcb_p np, union ccb *ccb, int timed_out)
7370 static void sym_reset_dev(hcb_p np, union ccb *ccb)
7398 hcb_p np; local
7611 static int sym_setup_cdb(hcb_p np, struct ccb_scsiio *csio, ccb_p cp)
7661 sym_setup_data_pointers(hcb_p np, ccb_p cp, int dir)
7707 hcb_p np; local
7804 sym_setup_data_and_start(hcb_p np, struct ccb_scsiio *csio, ccb_p cp)
7842 sym_fast_scatter_sg_physical(hcb_p np, ccb_p cp,
7879 sym_scatter_sg_physical(hcb_p np, ccb_p cp, bus_dma_segment_t *psegs, int nsegs)
7929 hcb_p np; local
8091 hcb_p np; local
8128 static void sym_update_trans(hcb_p np, struct sym_trans *tip,
8206 sym_update_dflags(hcb_p np, u_char *flags, struct ccb_trans_settings *cts)
8385 struct sym_hcb *np = NULL; local
8745 static void sym_pci_free(hcb_p np)
8832 static int sym_cam_attach(hcb_p np)
8915 static void sym_cam_free(hcb_p np)
8945 static void sym_nvram_setup_host (hcb_p np, struct sym_nvram *nvram)
8982 sym_nvram_setup_target (hcb_p np, int target, struct sym_nvram *nvp)
9003 sym_Symbios_setup_target(hcb_p np, int target, Symbios_nvram *nvram)
9025 sym_Tekram_setup_target(hcb_p np, int target, Tekram_nvram *nvram)
9055 static void sym_display_Symbios_nvram(hcb_p np, Symbios_nvram *nvram)
9088 static void sym_display_Tekram_nvram(hcb_p np, Tekram_nvram *nvram)
9145 static int sym_read_nvram(hcb_p np, struct sym_nvram *nvp)
9191 static void S24C16_set_bit(hcb_p np, u_char write_bit, u_char *gpreg,
9216 static void S24C16_start(hcb_p np, u_char *gpreg)
9227 static void S24C16_stop(hcb_p np, u_char *gpreg)
9237 static void S24C16_do_bit(hcb_p np, u_char *read_bit, u_char write_bit,
9252 static void S24C16_write_ack(hcb_p np, u_char write_bit, u_char *gpreg,
9264 static void S24C16_read_ack(hcb_p np, u_char *read_bit, u_char *gpreg,
9276 static void S24C16_write_byte(hcb_p np, u_char *ack_data, u_char write_data,
9291 static void S24C16_read_byte(hcb_p np, u_char *read_data, u_char ack_data,
9309 static int sym_read_S24C16_nvram (hcb_p np, int offset, u_char *data, int len)
9388 static int sym_read_Symbios_nvram (hcb_p np, Symbios_nvram *nvram)
9429 static void T93C46_Clk(hcb_p np, u_char *gpreg)
9439 static void T93C46_Read_Bit(hcb_p np, u_char *read_bit, u_char *gpreg)
9449 static void T93C46_Write_Bit(hcb_p np, u_char write_bit, u_char *gpreg)
9467 static void T93C46_Stop(hcb_p np, u_char *gpreg)
9479 static void T93C46_Send_Command(hcb_p np, u_short write_data,
9494 static void T93C46_Read_Word(hcb_p np, u_short *nvram_data, u_char *gpreg)
9513 static int T93C46_Read_Data(hcb_p np, u_short *data,int len,u_char *gpreg)
9533 static int sym_read_T93C46_nvram (hcb_p np, Tekram_nvram *nvram)
9565 static int sym_read_Tekram_nvram (hcb_p np, Tekram_nvram *nvram)