Lines Matching refs:ports
71 } ports[2]; member
162 int ports_num = ARRAY_SIZE(ctx->ports); in eth_fake_set_config()
250 ctx->ports[port_id].qbv_enabled = in eth_fake_set_config()
254 memcpy(&ctx->ports[port_id].cycle_time, in eth_fake_set_config()
256 sizeof(ctx->ports[port_id].cycle_time)); in eth_fake_set_config()
257 ctx->ports[port_id].extension_time = in eth_fake_set_config()
259 memcpy(&ctx->ports[port_id].base_time, in eth_fake_set_config()
261 sizeof(ctx->ports[port_id].base_time)); in eth_fake_set_config()
264 ctx->ports[port_id].gate_control.gate_status[0] = in eth_fake_set_config()
266 ctx->ports[port_id].gate_control.gate_status[1] = in eth_fake_set_config()
270 ctx->ports[port_id].gate_control_list_len = in eth_fake_set_config()
288 ctx->ports[port_id].qbu_enabled = in eth_fake_set_config()
292 ctx->ports[port_id].release_advance = in eth_fake_set_config()
296 ctx->ports[port_id].hold_advance = in eth_fake_set_config()
300 ctx->ports[port_id].link_partner_status = in eth_fake_set_config()
304 ctx->ports[port_id].additional_fragment_size = in eth_fake_set_config()
308 memcpy(&ctx->ports[port_id].frame_preempt_statuses, in eth_fake_set_config()
310 sizeof(ctx->ports[port_id].frame_preempt_statuses)); in eth_fake_set_config()
356 int ports_num = ARRAY_SIZE(ctx->ports); in eth_fake_get_config()
368 config->ports_num = ARRAY_SIZE(ctx->ports); in eth_fake_get_config()
414 ctx->ports[port_id].qbv_enabled; in eth_fake_get_config()
418 &ctx->ports[port_id].base_time, in eth_fake_get_config()
421 &ctx->ports[port_id].cycle_time, in eth_fake_get_config()
424 ctx->ports[port_id].extension_time; in eth_fake_get_config()
428 ctx->ports[port_id].gate_control_list_len; in eth_fake_get_config()
432 &ctx->ports[port_id].gate_control, in eth_fake_get_config()
451 ctx->ports[port_id].qbu_enabled; in eth_fake_get_config()
455 ctx->ports[port_id].release_advance; in eth_fake_get_config()
459 ctx->ports[port_id].hold_advance; in eth_fake_get_config()
463 ctx->ports[port_id].link_partner_status; in eth_fake_get_config()
467 ctx->ports[port_id].additional_fragment_size; in eth_fake_get_config()
471 &ctx->ports[port_id].frame_preempt_statuses, in eth_fake_get_config()
967 ARRAY_SIZE(ctx->ports), in ZTEST()
1143 ARRAY_SIZE(ctx->ports), in ZTEST()