Lines Matching refs:ispsoftc_t
105 static void isp_prt_endcmd(ispsoftc_t *, XS_T *);
106 static int isp_parse_async(ispsoftc_t *, uint16_t);
107 static int isp_parse_async_fc(ispsoftc_t *, uint16_t);
108 static int isp_handle_other_response(ispsoftc_t *, int, isphdr_t *, uint32_t *);
109 static void isp_parse_status(ispsoftc_t *, ispstatusreq_t *, XS_T *, long *); static void
110 isp_parse_status_24xx(ispsoftc_t *, isp24xx_statusreq_t *, XS_T *, long *);
111 static void isp_fastpost_complete(ispsoftc_t *, uint32_t);
112 static int isp_mbox_continue(ispsoftc_t *);
113 static void isp_scsi_init(ispsoftc_t *);
114 static void isp_scsi_channel_init(ispsoftc_t *, int);
115 static void isp_fibre_init(ispsoftc_t *);
116 static void isp_fibre_init_2400(ispsoftc_t *);
117 static void isp_mark_portdb(ispsoftc_t *, int, int);
118 static int isp_plogx(ispsoftc_t *, int, uint16_t, uint32_t, int, int);
119 static int isp_port_login(ispsoftc_t *, uint16_t, uint32_t);
120 static int isp_port_logout(ispsoftc_t *, uint16_t, uint32_t);
121 static int isp_getpdb(ispsoftc_t *, int, uint16_t, isp_pdb_t *, int);
122 static void isp_dump_chip_portdb(ispsoftc_t *, int, int);
123 static uint64_t isp_get_wwn(ispsoftc_t *, int, int, int);
124 static int isp_fclink_test(ispsoftc_t *, int, int);
125 static int isp_pdb_sync(ispsoftc_t *, int);
126 static int isp_scan_loop(ispsoftc_t *, int);
127 static int isp_gid_ft_sns(ispsoftc_t *, int);
128 static int isp_gid_ft_ct_passthru(ispsoftc_t *, int);
129 static int isp_scan_fabric(ispsoftc_t *, int);
130 static int isp_login_device(ispsoftc_t *, int, uint32_t, isp_pdb_t *, uint16_t *);
131 static int isp_register_fc4_type(ispsoftc_t *, int);
132 static int isp_register_fc4_type_24xx(ispsoftc_t *, int);
133 static uint16_t isp_nxt_handle(ispsoftc_t *, int, uint16_t);
134 static void isp_fw_state(ispsoftc_t *, int);
135 static void isp_mboxcmd_qnw(ispsoftc_t *, mbreg_t *, int);
136 static void isp_mboxcmd(ispsoftc_t *, mbreg_t *);
138 static void isp_spi_update(ispsoftc_t *, int);
139 static void isp_setdfltsdparm(ispsoftc_t *);
140 static void isp_setdfltfcparm(ispsoftc_t *, int);
141 static int isp_read_nvram(ispsoftc_t *, int);
142 static int isp_read_nvram_2400(ispsoftc_t *, uint8_t *);
143 static void isp_rdnvram_word(ispsoftc_t *, int, uint16_t *);
144 static void isp_rd_2400_nvram(ispsoftc_t *, uint32_t, uint32_t *);
145 static void isp_parse_nvram_1020(ispsoftc_t *, uint8_t *);
146 static void isp_parse_nvram_1080(ispsoftc_t *, int, uint8_t *);
147 static void isp_parse_nvram_12160(ispsoftc_t *, int, uint8_t *);
148 static void isp_parse_nvram_2100(ispsoftc_t *, uint8_t *);
149 static void isp_parse_nvram_2400(ispsoftc_t *, uint8_t *);
160 isp_reset(ispsoftc_t *isp, int do_load_defaults) in isp_reset()
1167 isp_init(ispsoftc_t *isp) in isp_init()
1182 isp_scsi_init(ispsoftc_t *isp) in isp_scsi_init()
1366 isp_scsi_channel_init(ispsoftc_t *isp, int chan) in isp_scsi_channel_init()
1481 isp_fibre_init(ispsoftc_t *isp) in isp_fibre_init()
1743 isp_fibre_init_2400(ispsoftc_t *isp) in isp_fibre_init_2400()
2035 isp_mark_portdb(ispsoftc_t *isp, int chan, int disposition) in isp_mark_portdb()
2080 isp_plogx(ispsoftc_t *isp, int chan, uint16_t handle, uint32_t portid, int flags, int gs) in isp_plogx()
2232 isp_port_login(ispsoftc_t *isp, uint16_t handle, uint32_t portid) in isp_port_login()
2285 isp_port_logout(ispsoftc_t *isp, uint16_t handle, uint32_t portid) in isp_port_logout()
2301 isp_getpdb(ispsoftc_t *isp, int chan, uint16_t id, isp_pdb_t *pdb, int dolock) in isp_getpdb()
2372 isp_dump_chip_portdb(ispsoftc_t *isp, int chan, int dolock) in isp_dump_chip_portdb()
2395 isp_get_wwn(ispsoftc_t *isp, int chan, int loopid, int nodename) in isp_get_wwn()
2455 isp_fclink_test(ispsoftc_t *isp, int chan, int usdelay) in isp_fclink_test()
2732 isp_pdb_sync(ispsoftc_t *isp, int chan) in isp_pdb_sync()
2885 isp_scan_loop(ispsoftc_t *isp, int chan) in isp_scan_loop()
3196 isp_gid_ft_sns(ispsoftc_t *isp, int chan) in isp_gid_ft_sns()
3242 isp_gid_ft_ct_passthru(ispsoftc_t *isp, int chan) in isp_gid_ft_ct_passthru()
3342 isp_scan_fabric(ispsoftc_t *isp, int chan) in isp_scan_fabric()
3883 isp_login_device(ispsoftc_t *isp, int chan, uint32_t portid, isp_pdb_t *p, uint16_t *ohp) in isp_login_device()
3985 isp_register_fc4_type(ispsoftc_t *isp, int chan) in isp_register_fc4_type()
4025 isp_register_fc4_type_24xx(ispsoftc_t *isp, int chan) in isp_register_fc4_type_24xx()
4140 isp_nxt_handle(ispsoftc_t *isp, int chan, uint16_t handle) in isp_nxt_handle()
4189 ispsoftc_t *isp; in isp_start()
4466 isp_control(ispsoftc_t *isp, ispctl_t ctl, ...) in isp_control()
4861 isp_intr(ispsoftc_t *isp, uint32_t isr, uint16_t sema, uint16_t mbox) in isp_intr()
5398 isp_prt_endcmd(ispsoftc_t *isp, XS_T *xs) in isp_prt_endcmd()
5422 isp_parse_async(ispsoftc_t *isp, uint16_t mbox) in isp_parse_async()
5616 isp_parse_async_fc(ispsoftc_t *isp, uint16_t mbox) in isp_parse_async_fc()
5960 isp_handle_other_response(ispsoftc_t *isp, int type, isphdr_t *hp, uint32_t *optrp) in isp_handle_other_response()
6021 isp_parse_status(ispsoftc_t *isp, ispstatusreq_t *sp, XS_T *xs, long *rp) in isp_parse_status()
6357 isp_parse_status_24xx(ispsoftc_t *isp, isp24xx_statusreq_t *sp, XS_T *xs, long *rp) in isp_parse_status_24xx()
6518 isp_fastpost_complete(ispsoftc_t *isp, uint32_t fph) in isp_fastpost_complete()
6551 isp_mbox_continue(ispsoftc_t *isp) in isp_mbox_continue()
7090 isp_mboxcmd_qnw(ispsoftc_t *isp, mbreg_t *mbp, int nodelay) in isp_mboxcmd_qnw()
7134 isp_mboxcmd(ispsoftc_t *isp, mbreg_t *mbp) in isp_mboxcmd()
7306 isp_fw_state(ispsoftc_t *isp, int chan) in isp_fw_state()
7321 isp_spi_update(ispsoftc_t *isp, int chan) in isp_spi_update()
7436 isp_setdfltsdparm(ispsoftc_t *isp) in isp_setdfltsdparm()
7575 isp_setdfltfcparm(ispsoftc_t *isp, int chan) in isp_setdfltfcparm()
7649 isp_reinit(ispsoftc_t *isp, int do_load_defaults) in isp_reinit()
7702 isp_read_nvram(ispsoftc_t *isp, int bus) in isp_read_nvram()
7775 isp_read_nvram_2400(ispsoftc_t *isp, uint8_t *nvram_data) in isp_read_nvram_2400()
7814 isp_rdnvram_word(ispsoftc_t *isp, int wo, uint16_t *rp) in isp_rdnvram_word()
7885 isp_rd_2400_nvram(ispsoftc_t *isp, uint32_t addr, uint32_t *rp) in isp_rd_2400_nvram()
7911 isp_parse_nvram_1020(ispsoftc_t *isp, uint8_t *nvram_data) in isp_parse_nvram_1020()
8024 isp_parse_nvram_1080(ispsoftc_t *isp, int bus, uint8_t *nvram_data) in isp_parse_nvram_1080()
8100 isp_parse_nvram_12160(ispsoftc_t *isp, int bus, uint8_t *nvram_data) in isp_parse_nvram_12160()
8176 isp_parse_nvram_2100(ispsoftc_t *isp, uint8_t *nvram_data) in isp_parse_nvram_2100()
8254 isp_parse_nvram_2400(ispsoftc_t *isp, uint8_t *nvram_data) in isp_parse_nvram_2400()