/illumos-gate/usr/src/uts/common/io/qede/579xx/drivers/ecore/ |
H A D | ecore_init_ops.h | 105 #define STORE_RT_REG(hwfn, offset, val) \ argument 106 ecore_init_store_rt_reg(hwfn, offset, val) 108 #define OVERWRITE_RT_REG(hwfn, offset, val) \ argument 109 ecore_init_store_rt_reg(hwfn, offset, val) 126 #define STORE_RT_REG_AGG(hwfn, offset, val) \ argument 127 ecore_init_store_rt_agg(hwfn, offset, (u32*)&val, sizeof(val))
|
H A D | bcm_osal.h | 141 void qede_osal_pci_write32(struct ecore_hwfn *hwfn, u32 addr, u32 val); 142 void qede_osal_pci_write16(struct ecore_hwfn *hwfn, u32 addr, u16 val); 143 u32 qede_osal_pci_read32(struct ecore_hwfn *hwfn, u32 addr); 144 u32 *qede_osal_reg_addr(struct ecore_hwfn *hwfn, u32 addr); 145 void qede_osal_pci_bar2_write32(struct ecore_hwfn *hwfn, u32 offset, u32 val); 162 void qede_osal_direct_reg_write32(struct ecore_hwfn *hwfn, void *addr, u32 value); 163 u32 qede_osal_direct_reg_read32(struct ecore_hwfn *hwfn, void *addr); 295 #define OSAL_MUTEX_ALLOC(hwfn, lock) nothing argument 296 #define OSAL_SPIN_LOCK_ALLOC(hwfn, lock) nothing argument 323 #define OSAL_DPC_ALLOC(hwfn) OSAL_ALLOC(hwfn->p_dev, GFP_KERNEL, sizeof (u64)) argument [all …]
|
H A D | ecore_vf_api.h | 148 bool ecore_vf_bulletin_get_forced_mac(struct ecore_hwfn *hwfn, u8 *dst_mac, 159 bool ecore_vf_bulletin_get_forced_vlan(struct ecore_hwfn *hwfn, u16 *dst_pvid); 201 static OSAL_INLINE bool ecore_vf_bulletin_get_forced_mac(struct ecore_hwfn *hwfn, u8 *dst_mac, u8 *… in ecore_vf_bulletin_get_forced_mac() argument
|
H A D | ecore_dev.c | 2577 struct ecore_hwfn *hwfn = &p_dev->hwfns[0]; in ecore_set_nwuf_reg() local 2642 ECORE_WOL_WR(hwfn, hwfn->p_main_ptt, reg_len, pattern_size); in ecore_set_nwuf_reg() 2645 ECORE_WOL_WR(hwfn, hwfn->p_main_ptt, reg_crc, crc); in ecore_set_nwuf_reg() 2657 struct ecore_hwfn *hwfn = &p_dev->hwfns[0]; in ecore_wol_buffer_clear() local 2667 ECORE_WOL_WR(hwfn, hwfn->p_main_ptt, wake_buffer_clear_offset, 1); in ecore_wol_buffer_clear() 2668 ECORE_WOL_WR(hwfn, hwfn->p_main_ptt, wake_buffer_clear_offset, 0); in ecore_wol_buffer_clear() 2674 struct ecore_hwfn *hwfn = &p_dev->hwfns[0]; in ecore_get_wake_info() local 2681 wake_info->wk_info = ecore_rd(hwfn, hwfn->p_main_ptt, in ecore_get_wake_info() 2684 wake_info->wk_details = ecore_rd(hwfn, hwfn->p_main_ptt, in ecore_get_wake_info() 2687 wake_info->wk_pkt_len = ecore_rd(hwfn, hwfn->p_main_ptt, in ecore_get_wake_info() [all …]
|
H A D | ecore_int.c | 71 #define ecore_dbg_read_attn(hwfn, ptt, id, type, clear, results) \ argument 72 dbg_read_attn(hwfn, ptt, id, type, clear, results) 73 #define ecore_dbg_parse_attn(hwfn, results) \ argument 74 dbg_parse_attn(hwfn, results)
|
H A D | release.txt | 1385 Change: Nullify hwfn structures' pointers after being freed. 3013 Change: Use the correct ptt for a given hwfn. 5207 5. Request: Added OSAL_NVM_IS_ACCESS_ENABLED(hwfn).
|
/illumos-gate/usr/src/uts/common/io/qede/ |
H A D | qede_osal.c | 328 qede_get_link_info(struct ecore_hwfn *hwfn, struct qede_link_cfg *lnkCfg) in qede_get_link_info() argument 330 struct ecore_dev *edev = (struct ecore_dev *)hwfn->p_dev; in qede_get_link_info() 340 memcpy(&lnk_state, ecore_mcp_get_link_state(hwfn), in qede_get_link_info() 342 memcpy(&lnk_params, ecore_mcp_get_link_params(hwfn), in qede_get_link_info() 344 memcpy(&lnk_caps, ecore_mcp_get_link_capabilities(hwfn), in qede_get_link_info() 473 qede_osal_link_update(struct ecore_hwfn *hwfn) in qede_osal_link_update() argument 475 struct ecore_dev *edev = (struct ecore_dev *)hwfn->p_dev; in qede_osal_link_update() 480 qede_get_link_info(hwfn, &link_cfg); in qede_osal_link_update() 551 qede_osal_pci_write32(struct ecore_hwfn *hwfn, u32 offset, u32 val) in qede_osal_pci_write32() argument 553 struct ecore_dev *edev = (struct ecore_dev *)hwfn->p_dev; in qede_osal_pci_write32() [all …]
|
H A D | qede_gld.c | 606 struct ecore_hwfn *hwfn; local 613 hwfn = &edev->hwfns[id]; 614 ptt = ecore_ptt_acquire(hwfn); 624 transceiver_state = ecore_rd(hwfn, ptt, hwfn->mcp_info->port_addr + 627 ecore_ptt_release(hwfn, ptt); 656 struct ecore_hwfn *hwfn; local 673 hwfn = &edev->hwfns[id]; 674 ptt = ecore_ptt_acquire(hwfn); 679 ret = ecore_mcp_phy_sfp_read(hwfn, ptt, hwfn->port_id, page, offset, 681 ecore_ptt_release(hwfn, ptt); [all …]
|
H A D | qede_main.c | 3047 struct ecore_hwfn *hwfn; in qede_configure_link() local 3052 hwfn = &edev->hwfns[i]; in qede_configure_link() 3055 ptt = ecore_ptt_acquire(hwfn); in qede_configure_link() 3062 ret = ecore_mcp_set_link(hwfn, ptt, op); in qede_configure_link() 3064 ecore_ptt_release(hwfn, ptt); in qede_configure_link()
|
H A D | qede.h | 1078 void qede_get_link_info(struct ecore_hwfn *hwfn,struct qede_link_cfg *lnkcfg);
|
/illumos-gate/usr/src/uts/common/io/qede/579xx/drivers/ecore/documentation/ |
H A D | ecore.tex | 949 …PCI function is in CMT mode. Let $\text{hwfn}_0$ stand for its HW-function under the first engine … 952 Then for $\forall n \in \mathbb{N}_{+}$, $\text{MSIX}_{2n}$ is connected to $\text{hwfn}_0$'s statu… 965 …d connected to the DPC of $\text{hwfn}_0$ and $\text{MSIX}_1$ should be enabled and connected to t…
|
H A D | osal.txt | 394 inside the hwfn->mcp_info->link_output.
|