Home
last modified time | relevance | path

Searched refs:port_id (Results 1 – 20 of 20) sorted by relevance

/Zephyr-Core-3.6.0/tests/net/ethernet_mgmt/src/
Dmain.c167 int queue_id, port_id; in eth_fake_set_config() local
241 port_id = config->qbv_param.port_id; in eth_fake_set_config()
244 if (port_id < 0 || port_id >= ports_num) { 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()
[all …]
/Zephyr-Core-3.6.0/drivers/pinctrl/
Dpinctrl_xmc4xxx.c19 int port_id, pin, alt_fun, hwctrl; in pinctrl_configure_pin() local
23 port_id = XMC4XXX_PINMUX_GET_PORT(pinmux); in pinctrl_configure_pin()
24 if (port_id >= DT_INST_REG_SIZE(0) / GPIO_REG_SIZE) { in pinctrl_configure_pin()
66 gpio_port = (XMC_GPIO_PORT_t *)((uint32_t)DT_INST_REG_ADDR(0) + port_id * GPIO_REG_SIZE); in pinctrl_configure_pin()
/Zephyr-Core-3.6.0/drivers/interrupt_controller/
Dintc_xmc4xxx.c38 uint8_t port_id; member
55 int intc_xmc4xxx_gpio_enable_interrupt(int port_id, int pin, enum gpio_int_mode mode, in intc_xmc4xxx_gpio_enable_interrupt() argument
75 if (port_map != port_id || pin_map != pin) { in intc_xmc4xxx_gpio_enable_interrupt()
101 cb->port_id = port_id; in intc_xmc4xxx_gpio_enable_interrupt()
144 int intc_xmc4xxx_gpio_disable_interrupt(int port_id, int pin) in intc_xmc4xxx_gpio_disable_interrupt() argument
156 if (cb->fn && cb->port_id == port_id && cb->pin == pin) { in intc_xmc4xxx_gpio_disable_interrupt()
/Zephyr-Core-3.6.0/include/zephyr/drivers/interrupt_controller/
Dintc_xmc4xxx.h28 int intc_xmc4xxx_gpio_enable_interrupt(int port_id, int pin, enum gpio_int_mode mode,
41 int intc_xmc4xxx_gpio_disable_interrupt(int port_id, int pin);
/Zephyr-Core-3.6.0/subsys/net/l2/ethernet/gptp/
Dgptp_messages.c339 hdr->port_id.port_number = htons(port_ds->port_id.port_number); in gptp_prepare_pdelay_req()
348 memcpy(hdr->port_id.clk_id, in gptp_prepare_pdelay_req()
349 port_ds->port_id.clk_id, GPTP_CLOCK_ID_LEN); in gptp_prepare_pdelay_req()
397 hdr->port_id.port_number = htons(port_ds->port_id.port_number); in gptp_prepare_pdelay_resp()
406 memcpy(hdr->port_id.clk_id, port_ds->port_id.clk_id, in gptp_prepare_pdelay_resp()
415 &query->port_id, sizeof(struct gptp_port_identity)); in gptp_prepare_pdelay_resp()
456 hdr->port_id.port_number = htons(port_ds->port_id.port_number); in gptp_prepare_pdelay_follow_up()
468 memcpy(hdr->port_id.clk_id, port_ds->port_id.clk_id, in gptp_prepare_pdelay_follow_up()
527 memcpy(hdr->port_id.clk_id, GPTP_DEFAULT_DS()->clk_id, in gptp_prepare_announce()
530 hdr->port_id.port_number = htons(port); in gptp_prepare_announce()
[all …]
Dgptp_md.c23 memcpy(&hdr->port_id.clk_id, &sync_send->src_port_id.clk_id, in gptp_md_sync_prepare()
26 hdr->port_id.port_number = htons(port_number); in gptp_md_sync_prepare()
41 memcpy(&hdr->port_id.clk_id, &sync_send->src_port_id.clk_id, in gptp_md_follow_up_prepare()
44 hdr->port_id.port_number = htons(port_number); in gptp_md_follow_up_prepare()
97 memcpy(&sync_rcv->src_port_id, &sync_hdr->port_id, in gptp_set_md_sync_receive()
366 hdr->port_id.clk_id, in gptp_md_pdelay_compute()
Dgptp_data_set.h339 struct gptp_port_identity port_id; member
401 struct gptp_port_identity port_id; member
Dgptp.c405 memcpy(parent_ds->port_id.clk_id, default_ds->clk_id, in gptp_init_clock_ds()
408 parent_ds->port_id.port_number = 0U; in gptp_init_clock_ds()
456 memcpy(port_ds->port_id.clk_id, default_ds->clk_id, GPTP_CLOCK_ID_LEN); in gptp_init_port_ds()
457 port_ds->port_id.port_number = port; in gptp_init_port_ds()
Dgptp_mi.c1237 if (memcmp(hdr->port_id.clk_id, GPTP_DEFAULT_DS()->clk_id, in gptp_mi_qualify_announce()
1334 spi_cmp = memcmp(&hdr->port_id, &vector->src_port_id, in compare_priority_vectors()
1414 memcpy(&vector->src_port_id, &hdr->port_id, in copy_priority_vector()
/Zephyr-Core-3.6.0/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()
304 for (i = 0; i < sizeof(port_ds->port_id.clk_id); i++) { in gptp_print_port_info()
305 PR("%02x", port_ds->port_id.clk_id[i]); in gptp_print_port_info()
307 if (i != (sizeof(port_ds->port_id.clk_id) - 1)) { in gptp_print_port_info()
/Zephyr-Core-3.6.0/drivers/gpio/
Dgpio_xmc4xxx.c125 int port_id = PORT_TO_PORT_ID(config->port); in gpio_xmc4xxx_pin_interrupt_configure() local
128 return intc_xmc4xxx_gpio_enable_interrupt(port_id, pin, mode, trig, in gpio_xmc4xxx_pin_interrupt_configure()
131 return intc_xmc4xxx_gpio_disable_interrupt(port_id, pin); in gpio_xmc4xxx_pin_interrupt_configure()
Dgpio_nrfx.c351 static const struct device *get_dev(uint32_t port_id) in get_dev() argument
356 else if (DT_INST_PROP(i, port) == port_id) { \ in get_dev()
373 uint32_t port_id = nrf_gpio_pin_port_number_extract(&pin); in nrfx_gpio_handler() local
374 const struct device *port = get_dev(port_id); in nrfx_gpio_handler()
Dgpio_mchp_xec_v2.c533 .port_num = DT_INST_PROP(n, port_id), \
/Zephyr-Core-3.6.0/samples/net/gptp/src/
Dgptp.c49 if (port != port_ds->port_id.port_number) { in get_current_status()
/Zephyr-Core-3.6.0/subsys/net/l2/ethernet/
Dethernet_mgmt.c338 config.qbv_param.port_id = params->qbv_param.port_id; in ethernet_get_config()
385 config.qbu_param.port_id = params->qbu_param.port_id; in ethernet_get_config()
/Zephyr-Core-3.6.0/include/zephyr/net/
Dlldp.h169 struct net_lldp_port_tlv port_id; /**< Mandatory Port TLV */ member
Dgptp.h175 struct gptp_port_identity port_id; member
Dethernet.h305 int port_id; member
369 int port_id; member
/Zephyr-Core-3.6.0/samples/net/sockets/txtime/src/
Dmain.c441 params.qbv_param.port_id = i; in set_qbv_params()
469 params.qbv_param.port_id = i; in set_qbv_params()
483 params.qbv_param.port_id = i; in set_qbv_params()
/Zephyr-Core-3.6.0/subsys/net/l2/ethernet/lldp/
Dlldp.c370 .port_id = {