nfp_cpp
struct nfp_cpp *cpp = abm->app->cpp;
struct nfp_cpp *cpp = alink->abm->app->cpp;
struct nfp_cpp *cpp = abm->app->cpp;
struct nfp_cpp *cpp = alink->abm->app->cpp;
struct nfp_cpp *cpp = alink->abm->app->cpp;
struct nfp_cpp *cpp = alink->abm->app->cpp;
struct nfp_cpp *cpp = bpf->app->pf->cpp;
struct nfp_cpp *cpp = app->pf->cpp;
struct nfp_cpp *cpp;
struct nfp_cpp;
nfp_net_dump_load_dumpspec(struct nfp_cpp *cpp, struct nfp_rtsym_table *rtbl);
struct nfp_cpp;
struct nfp_cpp *cpp;
struct nfp_cpp;
nfp_net_dump_load_dumpspec(struct nfp_cpp *cpp, struct nfp_rtsym_table *rtbl)
nfp_read_indirect_csr(struct nfp_cpp *cpp,
nfp_read_all_indirect_csr_ctx(struct nfp_cpp *cpp,
struct nfp_cpp *cpp = app->cpp;
nfp_net_eth_port_update(struct nfp_cpp *cpp, struct nfp_port *port,
struct nfp_cpp *cpp = port->app->cpp;
struct nfp_hwinfo *nfp_hwinfo_read(struct nfp_cpp *cpp);
struct nfp_cpp *nfp_nsp_cpp(struct nfp_nsp *state);
int nfp_resource_table_init(struct nfp_cpp *cpp);
nfp_resource_acquire(struct nfp_cpp *cpp, const char *name);
int nfp_resource_wait(struct nfp_cpp *cpp, const char *name, unsigned int secs);
static int nfp6000_init(struct nfp_cpp *cpp)
static void nfp6000_free(struct nfp_cpp *cpp)
struct nfp_cpp *
struct nfp_cpp *
void nfp_cpp_free(struct nfp_cpp *cpp);
u32 nfp_cpp_model(struct nfp_cpp *cpp);
u16 nfp_cpp_interface(struct nfp_cpp *cpp);
int nfp_cpp_serial(struct nfp_cpp *cpp, const u8 **serial);
unsigned int nfp_cpp_mu_locality_lsb(struct nfp_cpp *cpp);
struct nfp_cpp_area *nfp_cpp_area_alloc_with_name(struct nfp_cpp *cpp,
struct nfp_cpp_area *nfp_cpp_area_alloc(struct nfp_cpp *cpp, u32 cpp_id,
nfp_cpp_area_alloc_acquire(struct nfp_cpp *cpp, const char *name, u32 cpp_id,
struct nfp_cpp *nfp_cpp_area_cpp(struct nfp_cpp_area *cpp_area);
int nfp_xpb_readl(struct nfp_cpp *cpp, u32 xpb_tgt, u32 *value);
int nfp_xpb_writel(struct nfp_cpp *cpp, u32 xpb_tgt, u32 value);
int nfp_xpb_writelm(struct nfp_cpp *cpp, u32 xpb_tgt, u32 mask, u32 value);
int nfp_cpp_read(struct nfp_cpp *cpp, u32 cpp_id,
int nfp_cpp_write(struct nfp_cpp *cpp, u32 cpp_id,
int nfp_cpp_readl(struct nfp_cpp *cpp, u32 cpp_id,
int nfp_cpp_writel(struct nfp_cpp *cpp, u32 cpp_id,
int nfp_cpp_readq(struct nfp_cpp *cpp, u32 cpp_id,
int nfp_cpp_writeq(struct nfp_cpp *cpp, u32 cpp_id,
nfp_cpp_map_area(struct nfp_cpp *cpp, const char *name, u32 cpp_id, u64 addr,
int nfp_cpp_mutex_init(struct nfp_cpp *cpp, int target,
struct nfp_cpp_mutex *nfp_cpp_mutex_alloc(struct nfp_cpp *cpp, int target,
int nfp_cpp_mutex_reclaim(struct nfp_cpp *cpp, int target,
static inline u8 nfp_cppcore_pcie_unit(struct nfp_cpp *cpp)
int (*init)(struct nfp_cpp *cpp);
void (*free)(struct nfp_cpp *cpp);
struct nfp_cpp *
void *nfp_cpp_priv(struct nfp_cpp *priv);
int nfp_cpp_area_cache_add(struct nfp_cpp *cpp, size_t size);
struct device *nfp_cpp_device(struct nfp_cpp *cpp);
struct nfp_cpp_explicit *nfp_cpp_explicit_acquire(struct nfp_cpp *cpp);
struct nfp_cpp *nfp_cpp_explicit_cpp(struct nfp_cpp_explicit *expl);
int nfp_cpp_model_autodetect(struct nfp_cpp *cpp, u32 *model);
int nfp_cpp_explicit_read(struct nfp_cpp *cpp, u32 cpp_id,
int nfp_cpp_explicit_write(struct nfp_cpp *cpp, u32 cpp_id,
struct nfp_cpp;
struct nfp_cpp *cpp;
int nfp_cpp_write(struct nfp_cpp *cpp, u32 destination,
static u32 nfp_xpb_to_cpp(struct nfp_cpp *cpp, u32 *xpb_addr)
int nfp_xpb_readl(struct nfp_cpp *cpp, u32 xpb_addr, u32 *value)
int nfp_xpb_writel(struct nfp_cpp *cpp, u32 xpb_addr, u32 value)
int nfp_xpb_writelm(struct nfp_cpp *cpp, u32 xpb_tgt,
struct nfp_cpp *
struct nfp_cpp *cpp;
void *nfp_cpp_priv(struct nfp_cpp *cpp)
struct device *nfp_cpp_device(struct nfp_cpp *cpp)
struct nfp_cpp *cpp = nfp_cpp_explicit_cpp(expl); \
struct nfp_cpp *cpp = nfp_cpp_explicit_cpp(expl); \
struct nfp_cpp_explicit *nfp_cpp_explicit_acquire(struct nfp_cpp *cpp)
struct nfp_cpp *cpp = nfp_cpp_area_cpp(area);
struct nfp_cpp *nfp_cpp_explicit_cpp(struct nfp_cpp_explicit *cpp_explicit)
void nfp_cpp_free(struct nfp_cpp *cpp)
u32 nfp_cpp_model(struct nfp_cpp *cpp)
u16 nfp_cpp_interface(struct nfp_cpp *cpp)
int nfp_cpp_serial(struct nfp_cpp *cpp, const u8 **serial)
static int nfp_cpp_set_mu_locality_lsb(struct nfp_cpp *cpp)
unsigned int nfp_cpp_mu_locality_lsb(struct nfp_cpp *cpp)
nfp_cpp_area_alloc_with_name(struct nfp_cpp *cpp, u32 dest, const char *name,
nfp_cpp_area_alloc(struct nfp_cpp *cpp, u32 dest,
nfp_cpp_area_alloc_acquire(struct nfp_cpp *cpp, const char *name, u32 dest,
struct nfp_cpp *nfp_cpp_area_cpp(struct nfp_cpp_area *cpp_area)
int nfp_cpp_area_cache_add(struct nfp_cpp *cpp, size_t size)
area_cache_get(struct nfp_cpp *cpp, u32 id,
struct nfp_cpp *cpp;
area_cache_put(struct nfp_cpp *cpp, struct nfp_cpp_area_cache *cache)
static int __nfp_cpp_read(struct nfp_cpp *cpp, u32 destination,
int nfp_cpp_read(struct nfp_cpp *cpp, u32 destination,
static int __nfp_cpp_write(struct nfp_cpp *cpp, u32 destination,
int nfp_cpp_writeq(struct nfp_cpp *cpp, u32 cpp_id,
int nfp_cpp_model_autodetect(struct nfp_cpp *cpp, u32 *model)
int nfp_cpp_explicit_read(struct nfp_cpp *cpp, u32 cpp_id,
int nfp_cpp_explicit_write(struct nfp_cpp *cpp, u32 cpp_id, u64 addr,
nfp_cpp_map_area(struct nfp_cpp *cpp, const char *name, u32 cpp_id, u64 addr,
int nfp_cpp_readl(struct nfp_cpp *cpp, u32 cpp_id,
int nfp_cpp_writel(struct nfp_cpp *cpp, u32 cpp_id,
int nfp_cpp_readq(struct nfp_cpp *cpp, u32 cpp_id,
hwinfo_db_walk(struct nfp_cpp *cpp, struct nfp_hwinfo *hwinfo, u32 size)
hwinfo_db_validate(struct nfp_cpp *cpp, struct nfp_hwinfo *db, u32 len)
hwinfo_try_fetch(struct nfp_cpp *cpp, size_t *cpp_size)
static struct nfp_hwinfo *hwinfo_fetch(struct nfp_cpp *cpp, size_t *hwdb_size)
struct nfp_hwinfo *nfp_hwinfo_read(struct nfp_cpp *cpp)
nfp_mip_try_read(struct nfp_cpp *cpp, u32 cpp_id, u64 addr, struct nfp_mip *mip)
static int nfp_mip_read_resource(struct nfp_cpp *cpp, struct nfp_mip *mip)
const struct nfp_mip *nfp_mip_open(struct nfp_cpp *cpp)
struct nfp_cpp_mutex *nfp_cpp_mutex_alloc(struct nfp_cpp *cpp, int target,
struct nfp_cpp *cpp;
struct nfp_cpp *cpp = mutex->cpp;
struct nfp_cpp *cpp = mutex->cpp;
int nfp_cpp_mutex_reclaim(struct nfp_cpp *cpp, int target,
int nfp_cpp_mutex_init(struct nfp_cpp *cpp,
struct nfp_nffw_info *nfp_nffw_info_open(struct nfp_cpp *cpp)
struct nfp_cpp *cpp;
struct nfp_nffw_info *nfp_nffw_info_open(struct nfp_cpp *cpp);
const struct nfp_mip *nfp_mip_open(struct nfp_cpp *cpp);
struct nfp_rtsym_table *nfp_rtsym_table_read(struct nfp_cpp *cpp);
__nfp_rtsym_table_read(struct nfp_cpp *cpp, const struct nfp_mip *mip);
int __nfp_rtsym_read(struct nfp_cpp *cpp, const struct nfp_rtsym *sym,
int nfp_rtsym_read(struct nfp_cpp *cpp, const struct nfp_rtsym *sym, u64 off,
int __nfp_rtsym_readl(struct nfp_cpp *cpp, const struct nfp_rtsym *sym,
int nfp_rtsym_readl(struct nfp_cpp *cpp, const struct nfp_rtsym *sym, u64 off,
int __nfp_rtsym_readq(struct nfp_cpp *cpp, const struct nfp_rtsym *sym,
int nfp_rtsym_readq(struct nfp_cpp *cpp, const struct nfp_rtsym *sym, u64 off,
int __nfp_rtsym_write(struct nfp_cpp *cpp, const struct nfp_rtsym *sym,
int nfp_rtsym_write(struct nfp_cpp *cpp, const struct nfp_rtsym *sym, u64 off,
int __nfp_rtsym_writel(struct nfp_cpp *cpp, const struct nfp_rtsym *sym,
int nfp_rtsym_writel(struct nfp_cpp *cpp, const struct nfp_rtsym *sym, u64 off,
int __nfp_rtsym_writeq(struct nfp_cpp *cpp, const struct nfp_rtsym *sym,
int nfp_rtsym_writeq(struct nfp_cpp *cpp, const struct nfp_rtsym *sym, u64 off,
struct nfp_cpp *cpp;
struct nfp_cpp *nfp_nsp_cpp(struct nfp_nsp *state)
struct nfp_cpp *cpp = state->cpp;
struct nfp_nsp *nfp_nsp_open(struct nfp_cpp *cpp)
nfp_nsp_wait_reg(struct nfp_cpp *cpp, u64 *reg, u32 nsp_cpp, u64 addr,
struct nfp_cpp *cpp = state->cpp;
struct nfp_cpp *cpp = nsp->cpp;
struct nfp_cpp *cpp = nsp->cpp;
struct nfp_cpp *cpp = nsp->cpp;
struct nfp_cpp *cpp = nsp->cpp;
struct nfp_cpp;
struct nfp_nsp *nfp_nsp_open(struct nfp_cpp *cpp);
struct nfp_eth_table *nfp_eth_read_ports(struct nfp_cpp *cpp);
__nfp_eth_read_ports(struct nfp_cpp *cpp, struct nfp_nsp *nsp);
int nfp_eth_set_mod_enable(struct nfp_cpp *cpp, unsigned int idx, bool enable);
int nfp_eth_set_configured(struct nfp_cpp *cpp, unsigned int idx,
nfp_eth_set_fec(struct nfp_cpp *cpp, unsigned int idx, enum nfp_eth_fec mode);
int nfp_eth_set_idmode(struct nfp_cpp *cpp, unsigned int idx, bool state);
int nfp_eth_set_pauseparam(struct nfp_cpp *cpp, unsigned int idx,
struct nfp_nsp *nfp_eth_config_start(struct nfp_cpp *cpp, unsigned int idx);
int nfp_hwmon_read_sensor(struct nfp_cpp *cpp, enum nfp_nsp_sensor_id id,
int nfp_hwmon_read_sensor(struct nfp_cpp *cpp, enum nfp_nsp_sensor_id id,
nfp_eth_calc_port_geometry(struct nfp_cpp *cpp, struct nfp_eth_table *table)
nfp_eth_calc_port_type(struct nfp_cpp *cpp, struct nfp_eth_table_port *entry)
nfp_eth_read_media(struct nfp_cpp *cpp, struct nfp_nsp *nsp, struct nfp_eth_table_port *entry)
struct nfp_eth_table *nfp_eth_read_ports(struct nfp_cpp *cpp)
__nfp_eth_read_ports(struct nfp_cpp *cpp, struct nfp_nsp *nsp)
struct nfp_nsp *nfp_eth_config_start(struct nfp_cpp *cpp, unsigned int idx)
int nfp_eth_set_mod_enable(struct nfp_cpp *cpp, unsigned int idx, bool enable)
int nfp_eth_set_configured(struct nfp_cpp *cpp, unsigned int idx, bool configed)
int nfp_eth_set_idmode(struct nfp_cpp *cpp, unsigned int idx, bool state)
nfp_eth_set_fec(struct nfp_cpp *cpp, unsigned int idx, enum nfp_eth_fec mode)
nfp_eth_set_pauseparam(struct nfp_cpp *cpp, unsigned int idx,
nfp_resource_try_acquire(struct nfp_cpp *cpp, struct nfp_resource *res,
nfp_resource_acquire(struct nfp_cpp *cpp, const char *name)
int nfp_resource_wait(struct nfp_cpp *cpp, const char *name, unsigned int secs)
int nfp_resource_table_init(struct nfp_cpp *cpp)
static int nfp_cpp_resource_find(struct nfp_cpp *cpp, struct nfp_resource *res)
nfp_rtsym_to_dest(struct nfp_cpp *cpp, const struct nfp_rtsym *sym,
int __nfp_rtsym_read(struct nfp_cpp *cpp, const struct nfp_rtsym *sym,
int nfp_rtsym_read(struct nfp_cpp *cpp, const struct nfp_rtsym *sym, u64 off,
int __nfp_rtsym_readl(struct nfp_cpp *cpp, const struct nfp_rtsym *sym,
int nfp_rtsym_readl(struct nfp_cpp *cpp, const struct nfp_rtsym *sym, u64 off,
int __nfp_rtsym_readq(struct nfp_cpp *cpp, const struct nfp_rtsym *sym,
int nfp_rtsym_readq(struct nfp_cpp *cpp, const struct nfp_rtsym *sym, u64 off,
int __nfp_rtsym_write(struct nfp_cpp *cpp, const struct nfp_rtsym *sym,
int nfp_rtsym_write(struct nfp_cpp *cpp, const struct nfp_rtsym *sym, u64 off,
int __nfp_rtsym_writel(struct nfp_cpp *cpp, const struct nfp_rtsym *sym,
int nfp_rtsym_writel(struct nfp_cpp *cpp, const struct nfp_rtsym *sym, u64 off,
int __nfp_rtsym_writeq(struct nfp_cpp *cpp, const struct nfp_rtsym *sym,
struct nfp_cpp *cpp;
int nfp_rtsym_writeq(struct nfp_cpp *cpp, const struct nfp_rtsym *sym, u64 off,
struct nfp_rtsym_table *nfp_rtsym_table_read(struct nfp_cpp *cpp)
__nfp_rtsym_table_read(struct nfp_cpp *cpp, const struct nfp_mip *mip)