Home
last modified time | relevance | path

Searched refs:roc_model (Results 1 – 7 of 7) sorted by relevance

/dpdk/drivers/common/cnxk/
H A Droc_model.h10 extern struct roc_model *roc_model;
12 struct roc_model { struct
61 return (roc_model->flag & (ROC_MODEL_CN9K)); in roc_model_runtime_is_cn9k()
67 return (roc_model->flag & (ROC_MODEL_CN10K)); in roc_model_runtime_is_cn10k()
140 return roc_model->flag & ROC_MODEL_CN106xx; in roc_model_is_cn10ka()
146 return roc_model->flag & ROC_MODEL_CNF105xx; in roc_model_is_cnf10ka()
176 return roc_model->flag & ROC_ENV_HW; in roc_env_is_hw()
182 return roc_model->flag & ROC_ENV_EMUL; in roc_env_is_emulator()
188 return roc_model->flag & ROC_ENV_ASIM; in roc_env_is_asim()
194 return roc_model->env; in roc_env_get()
[all …]
H A Droc_model.c11 struct roc_model *roc_model; variable
111 populate_model(struct roc_model *model, uint32_t midr) in populate_model()
207 of_env_get(struct roc_model *model) in of_env_get()
242 roc_model_init(struct roc_model *model) in roc_model_init()
264 roc_model = model; in roc_model_init()
H A Dcnxk_telemetry_bphy.c38 if (!(roc_model->flag & ROC_MODEL_CNF9K) && in cnxk_bphy_telemetry_register()
39 !(roc_model->flag & ROC_MODEL_CNF10K)) in cnxk_bphy_telemetry_register()
H A Droc_platform.c34 sizeof(struct roc_model), in roc_plt_init()
47 roc_model = mz->addr; in roc_plt_init()
H A Dmeson.build29 'roc_model.c',
H A Dversion.map92 roc_model;
H A Droc_dev.c1121 if (roc_model->flag == 0) { in dev_init()