Lines Matching refs:qbv_param

147 		if (params->qbv_param.state == ETHERNET_QBV_STATE_TYPE_OPER) {  in ethernet_set_config()
152 if (params->qbv_param.type == ETHERNET_QBV_PARAM_TYPE_TIME && in ethernet_set_config()
153 (params->qbv_param.cycle_time.nanosecond >= 1000000000 || in ethernet_set_config()
154 params->qbv_param.base_time.fract_nsecond >= 1000000000)) { in ethernet_set_config()
158 memcpy(&config.qbv_param, &params->qbv_param, in ethernet_set_config()
349 config.qbv_param.port_id = params->qbv_param.port_id; in ethernet_get_config()
350 config.qbv_param.type = params->qbv_param.type; in ethernet_get_config()
351 config.qbv_param.state = params->qbv_param.state; in ethernet_get_config()
353 if (config.qbv_param.type == in ethernet_get_config()
355 config.qbv_param.gate_control.row = in ethernet_get_config()
356 params->qbv_param.gate_control.row; in ethernet_get_config()
366 switch (config.qbv_param.type) { in ethernet_get_config()
368 params->qbv_param.enabled = config.qbv_param.enabled; in ethernet_get_config()
371 memcpy(&params->qbv_param.cycle_time, in ethernet_get_config()
372 &config.qbv_param.cycle_time, in ethernet_get_config()
373 sizeof(params->qbv_param.cycle_time)); in ethernet_get_config()
374 memcpy(&params->qbv_param.base_time, in ethernet_get_config()
375 &config.qbv_param.base_time, in ethernet_get_config()
376 sizeof(params->qbv_param.base_time)); in ethernet_get_config()
377 params->qbv_param.extension_time = in ethernet_get_config()
378 config.qbv_param.extension_time; in ethernet_get_config()
381 params->qbv_param.gate_control_list_len = in ethernet_get_config()
382 config.qbv_param.gate_control_list_len; in ethernet_get_config()
385 memcpy(&params->qbv_param.gate_control, in ethernet_get_config()
386 &config.qbv_param.gate_control, in ethernet_get_config()
387 sizeof(params->qbv_param.gate_control)); in ethernet_get_config()