Lines Matching refs:csio_hw

89 static void csio_hw_mbm_cleanup(struct csio_hw *);
92 static void csio_hws_uninit(struct csio_hw *, enum csio_hw_ev);
93 static void csio_hws_configuring(struct csio_hw *, enum csio_hw_ev);
94 static void csio_hws_initializing(struct csio_hw *, enum csio_hw_ev);
95 static void csio_hws_ready(struct csio_hw *, enum csio_hw_ev);
96 static void csio_hws_quiescing(struct csio_hw *, enum csio_hw_ev);
97 static void csio_hws_quiesced(struct csio_hw *, enum csio_hw_ev);
98 static void csio_hws_resetting(struct csio_hw *, enum csio_hw_ev);
99 static void csio_hws_removing(struct csio_hw *, enum csio_hw_ev);
100 static void csio_hws_pcierr(struct csio_hw *, enum csio_hw_ev);
102 static void csio_hw_initialize(struct csio_hw *hw);
103 static void csio_evtq_stop(struct csio_hw *hw);
104 static void csio_evtq_start(struct csio_hw *hw);
106 int csio_is_hw_ready(struct csio_hw *hw) in csio_is_hw_ready()
111 int csio_is_hw_removing(struct csio_hw *hw) in csio_is_hw_removing()
133 csio_hw_wait_op_done_val(struct csio_hw *hw, int reg, uint32_t mask, in csio_hw_wait_op_done_val()
163 csio_hw_tp_wr_bits_indirect(struct csio_hw *hw, unsigned int addr, in csio_hw_tp_wr_bits_indirect()
172 csio_set_reg_field(struct csio_hw *hw, uint32_t reg, uint32_t mask, in csio_set_reg_field()
184 csio_memory_write(struct csio_hw *hw, int mtype, u32 addr, u32 len, u32 *buf) in csio_memory_write()
212 csio_hw_seeprom_read(struct csio_hw *hw, uint32_t addr, uint32_t *data) in csio_hw_seeprom_read()
303 csio_hw_get_vpd_params(struct csio_hw *hw, struct csio_vpd *p) in csio_hw_get_vpd_params()
392 csio_hw_sf1_read(struct csio_hw *hw, uint32_t byte_cnt, int32_t cont, in csio_hw_sf1_read()
424 csio_hw_sf1_write(struct csio_hw *hw, uint32_t byte_cnt, uint32_t cont, in csio_hw_sf1_write()
449 csio_hw_flash_wait_op(struct csio_hw *hw, int32_t attempts, int32_t delay) in csio_hw_flash_wait_op()
486 csio_hw_read_flash(struct csio_hw *hw, uint32_t addr, uint32_t nwords, in csio_hw_read_flash()
527 csio_hw_write_flash(struct csio_hw *hw, uint32_t addr, in csio_hw_write_flash()
590 csio_hw_flash_erase_sectors(struct csio_hw *hw, int32_t start, int32_t end) in csio_hw_flash_erase_sectors()
620 csio_hw_print_fw_version(struct csio_hw *hw, char *str) in csio_hw_print_fw_version()
637 csio_hw_get_fw_version(struct csio_hw *hw, uint32_t *vers) in csio_hw_get_fw_version()
652 csio_hw_get_tp_version(struct csio_hw *hw, u32 *vers) in csio_hw_get_tp_version()
668 csio_hw_fw_dload(struct csio_hw *hw, uint8_t *fw_data, uint32_t size) in csio_hw_fw_dload()
762 csio_hw_get_flash_params(struct csio_hw *hw) in csio_hw_get_flash_params()
882 csio_hw_dev_ready(struct csio_hw *hw) in csio_hw_dev_ready()
916 csio_do_hello(struct csio_hw *hw, enum csio_dev_state *state) in csio_do_hello()
1063 csio_do_bye(struct csio_hw *hw) in csio_do_bye()
1103 csio_do_reset(struct csio_hw *hw, bool fw_rst) in csio_do_reset()
1143 csio_hw_validate_caps(struct csio_hw *hw, struct csio_mb *mbp) in csio_hw_validate_caps()
1180 csio_hw_fw_halt(struct csio_hw *hw, uint32_t mbox, int32_t force) in csio_hw_fw_halt()
1259 csio_hw_fw_restart(struct csio_hw *hw, uint32_t mbox, int32_t reset) in csio_hw_fw_restart()
1322 csio_hw_fw_upgrade(struct csio_hw *hw, uint32_t mbox, in csio_hw_fw_upgrade()
1354 csio_get_device_params(struct csio_hw *hw) in csio_get_device_params()
1443 csio_config_device_caps(struct csio_hw *hw) in csio_config_device_caps()
1776 csio_enable_ports(struct csio_hw *hw) in csio_enable_ports()
1873 csio_get_fcoe_resinfo(struct csio_hw *hw) in csio_get_fcoe_resinfo()
1925 csio_hw_check_fwconfig(struct csio_hw *hw, u32 *param) in csio_hw_check_fwconfig()
1968 csio_hw_flash_config(struct csio_hw *hw, u32 *fw_cfg_param, char *path) in csio_hw_flash_config()
2052 csio_hw_use_fwconfig(struct csio_hw *hw, int reset, u32 *fw_cfg_param) in csio_hw_use_fwconfig()
2245 static int csio_should_install_fs_fw(struct csio_hw *hw, int card_fw_usable, in csio_should_install_fs_fw()
2314 static int csio_hw_prep_fw(struct csio_hw *hw, struct fw_info *fw_info, in csio_hw_prep_fw()
2406 csio_hw_flash_fw(struct csio_hw *hw, int *reset) in csio_hw_flash_fw()
2460 static int csio_hw_check_fwver(struct csio_hw *hw) in csio_hw_check_fwver()
2477 csio_hw_configure(struct csio_hw *hw) in csio_hw_configure()
2606 csio_hw_initialize(struct csio_hw *hw) in csio_hw_initialize()
2679 csio_hw_intr_enable(struct csio_hw *hw) in csio_hw_intr_enable()
2737 csio_hw_intr_disable(struct csio_hw *hw) in csio_hw_intr_disable()
2761 csio_hw_fatal_err(struct csio_hw *hw) in csio_hw_fatal_err()
2780 csio_hws_uninit(struct csio_hw *hw, enum csio_hw_ev evt) in csio_hws_uninit()
2805 csio_hws_configuring(struct csio_hw *hw, enum csio_hw_ev evt) in csio_hws_configuring()
2843 csio_hws_initializing(struct csio_hw *hw, enum csio_hw_ev evt) in csio_hws_initializing()
2881 csio_hws_ready(struct csio_hw *hw, enum csio_hw_ev evt) in csio_hws_ready()
2930 csio_hws_quiescing(struct csio_hw *hw, enum csio_hw_ev evt) in csio_hws_quiescing()
2990 csio_hws_quiesced(struct csio_hw *hw, enum csio_hw_ev evt) in csio_hws_quiesced()
3015 csio_hws_resetting(struct csio_hw *hw, enum csio_hw_ev evt) in csio_hws_resetting()
3041 csio_hws_removing(struct csio_hw *hw, enum csio_hw_ev evt) in csio_hws_removing()
3076 csio_hws_pcierr(struct csio_hw *hw, enum csio_hw_ev evt) in csio_hws_pcierr()
3113 csio_handle_intr_status(struct csio_hw *hw, unsigned int reg, in csio_handle_intr_status()
3141 static void csio_tp_intr_handler(struct csio_hw *hw) in csio_tp_intr_handler()
3156 static void csio_sge_intr_handler(struct csio_hw *hw) in csio_sge_intr_handler()
3211 static void csio_cim_intr_handler(struct csio_hw *hw) in csio_cim_intr_handler()
3268 static void csio_ulprx_intr_handler(struct csio_hw *hw) in csio_ulprx_intr_handler()
3283 static void csio_ulptx_intr_handler(struct csio_hw *hw) in csio_ulptx_intr_handler()
3305 static void csio_pmtx_intr_handler(struct csio_hw *hw) in csio_pmtx_intr_handler()
3328 static void csio_pmrx_intr_handler(struct csio_hw *hw) in csio_pmrx_intr_handler()
3348 static void csio_cplsw_intr_handler(struct csio_hw *hw) in csio_cplsw_intr_handler()
3367 static void csio_le_intr_handler(struct csio_hw *hw) in csio_le_intr_handler()
3398 static void csio_mps_intr_handler(struct csio_hw *hw) in csio_mps_intr_handler()
3471 static void csio_mem_intr_handler(struct csio_hw *hw, int idx) in csio_mem_intr_handler()
3506 static void csio_ma_intr_handler(struct csio_hw *hw) in csio_ma_intr_handler()
3526 static void csio_smb_intr_handler(struct csio_hw *hw) in csio_smb_intr_handler()
3542 static void csio_ncsi_intr_handler(struct csio_hw *hw) in csio_ncsi_intr_handler()
3559 static void csio_xgmac_intr_handler(struct csio_hw *hw, int port) in csio_xgmac_intr_handler()
3578 static void csio_pl_intr_handler(struct csio_hw *hw) in csio_pl_intr_handler()
3599 csio_hw_slow_intr_handler(struct csio_hw *hw) in csio_hw_slow_intr_handler()
3698 struct csio_hw *hw = (struct csio_hw *)data; in csio_mberr_worker()
3742 struct csio_hw *hw = mbm->hw; in csio_hw_mb_timer()
3765 csio_hw_mbm_cleanup(struct csio_hw *hw) in csio_hw_mbm_cleanup()
3780 csio_enqueue_evt(struct csio_hw *hw, enum csio_evt type, void *evt_msg, in csio_enqueue_evt()
3816 csio_enqueue_evt_lock(struct csio_hw *hw, enum csio_evt type, void *evt_msg, in csio_enqueue_evt_lock()
3872 csio_free_evt(struct csio_hw *hw, struct csio_evt_msg *evt_entry) in csio_free_evt()
3885 csio_evtq_flush(struct csio_hw *hw) in csio_evtq_flush()
3899 csio_evtq_stop(struct csio_hw *hw) in csio_evtq_stop()
3905 csio_evtq_start(struct csio_hw *hw) in csio_evtq_start()
3911 csio_evtq_cleanup(struct csio_hw *hw) in csio_evtq_cleanup()
3933 csio_process_fwevtq_entry(struct csio_hw *hw, void *wr, uint32_t len, in csio_process_fwevtq_entry()
3977 struct csio_hw *hw = container_of(work, struct csio_hw, evtq_work); in csio_evtq_worker()
4059 csio_fwevtq_handler(struct csio_hw *hw) in csio_fwevtq_handler()
4146 struct csio_hw *hw = mgmtm->hw; in csio_mgmtm_cleanup()
4188 csio_mgmtm_init(struct csio_mgmtm *mgmtm, struct csio_hw *hw) in csio_mgmtm_init()
4226 csio_hw_start(struct csio_hw *hw) in csio_hw_start()
4241 csio_hw_stop(struct csio_hw *hw) in csio_hw_stop()
4261 csio_hw_reset(struct csio_hw *hw) in csio_hw_reset()
4287 csio_hw_get_device_id(struct csio_hw *hw) in csio_hw_get_device_id()
4311 csio_hw_set_description(struct csio_hw *hw, uint16_t ven_id, uint16_t dev_id) in csio_hw_set_description()
4339 csio_hw_init(struct csio_hw *hw) in csio_hw_init()
4427 csio_hw_exit(struct csio_hw *hw) in csio_hw_exit()