Searched refs:vbool (Results 1 – 10 of 10) sorted by relevance
129 ctx->val.vbool = cdev->iwarp_cmt; in qed_dl_param_get()141 cdev->iwarp_cmt = ctx->val.vbool; in qed_dl_param_set()226 value.vbool = false; in qed_devlink_register()
284 bool new_state = val.vbool; in mlx5_devlink_enable_roce_validate()320 mlx5_fw_reset_enable_remote_dev_reset_set(dev, ctx->val.vbool); in mlx5_devlink_enable_remote_dev_reset_set()329 ctx->val.vbool = mlx5_fw_reset_enable_remote_dev_reset_get(dev); in mlx5_devlink_enable_remote_dev_reset_get()366 value.vbool = MLX5_CAP_GEN(dev, roce); in mlx5_devlink_set_params_init_values()
326 dst->val8 = src->vbool; in bnxt_copy_to_nvm_data()345 dst->vbool = src->val8; in bnxt_copy_from_nvm_data()643 ctx->val.vbool = !ctx->val.vbool; in bnxt_dl_nvm_param_get()657 ctx->val.vbool = !ctx->val.vbool; in bnxt_dl_nvm_param_set()
178 &ctx->val.vbool); in sja1105_devlink_param_get()197 ctx->val.vbool); in sja1105_devlink_param_set()
184 ctx->val.vbool = !!mlx4_internal_err_reset; in mlx4_devlink_ierr_reset_get()191 mlx4_internal_err_reset = ctx->val.vbool; in mlx4_devlink_ierr_reset_set()201 ctx->val.vbool = dev->persist->crdump.snapshot_enable; in mlx4_devlink_crdump_snapshot_get()211 dev->persist->crdump.snapshot_enable = ctx->val.vbool; in mlx4_devlink_crdump_snapshot_set()267 value.vbool = !!mlx4_internal_err_reset; in mlx4_devlink_set_params_init_values()277 value.vbool = enable_64b_cqe_eqe; in mlx4_devlink_set_params_init_values()282 value.vbool = enable_4k_uar; in mlx4_devlink_set_params_init_values()287 value.vbool = false; in mlx4_devlink_set_params_init_values()3920 if (!err && mlx4_internal_err_reset != saved_value.vbool) { in mlx4_devlink_param_load_driverinit_values()3921 mlx4_internal_err_reset = saved_value.vbool; in mlx4_devlink_param_load_driverinit_values()[all …]
1625 ctx->val.vbool = !cpsw->data.dual_emac; in cpsw_dl_switch_mode_get()1636 bool switch_en = ctx->val.vbool; in cpsw_dl_switch_mode_set()1758 ctx->val.vbool = cpsw_ale_control_get(cpsw->ale, 0, ALE_BYPASS); in cpsw_dl_ale_ctrl_get()1779 ctx->val.vbool); in cpsw_dl_ale_ctrl_set()1781 cpsw->ale_bypass = ctx->val.vbool; in cpsw_dl_ale_ctrl_set()
357 value.vbool = nsim_dev->test1; in nsim_devlink_set_params_init_values()378 nsim_dev->test1 = saved_value.vbool; in nsim_devlink_param_load_driverinit_values()
1212 return val.vbool; in mlx5_is_roce_enabled()
396 bool vbool; member
3691 if (val.vbool && in devlink_nl_param_value_fill_one()3937 value->vbool = nla_get_flag(param_data); in devlink_param_value_get_from_info()