FreeBSD kernel BXE device code
ecore_func_sp_obj Struct Reference

#include <ecore_sp.h>

Collaboration diagram for ecore_func_sp_obj:

Data Fields

enum ecore_func_state state next_state
 
unsigned long pending
 
void * rdata
 
ecore_dma_addr_t rdata_mapping
 
void * afex_rdata
 
ecore_dma_addr_t afex_rdata_mapping
 
ECORE_MUTEX one_pending_mutex
 
struct ecore_func_sp_drv_opsdrv
 
int(* send_cmd )(struct bxe_softc *sc, struct ecore_func_state_params *params)
 
int(* check_transition )(struct bxe_softc *sc, struct ecore_func_sp_obj *o, struct ecore_func_state_params *params)
 
int(* complete_cmd )(struct bxe_softc *sc, struct ecore_func_sp_obj *o, enum ecore_func_cmd cmd)
 
int(* wait_comp )(struct bxe_softc *sc, struct ecore_func_sp_obj *o, enum ecore_func_cmd cmd)
 

Detailed Description

Definition at line 1779 of file ecore_sp.h.

Field Documentation

◆ afex_rdata

void* ecore_func_sp_obj::afex_rdata

◆ afex_rdata_mapping

ecore_dma_addr_t ecore_func_sp_obj::afex_rdata_mapping

Definition at line 1798 of file ecore_sp.h.

Referenced by ecore_func_send_afex_update(), and ecore_init_func_obj().

◆ check_transition

int(* ecore_func_sp_obj::check_transition) (struct bxe_softc *sc, struct ecore_func_sp_obj *o, struct ecore_func_state_params *params)

Checks that the requested state transition is legal.

Definition at line 1819 of file ecore_sp.h.

Referenced by ecore_func_state_change(), and ecore_init_func_obj().

◆ complete_cmd

int(* ecore_func_sp_obj::complete_cmd) (struct bxe_softc *sc, struct ecore_func_sp_obj *o, enum ecore_func_cmd cmd)

Completes the pending command.

Definition at line 1826 of file ecore_sp.h.

Referenced by bxe_eq_int(), ecore_func_hw_init(), ecore_func_hw_reset(), and ecore_init_func_obj().

◆ drv

struct ecore_func_sp_drv_ops* ecore_func_sp_obj::drv

Definition at line 1806 of file ecore_sp.h.

Referenced by ecore_func_hw_init(), ecore_func_hw_reset(), and ecore_init_func_obj().

◆ next_state

enum ecore_func_state state ecore_func_sp_obj::next_state

◆ one_pending_mutex

ECORE_MUTEX ecore_func_sp_obj::one_pending_mutex

Definition at line 1803 of file ecore_sp.h.

Referenced by ecore_func_state_change(), and ecore_init_func_obj().

◆ pending

unsigned long ecore_func_sp_obj::pending

◆ rdata

◆ rdata_mapping

◆ send_cmd

int(* ecore_func_sp_obj::send_cmd) (struct bxe_softc *sc, struct ecore_func_state_params *params)

Performs one state change according to the given parameters.

Returns
0 in case of success and negative value otherwise.

Definition at line 1813 of file ecore_sp.h.

Referenced by ecore_func_state_change(), and ecore_init_func_obj().

◆ wait_comp

int(* ecore_func_sp_obj::wait_comp) (struct bxe_softc *sc, struct ecore_func_sp_obj *o, enum ecore_func_cmd cmd)

Definition at line 1830 of file ecore_sp.h.

Referenced by ecore_func_state_change(), and ecore_init_func_obj().


The documentation for this struct was generated from the following file: