1 /* 2 * @brief ecore_int_sb_init - Initializes the sb_info structure. 3 * 4 * once the structure is initialized it can be passed to sb related functions. 5 * 6 * @param p_hwfn 7 * @param p_ptt 8 * @param sb_info points to an uninitialized (but 9 * allocated) sb_info structure 10 * @param sb_virt_addr 11 * @param sb_phy_addr 12 * @param sb_id the sb_id to be used (zero based in driver) 13 * should use ECORE_SP_SB_ID for SP Status block 14 * 15 * @return enum _ecore_status_t 16 */ 17 enum _ecore_status_t ecore_int_sb_init(struct ecore_hwfn *p_hwfn, 18 struct ecore_ptt *p_ptt, 19 struct ecore_sb_info *sb_info, 20 void *sb_virt_addr, 21 dma_addr_t sb_phy_addr, 22 u16 sb_id); 23