Lines Matching refs:ispsoftc_t
97 static int isp_handle_control(ispsoftc_t *, isphdr_t *);
98 static void isp_handle_rpt_id_acq(ispsoftc_t *, isphdr_t *);
99 static void isp_parse_status_24xx(ispsoftc_t *, isp24xx_statusreq_t *, XS_T *);
100 static void isp_clear_portdb(ispsoftc_t *, int);
101 static void isp_mark_portdb(ispsoftc_t *, int);
102 static int isp_plogx(ispsoftc_t *, int, uint16_t, uint32_t, int);
103 static int isp_getpdb(ispsoftc_t *, int, uint16_t, isp_pdb_t *);
104 static int isp_gethandles(ispsoftc_t *, int, uint16_t *, int *, int);
105 static void isp_dump_chip_portdb(ispsoftc_t *, int);
106 static uint64_t isp_get_wwn(ispsoftc_t *, int, int, int);
107 static int isp_fclink_test(ispsoftc_t *, int, int);
108 static int isp_pdb_sync(ispsoftc_t *, int);
109 static int isp_scan_loop(ispsoftc_t *, int);
110 static int isp_gid_pt(ispsoftc_t *, int);
111 static int isp_scan_fabric(ispsoftc_t *, int);
112 static int isp_login_device(ispsoftc_t *, int, uint32_t, isp_pdb_t *, uint16_t *);
113 static int isp_register_fc4_type(ispsoftc_t *, int);
114 static int isp_register_fc4_features_24xx(ispsoftc_t *, int);
115 static int isp_register_port_name_24xx(ispsoftc_t *, int);
116 static int isp_register_node_name_24xx(ispsoftc_t *, int);
117 static uint16_t isp_next_handle(ispsoftc_t *, uint16_t *);
118 static int isp_fw_state(ispsoftc_t *, int);
119 static void isp_mboxcmd(ispsoftc_t *, mbreg_t *);
121 static void isp_get_flash_addrs(ispsoftc_t *);
122 static void isp_setdfltfcparm(ispsoftc_t *, int);
123 static int isp_read_flash_dword(ispsoftc_t *, uint32_t, uint32_t *);
124 static int isp_read_flash_data(ispsoftc_t *, uint32_t *, uint32_t, uint32_t);
125 static void isp_rd_2xxx_flash(ispsoftc_t *, uint32_t, uint32_t *);
126 static int isp_read_flthdr_2xxx(ispsoftc_t *);
127 static void isp_parse_flthdr_2xxx(ispsoftc_t *, uint8_t *);
128 static int isp_read_flt_2xxx(ispsoftc_t *);
129 static int isp_parse_flt_2xxx(ispsoftc_t *, uint8_t *);
130 static int isp_read_nvram(ispsoftc_t *);
131 static void isp_parse_nvram_2400(ispsoftc_t *, uint8_t *);
133 static void isp_print_image(ispsoftc_t *, char *, struct isp_image_status *);
138 static int isp_compare_image_generation(ispsoftc_t *, struct isp_image_status *, struct isp_image_status *);
139 static void isp_get_aux_images(ispsoftc_t *, struct active_regions *);
140 static void isp_get_active_image(ispsoftc_t *, struct active_regions *);
141 static bool isp_risc_firmware_invalid(ispsoftc_t *, uint32_t *);
142 static int isp_load_ram(ispsoftc_t *, uint32_t *, uint32_t, uint32_t);
143 static int isp_load_risc_flash(ispsoftc_t *, uint32_t *, uint32_t);
144 static int isp_load_risc(ispsoftc_t *, uint32_t *);
147 isp_change_fw_state(ispsoftc_t *isp, int chan, int state)
160 isp_get_flash_addrs(ispsoftc_t *isp)
207 isp_reset(ispsoftc_t *isp, int do_load_defaults)
824 isp_stop(ispsoftc_t *isp)
846 isp_shutdown(ispsoftc_t *isp)
862 isp_init(ispsoftc_t *isp)
1238 isp_fc_enable_vp(ispsoftc_t *isp, int chan)
1282 isp_fc_disable_vp(ispsoftc_t *isp, int chan)
1319 isp_fc_change_role(ispsoftc_t *isp, int chan, int new_role)
1349 isp_clear_portdb(ispsoftc_t *isp, int chan)
1377 isp_mark_portdb(ispsoftc_t *isp, int chan)
1399 isp_plogx(ispsoftc_t *isp, int chan, uint16_t handle, uint32_t portid, int flags)
1510 isp_getpdb(ispsoftc_t *isp, int chan, uint16_t id, isp_pdb_t *pdb)
1561 isp_gethandles(ispsoftc_t *isp, int chan, uint16_t *handles, int *num, int loop)
1601 isp_dump_chip_portdb(ispsoftc_t *isp, int chan)
1620 isp_get_wwn(ispsoftc_t *isp, int chan, int nphdl, int nodename)
1651 isp_fclink_test(ispsoftc_t *isp, int chan, int usdelay)
1812 isp_pdb_sync(ispsoftc_t *isp, int chan)
1886 isp_pdb_add_update(ispsoftc_t *isp, int chan, isp_pdb_t *pdb)
1956 isp_scan_loop(ispsoftc_t *isp, int chan)
2032 isp_ct_passthru(ispsoftc_t *isp, int chan, uint32_t cmd_bcnt, uint32_t rsp_bcnt)
2093 isp_gid_pt(ispsoftc_t *isp, int chan)
2130 isp_gff_id(ispsoftc_t *isp, int chan, uint32_t portid)
2187 isp_gft_id(ispsoftc_t *isp, int chan, uint32_t portid)
2240 isp_scan_fabric(ispsoftc_t *isp, int chan)
2478 isp_login_device(ispsoftc_t *isp, int chan, uint32_t portid, isp_pdb_t *p, uint16_t *ohp)
2557 isp_register_fc4_type(ispsoftc_t *isp, int chan)
2602 isp_register_fc4_features_24xx(ispsoftc_t *isp, int chan)
2660 isp_register_port_name_24xx(ispsoftc_t *isp, int chan)
2724 isp_register_node_name_24xx(ispsoftc_t *isp, int chan)
2780 isp_next_handle(ispsoftc_t *isp, uint16_t *ohp)
2823 ispsoftc_t *isp;
2996 isp_control(ispsoftc_t *isp, ispctl_t ctl, ...)
3234 isp_intr_atioq(ispsoftc_t *isp)
3268 isp_intr_mbox(ispsoftc_t *isp, uint16_t mbox0)
3287 isp_intr_respq(ispsoftc_t *isp)
3509 isp_intr_async(ispsoftc_t *isp, uint16_t mbox)
3783 isp_handle_control(ispsoftc_t *isp, isphdr_t *hp)
3816 isp_handle_rpt_id_acq(ispsoftc_t *isp, isphdr_t *hp)
3861 isp_parse_status_24xx(ispsoftc_t *isp, isp24xx_statusreq_t *sp, XS_T *xs)
4282 isp_mboxcmd(ispsoftc_t *isp, mbreg_t *mbp)
4445 isp_fw_state(ispsoftc_t *isp, int chan)
4457 isp_setdfltfcparm(ispsoftc_t *isp, int chan)
4519 isp_reinit(ispsoftc_t *isp, int do_load_defaults)
4552 flash_data_addr(ispsoftc_t *isp, uint32_t faddr)
4560 isp_read_flash_dword(ispsoftc_t *isp, uint32_t addr, uint32_t *data)
4579 isp_read_flash_data(ispsoftc_t *isp, uint32_t *dwptr, uint32_t faddr, uint32_t dwords)
4597 isp_rd_2xxx_flash(ispsoftc_t *isp, uint32_t addr, uint32_t *rp)
4618 isp_read_flthdr_2xxx(ispsoftc_t *isp)
4649 isp_parse_flthdr_2xxx(ispsoftc_t *isp, uint8_t *flthdr_data)
4670 isp_read_flt_2xxx(ispsoftc_t *isp)
4691 isp_parse_flt_2xxx(ispsoftc_t *isp, uint8_t *flt_data)
4873 isp_print_image(ispsoftc_t *isp, char *name, struct isp_image_status *image_status)
4944 isp_compare_image_generation(ispsoftc_t *isp,
4959 isp_get_aux_images(ispsoftc_t *isp, struct active_regions *active_regions)
5058 isp_get_active_image(ispsoftc_t *isp, struct active_regions * active_regions)
5155 static bool isp_risc_firmware_invalid(ispsoftc_t *isp, uint32_t *dword)
5162 isp_load_ram(ispsoftc_t *isp, uint32_t *data, uint32_t risc_addr,
5191 isp_load_risc_flash(ispsoftc_t *isp, uint32_t *srisc_addr, uint32_t faddr)
5291 isp_load_risc(ispsoftc_t *isp, uint32_t *srisc_addr)
5322 isp_read_nvram(ispsoftc_t *isp)
5372 isp_parse_nvram_2400(ispsoftc_t *isp, uint8_t *nvram_data)