/Zephyr-Core-3.5.0/tests/net/ethernet_mgmt/src/ |
D | main.c | 167 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.5.0/drivers/pinctrl/ |
D | pinctrl_xmc4xxx.c | 19 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.5.0/drivers/interrupt_controller/ |
D | intc_xmc4xxx.c | 38 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.5.0/include/zephyr/drivers/interrupt_controller/ |
D | intc_xmc4xxx.h | 28 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.5.0/subsys/net/l2/ethernet/gptp/ |
D | gptp_messages.c | 339 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() 526 memcpy(hdr->port_id.clk_id, GPTP_DEFAULT_DS()->clk_id, in gptp_prepare_announce() 529 hdr->port_id.port_number = htons(port); in gptp_prepare_announce() [all …]
|
D | gptp_md.c | 23 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()
|
D | gptp_data_set.h | 339 struct gptp_port_identity port_id; member 401 struct gptp_port_identity port_id; member
|
D | gptp.c | 407 memcpy(parent_ds->port_id.clk_id, default_ds->clk_id, in gptp_init_clock_ds() 410 parent_ds->port_id.port_number = 0U; in gptp_init_clock_ds() 458 memcpy(port_ds->port_id.clk_id, default_ds->clk_id, GPTP_CLOCK_ID_LEN); in gptp_init_port_ds() 459 port_ds->port_id.port_number = port; in gptp_init_port_ds()
|
D | gptp_mi.c | 1228 if (memcmp(hdr->port_id.clk_id, GPTP_DEFAULT_DS()->clk_id, in gptp_mi_qualify_announce() 1325 spi_cmp = memcmp(&hdr->port_id, &vector->src_port_id, in compare_priority_vectors() 1405 memcpy(&vector->src_port_id, &hdr->port_id, in copy_priority_vector()
|
/Zephyr-Core-3.5.0/drivers/gpio/ |
D | gpio_xmc4xxx.c | 125 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()
|
D | gpio_nrfx.c | 333 static const struct device *get_dev(uint32_t port_id) in get_dev() argument 338 else if (DT_INST_PROP(i, port) == port_id) { \ in get_dev() 355 uint32_t port_id = nrf_gpio_pin_port_number_extract(&pin); in nrfx_gpio_handler() local 356 const struct device *port = get_dev(port_id); in nrfx_gpio_handler()
|
D | gpio_mchp_xec_v2.c | 533 .port_num = DT_INST_PROP(n, port_id), \
|
/Zephyr-Core-3.5.0/samples/net/gptp/src/ |
D | gptp.c | 49 if (port != port_ds->port_id.port_number) { in get_current_status()
|
/Zephyr-Core-3.5.0/subsys/net/l2/ethernet/ |
D | ethernet_mgmt.c | 317 config.qbv_param.port_id = params->qbv_param.port_id; in ethernet_get_config() 364 config.qbu_param.port_id = params->qbu_param.port_id; in ethernet_get_config()
|
/Zephyr-Core-3.5.0/include/zephyr/net/ |
D | lldp.h | 169 struct net_lldp_port_tlv port_id; /**< Mandatory Port TLV */ member
|
D | gptp.h | 175 struct gptp_port_identity port_id; member
|
D | ethernet.h | 254 int port_id; member 318 int port_id; member
|
/Zephyr-Core-3.5.0/samples/net/sockets/txtime/src/ |
D | main.c | 433 params.qbv_param.port_id = i; in set_qbv_params() 461 params.qbv_param.port_id = i; in set_qbv_params() 475 params.qbv_param.port_id = i; in set_qbv_params()
|
/Zephyr-Core-3.5.0/subsys/net/l2/ethernet/lldp/ |
D | lldp.c | 370 .port_id = {
|
/Zephyr-Core-3.5.0/subsys/net/ip/ |
D | net_shell.c | 3049 NET_ASSERT(port == port_ds->port_id.port_number, in gptp_print_port_info() 3051 port_ds->port_id.port_number); in gptp_print_port_info() 3053 PR("Port id : %d (%s)\n", port_ds->port_id.port_number, in gptp_print_port_info() 3054 selected_role_str(port_ds->port_id.port_number)); in gptp_print_port_info() 3057 for (i = 0; i < sizeof(port_ds->port_id.clk_id); i++) { in gptp_print_port_info() 3058 PR("%02x", port_ds->port_id.clk_id[i]); in gptp_print_port_info() 3060 if (i != (sizeof(port_ds->port_id.clk_id) - 1)) { in gptp_print_port_info()
|