Lines Matching refs:lldp_params
1567 struct lldp_config_params_s lldp_params;
1589 ecore_memcpy_from(p_hwfn, p_ptt, &lldp_params, addr,
1590 sizeof(lldp_params));
1592 p_params->tx_interval = GET_MFW_FIELD(lldp_params.config,
1594 p_params->tx_hold = GET_MFW_FIELD(lldp_params.config, LLDP_CONFIG_HOLD);
1595 p_params->tx_credit = GET_MFW_FIELD(lldp_params.config,
1597 p_params->rx_enable = GET_MFW_FIELD(lldp_params.config,
1599 p_params->tx_enable = GET_MFW_FIELD(lldp_params.config,
1602 OSAL_MEMCPY(p_params->chassis_id_tlv, lldp_params.local_chassis_id,
1608 OSAL_MEMCPY(p_params->port_id_tlv, lldp_params.local_port_id,
1622 struct lldp_config_params_s lldp_params;
1646 OSAL_MEMSET(&lldp_params, 0, sizeof(lldp_params));
1647 SET_MFW_FIELD(lldp_params.config, LLDP_CONFIG_TX_INTERVAL,
1649 SET_MFW_FIELD(lldp_params.config, LLDP_CONFIG_HOLD, p_params->tx_hold);
1650 SET_MFW_FIELD(lldp_params.config, LLDP_CONFIG_MAX_CREDIT,
1652 SET_MFW_FIELD(lldp_params.config, LLDP_CONFIG_ENABLE_RX,
1654 SET_MFW_FIELD(lldp_params.config, LLDP_CONFIG_ENABLE_TX,
1660 OSAL_MEMCPY(lldp_params.local_chassis_id, p_params->chassis_id_tlv,
1661 sizeof(lldp_params.local_chassis_id));
1666 OSAL_MEMCPY(lldp_params.local_port_id, p_params->port_id_tlv,
1667 sizeof(lldp_params.local_port_id));
1669 ecore_memcpy_to(p_hwfn, p_ptt, addr, &lldp_params, sizeof(lldp_params));