Home
last modified time | relevance | path

Searched refs:port_number (Results 1 – 18 of 18) sorted by relevance

/Zephyr-latest/subsys/net/lib/ptp/
Dbtca.c26 diff = p1->port_number - p2->port_number; in btca_port_id_cmp()
73 if (a->receiver.port_number > b->receiver.port_number) { in btca_ds_cmp2()
76 if (a->receiver.port_number > b->receiver.port_number) { in btca_ds_cmp2()
Dtlv.c218 parent_ds->port_id.port_number = ntohs(parent_ds->port_id.port_number); in tlv_mgmt_post_recv()
240 port_ds->id.port_number = ntohs(port_ds->id.port_number); in tlv_mgmt_post_recv()
298 parent_ds->port_id.port_number = htons(parent_ds->port_id.port_number); in tlv_mgmt_pre_send()
314 port_ds->id.port_number = htons(port_ds->id.port_number); in tlv_mgmt_pre_send()
Dport.c59 port_id->port_number); in port_id_str()
142 ds->id.port_number = dds->n_ports + 1; in port_ds_init()
165 msg->header.src_port_id.port_number = ntohs(msg->header.src_port_id.port_number); in port_delay_req_timestamp_cb()
195 port->port_ds.id.port_number, in port_delay_req_timestamp_cb()
213 msg->header.src_port_id.port_number = ntohs(msg->header.src_port_id.port_number); in port_sync_timestamp_cb()
244 LOG_DBG("Port %d sends Follow_Up message", port->port_ds.id.port_number); in port_sync_timestamp_cb()
285 LOG_DBG("Port %d sends Announce message", port->port_ds.id.port_number); in port_announce_msg_transmit()
320 LOG_DBG("Port %d sends Delay_Req message", port->port_ds.id.port_number); in port_delay_req_msg_transmit()
356 LOG_DBG("Port %d sends Sync message", port->port_ds.id.port_number); in port_sync_msg_transmit()
651 LOG_DBG("Port %d responds to Delay_Req message", port->port_ds.id.port_number); in port_delay_req_msg_process()
[all …]
Dddt.h60 uint16_t port_number; member
Dclock.c152 iter->port_ds.id.port_number); in clock_forward_management_msg()
195 ptp_clk.parent_ds.port_id.port_number = 0; in clock_update_grandmaster()
494 if (target_port->port_number == port->port_ds.id.port_number) { in ptp_clock_management_msg_process()
496 } else if (target_port->port_number == UINT16_MAX) { in ptp_clock_management_msg_process()
607 ds->sender.port_number = 0; in ptp_clock_ds()
608 ds->receiver.port_number = 0; in ptp_clock_ds()
Dmsg.c68 port_id->port_number = ntohs(port_id->port_number); in msg_port_id_post_recv()
73 port_id->port_number = htons(port_id->port_number); in msg_port_id_pre_send()
386 LOG_DBG("Port %d received %s message", port->port_ds.id.port_number, msg_type_str(msg)); in ptp_msg_post_recv()
Dtransport.c256 port->port_ds.id.port_number); in ptp_transport_close()
/Zephyr-latest/subsys/net/l2/ethernet/gptp/
Dgptp_messages.c324 hdr->port_id.port_number = htons(port_ds->port_id.port_number); in gptp_prepare_pdelay_req()
382 hdr->port_id.port_number = htons(port_ds->port_id.port_number); in gptp_prepare_pdelay_resp()
441 hdr->port_id.port_number = htons(port_ds->port_id.port_number); in gptp_prepare_pdelay_follow_up()
515 hdr->port_id.port_number = htons(port); in gptp_prepare_announce()
689 if (resp->requesting_port_id.port_number != htons(port)) { in gptp_handle_pdelay_resp()
749 if (follow_up->requesting_port_id.port_number != htons(port)) { in gptp_handle_pdelay_follow_up()
Dgptp_md.c17 int port_number) in gptp_md_sync_prepare() argument
26 hdr->port_id.port_number = htons(port_number); in gptp_md_sync_prepare()
34 int port_number) in gptp_md_follow_up_prepare() argument
47 hdr->port_id.port_number = htons(port_number); in gptp_md_follow_up_prepare()
Dgptp_mi.c569 state->pss_sync_ptr->sync_info.src_port_id.port_number = port; in gptp_mi_pss_send_state_machine()
979 sync_info->src_port_id.port_number = 0U; in gptp_mi_set_ps_sync_cmss()
1342 port_cmp = (int)port - ntohs(vector->port_number); in compare_priority_vectors()
1422 vector->port_number = htons(port); in copy_priority_vector()
1691 if (ntohs(challenger->port_number) < in compute_best_vector()
1692 ntohs(best_vector->port_number)) { in compute_best_vector()
1727 global_ds->gm_priority.port_number = best_vector->port_number; in compute_best_vector()
1746 bmca_data->master_priority.port_number = htons(port); in update_bmca()
1747 bmca_data->master_priority.src_port_id.port_number = in update_bmca()
1755 bmca_data->master_priority.port_number = htons(port); in update_bmca()
[all …]
Dgptp_state.h173 uint16_t port_number; member
Dgptp.c408 parent_ds->port_id.port_number = 0U; in gptp_init_clock_ds()
457 port_ds->port_id.port_number = port; in gptp_init_port_ds()
/Zephyr-latest/samples/net/gptp/src/
Dgptp.c49 if (port != port_ds->port_id.port_number) { in get_current_status()
/Zephyr-latest/subsys/net/lib/shell/
Dgptp.c296 NET_ASSERT(port == port_ds->port_id.port_number, in gptp_print_port_info()
298 port_ds->port_id.port_number); in gptp_print_port_info()
300 PR("Port id : %d (%s)\n", port_ds->port_id.port_number, in gptp_print_port_info()
301 selected_role_str(port_ds->port_id.port_number)); in gptp_print_port_info()
/Zephyr-latest/include/zephyr/net/
Dgptp.h132 uint16_t port_number; member
/Zephyr-latest/drivers/gpio/
Dgpio_renesas_ra_ioport.c271 #define GPIO_DEVICE_INIT(node, port_number, suffix, addr) \ argument
280 .port_num = port_number, \
/Zephyr-latest/boards/quicklogic/quick_feather/doc/
Dindex.rst95 target remote <port_number>
/Zephyr-latest/boards/telink/tlsr9518adk80d/doc/
Dindex.rst242 west debug --gdb-port=<port_number> --gdb-ex=<additional_ex_arguments>