Lines Matching refs:ispsoftc_t
101 static void isp_parse_async(ispsoftc_t *, uint16_t);
102 static void isp_parse_async_fc(ispsoftc_t *, uint16_t);
103 static int isp_handle_other_response(ispsoftc_t *, int, isphdr_t *, uint32_t *);
104 static void isp_parse_status(ispsoftc_t *, ispstatusreq_t *, XS_T *, uint32_t *);
105 static void isp_parse_status_24xx(ispsoftc_t *, isp24xx_statusreq_t *, XS_T *, uint32_t *);
106 static void isp_fastpost_complete(ispsoftc_t *, uint32_t);
107 static void isp_scsi_init(ispsoftc_t *);
108 static void isp_scsi_channel_init(ispsoftc_t *, int);
109 static void isp_fibre_init(ispsoftc_t *);
110 static void isp_fibre_init_2400(ispsoftc_t *);
111 static void isp_clear_portdb(ispsoftc_t *, int);
112 static void isp_mark_portdb(ispsoftc_t *, int);
113 static int isp_plogx(ispsoftc_t *, int, uint16_t, uint32_t, int);
114 static int isp_port_login(ispsoftc_t *, uint16_t, uint32_t);
115 static int isp_port_logout(ispsoftc_t *, uint16_t, uint32_t);
116 static int isp_getpdb(ispsoftc_t *, int, uint16_t, isp_pdb_t *);
117 static int isp_gethandles(ispsoftc_t *, int, uint16_t *, int *, int);
118 static void isp_dump_chip_portdb(ispsoftc_t *, int);
119 static uint64_t isp_get_wwn(ispsoftc_t *, int, int, int);
120 static int isp_fclink_test(ispsoftc_t *, int, int);
121 static int isp_pdb_sync(ispsoftc_t *, int);
122 static int isp_scan_loop(ispsoftc_t *, int);
123 static int isp_gid_pt(ispsoftc_t *, int);
124 static int isp_scan_fabric(ispsoftc_t *, int);
125 static int isp_login_device(ispsoftc_t *, int, uint32_t, isp_pdb_t *, uint16_t *);
126 static int isp_send_change_request(ispsoftc_t *, int);
127 static int isp_register_fc4_type(ispsoftc_t *, int);
128 static int isp_register_fc4_features_24xx(ispsoftc_t *, int);
129 static int isp_register_port_name_24xx(ispsoftc_t *, int);
130 static int isp_register_node_name_24xx(ispsoftc_t *, int);
131 static uint16_t isp_next_handle(ispsoftc_t *, uint16_t *);
132 static int isp_fw_state(ispsoftc_t *, int);
133 static void isp_mboxcmd(ispsoftc_t *, mbreg_t *);
135 static void isp_spi_update(ispsoftc_t *, int);
136 static void isp_setdfltsdparm(ispsoftc_t *);
137 static void isp_setdfltfcparm(ispsoftc_t *, int);
138 static int isp_read_nvram(ispsoftc_t *, int);
139 static int isp_read_nvram_2400(ispsoftc_t *, uint8_t *);
140 static void isp_rdnvram_word(ispsoftc_t *, int, uint16_t *);
141 static void isp_rd_2400_nvram(ispsoftc_t *, uint32_t, uint32_t *);
142 static void isp_parse_nvram_1020(ispsoftc_t *, uint8_t *);
143 static void isp_parse_nvram_1080(ispsoftc_t *, int, uint8_t *);
144 static void isp_parse_nvram_12160(ispsoftc_t *, int, uint8_t *);
145 static void isp_parse_nvram_2100(ispsoftc_t *, uint8_t *);
146 static void isp_parse_nvram_2400(ispsoftc_t *, uint8_t *);
149 isp_change_fw_state(ispsoftc_t *isp, int chan, int state) in isp_change_fw_state()
170 isp_reset(ispsoftc_t *isp, int do_load_defaults) in isp_reset()
1270 isp_stop(ispsoftc_t *isp) in isp_stop()
1292 isp_shutdown(ispsoftc_t *isp) in isp_shutdown()
1323 isp_init(ispsoftc_t *isp) in isp_init()
1337 isp_scsi_init(ispsoftc_t *isp) in isp_scsi_init()
1523 isp_scsi_channel_init(ispsoftc_t *isp, int chan) in isp_scsi_channel_init()
1638 isp_fibre_init(ispsoftc_t *isp) in isp_fibre_init()
1965 isp_fibre_init_2400(ispsoftc_t *isp) in isp_fibre_init_2400()
2335 isp_fc_enable_vp(ispsoftc_t *isp, int chan) in isp_fc_enable_vp()
2404 isp_fc_disable_vp(ispsoftc_t *isp, int chan) in isp_fc_disable_vp()
2466 isp_fc_change_role(ispsoftc_t *isp, int chan, int new_role) in isp_fc_change_role()
2496 isp_clear_portdb(ispsoftc_t *isp, int chan) in isp_clear_portdb()
2524 isp_mark_portdb(ispsoftc_t *isp, int chan) in isp_mark_portdb()
2546 isp_plogx(ispsoftc_t *isp, int chan, uint16_t handle, uint32_t portid, int flags) in isp_plogx()
2696 isp_port_login(ispsoftc_t *isp, uint16_t handle, uint32_t portid) in isp_port_login()
2745 isp_port_logout(ispsoftc_t *isp, uint16_t handle, uint32_t portid) in isp_port_logout()
2761 isp_getpdb(ispsoftc_t *isp, int chan, uint16_t id, isp_pdb_t *pdb) in isp_getpdb()
2823 isp_gethandles(ispsoftc_t *isp, int chan, uint16_t *handles, int *num, int loop) in isp_gethandles()
2890 isp_dump_chip_portdb(ispsoftc_t *isp, int chan) in isp_dump_chip_portdb()
2914 isp_get_wwn(ispsoftc_t *isp, int chan, int nphdl, int nodename) in isp_get_wwn()
2967 isp_fclink_test(ispsoftc_t *isp, int chan, int usdelay) in isp_fclink_test()
3155 isp_pdb_sync(ispsoftc_t *isp, int chan) in isp_pdb_sync()
3229 isp_pdb_add_update(ispsoftc_t *isp, int chan, isp_pdb_t *pdb) in isp_pdb_add_update()
3301 isp_fix_portids(ispsoftc_t *isp, int chan) in isp_fix_portids()
3341 isp_scan_loop(ispsoftc_t *isp, int chan) in isp_scan_loop()
3440 isp_ct_sns(ispsoftc_t *isp, int chan, uint32_t cmd_bcnt, uint32_t rsp_bcnt) in isp_ct_sns()
3471 isp_ct_passthru(ispsoftc_t *isp, int chan, uint32_t cmd_bcnt, uint32_t rsp_bcnt) in isp_ct_passthru()
3560 isp_gid_pt(ispsoftc_t *isp, int chan) in isp_gid_pt()
3621 isp_gff_id(ispsoftc_t *isp, int chan, uint32_t portid) in isp_gff_id()
3681 isp_gft_id(ispsoftc_t *isp, int chan, uint32_t portid) in isp_gft_id()
3755 isp_scan_fabric(ispsoftc_t *isp, int chan) in isp_scan_fabric()
3995 isp_login_device(ispsoftc_t *isp, int chan, uint32_t portid, isp_pdb_t *p, uint16_t *ohp) in isp_login_device()
4080 isp_send_change_request(ispsoftc_t *isp, int chan) in isp_send_change_request()
4098 isp_register_fc4_type(ispsoftc_t *isp, int chan) in isp_register_fc4_type()
4166 isp_register_fc4_features_24xx(ispsoftc_t *isp, int chan) in isp_register_fc4_features_24xx()
4224 isp_register_port_name_24xx(ispsoftc_t *isp, int chan) in isp_register_port_name_24xx()
4288 isp_register_node_name_24xx(ispsoftc_t *isp, int chan) in isp_register_node_name_24xx()
4344 isp_next_handle(ispsoftc_t *isp, uint16_t *ohp) in isp_next_handle()
4394 ispsoftc_t *isp; in isp_start()
4693 isp_control(ispsoftc_t *isp, ispctl_t ctl, ...) in isp_control()
5065 isp_intr_atioq(ispsoftc_t *isp) in isp_intr_atioq()
5099 isp_intr_async(ispsoftc_t *isp, uint16_t event) in isp_intr_async()
5109 isp_intr_mbox(ispsoftc_t *isp, uint16_t mbox0) in isp_intr_mbox()
5128 isp_intr_respq(ispsoftc_t *isp) in isp_intr_respq()
5439 isp_parse_async(ispsoftc_t *isp, uint16_t mbox) in isp_parse_async()
5604 isp_parse_async_fc(ispsoftc_t *isp, uint16_t mbox) in isp_parse_async_fc()
5951 isp_handle_other_response(ispsoftc_t *isp, int type, isphdr_t *hp, uint32_t *optrp) in isp_handle_other_response()
6033 isp_parse_status(ispsoftc_t *isp, ispstatusreq_t *sp, XS_T *xs, uint32_t *rp) in isp_parse_status()
6361 isp_parse_status_24xx(ispsoftc_t *isp, isp24xx_statusreq_t *sp, XS_T *xs, uint32_t *rp) in isp_parse_status_24xx()
6518 isp_fastpost_complete(ispsoftc_t *isp, uint32_t fph) in isp_fastpost_complete()
7020 isp_mboxcmd(ispsoftc_t *isp, mbreg_t *mbp) in isp_mboxcmd()
7203 isp_fw_state(ispsoftc_t *isp, int chan) in isp_fw_state()
7218 isp_spi_update(ispsoftc_t *isp, int chan) in isp_spi_update()
7333 isp_setdfltsdparm(ispsoftc_t *isp) in isp_setdfltsdparm()
7469 isp_setdfltfcparm(ispsoftc_t *isp, int chan) in isp_setdfltfcparm()
7548 isp_reinit(ispsoftc_t *isp, int do_load_defaults) in isp_reinit()
7595 isp_read_nvram(ispsoftc_t *isp, int bus) in isp_read_nvram()
7668 isp_read_nvram_2400(ispsoftc_t *isp, uint8_t *nvram_data) in isp_read_nvram_2400()
7707 isp_rdnvram_word(ispsoftc_t *isp, int wo, uint16_t *rp) in isp_rdnvram_word()
7778 isp_rd_2400_nvram(ispsoftc_t *isp, uint32_t addr, uint32_t *rp) in isp_rd_2400_nvram()
7806 isp_parse_nvram_1020(ispsoftc_t *isp, uint8_t *nvram_data) in isp_parse_nvram_1020()
7918 isp_parse_nvram_1080(ispsoftc_t *isp, int bus, uint8_t *nvram_data) in isp_parse_nvram_1080()
7993 isp_parse_nvram_12160(ispsoftc_t *isp, int bus, uint8_t *nvram_data) in isp_parse_nvram_12160()
8068 isp_parse_nvram_2100(ispsoftc_t *isp, uint8_t *nvram_data) in isp_parse_nvram_2100()
8146 isp_parse_nvram_2400(ispsoftc_t *isp, uint8_t *nvram_data) in isp_parse_nvram_2400()