Home
last modified time | relevance | path

Searched refs:bxe_softc (Results 1 – 15 of 15) sorted by relevance

/trueos/sys/dev/bxe/
HDecore_sp.h69 struct bxe_softc;
171 if (bxe_dma_alloc((struct bxe_softc *)sc, \
186 bxe_dma_free((struct bxe_softc *)sc, x); \
475 struct bxe_softc;
547 int (*wait_comp)(struct bxe_softc *sc,
624 typedef int (*exe_q_validate)(struct bxe_softc *sc,
628 typedef int (*exe_q_remove)(struct bxe_softc *sc,
635 typedef int (*exe_q_optimize)(struct bxe_softc *sc,
638 typedef int (*exe_q_execute)(struct bxe_softc *sc,
774 int (*get_n_elements)(struct bxe_softc *sc,
[all …]
HDbxe_elink.h44 struct bxe_softc;
46 extern uint32_t elink_cb_reg_read(struct bxe_softc *sc, uint32_t reg_addr);
47 extern void elink_cb_reg_write(struct bxe_softc *sc, uint32_t reg_addr, uint32_t val);
49 extern void elink_cb_reg_wb_write(struct bxe_softc *sc, uint32_t offset,
51 extern void elink_cb_reg_wb_read(struct bxe_softc *sc, uint32_t offset,
55 extern uint8_t elink_cb_gpio_write(struct bxe_softc *sc,
58 extern uint8_t elink_cb_gpio_mult_write(struct bxe_softc *sc,
62 extern uint32_t elink_cb_gpio_read(struct bxe_softc *sc, uint16_t gpio_num, uint8_t port);
63 extern uint8_t elink_cb_gpio_int_write(struct bxe_softc *sc,
67 extern uint32_t elink_cb_fw_command(struct bxe_softc *sc, uint32_t command, uint32_t param);
[all …]
HDecore_init_ops.h42 static int ecore_gunzip(struct bxe_softc *sc, const uint8_t *zbuf, int len);
43 static void ecore_reg_wr_ind(struct bxe_softc *sc, uint32_t addr, uint32_t val);
44 static void ecore_write_dmae_phys_len(struct bxe_softc *sc,
48 static void ecore_init_str_wr(struct bxe_softc *sc, uint32_t addr, in ecore_init_str_wr()
57 static void ecore_init_ind_wr(struct bxe_softc *sc, uint32_t addr, in ecore_init_ind_wr()
66 static void ecore_write_big_buf(struct bxe_softc *sc, uint32_t addr, uint32_t len, in ecore_write_big_buf()
81 static void ecore_init_fill(struct bxe_softc *sc, uint32_t addr, int fill, in ecore_init_fill()
97 static void ecore_write_big_buf_wb(struct bxe_softc *sc, uint32_t addr, uint32_t len) in ecore_write_big_buf_wb()
111 static void ecore_init_wr_64(struct bxe_softc *sc, uint32_t addr, in ecore_init_wr_64()
150 static const uint8_t *ecore_sel_blob(struct bxe_softc *sc, uint32_t addr, in ecore_sel_blob()
[all …]
HDbxe_debug.c44 bxe_reg_write8(struct bxe_softc *sc, bus_size_t offset, uint8_t val) in bxe_reg_write8()
54 bxe_reg_write16(struct bxe_softc *sc, bus_size_t offset, uint16_t val) in bxe_reg_write16()
68 bxe_reg_write32(struct bxe_softc *sc, bus_size_t offset, uint32_t val) in bxe_reg_write32()
82 bxe_reg_read8(struct bxe_softc *sc, bus_size_t offset) in bxe_reg_read8()
95 bxe_reg_read16(struct bxe_softc *sc, bus_size_t offset) in bxe_reg_read16()
112 bxe_reg_read32(struct bxe_softc *sc, bus_size_t offset) in bxe_reg_read32()
133 elink_cb_dbg(struct bxe_softc *sc, in elink_cb_dbg()
144 elink_cb_dbg1(struct bxe_softc *sc, in elink_cb_dbg1()
157 elink_cb_dbg2(struct bxe_softc *sc, in elink_cb_dbg2()
171 elink_cb_dbg3(struct bxe_softc *sc, in elink_cb_dbg3()
[all …]
HDecore_sp.c46 static inline void ecore_exe_queue_init(struct bxe_softc *sc, in ecore_exe_queue_init()
77 static inline void ecore_exe_queue_free_elem(struct bxe_softc *sc, in ecore_exe_queue_free_elem()
110 static inline int ecore_exe_queue_add(struct bxe_softc *sc, in ecore_exe_queue_add()
149 struct bxe_softc *sc, in __ecore_exe_queue_reset_pending()
173 static inline int ecore_exe_queue_step(struct bxe_softc *sc, in ecore_exe_queue_step()
251 struct bxe_softc *sc) in ecore_exe_queue_alloc_elem()
295 static inline int ecore_state_wait(struct bxe_softc *sc, int state, in ecore_state_wait()
331 static int ecore_raw_wait(struct bxe_softc *sc, struct ecore_raw_obj *raw) in ecore_raw_wait()
444 static int __ecore_vlan_mac_h_write_trylock(struct bxe_softc *sc, in __ecore_vlan_mac_h_write_trylock()
466 static void __ecore_vlan_mac_h_exec_pending(struct bxe_softc *sc, in __ecore_vlan_mac_h_exec_pending()
[all …]
HDbxe.c264 sizeof(struct bxe_softc) /* extra data */
681 static void bxe_cmng_fns_init(struct bxe_softc *sc,
684 static int bxe_get_cmng_fns_mode(struct bxe_softc *sc);
685 static void storm_memset_cmng(struct bxe_softc *sc,
688 static void bxe_set_reset_global(struct bxe_softc *sc);
689 static void bxe_set_reset_in_progress(struct bxe_softc *sc);
690 static uint8_t bxe_reset_is_done(struct bxe_softc *sc,
692 static uint8_t bxe_clear_pf_load(struct bxe_softc *sc);
693 static uint8_t bxe_chk_parity_attn(struct bxe_softc *sc,
696 static void bxe_int_disable(struct bxe_softc *sc);
[all …]
HDbxe_dcb.h262 struct bxe_softc;
264 void bxe_dcbx_init_params(struct bxe_softc *sc);
265 void bxe_dcbx_set_state(struct bxe_softc *sc, uint8_t dcb_on, uint32_t dcbx_enabled);
266 int bxe_dcb_get_lldp_params_ioctl(struct bxe_softc *sc, void *uaddr);
267 int bxe_dcb_get_dcbx_params_ioctl(struct bxe_softc *sc, void *uaddr);
268 int bxe_dcb_set_dcbx_params_ioctl(struct bxe_softc *sc, void *uaddr);
276 void bxe_dcbx_set_params(struct bxe_softc *sc, uint32_t state);
277 void bxe_dcbx_pmf_update(struct bxe_softc *sc);
HDbxe_elink.c917 static uint32_t elink_bits_en(struct bxe_softc *sc, uint32_t reg, uint32_t bits) in elink_bits_en()
926 static uint32_t elink_bits_dis(struct bxe_softc *sc, uint32_t reg, uint32_t bits) in elink_bits_dis()
948 struct bxe_softc *sc = params->sc; in elink_check_lfa()
1065 static void elink_get_epio(struct bxe_softc *sc, uint32_t epio_pin, uint32_t *en) in elink_get_epio()
1082 static void elink_set_epio(struct bxe_softc *sc, uint32_t epio_pin, uint32_t en) in elink_set_epio()
1107 static void elink_set_cfg_pin(struct bxe_softc *sc, uint32_t pin_cfg, uint32_t val) in elink_set_cfg_pin()
1120 static uint32_t elink_get_cfg_pin(struct bxe_softc *sc, uint32_t pin_cfg, uint32_t *val) in elink_get_cfg_pin()
1140 struct bxe_softc *sc = params->sc; in elink_ets_e2e3a0_disabled()
1231 struct bxe_softc *sc = params->sc; in elink_ets_e3b0_set_credit_upper_bound_nig()
1269 struct bxe_softc *sc = params->sc; in elink_ets_e3b0_nig_disabled()
[all …]
HDbxe.h505 struct bxe_softc *sc;
575 struct bxe_softc *sc;
1367 struct bxe_softc { struct
1892 uint8_t bxe_reg_read8(struct bxe_softc *sc, bus_size_t offset);
1893 uint16_t bxe_reg_read16(struct bxe_softc *sc, bus_size_t offset);
1894 uint32_t bxe_reg_read32(struct bxe_softc *sc, bus_size_t offset);
1896 void bxe_reg_write8(struct bxe_softc *sc, bus_size_t offset, uint8_t val);
1897 void bxe_reg_write16(struct bxe_softc *sc, bus_size_t offset, uint16_t val);
1898 void bxe_reg_write32(struct bxe_softc *sc, bus_size_t offset, uint32_t val);
2171 void bxe_reg_wr_ind(struct bxe_softc *sc, uint32_t addr,
[all …]
HDbxe_stats.c52 bxe_get_port_stats_dma_len(struct bxe_softc *sc) in bxe_get_port_stats_dma_len()
95 bxe_dp_stats(struct bxe_softc *sc) in bxe_dp_stats()
141 bxe_storm_stats_post(struct bxe_softc *sc) in bxe_storm_stats_post()
179 bxe_hw_stats_post(struct bxe_softc *sc) in bxe_hw_stats_post()
229 bxe_stats_comp(struct bxe_softc *sc) in bxe_stats_comp()
252 bxe_stats_pmf_update(struct bxe_softc *sc) in bxe_stats_pmf_update()
311 bxe_port_stats_init(struct bxe_softc *sc) in bxe_port_stats_init()
539 bxe_func_stats_init(struct bxe_softc *sc) in bxe_func_stats_init()
568 bxe_stats_start(struct bxe_softc *sc) in bxe_stats_start()
591 bxe_stats_pmf_start(struct bxe_softc *sc) in bxe_stats_pmf_start()
[all …]
HDecore_init.h248 static inline void ecore_map_q_cos(struct bxe_softc *sc, uint32_t q_num, uint32_t new_cos) in ecore_map_q_cos()
302 static inline void ecore_dcb_config_qm(struct bxe_softc *sc, enum cos_mode mode, in ecore_dcb_config_qm()
744 static inline void ecore_set_mcp_parity(struct bxe_softc *sc, uint8_t enable) in ecore_set_mcp_parity()
761 static inline uint32_t ecore_parity_reg_mask(struct bxe_softc *sc, int idx) in ecore_parity_reg_mask()
773 static inline void ecore_disable_blocks_parity(struct bxe_softc *sc) in ecore_disable_blocks_parity()
796 static inline void ecore_clear_blocks_parity(struct bxe_softc *sc) in ecore_clear_blocks_parity()
840 static inline void ecore_enable_blocks_parity(struct bxe_softc *sc) in ecore_enable_blocks_parity()
HDbxe_stats.h676 struct bxe_softc;
677 void bxe_stats_init(struct bxe_softc *sc);
678 void bxe_stats_handle(struct bxe_softc *sc, enum bxe_stats_event event);
679 void bxe_save_statistics(struct bxe_softc *sc);
680 void bxe_afex_collect_stats(struct bxe_softc *sc, void *void_afex_stats, uint32_t stats_type);
HD57710_init_values.c29139 void ecore_init_e1_firmware(struct bxe_softc *sc) in ecore_init_e1_firmware()
HD57711_init_values.c30435 void ecore_init_e1h_firmware(struct bxe_softc *sc) in ecore_init_e1h_firmware()
HD57712_init_values.c56178 void ecore_init_e2_firmware(struct bxe_softc *sc) in ecore_init_e2_firmware()