/openbmc/linux/drivers/net/ethernet/netronome/nfp/flower/ |
H A D | qos_conf.c | 115 nfp_ctrl_tx(app->ctrl, skb); in nfp_flower_offload_one_police() 339 nfp_ctrl_tx(repr->app->ctrl, skb); in nfp_flower_remove_rate_limiter() 358 return nfp_act_stats_reply(app, msg); in nfp_flower_stats_rlim_reply() 396 skb = nfp_flower_cmsg_alloc(fl_priv->app, in nfp_flower_stats_rlim_request() 412 nfp_ctrl_tx(fl_priv->app->ctrl, skb); in nfp_flower_stats_rlim_request() 509 nfp_init_meter_table(app); in nfp_flower_qos_init() 564 struct nfp_flower_priv *priv = app->priv; in nfp_flower_search_meter_entry() 574 struct nfp_flower_priv *priv = app->priv; in nfp_flower_add_meter_entry() 605 struct nfp_flower_priv *priv = app->priv; in nfp_flower_del_meter_entry() 666 struct nfp_flower_priv *priv = app->priv; in nfp_init_meter_table() [all …]
|
H A D | metadata.c | 42 struct nfp_flower_priv *priv = app->priv; in nfp_release_stats_entry() 60 struct nfp_flower_priv *priv = app->priv; in nfp_get_stats_entry() 106 struct nfp_flower_priv *priv = app->priv; in nfp_flower_search_fl_table() 118 struct nfp_flower_priv *priv = app->priv; in nfp_flower_rx_flow_stats() 139 struct nfp_flower_priv *priv = app->priv; in nfp_release_mask_id() 163 struct nfp_flower_priv *priv = app->priv; in nfp_mask_alloc() 209 struct nfp_flower_priv *priv = app->priv; in nfp_add_mask_table() 214 if (nfp_mask_alloc(app, &mask_id)) in nfp_add_mask_table() 219 nfp_release_mask_id(app, mask_id); in nfp_add_mask_table() 296 nfp_release_mask_id(app, *mask_id); in nfp_check_mask_remove() [all …]
|
H A D | offload.c | 134 nfp_ctrl_tx(app->ctrl, skb); in nfp_flower_xmit_flow() 247 struct nfp_flower_priv *priv = app->priv; in nfp_flower_calculate_key_layers() 1005 struct nfp_flower_priv *priv = app->priv; in nfp_flower_merge_offloaded_flows() 1128 struct nfp_flower_priv *priv = app->priv; in nfp_flower_validate_pre_tun_rule() 1333 struct nfp_flower_priv *priv = app->priv; in nfp_flower_add_offload() 1437 nfp_modify_flow_metadata(app, flow_pay); in nfp_flower_add_offload() 1455 struct nfp_flower_priv *priv = app->priv; in nfp_flower_remove_merge_flow() 1486 err = nfp_flower_xmit_flow(app, origin, in nfp_flower_remove_merge_flow() 1550 struct nfp_flower_priv *priv = app->priv; in nfp_flower_del_offload() 1834 struct nfp_app *app; member [all …]
|
/openbmc/linux/Documentation/sphinx/ |
H A D | automarkup.py | 77 def markup_refs(docname, app, node): argument 138 cdom = app.env.domains['c'] 166 xref = cdom.resolve_xref(app.env, docname, app.builder, 178 def markup_c_ref(docname, app, match): argument 198 cdom = app.env.domains['c'] 225 xref = cdom.resolve_xref(app.env, docname, app.builder, 241 stddom = app.env.domains['std'] 258 xref = stddom.resolve_xref(app.env, docname, app.builder, 'doc', 270 def get_c_namespace(app, docname): argument 279 def auto_markup(app, doctree, name): argument [all …]
|
/openbmc/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_dcb_nl.c | 717 if (app->selector == cfg->app[i].selector && in ice_dcbnl_find_app() 718 app->prot_id == cfg->app[i].prot_id && in ice_dcbnl_find_app() 719 app->priority == cfg->app[i].priority) in ice_dcbnl_find_app() 845 new_cfg->dscp_map[app->protocol] = app->priority; in ice_dcbnl_setapp() 894 if (app->selector == new_cfg->app[i].selector && in ice_dcbnl_delapp() 895 app->protocol == new_cfg->app[i].prot_id && in ice_dcbnl_delapp() 896 app->priority == new_cfg->app[i].priority) { in ice_dcbnl_delapp() 913 new_cfg->app[j].selector = old_cfg->app[j + 1].selector; in ice_dcbnl_delapp() 914 new_cfg->app[j].prot_id = old_cfg->app[j + 1].prot_id; in ice_dcbnl_delapp() 928 new_cfg->dscp_map[app->protocol] = app->protocol % in ice_dcbnl_delapp() [all …]
|
/openbmc/phosphor-gpio-monitor/ |
H A D | mainapp.cpp | 29 CLI::App app{"Monitor GPIO line for requested state change"}; in main() local 39 app.add_option("-p,--path", path, in main() 42 app.add_option("-k,--key", key, "Input GPIO key number")->required(); in main() 43 app.add_option("-r,--polarity", polarity, in main() 46 app.add_option("-t,--target", target, in main() 49 app.add_flag("-c,--continue", continueRun, in main() 54 app.allow_extras(); in main() 59 app.parse(argc, argv); in main() 63 return app.exit(e); in main()
|
/openbmc/openbmc/poky/documentation/sphinx/ |
H A D | yocto-vars.py | 27 def subst_vars_replace(app: Sphinx, docname, source): 33 def yocto_vars_env_get_outdated(app: Sphinx, env, added, changed, removed): 41 poky_cache = Path(app.outdir) / ".poky.yaml.cache" 50 for p in Path(app.srcdir).rglob("*.rst"): 52 p_rel_no_ext = p.relative_to(app.srcdir).parent / p.stem 56 def yocto_vars_build_finished(app: Sphinx, exception): 57 poky_cache = Path(app.outdir) / ".poky.yaml.cache" 65 def setup(app: Sphinx): 78 app.connect('source-read', subst_vars_replace) 79 app.connect('env-get-outdated', yocto_vars_env_get_outdated) [all …]
|
/openbmc/linux/drivers/net/ethernet/netronome/nfp/nic/ |
H A D | main.c | 11 static int nfp_nic_init(struct nfp_app *app) in nfp_nic_init() argument 13 struct nfp_pf *pf = app->pf; in nfp_nic_init() 24 static int nfp_nic_sriov_enable(struct nfp_app *app, int num_vfs) in nfp_nic_sriov_enable() argument 29 static void nfp_nic_sriov_disable(struct nfp_app *app) in nfp_nic_sriov_disable() argument 33 static int nfp_nic_vnic_init(struct nfp_app *app, struct nfp_net *nn) in nfp_nic_vnic_init() argument 38 static void nfp_nic_vnic_clean(struct nfp_app *app, struct nfp_net *nn) in nfp_nic_vnic_clean() argument 43 static int nfp_nic_vnic_alloc(struct nfp_app *app, struct nfp_net *nn, in nfp_nic_vnic_alloc() argument 49 err = nfp_app_nic_vnic_alloc(app, nn, id); in nfp_nic_vnic_alloc() 62 static void nfp_nic_vnic_free(struct nfp_app *app, struct nfp_net *nn) in nfp_nic_vnic_free() argument
|
H A D | dcb.c | 118 struct nfp_app *app = nn->app; in nfp_fill_maxrate() local 212 struct nfp_app *app = nn->app; in dcb_ets_check() local 268 struct nfp_app *app = nn->app; in nfp_nic_dcbnl_ieee_setets() local 292 nfp_warn(app->cpp, in nfp_nic_dcbnl_ieee_setets() 332 struct nfp_app *app = nn->app; in nfp_nic_dcbnl_ieee_setmaxrate() local 339 nfp_warn(app->cpp, in nfp_nic_dcbnl_ieee_setmaxrate() 457 if (app->priority != old_app.priority || app->priority == 0) { in nfp_nic_dcbnl_ieee_setapp() 458 err = nfp_nic_set_dscp2prio(nn, app->protocol, app->priority); in nfp_nic_dcbnl_ieee_setapp() 490 if (app->priority != dcb->dscp2prio[app->protocol]) in nfp_nic_dcbnl_ieee_delapp() 525 struct nfp_app *app = nn->app; in nfp_nic_dcb_init() local [all …]
|
/openbmc/bmcweb/redfish-core/lib/ |
H A D | bios.hpp | 16 handleBiosServiceGet(crow::App& app, const crow::Request& req, in handleBiosServiceGet() argument 20 if (!redfish::setUpRedfishRoute(app, req, asyncResp)) in handleBiosServiceGet() 52 inline void requestRoutesBiosService(App& app) in requestRoutesBiosService() argument 54 BMCWEB_ROUTE(app, "/redfish/v1/Systems/<str>/Bios/") in requestRoutesBiosService() 57 std::bind_front(handleBiosServiceGet, std::ref(app))); in requestRoutesBiosService() 68 handleBiosResetPost(crow::App& app, const crow::Request& req, in handleBiosResetPost() argument 72 if (!redfish::setUpRedfishRoute(app, req, asyncResp)) in handleBiosResetPost() 105 inline void requestRoutesBiosReset(App& app) in requestRoutesBiosReset() argument 107 BMCWEB_ROUTE(app, "/redfish/v1/Systems/<str>/Bios/Actions/Bios.ResetBios/") in requestRoutesBiosReset() 110 std::bind_front(handleBiosResetPost, std::ref(app))); in requestRoutesBiosReset()
|
H A D | certificate_service.hpp | 399 App& app, const crow::Request& req, in handleCertificateServiceGet() argument 443 App& app, const crow::Request& req, in handleCertificateLocationsGet() argument 466 App& app, const crow::Request& req, in handleReplaceCertificateAction() argument 860 app, in requestRoutesCertificateService() 867 app, in requestRoutesCertificateService() 875 App& app, const crow::Request& req, in handleHTTPSCertificateCollectionGet() argument 905 App& app, const crow::Request& req, in handleHTTPSCertificateCollectionPost() argument 962 App& app, const crow::Request& req, in handleHTTPSCertificateGet() argument 1002 app, in requestRoutesHTTPSCertificate() 1274 BMCWEB_ROUTE(app, in requestRoutesTrustStoreCertificate() [all …]
|
H A D | environment_metrics.hpp | 18 App& app, const crow::Request& req, in handleEnvironmentMetricsHead() argument 22 if (!redfish::setUpRedfishRoute(app, req, asyncResp)) in handleEnvironmentMetricsHead() 45 App& app, const crow::Request& req, in handleEnvironmentMetricsGet() argument 49 if (!redfish::setUpRedfishRoute(app, req, asyncResp)) in handleEnvironmentMetricsGet() 77 inline void requestRoutesEnvironmentMetrics(App& app) in requestRoutesEnvironmentMetrics() argument 79 BMCWEB_ROUTE(app, "/redfish/v1/Chassis/<str>/EnvironmentMetrics/") in requestRoutesEnvironmentMetrics() 82 std::bind_front(handleEnvironmentMetricsHead, std::ref(app))); in requestRoutesEnvironmentMetrics() 84 BMCWEB_ROUTE(app, "/redfish/v1/Chassis/<str>/EnvironmentMetrics/") in requestRoutesEnvironmentMetrics() 87 std::bind_front(handleEnvironmentMetricsGet, std::ref(app))); in requestRoutesEnvironmentMetrics()
|
H A D | thermal_metrics.hpp | 38 App& app, const crow::Request& req, in handleThermalMetricsHead() argument 42 if (!redfish::setUpRedfishRoute(app, req, asyncResp)) in handleThermalMetricsHead() 63 handleThermalMetricsGet(App& app, const crow::Request& req, in handleThermalMetricsGet() argument 67 if (!redfish::setUpRedfishRoute(app, req, asyncResp)) in handleThermalMetricsGet() 77 inline void requestRoutesThermalMetrics(App& app) in requestRoutesThermalMetrics() argument 79 BMCWEB_ROUTE(app, in requestRoutesThermalMetrics() 83 std::bind_front(handleThermalMetricsHead, std::ref(app))); in requestRoutesThermalMetrics() 85 BMCWEB_ROUTE(app, in requestRoutesThermalMetrics() 89 std::bind_front(handleThermalMetricsGet, std::ref(app))); in requestRoutesThermalMetrics()
|
H A D | log_services.hpp | 1434 app, in requestRoutesJournalEventLogClear() 3218 app, in requestRoutesBMCDumpEntryDownload() 3228 app, in requestRoutesBMCDumpCreate() 3239 app, in requestRoutesBMCDumpClear() 3249 app, in requestRoutesDBusEventLogEntryDownload() 3292 app, in requestRoutesFaultLogDumpClear() 3334 app, in requestRoutesSystemDumpCreate() 3345 app, in requestRoutesSystemDumpClear() 3421 app, in requestRoutesCrashdumpClear() 3652 app, in requestRoutesCrashdumpFile() [all …]
|
H A D | power_subsystem.hpp | 46 App& app, const crow::Request& req, in handlePowerSubsystemCollectionHead() argument 50 if (!redfish::setUpRedfishRoute(app, req, asyncResp)) in handlePowerSubsystemCollectionHead() 71 App& app, const crow::Request& req, in handlePowerSubsystemCollectionGet() argument 75 if (!redfish::setUpRedfishRoute(app, req, asyncResp)) in handlePowerSubsystemCollectionGet() 85 inline void requestRoutesPowerSubsystem(App& app) in requestRoutesPowerSubsystem() argument 87 BMCWEB_ROUTE(app, "/redfish/v1/Chassis/<str>/PowerSubsystem/") in requestRoutesPowerSubsystem() 90 std::bind_front(handlePowerSubsystemCollectionHead, std::ref(app))); in requestRoutesPowerSubsystem() 92 BMCWEB_ROUTE(app, "/redfish/v1/Chassis/<str>/PowerSubsystem/") in requestRoutesPowerSubsystem() 95 std::bind_front(handlePowerSubsystemCollectionGet, std::ref(app))); in requestRoutesPowerSubsystem()
|
/openbmc/linux/drivers/net/ethernet/netronome/nfp/ |
H A D | nfp_net_repr.h | 55 struct nfp_app *app; member 91 nfp_repr_get_locked(struct nfp_app *app, struct nfp_reprs *set, 97 int nfp_repr_init(struct nfp_app *app, struct net_device *netdev, 102 nfp_repr_alloc_mqs(struct nfp_app *app, unsigned int txqs, unsigned int rxqs); 104 void nfp_reprs_clean_and_free(struct nfp_app *app, struct nfp_reprs *reprs); 105 void nfp_reprs_clean_and_free_by_type(struct nfp_app *app, 108 int nfp_reprs_resync_phys_ports(struct nfp_app *app); 110 static inline struct net_device *nfp_repr_alloc(struct nfp_app *app) in nfp_repr_alloc() argument 112 return nfp_repr_alloc_mqs(app, 1, 1); in nfp_repr_alloc()
|
H A D | nfp_app_nic.c | 11 int nfp_app_nic_vnic_init_phy_port(struct nfp_pf *pf, struct nfp_app *app, in nfp_app_nic_vnic_init_phy_port() argument 19 nn->port = nfp_port_alloc(app, NFP_PORT_PHYS_PORT, nn->dp.netdev); in nfp_app_nic_vnic_init_phy_port() 23 err = nfp_port_init_phy_port(pf, app, nn->port, id); in nfp_app_nic_vnic_init_phy_port() 32 int nfp_app_nic_vnic_alloc(struct nfp_app *app, struct nfp_net *nn, in nfp_app_nic_vnic_alloc() argument 37 err = nfp_app_nic_vnic_init_phy_port(app->pf, app, nn, id); in nfp_app_nic_vnic_alloc() 41 nfp_net_get_mac_addr(app->pf, nn->dp.netdev, nn->port); in nfp_app_nic_vnic_alloc()
|
H A D | nfp_net_repr.c | 23 nfp_app_is_locked(app)); in nfp_repr_get_locked() 207 err = nfp_app_repr_stop(repr->app, repr); in nfp_repr_stop() 224 err = nfp_app_repr_open(repr->app, repr); in nfp_repr_open() 391 if (nfp_app_has_tc(app)) { in nfp_repr_init() 396 err = nfp_app_repr_init(app, netdev); in nfp_repr_init() 407 nfp_app_repr_clean(app, netdev); in nfp_repr_init() 438 repr->app = app; in nfp_repr_alloc_mqs() 481 nfp_app_is_locked(app)); in nfp_reprs_clean_and_free_by_type() 491 nfp_app_repr_preclean(app, netdev); in nfp_reprs_clean_and_free_by_type() 497 nfp_reprs_clean_and_free(app, reprs); in nfp_reprs_clean_and_free_by_type() [all …]
|
/openbmc/phosphor-fan-presence/cooling-type/ |
H A D | main.cpp | 20 CLI::App app{"Phosphor Cooling type"}; in main() local 27 app.add_option("-p,--path", objpath, in main() 30 app.add_flag("-a,--air", air, in main() 32 app.add_flag("-w,--water", water, in main() 34 app.add_option( in main() 37 app.add_option("-e,--event", keycode, "Keycode for pin to read"); in main() 38 app.allow_extras(); in main() 41 app.parse(argc, argv); in main() 45 return app.exit(e); in main()
|
/openbmc/linux/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_dcb_nl.c | 194 struct dcb_app *app) in i40e_dcbnl_ieee_setapp() argument 270 if (app->selector == pf->tmp_cfg.app[i].selector && in i40e_dcbnl_ieee_delapp() 271 app->protocol == pf->tmp_cfg.app[i].protocolid && in i40e_dcbnl_ieee_delapp() 272 app->priority == pf->tmp_cfg.app[i].priority) { in i40e_dcbnl_ieee_delapp() 288 pf->tmp_cfg.app[j] = old_cfg->app[j + 1]; in i40e_dcbnl_ieee_delapp() 759 struct dcb_app app = { in i40e_dcbnl_getapp() local 961 app->protocolid, app->priority); in i40e_dcbnl_del_app() 979 if (app->selector == cfg->app[i].selector && in i40e_dcbnl_find_app() 980 app->protocolid == cfg->app[i].protocolid && in i40e_dcbnl_find_app() 981 app->priority == cfg->app[i].priority) in i40e_dcbnl_find_app() [all …]
|
/openbmc/linux/drivers/hid/ |
H A D | hid-multitouch.c | 736 app->buttons_count++; in mt_touch_input_mapping() 922 return app->num_received; in mt_compute_slot() 968 app->num_received = 0; in mt_sync_frame() 983 app->jiffies = jiffies; in mt_compute_timestamp() 1026 app->num_received >= app->num_expected) in mt_process_slot() 1215 app->timestamp = mt_compute_timestamp(app, scantime); in mt_touch_report() 1247 app->num_received++; in mt_touch_report() 1263 if (app->num_received >= app->num_expected) in mt_touch_report() 1307 mt_post_parse(td, app); in mt_touch_input_configured() 1336 app->mt_flags = 0; in mt_touch_input_configured() [all …]
|
/openbmc/openpower-debug-collector/dump/ |
H A D | dump_collect_main.cpp | 20 CLI::App app{"Dump Collector Application", "dump-collect"}; in main() local 21 app.description( in main() 31 app.add_option("--type, -t", type, "Type of the dump") in main() 37 app.add_option("--id, -i", id, "ID of the dump")->required(); in main() 39 app.add_option("--path, -p", pathStr, in main() 43 app.add_option("--failingunit, -f", failingUnit, "ID of the failing unit"); in main() 47 CLI11_PARSE(app, argc, argv); in main() 51 return app.exit(e); in main()
|
/openbmc/webui-vue/src/layouts/ |
H A D | AppLayout.vue | 2 <div class="app-container"> 3 <app-header 5 class="app-header" 9 <app-navigation class="app-navigation" /> 10 <page-container class="app-content"> 66 .app-container { 82 .app-header { 89 .app-navigation { 93 .app-content {
|
/openbmc/phosphor-gpio-monitor/presence/ |
H A D | main.cpp | 62 CLI::App app{"Monitor gpio presence status"}; in main() local 72 app.add_option( in main() 76 app.add_option("-k,--key", key, "Input GPIO key number")->required(); in main() 77 app.add_option("-n,--name", name, "Pretty name of the inventory item") in main() 79 app.add_option("-i,--inventory", inventory, in main() 82 app.add_option( in main() 88 app.add_option( in main() 98 app.parse(argc, argv); in main() 102 return app.exit(e); in main()
|
/openbmc/phosphor-power/power-supply/ |
H A D | main.cpp | 32 CLI::App app{"PSU Monitor"}; in main() local 41 app.add_option("-p,--path", objpath, "Path to location to monitor\n") in main() 43 app.add_option("-n,--instance", instnum, in main() 46 app.add_option("-i,--inventory", invpath, in main() 49 app.add_option( in main() 53 app.add_option( in main() 57 app.add_option("-u,--sync-gpio-num", syncGPIONum, in main() 63 app.parse(argc, argv); in main() 67 return app.exit(e); in main()
|