Searched refs:vbool (Results 1 – 12 of 12) sorted by relevance
468 bool new_state = val.vbool; in mlx5_devlink_enable_roce_validate()507 return mlx5_esw_offloads_vport_metadata_set(dev->priv.eswitch, ctx->val.vbool); in mlx5_devlink_esw_port_metadata_set()518 ctx->val.vbool = mlx5_eswitch_vport_match_metadata_enabled(dev->priv.eswitch); in mlx5_devlink_esw_port_metadata_get()549 mlx5_fw_reset_enable_remote_dev_reset_set(dev, ctx->val.vbool); in mlx5_devlink_enable_remote_dev_reset_set()558 ctx->val.vbool = mlx5_fw_reset_enable_remote_dev_reset_get(dev); in mlx5_devlink_enable_remote_dev_reset_get()604 value.vbool = MLX5_CAP_GEN(dev, roce); in mlx5_devlink_set_params_init_values()644 value.vbool = true; in mlx5_devlink_eth_param_register()666 bool new_state = val.vbool; in mlx5_devlink_enable_rdma_validate()689 value.vbool = true; in mlx5_devlink_rdma_param_register()721 value.vbool = true; in mlx5_devlink_vnet_param_register()
117 return err ? false : val.vbool; in is_eth_enabled()150 return err ? false : val.vbool; in is_vnet_enabled()221 return err ? false : val.vbool; in is_ib_enabled()
508 return val.vbool; in mlx5_is_roce_on()
129 ctx->val.vbool = cdev->iwarp_cmt; in qed_dl_param_get()141 cdev->iwarp_cmt = ctx->val.vbool; in qed_dl_param_set()223 value.vbool = false; in qed_devlink_register()
720 dst->val8 = src->vbool; in bnxt_copy_to_nvm_data()739 dst->vbool = src->val8; in bnxt_copy_from_nvm_data()1135 ctx->val.vbool = !ctx->val.vbool; in bnxt_dl_nvm_param_get()1152 ctx->val.vbool = !ctx->val.vbool; in bnxt_dl_nvm_param_set()1185 ctx->val.vbool = bnxt_dl_get_remote_reset(dl); in bnxt_remote_dev_reset_get()1195 rc = bnxt_hwrm_remote_dev_reset_set(bp, ctx->val.vbool); in bnxt_remote_dev_reset_set()1199 bnxt_dl_set_remote_reset(dl, ctx->val.vbool); in bnxt_remote_dev_reset_set()
736 ctx->val.vbool = pf->rdma_mode & IIDC_RDMA_PROTOCOL_ROCEV2 ? true : false; in ice_devlink_enable_roce_get()746 bool roce_ena = ctx->val.vbool; in ice_devlink_enable_roce_set()787 ctx->val.vbool = pf->rdma_mode & IIDC_RDMA_PROTOCOL_IWARP; in ice_devlink_enable_iw_get()797 bool iw_ena = ctx->val.vbool; in ice_devlink_enable_iw_set()927 value.vbool = false; in ice_devlink_register_params()932 value.vbool = test_bit(ICE_FLAG_RDMA_ENA, pf->flags) ? true : false; in ice_devlink_register_params()
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()3916 if (!err && mlx4_internal_err_reset != saved_value.vbool) { in mlx4_devlink_param_load_driverinit_values()3917 mlx4_internal_err_reset = saved_value.vbool; in mlx4_devlink_param_load_driverinit_values()[all …]
1614 ctx->val.vbool = !cpsw->data.dual_emac; in cpsw_dl_switch_mode_get()1625 bool switch_en = ctx->val.vbool; in cpsw_dl_switch_mode_set()1747 ctx->val.vbool = cpsw_ale_control_get(cpsw->ale, 0, ALE_BYPASS); in cpsw_dl_ale_ctrl_get()1768 ctx->val.vbool); in cpsw_dl_ale_ctrl_set()1770 cpsw->ale_bypass = ctx->val.vbool; in cpsw_dl_ale_ctrl_set()
2281 ctx->val.vbool = !common->is_emac_mode; in am65_cpsw_dl_switch_mode_get()2339 bool switch_en = ctx->val.vbool; in am65_cpsw_dl_switch_mode_set()
533 value.vbool = nsim_dev->test1; in nsim_devlink_set_params_init_values()554 nsim_dev->test1 = saved_value.vbool; in nsim_devlink_param_load_driverinit_values()
419 bool vbool; member
5289 if (val.vbool && in devlink_nl_param_value_fill_one()5532 value->vbool = nla_get_flag(param_data); in devlink_param_value_get_from_info()