/illumos-gate/usr/src/uts/common/io/qede/579xx/drivers/ecore/ |
H A D | ecore_dev_api.h | 58 void ecore_init_dp(struct ecore_dev *p_dev, 69 void ecore_init_struct(struct ecore_dev *p_dev); 76 void ecore_resc_free(struct ecore_dev *p_dev); 85 enum _ecore_status_t ecore_resc_alloc(struct ecore_dev *p_dev); 92 void ecore_resc_setup(struct ecore_dev *p_dev); 150 enum _ecore_status_t ecore_hw_init(struct ecore_dev *p_dev, 160 void ecore_hw_timers_stop_all(struct ecore_dev *p_dev); 169 enum _ecore_status_t ecore_hw_stop(struct ecore_dev *p_dev); 179 void ecore_hw_stop_fastpath(struct ecore_dev *p_dev); 189 void ecore_hw_hibernate_prepare(struct ecore_dev *p_dev); [all …]
|
H A D | ecore_selftest_api.h | 48 enum _ecore_status_t ecore_selftest_memory(struct ecore_dev *p_dev); 57 enum _ecore_status_t ecore_selftest_interrupt(struct ecore_dev *p_dev); 66 enum _ecore_status_t ecore_selftest_register(struct ecore_dev *p_dev); 75 enum _ecore_status_t ecore_selftest_clock(struct ecore_dev *p_dev); 84 enum _ecore_status_t ecore_selftest_nvram(struct ecore_dev *p_dev);
|
H A D | bcm_osal.h | 61 struct ecore_dev; 106 void *qede_osal_zalloc(struct ecore_dev *, int, size_t); 109 void *qede_osal_alloc(struct ecore_dev *, int, size_t); 112 void qede_osal_free(struct ecore_dev *, void *addr); 125 void *qede_osal_dma_alloc_coherent(struct ecore_dev *, dma_addr_t *, size_t); 128 void qede_osal_dma_free_coherent(struct ecore_dev *, void *, dma_addr_t, size_t); 135 void qede_osal_dma_sync(struct ecore_dev *edev, void* addr, u32 size, bool is_post); 435 void qede_osal_pci_read_config_byte(struct ecore_dev *, u32, u8 *); 438 void qede_osal_pci_read_config_word(struct ecore_dev *, u32, u16 *); 441 void qede_osal_pci_read_config_dword(struct ecore_dev *, u32, u32 *); [all …]
|
H A D | ecore_selftest.c | 44 enum _ecore_status_t ecore_selftest_memory(struct ecore_dev *p_dev) in ecore_selftest_memory() 58 enum _ecore_status_t ecore_selftest_interrupt(struct ecore_dev *p_dev) in ecore_selftest_interrupt() 72 enum _ecore_status_t ecore_selftest_register(struct ecore_dev *p_dev) in ecore_selftest_register() 97 enum _ecore_status_t ecore_selftest_clock(struct ecore_dev *p_dev) in ecore_selftest_clock() 121 enum _ecore_status_t ecore_selftest_nvram(struct ecore_dev *p_dev) in ecore_selftest_nvram()
|
H A D | ecore_l2_api.h | 198 ecore_filter_ucast_cmd(struct ecore_dev *p_dev, 205 ecore_filter_mcast_cmd(struct ecore_dev *p_dev, 213 struct ecore_dev *p_dev, 454 void ecore_get_vport_stats(struct ecore_dev *p_dev, 457 void ecore_reset_vport_stats(struct ecore_dev *p_dev);
|
H A D | ecore.h | 569 struct ecore_dev *p_dev; 695 struct ecore_dev { struct 864 static OSAL_INLINE u8 ecore_concrete_to_sw_fid(struct ecore_dev *p_dev, in ecore_concrete_to_sw_fid() argument 883 int ecore_configure_vport_wfq(struct ecore_dev *p_dev, u16 vp_id, u32 rate); 884 void ecore_configure_vp_wfq_on_link_change(struct ecore_dev *p_dev, 888 int ecore_configure_pf_max_bandwidth(struct ecore_dev *p_dev, u8 max_bw); 889 int ecore_configure_pf_min_bandwidth(struct ecore_dev *p_dev, u8 min_bw); 891 int ecore_device_num_engines(struct ecore_dev *p_dev); 892 int ecore_device_num_ports(struct ecore_dev *p_dev); 893 int ecore_device_get_port_id(struct ecore_dev *p_dev);
|
H A D | ecore_mcp_api.h | 683 enum _ecore_status_t ecore_mcp_get_media_type(struct ecore_dev *p_dev, 931 enum _ecore_status_t ecore_mcp_nvm_set_secure_mode(struct ecore_dev *p_dev, 945 enum _ecore_status_t ecore_mcp_phy_write(struct ecore_dev *p_dev, u32 cmd, 959 enum _ecore_status_t ecore_mcp_nvm_write(struct ecore_dev *p_dev, u32 cmd, 970 enum _ecore_status_t ecore_mcp_nvm_put_file_begin(struct ecore_dev *p_dev, 981 enum _ecore_status_t ecore_mcp_nvm_del_file(struct ecore_dev *p_dev, 992 enum _ecore_status_t ecore_mcp_nvm_resp(struct ecore_dev *p_dev, u8 *p_buf); 1005 enum _ecore_status_t ecore_mcp_phy_read(struct ecore_dev *p_dev, u32 cmd, 1018 enum _ecore_status_t ecore_mcp_nvm_read(struct ecore_dev *p_dev, u32 addr,
|
H A D | ecore_int_api.h | 68 struct ecore_dev *p_dev; 316 void ecore_int_disable_post_isr_release(struct ecore_dev *p_dev); 327 void ecore_int_attn_clr_enable(struct ecore_dev *p_dev, bool clr_enable);
|
H A D | ecore_iov_api.h | 194 void ecore_iov_set_vfs_to_disable(struct ecore_dev *p_dev, 205 void ecore_iov_set_vf_to_disable(struct ecore_dev *p_dev, 714 enum _ecore_status_t ecore_iov_configure_min_tx_rate(struct ecore_dev *p_dev, 752 static OSAL_INLINE void ecore_iov_set_vfs_to_disable(struct ecore_dev *p_dev, u8 to_disable) {} in ecore_iov_set_vfs_to_disable() 753 static OSAL_INLINE void ecore_iov_set_vf_to_disable(struct ecore_dev *p_dev, u16 rel_vf_id, u8 to_d… in ecore_iov_set_vf_to_disable() 798 static OSAL_INLINE enum _ecore_status_t ecore_iov_configure_min_tx_rate(struct ecore_dev *p_dev, in… in ecore_iov_configure_min_tx_rate()
|
H A D | ecore_dev.c | 125 void ecore_init_dp(struct ecore_dev *p_dev, in ecore_init_dp() 144 void ecore_init_struct(struct ecore_dev *p_dev) in ecore_init_struct() 180 void ecore_resc_free(struct ecore_dev *p_dev) in ecore_resc_free() 848 enum _ecore_status_t ecore_resc_alloc(struct ecore_dev *p_dev) in ecore_resc_alloc() 1068 void ecore_resc_setup(struct ecore_dev *p_dev) in ecore_resc_setup() 1245 struct ecore_dev *p_dev = p_hwfn->p_dev; in ecore_hw_init_chip() 1299 static void ecore_init_cau_rt_data(struct ecore_dev *p_dev) in ecore_init_cau_rt_data() 1385 struct ecore_dev *p_dev = p_hwfn->p_dev; in ecore_hw_init_common() 2127 enum _ecore_status_t ecore_hw_init(struct ecore_dev *p_dev, in ecore_hw_init() 2317 static void ecore_hw_timers_stop(struct ecore_dev *p_dev, in ecore_hw_timers_stop() [all …]
|
H A D | ecore_init_ops.c | 62 void ecore_init_iro_array(struct ecore_dev *p_dev) in ecore_init_iro_array() 241 struct ecore_dev *p_dev = p_hwfn->p_dev; 440 struct ecore_dev *p_dev = p_hwfn->p_dev; 496 struct ecore_dev *p_dev = p_hwfn->p_dev; 605 enum _ecore_status_t ecore_init_fw_data(struct ecore_dev *p_dev,
|
H A D | ecore_sriov.h | 287 void ecore_iov_free_hw_info(struct ecore_dev *p_dev); 346 static OSAL_INLINE void ecore_iov_free_hw_info(struct ecore_dev *p_dev) {} in ecore_iov_free_hw_info()
|
H A D | ecore_init_ops.h | 47 void ecore_init_iro_array(struct ecore_dev *p_dev);
|
H A D | ecore_hw.h | 317 enum _ecore_status_t ecore_init_fw_data(struct ecore_dev *p_dev,
|
H A D | Makefile | 91 SOURCES = ecore_chain.c ecore_cxt.c ecore_dev.c ecore_dbg_fw_funcs.c ecore_user_dbg_fw_funcs.c ecor… 97 ecore-objs = ecore_cxt.o ecore_dev.o ecore_dbg_fw_funcs.o ecore_user_dbg_fw_funcs.o ecore_hw.o ecor…
|
H A D | ecore_mcp.c | 1406 struct ecore_dev *p_dev = p_hwfn->p_dev; in ecore_mcp_handle_process_kill() 2050 enum _ecore_status_t ecore_mcp_get_media_type(struct ecore_dev *p_dev, in ecore_mcp_get_media_type() 2401 struct ecore_dev *p_dev = p_hwfn->p_dev; in ecore_start_recovery_process() 2869 enum _ecore_status_t ecore_mcp_nvm_read(struct ecore_dev *p_dev, u32 addr, in ecore_mcp_nvm_read() 2920 enum _ecore_status_t ecore_mcp_phy_read(struct ecore_dev *p_dev, u32 cmd, in ecore_mcp_phy_read() 2950 enum _ecore_status_t ecore_mcp_nvm_resp(struct ecore_dev *p_dev, u8 *p_buf) in ecore_mcp_nvm_resp() 2967 enum _ecore_status_t ecore_mcp_nvm_del_file(struct ecore_dev *p_dev, in ecore_mcp_nvm_del_file() 2989 enum _ecore_status_t ecore_mcp_nvm_put_file_begin(struct ecore_dev *p_dev, in ecore_mcp_nvm_put_file_begin() 3014 enum _ecore_status_t ecore_mcp_nvm_write(struct ecore_dev *p_dev, u32 cmd, in ecore_mcp_nvm_write() 3077 enum _ecore_status_t ecore_mcp_phy_write(struct ecore_dev *p_dev, u32 cmd, in ecore_mcp_phy_write() [all …]
|
H A D | ecore_l2.c | 860 enum _ecore_status_t ecore_filter_accept_cmd(struct ecore_dev *p_dev, in ecore_filter_accept_cmd() 1637 enum _ecore_status_t ecore_filter_mcast_cmd(struct ecore_dev *p_dev, in ecore_filter_mcast_cmd() 1674 enum _ecore_status_t ecore_filter_ucast_cmd(struct ecore_dev *p_dev, in ecore_filter_ucast_cmd() 1984 static void _ecore_get_vport_stats(struct ecore_dev *p_dev, in _ecore_get_vport_stats() 2019 void ecore_get_vport_stats(struct ecore_dev *p_dev, in ecore_get_vport_stats() 2040 void ecore_reset_vport_stats(struct ecore_dev *p_dev) in ecore_reset_vport_stats()
|
H A D | ecore_int.c | 1307 struct ecore_dev *p_dev = p_hwfn->p_dev; in ecore_int_sb_attn_alloc() 1343 struct ecore_dev *p_dev = p_hwfn->p_dev; in ecore_init_cau_sb_entry() 2521 void ecore_int_disable_post_isr_release(struct ecore_dev *p_dev) in ecore_int_disable_post_isr_release() 2529 void ecore_int_attn_clr_enable(struct ecore_dev *p_dev, bool clr_enable) in ecore_int_attn_clr_enable()
|
/illumos-gate/usr/src/uts/common/io/qede/ |
H A D | qede_osal.c | 71 qede_osal_dma_sync(struct ecore_dev *edev, void* addr, u32 size, bool is_post) in qede_osal_dma_sync() 104 qede_osal_zalloc(struct ecore_dev *edev, int flags, size_t size) in qede_osal_zalloc() 136 qede_osal_alloc(struct ecore_dev *edev, int flags, size_t size) in qede_osal_alloc() 167 qede_osal_free(struct ecore_dev *edev, void *addr) in qede_osal_free() 193 qede_osal_dma_alloc_coherent(struct ecore_dev *edev, dma_addr_t *paddr, in qede_osal_dma_alloc_coherent() 275 qede_osal_dma_free_coherent(struct ecore_dev *edev, void *vaddr, in qede_osal_dma_free_coherent() 330 struct ecore_dev *edev = (struct ecore_dev *)hwfn->p_dev; in qede_get_link_info() 475 struct ecore_dev *edev = (struct ecore_dev *)hwfn->p_dev; in qede_osal_link_update() 543 qede_osal_pci_find_ext_capab(struct ecore_dev *edev, u16 pcie_id) in qede_osal_pci_find_ext_capab() 553 struct ecore_dev *edev = (struct ecore_dev *)hwfn->p_dev; in qede_osal_pci_write32() [all …]
|
H A D | qede_main.c | 423 struct ecore_dev *edev = &qede->edev; in qede_get_config_params() 469 struct ecore_dev *edev = &qede->edev; in qede_config_debug() 651 struct ecore_dev *edev = p_hwfn->p_dev; in qede_sp_handler() 858 struct ecore_dev *edev = &qede->edev; in qede_prepare_edev() 886 struct ecore_dev *edev = &qede->edev; in qede_config_edev() 938 struct ecore_dev *edev = &qede->edev; in qede_config_intrs() 1324 struct ecore_dev *edev = &qede->edev; in qede_vport_stop() 1410 struct ecore_dev *edev = &qede->edev; in qede_vport_update() 1559 struct ecore_dev *edev = &qede->edev; in qede_vport_start() 1620 struct ecore_dev *edev; in qede_fastpath_stop_queues() [all …]
|
H A D | qede_gld.c | 605 struct ecore_dev *edev = &qede->edev; 655 struct ecore_dev *edev = &qede->edev; 698 struct ecore_dev *edev = &qede->edev; 1270 struct ecore_dev *edev = &qede->edev; 1430 struct ecore_dev *edev = &qede->edev; 1469 struct ecore_dev *edev = &qede->edev; 1664 struct ecore_dev *edev = &qede->edev; 1783 struct ecore_dev *edev = &qede->edev; 2177 struct ecore_dev *edev = &qede->edev; 2319 struct ecore_dev *edev = &qede->edev;
|
H A D | qede_kstat.c | 258 struct ecore_dev *edev = &qede->edev; in qede_kstat_update() 361 struct ecore_dev *edev = &qede->edev; in qede_kstat_link_update() 388 struct ecore_dev *edev = &qede->edev; in qede_kstat_intr_update() 448 struct ecore_dev * edev = &qede->edev; in qede_kstat_vport_stats_update() 577 struct ecore_dev *edev = &qede->edev; in qede_kstat_rxq_update() 705 struct ecore_dev * edev = &qede->edev; in qede_kstat_txq_update()
|
H A D | qede_dbg.c | 282 qede_debug_before_pf_start(struct ecore_dev *edev, u8 id) in qede_debug_before_pf_start()
|
H A D | qede.h | 690 struct ecore_dev edev; /* keep this at the beginning of the structure */
|
/illumos-gate/usr/src/uts/common/io/qede/579xx/drivers/ecore/documentation/ |
H A D | osal.txt | 33 - void* OSAL_ALLOC(struct *ecore_dev, u32 mode, u32 size) 40 - void* OSAL_ZALLOC(struct *ecore_dev, u32 mode, u32 size) 44 - void* OSAL_CALLOC(struct *ecore_dev, u32 mode, u32 num, u32 elem_size) 48 - void* OSAL_VZALLOC(struct *ecore_dev, u32 size) 55 - void OSAL_FREE(struct *ecore_dev, void* memory) 59 - void OSAL_VFREE(struct *ecore_dev, void* memory) 82 - void* OSAL_DMA_ALLOC_COHERENT(struct *ecore_dev, dma_addr_t *phys, u32 size) 87 - void OSAL_DMA_FREE_COHERENT(struct *ecore_dev, void* virt, dma_addr_t *phys, u32 size) 280 - void OSAL_PCI_READ_CONFIG_BYTE(struct *ecore_dev, u32 address, u8 *dst) 281 - void OSAL_PCI_READ_CONFIG_WORD(struct *ecore_dev, u32 address, u16 *dst) [all …]
|