Lines Matching full:port
28 #define GPTP_STATS_INC(port, var) (GPTP_PORT_PARAM_DS(port)->var++) argument
30 #define GPTP_STATS_INC(port, var)
36 * Utility to check if a port is configured as a slave.
38 * @param port Port to check.
40 * @return True if this is a slave port.
42 bool gptp_is_slave_port(int port);
45 * @brief Convert the network interface to the correct port number.
47 * @param iface Network Interface acting as a ptp port.
49 * @return Number of the port if found, ENODEV otherwise.
79 * @param port Port number.
83 void gptp_update_pdelay_req_interval(int port, int8_t log_val);
88 * @param port Port number.
92 void gptp_update_sync_interval(int port, int8_t log_val);
97 * @param port Port number.
102 void gptp_update_announce_interval(int port, int8_t log_val);
121 * @brief Change the port state
123 * @param port Port number of the clock to use.
127 void gptp_change_port_state(int port, enum gptp_port_state state);
129 #define gptp_change_port_state(port, state) \ argument
130 gptp_change_port_state_debug(port, state, __func__, __LINE__)
132 void gptp_change_port_state_debug(int port, enum gptp_port_state state,
138 int port,
142 #define gptp_change_pa_info_state(port, pa_info_state, state) \ argument
143 gptp_change_pa_info_state_debug(port, pa_info_state, state, \
147 int port,