Lines Matching refs:app_ent
2255 struct bnx2x_admin_priority_app_table *app_ent, in bnx2x_admin_app_set_ent() argument
2258 app_ent->valid = 1; in bnx2x_admin_app_set_ent()
2262 app_ent->traffic_type = TRAFFIC_TYPE_ETH; in bnx2x_admin_app_set_ent()
2265 app_ent->traffic_type = TRAFFIC_TYPE_PORT; in bnx2x_admin_app_set_ent()
2270 app_ent->app_id = idval; in bnx2x_admin_app_set_ent()
2271 app_ent->priority = up; in bnx2x_admin_app_set_ent()
2275 struct bnx2x_admin_priority_app_table *app_ent, in bnx2x_admin_app_is_equal() argument
2278 if (!app_ent->valid) in bnx2x_admin_app_is_equal()
2283 if (app_ent->traffic_type != TRAFFIC_TYPE_ETH) in bnx2x_admin_app_is_equal()
2287 if (app_ent->traffic_type != TRAFFIC_TYPE_PORT) in bnx2x_admin_app_is_equal()
2293 if (app_ent->app_id != idval) in bnx2x_admin_app_is_equal()
2305 struct bnx2x_admin_priority_app_table *app_ent = in bnx2x_set_admin_app_up() local
2307 if (bnx2x_admin_app_is_equal(app_ent, idtype, idval)) in bnx2x_set_admin_app_up()
2310 if (ff < 0 && !app_ent->valid) in bnx2x_set_admin_app_up()