/Zephyr-latest/drivers/ethernet/ |
D | phy_gecko.c | 25 static void mdio_bus_enable(ETH_TypeDef *eth) in mdio_bus_enable() argument 27 eth->NETWORKCTRL |= ETH_NETWORKCTRL_MANPORTEN; in mdio_bus_enable() 31 static void mdio_bus_disable(ETH_TypeDef *eth) in mdio_bus_disable() argument 33 eth->NETWORKCTRL &= ~ETH_NETWORKCTRL_MANPORTEN; in mdio_bus_disable() 37 static int mdio_bus_wait(ETH_TypeDef *eth) in mdio_bus_wait() argument 41 while (!(eth->NETWORKSTATUS & ETH_NETWORKSTATUS_MANDONE)) { in mdio_bus_wait() 54 static int mdio_bus_send(ETH_TypeDef *eth, uint8_t phy_addr, uint8_t reg_addr, in mdio_bus_send() argument 60 eth->PHYMNGMNT = ETH_PHYMNGMNT_WRITE0_DEFAULT in mdio_bus_send() 71 retval = mdio_bus_wait(eth); in mdio_bus_send() 83 ETH_TypeDef *const eth = phy->regs; in phy_read() local [all …]
|
D | eth_gecko.c | 47 static void link_configure(ETH_TypeDef *eth, uint32_t flags) in link_configure() argument 51 __ASSERT_NO_MSG(eth != NULL); in link_configure() 54 eth->NETWORKCTRL &= ~(ETH_NETWORKCTRL_ENBTX | ETH_NETWORKCTRL_ENBRX); in link_configure() 57 val = eth->NETWORKCFG; in link_configure() 61 eth->NETWORKCFG = val; in link_configure() 64 eth->NETWORKCTRL |= (ETH_NETWORKCTRL_ENBTX | ETH_NETWORKCTRL_ENBRX); in link_configure() 70 ETH_TypeDef *eth = cfg->regs; in eth_gecko_setup_mac() local 87 link_configure(eth, link_status); in eth_gecko_setup_mac() 123 static void rx_error_handler(ETH_TypeDef *eth) in rx_error_handler() argument 125 __ASSERT_NO_MSG(eth != NULL); in rx_error_handler() [all …]
|
D | eth_nxp_imx_netc_psi.c | 127 static uint8_t eth##n##_tx_buff[CONFIG_ETH_NXP_IMX_TX_RING_BUF_SIZE], \ 130 static netc_tx_bd_t eth##n##_txbd_array[CONFIG_ETH_NXP_IMX_TX_RING_NUM] \ 133 static netc_tx_frame_info_t eth##n##_txdirty_array[CONFIG_ETH_NXP_IMX_TX_RING_NUM] \ 136 static rx_buffer_t eth##n##_rx_buff[CONFIG_ETH_NXP_IMX_RX_RING_NUM] \ 139 static uint64_t eth##n##_rx_buff_addr_array[CONFIG_ETH_NXP_IMX_RX_RING_NUM] \ 141 AT_NONCACHEABLE_SECTION(static uint8_t eth##n##_rx_frame[NETC_RX_RING_BUF_SIZE_ALIGN]); \ 143 static netc_rx_bd_t eth##n##_rxbd_array[CONFIG_ETH_NXP_IMX_RX_RING_NUM] \ 152 eth##n##_rx_buff_addr_array[ring][bd] = \ 153 (uint64_t)(uintptr_t)ð##n##_rx_buff[ring][bd]; \ 161 bdr_config->rxBdrConfig[0].bdArray = ð##n##_rxbd_array[0][0]; \ [all …]
|
D | eth_esp32.c | 242 DEVICE_DT_GET(DT_CLOCKS_CTLR(DT_NODELABEL(eth))); in eth_esp32_initialize() 244 (clock_control_subsys_t)DT_CLOCKS_CELL(DT_NODELABEL(eth), offset); in eth_esp32_initialize() 264 res = esp_intr_alloc(DT_IRQ_BY_IDX(DT_NODELABEL(eth), 0, irq), in eth_esp32_initialize() 265 ESP_PRIO_TO_FLAGS(DT_IRQ_BY_IDX(DT_NODELABEL(eth), 0, priority)) | in eth_esp32_initialize() 266 ESP_INT_FLAGS_CHECK(DT_IRQ_BY_IDX(DT_NODELABEL(eth), 0, flags)) | in eth_esp32_initialize()
|
/Zephyr-latest/subsys/net/l2/ethernet/ |
D | ethernet_stats.c | 25 const struct ethernet_api *eth; in eth_stats_get() local 33 eth = net_if_get_device(iface)->api; in eth_stats_get() 34 if (eth == NULL || eth->get_stats == NULL) { in eth_stats_get() 39 src = eth->get_stats(net_if_get_device(iface)); in eth_stats_get()
|
D | vlan.c | 386 const struct ethernet_api *eth = net_if_get_device(iface)->api; in net_eth_vlan_enable() local 390 if (!eth) { in net_eth_vlan_enable() 450 if (eth->vlan_setup) { in net_eth_vlan_enable() 451 eth->vlan_setup(net_if_get_device(iface), in net_eth_vlan_enable() 468 const struct ethernet_api *eth; in net_eth_vlan_disable() local 485 eth = net_if_get_device(vlan->attached_to)->api; in net_eth_vlan_disable() 495 if (eth->vlan_setup) { in net_eth_vlan_disable() 496 eth->vlan_setup(net_if_get_device(vlan->attached_to), in net_eth_vlan_disable()
|
D | arp.h | 60 struct net_eth_addr eth; member
|
D | arp.c | 63 (void)memset(&entry->eth, 0, sizeof(struct net_eth_addr)); in arp_entry_cleanup() 456 net_pkt_lladdr_dst(pkt)->addr = (uint8_t *)&entry->eth; in net_arp_prepare() 477 net_sprint_ll_addr((const uint8_t *)&entry->eth, in arp_gratuitous() 482 memcpy(&entry->eth, hwaddr, sizeof(struct net_eth_addr)); in arp_gratuitous() 647 memcpy(&arp_ent->eth, hwaddr, in net_arp_update() 663 memcpy(&arp_ent->eth, hwaddr, sizeof(arp_ent->eth)); in net_arp_update() 674 memcpy(&entry->eth, hwaddr, sizeof(struct net_eth_addr)); in net_arp_update()
|
/Zephyr-latest/samples/net/sockets/echo_server/src/ |
D | vlan.c | 18 struct net_if *eth; member 25 if (net_if_l2(iface) == &NET_L2_GET_NAME(ETHERNET) && ud->eth == NULL) { in iface_cb() 26 ud->eth = iface; in iface_cb() 118 ret = setup_iface(ud.eth, ud.first, in init_vlan() 127 ret = setup_iface(ud.eth, ud.second, in init_vlan()
|
/Zephyr-latest/tests/net/arp/src/ |
D | main.c | 177 struct net_eth_hdr *eth; in prepare_arp_reply() local 185 eth = NET_ETH_HDR(pkt); in prepare_arp_reply() 190 (void)memset(ð->dst.addr, 0xff, sizeof(struct net_eth_addr)); in prepare_arp_reply() 191 memcpy(ð->src.addr, net_if_get_link_addr(iface)->addr, in prepare_arp_reply() 193 eth->type = htons(NET_ETH_PTYPE_ARP); in prepare_arp_reply() 195 *eth_rep = eth; in prepare_arp_reply() 208 memcpy(&hdr->dst_hwaddr.addr, ð->src.addr, in prepare_arp_reply() 228 struct net_eth_hdr *eth, *eth_req; in prepare_arp_request() local 236 eth = NET_ETH_HDR(pkt); in prepare_arp_request() 243 (void)memset(ð->dst.addr, 0xff, sizeof(struct net_eth_addr)); in prepare_arp_request() [all …]
|
/Zephyr-latest/samples/net/zperf/boards/ |
D | fvp_baser_aemv8r.overlay | 1 ð {
|
D | fvp_base_revc_2xaemv8a.overlay | 1 ð {
|
/Zephyr-latest/samples/net/dhcpv4_client/boards/ |
D | fvp_base_revc_2xaemv8a.overlay | 1 ð {
|
D | fvp_baser_aemv8r.overlay | 1 ð {
|
/Zephyr-latest/drivers/ethernet/nxp_enet/ |
D | eth_mcux.c | 1359 eth##n##_tx_frameinfo_array[CONFIG_ETH_MCUX_TX_BUFFERS]; 1362 .txFrameInfo = eth##n##_tx_frameinfo_array, 1486 static void eth##n##_config_func(void); \ 1501 static struct _phy_resource eth##n##_phy_resource = { \ 1505 static phy_handle_t eth##n##_phy_handle = { \ 1506 .resource = (void *)ð##n##_phy_resource \ 1508 static struct _phy_resource eth##n##_phy_config; \ 1510 static struct eth_context eth##n##_context = { \ 1512 .config_func = eth##n##_config_func, \ 1513 .phy_config = ð##n##_phy_config, \ [all …]
|
/Zephyr-latest/tests/boards/espressif/ethernet/boards/ |
D | esp32_ethernet_kit_procpu.overlay | 7 ð {
|
/Zephyr-latest/samples/boards/espressif/ethernet/boards/ |
D | esp32_ethernet_kit_procpu.overlay | 7 ð {
|
/Zephyr-latest/boards/shields/seeed_w5500/ |
D | seeed_w5500.overlay | 9 eth_w5500: eth-w5500@0 {
|
/Zephyr-latest/dts/arm/silabs/ |
D | efm32gg11b820f2048gl192.dtsi | 26 eth0: eth@40024000 { /* ETH0 */
|
/Zephyr-latest/subsys/net/lib/shell/ |
D | arp.c | 30 net_sprint_ll_addr(entry->eth.addr, sizeof(struct net_eth_addr)), in arp_cb()
|
/Zephyr-latest/boards/qemu/cortex_m3/ |
D | qemu_cortex_m3.dts | 49 ð {
|
/Zephyr-latest/tests/net/virtual/src/ |
D | main.c | 385 struct net_if *eth, *virt, *dummy1, *dummy2; in test_address_setup() local 388 eth = eth_interfaces[0]; in test_address_setup() 393 zassert_not_null(eth, "Eth Interface"); in test_address_setup() 398 ifaddr = net_if_ipv6_addr_add(eth, &my_addr1, NET_ADDR_MANUAL, 0); in test_address_setup() 408 ifaddr = net_if_ipv4_addr_add(eth, &my_addr, NET_ADDR_MANUAL, 0); in test_address_setup() 417 net_if_ipv4_set_netmask_by_addr(eth, &my_addr, &netmask); in test_address_setup() 419 ifaddr = net_if_ipv6_addr_add(eth, &ll_addr, NET_ADDR_MANUAL, 0); in test_address_setup() 444 net_if_up(eth); in test_address_setup()
|
/Zephyr-latest/boards/espressif/esp32_ethernet_kit/ |
D | esp32_ethernet_kit_procpu.dts | 85 ð {
|
/Zephyr-latest/samples/drivers/ethernet/eth_ivshmem/boards/ |
D | qemu_cortex_a53.overlay | 37 compatible = "siemens,ivshmem-eth";
|
/Zephyr-latest/boards/shields/mikroe_eth_click/doc/ |
D | index.rst | 58 https://www.mikroe.com/eth-click
|