Home
last modified time | relevance | path

Searched refs:priv_ctx (Results 1 – 9 of 9) sorted by relevance

/linux/drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/
H A Dchcr_ktls.h84 struct chcr_ktls_ctx_tx *priv_ctx; in __chcr_get_ktls_tx_info() local
87 priv_ctx = (struct chcr_ktls_ctx_tx *)octx->driver_state; in __chcr_get_ktls_tx_info()
88 return priv_ctx->chcr_info; in __chcr_get_ktls_tx_info()
94 struct chcr_ktls_ctx_tx *priv_ctx; in chcr_get_ktls_tx_info() local
97 priv_ctx = (struct chcr_ktls_ctx_tx *)__tls_driver_ctx(tls_ctx, TLS_OFFLOAD_CTX_DIR_TX); in chcr_get_ktls_tx_info()
98 return priv_ctx->chcr_info; in chcr_get_ktls_tx_info()
104 struct chcr_ktls_ctx_tx *priv_ctx; in chcr_set_ktls_tx_info() local
106 priv_ctx = __tls_driver_ctx(tls_ctx, TLS_OFFLOAD_CTX_DIR_TX); in chcr_set_ktls_tx_info()
107 priv_ctx->chcr_info = chcr_info; in chcr_set_ktls_tx_info()
/linux/drivers/net/netdevsim/
H A Dhealth.c13 struct devlink_fmsg *fmsg, void *priv_ctx, in nsim_dev_empty_reporter_dump() argument
40 void *priv_ctx, in nsim_dev_dummy_reporter_recover() argument
44 struct nsim_dev_dummy_reporter_ctx *ctx = priv_ctx; in nsim_dev_dummy_reporter_recover()
109 struct devlink_fmsg *fmsg, void *priv_ctx, in nsim_dev_dummy_reporter_dump() argument
113 struct nsim_dev_dummy_reporter_ctx *ctx = priv_ctx; in nsim_dev_dummy_reporter_dump()
/linux/drivers/net/ethernet/huawei/hinic/
H A Dhinic_devlink.c391 struct devlink_fmsg *fmsg, void *priv_ctx, in hinic_hw_reporter_dump() argument
394 if (priv_ctx) in hinic_hw_reporter_dump()
395 fault_report_show(fmsg, priv_ctx); in hinic_hw_reporter_dump()
422 struct devlink_fmsg *fmsg, void *priv_ctx, in hinic_fw_reporter_dump() argument
425 if (priv_ctx) in hinic_fw_reporter_dump()
426 mgmt_watchdog_report_show(fmsg, priv_ctx); in hinic_fw_reporter_dump()
/linux/drivers/net/ethernet/qlogic/qed/
H A Dqed_devlink.c38 struct devlink_fmsg *fmsg, void *priv_ctx, in qed_fw_fatal_reporter_dump() argument
42 struct qed_fw_fatal_ctx *fw_fatal_ctx = priv_ctx; in qed_fw_fatal_reporter_dump()
79 void *priv_ctx, in qed_fw_fatal_reporter_recover() argument
/linux/net/devlink/
H A Dhealth.c529 void *priv_ctx, struct netlink_ext_ack *extack) in devlink_health_reporter_recover() argument
539 err = reporter->ops->recover(reporter, priv_ctx, extack); in devlink_health_reporter_recover()
560 void *priv_ctx, in devlink_health_do_dump() argument
578 priv_ctx, extack); in devlink_health_do_dump()
598 const char *msg, void *priv_ctx) in devlink_health_report() argument
631 devlink_health_do_dump(reporter, priv_ctx, NULL); in devlink_health_report()
639 ret = devlink_health_reporter_recover(reporter, priv_ctx, NULL); in devlink_health_report()
/linux/drivers/mfd/
H A Dintel-lpss.c88 u32 priv_ctx[LPSS_PRIV_REG_COUNT]; member
506 lpss->priv_ctx[i] = readl(lpss->priv + i * 4); in intel_lpss_suspend()
528 writel(lpss->priv_ctx[i], lpss->priv + i * 4); in intel_lpss_resume()
/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_devlink.c162 struct devlink_fmsg *fmsg, void *priv_ctx, in bnxt_fw_dump() argument
171 if (priv_ctx) in bnxt_fw_dump()
195 void *priv_ctx, in bnxt_fw_recover() argument
/linux/include/net/
H A Ddevlink.h737 void *priv_ctx, struct netlink_ext_ack *extack);
739 struct devlink_fmsg *fmsg, void *priv_ctx,
1934 const char *msg, void *priv_ctx);
/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dcore.c1884 struct devlink_fmsg *fmsg, void *priv_ctx, in mlxsw_core_health_fw_fatal_dump() argument
1887 char *mfde_pl = priv_ctx; in mlxsw_core_health_fw_fatal_dump()
1892 if (!priv_ctx) in mlxsw_core_health_fw_fatal_dump()