/Zephyr-latest/dts/bindings/ethernet/ |
D | ethernet-phy.yaml | 1 # Copyright (c) 2021 IP-Logix Inc. 2 # SPDX-License-Identifier: Apache-2.0 8 compatible: "ethernet-phy" 16 no-reset: 19 fixed-link: 23 - "10BASE-T Half-Duplex" 24 - "10BASE-T Full-Duplex" 25 - "100BASE-T Half-Duplex" 26 - "100BASE-T Full-Duplex" 27 - "1000BASE-T Half-Duplex" [all …]
|
D | microchip,enc424j600.yaml | 2 # SPDX-License-Identifier: Apache-2.0 5 ENC424J600 standalone 100BASE-T Ethernet controller with SPI interface 9 include: [spi-device.yaml, ethernet-controller.yaml] 12 int-gpios: 13 type: phandle-array
|
D | microchip,lan9250.yaml | 2 # SPDX-License-Identifier: Apache-2.0 5 LAN9250 standalone 10/100BASE-T Ethernet controller with SPI interface 9 include: [spi-device.yaml, ethernet-controller.yaml] 12 int-gpios: 13 type: phandle-array
|
D | wiznet,w5500.yaml | 2 # SPDX-License-Identifier: Apache-2.0 4 description: W5500 standalone 10/100BASE-T Ethernet controller with SPI interface 8 include: [spi-device.yaml, ethernet-controller.yaml] 11 int-gpios: 12 type: phandle-array 19 reset-gpios: 20 type: phandle-array
|
/Zephyr-latest/include/zephyr/net/ |
D | mii.h | 5 * SPDX-License-Identifier: Apache-2.0 33 /** Auto-Negotiation Advertisement Register */ 35 /** Auto-Negotiation Link Partner Ability Reg */ 37 /** Auto-Negotiation Expansion Register */ 39 /** Auto-Negotiation Next Page Transmit Register */ 41 /** Auto-Negotiation Link Partner Received Next Page Reg */ 43 /** 1000BASE-T Control Register */ 45 /** 1000BASE-T Status Register */ 59 /** 10=1000Mbps 01=100Mbps; 00=10Mbps */ 61 /** Auto-Negotiation enable */ [all …]
|
D | phy.h | 8 * Copyright (c) 2021 IP-Logix Inc. 11 * SPDX-License-Identifier: Apache-2.0 33 /** 10Base-T Half-Duplex */ 35 /** 10Base-T Full-Duplex */ 37 /** 100Base-T Half-Duplex */ 39 /** 100Base-T Full-Duplex */ 41 /** 1000Base-T Half-Duplex */ 43 /** 1000Base-T Full-Duplex */ 45 /** 2.5GBase-T Full-Duplex */ 47 /** 5GBase-T Full-Duplex */ [all …]
|
D | mdio.h | 4 * SPDX-License-Identifier: Apache-2.0 42 /** IEEE 802.3 45.3.4 post-read-increment-address operation */ 62 /** Auto-negotiation */ 104 /* Auto-negotiation Register: EEE advertisement Register */ 108 /* BASE-T1 registers */ 109 /** BASE-T1 Auto-negotiation control */ 111 /** BASE-T1 Auto-negotiation status */ 113 /** BASE-T1 Auto-negotiation advertisement register [15:0] */ 115 /** BASE-T1 Auto-negotiation advertisement register [31:16] */ 117 /** BASE-T1 Auto-negotiation advertisement register [47:32] */ [all …]
|
/Zephyr-latest/drivers/ethernet/ |
D | phy_cyclonev.c | 4 * SPDX-License-Identifier: Apache-2.0 8 * downloads/en/DeviceDoc/KSZ9021RL-RN-Data-Sheet-DS00003050A.pdf) 51 #define PHY_AUTOCAP BIT(3) /* Auto-negotiation capability */ 55 /* Auto-Negotiation Advertisement */ 64 /* 1000Base-T Control */ 103 return -1; in alt_eth_phy_write_register() 122 sys_write32(phy_value & 0xffff, EMAC_GMAC_GMII_DATA_ADDR(p->base_addr)); in alt_eth_phy_write_register() 124 sys_write32(tmpreg & 0xffff, EMAC_GMAC_GMII_ADDR_ADDR(p->base_addr)); in alt_eth_phy_write_register() 130 tmpreg = sys_read32(EMAC_GMAC_GMII_ADDR_ADDR(p->base_addr)); in alt_eth_phy_write_register() 135 return -1; in alt_eth_phy_write_register() [all …]
|
D | phy_gecko.c | 5 * SPDX-License-Identifier: Apache-2.0 18 /* Maximum time to establish a link through auto-negotiation for 19 * 10BASE-T, 100BASE-TX is 3.7s, to add an extra margin the timeout 27 eth->NETWORKCTRL |= ETH_NETWORKCTRL_MANPORTEN; in mdio_bus_enable() 33 eth->NETWORKCTRL &= ~ETH_NETWORKCTRL_MANPORTEN; in mdio_bus_disable() 39 uint32_t retries = 100U; /* will wait up to 1 s */ in mdio_bus_wait() 41 while (!(eth->NETWORKSTATUS & ETH_NETWORKSTATUS_MANDONE)) { in mdio_bus_wait() 42 if (retries-- == 0U) { in mdio_bus_wait() 44 return -ETIMEDOUT; in mdio_bus_wait() 60 eth->PHYMNGMNT = ETH_PHYMNGMNT_WRITE0_DEFAULT in mdio_bus_send() [all …]
|
/Zephyr-latest/samples/drivers/led/xec/src/ |
D | main.c | 4 * SPDX-License-Identifier: Apache-2.0 17 #define K_WAIT_DELAY 100u 70 uint32_t base = led_dev_table[n].base_addr; in led_test() local 72 LOG_INF("BBLED instance %d @ %x", n, base); in led_test() 73 print_bbled_regs(base); in led_test() 76 LOG_ERR("%s: device not ready", dev->name); in led_test() 80 LOG_INF("blink: T = 0.5 second, duty cycle = 0.5"); in led_test() 87 print_bbled_regs(base); in led_test() 92 LOG_INF("blink: T = 3 seconds, duty cycle = 0.4"); in led_test() 99 print_bbled_regs(base); in led_test() [all …]
|
/Zephyr-latest/dts/arm/nxp/ |
D | nxp_rt1010.dtsi | 4 * SPDX-License-Identifier: Apache-2.0 10 flexram,num-ram-banks = <4>; 12 flexram,bank-spec = <FLEXRAM_OCRAM>, 19 clock-frequency = <500000000>; 35 /delete-node/ arm-podf; 37 ipg-podf { 38 clock-div = <4>; 61 irq-shared-offset = <0>; 62 dma-channels = <16>; 67 /* Remove GPIO3-GPIO9, they don't exist on RT1010 */ [all …]
|
/Zephyr-latest/subsys/shell/modules/kernel_service/thread/ |
D | list.c | 5 * SPDX-License-Identifier: Apache-2.0 30 pcnt = (rt_stats_thread.execution_cycles * 100U) / in rt_stats_dump() 37 * so it won't increase RAM/ROM usage too much on 32-bit in rt_stats_dump() 68 size_t size = thread->stack_info.size; in shell_tdata_dump() 75 shell_print(sh, "%s%p %-10s", in shell_tdata_dump() 81 thread->base.user_options, in shell_tdata_dump() 82 thread->base.prio, in shell_tdata_dump() 83 (int64_t)thread->base.timeout.dticks); in shell_tdata_dump() 86 thread->entry.pEntry); in shell_tdata_dump() 89 shell_print(sh, "\tcpu_mask: 0x%x", thread->base.cpu_mask); in shell_tdata_dump() [all …]
|
/Zephyr-latest/samples/net/cloud/tagoio_http_post/src/ |
D | main.c | 4 * SPDX-License-Identifier: Apache-2.0 26 LOG_DBG("Partial data received (%zd bytes)", rsp->data_len); in response_cb() 28 LOG_DBG("All the data received (%zd bytes)", rsp->data_len); in response_cb() 31 LOG_DBG("Response status %s", rsp->http_status); in response_cb() 38 #define base 1000.00f in collect_data() macro 42 /* Generate a temperature between 20 and 100 celsius degree */ in collect_data() 43 temp = ((sys_rand32_get() % (upper - lower + 1)) + lower); in collect_data() 44 temp /= base; in collect_data() 51 /* LOG doesn't print float #18351 */ in collect_data() 77 LOG_INF("TagoIO IoT - HTTP Client - Temperature demo"); in main()
|
/Zephyr-latest/subsys/net/ip/ |
D | net_stats.c | 4 * SPDX-License-Identifier: Apache-2.0 54 return "VI"; /* Video, < 100 ms latency and jitter */ in priority2str() 69 return (int64_t)(val1 - val2); in cmp_val() 88 NET_INFO("IPv6 recv %d\tsent\t%d\tdrop\t%d\tforwarded\t%d", in stats() 94 NET_INFO("IPv6 ND recv %d\tsent\t%d\tdrop\t%d", in stats() 100 NET_INFO("IPv6 PMTU recv %d\tsent\t%d\tdrop\t%d", in stats() 106 NET_INFO("IPv6 MLD recv %d\tsent\t%d\tdrop\t%d", in stats() 114 NET_INFO("IPv4 recv %d\tsent\t%d\tdrop\t%d\tforwarded\t%d", in stats() 121 NET_INFO("IP vhlerr %d\thblener\t%d\tlblener\t%d", in stats() 125 NET_INFO("IP fragerr %d\tchkerr\t%d\tprotoer\t%d", in stats() [all …]
|
/Zephyr-latest/drivers/i2c/ |
D | i2c_mcux.c | 4 * SPDX-License-Identifier: Apache-2.0 23 #include "i2c-priv.h" 26 ((I2C_Type *)((const struct i2c_mcux_config * const)(dev)->config)->base) 29 I2C_Type *base; member 54 I2C_Type *base = DEV_BASE(dev); in i2c_mcux_configure() local 55 struct i2c_mcux_data *data = dev->data; in i2c_mcux_configure() 56 const struct i2c_mcux_config *config = dev->config; in i2c_mcux_configure() 61 return -EINVAL; in i2c_mcux_configure() 65 return -EINVAL; in i2c_mcux_configure() 70 baudrate = KHZ(100); in i2c_mcux_configure() [all …]
|
D | i2c_rv32m1_lpi2c.c | 8 * SPDX-License-Identifier: Apache-2.0 23 #include "i2c-priv.h" 26 LPI2C_Type *base; member 46 const struct rv32m1_lpi2c_config *config = dev->config; in rv32m1_lpi2c_configure() 52 /* Slave mode not supported - yet */ in rv32m1_lpi2c_configure() 54 return -ENOTSUP; in rv32m1_lpi2c_configure() 58 /* FSL LPI2C driver only supports 7-bit addressing */ in rv32m1_lpi2c_configure() 60 return -ENOTSUP; in rv32m1_lpi2c_configure() 65 baudrate = KHZ(100); in rv32m1_lpi2c_configure() 73 /* TODO: only if SCL pin implements current source pull-up */ in rv32m1_lpi2c_configure() [all …]
|
D | i2c_mcux_lpi2c_rtio.c | 3 * Copyright 2019-2023, NXP 7 * SPDX-License-Identifier: Apache-2.0 30 #include "i2c-priv.h" 38 ((const struct mcux_lpi2c_config *)(_dev)->config) 39 #define DEV_DATA(_dev) ((struct mcux_lpi2c_data *)(_dev)->data) 74 dev->data)->ctx; in mcux_lpi2c_configure() 82 const struct mcux_lpi2c_config *config = dev->config; in mcux_lpi2c_do_configure() 83 LPI2C_Type *base = (LPI2C_Type *)DEVICE_MMIO_NAMED_GET(dev, reg_base); in mcux_lpi2c_do_configure() local 88 return -EINVAL; in mcux_lpi2c_do_configure() 92 return -EINVAL; in mcux_lpi2c_do_configure() [all …]
|
D | i2c_mcux_flexcomm.c | 5 * SPDX-License-Identifier: Apache-2.0 21 #include "i2c-priv.h" 30 I2C_Type *base; member 65 const struct mcux_flexcomm_config *config = dev->config; in mcux_flexcomm_configure() 66 struct mcux_flexcomm_data *data = dev->data; in mcux_flexcomm_configure() 67 I2C_Type *base = config->base; in mcux_flexcomm_configure() local 72 return -EINVAL; in mcux_flexcomm_configure() 76 return -EINVAL; in mcux_flexcomm_configure() 81 baudrate = KHZ(100); in mcux_flexcomm_configure() 90 return -EINVAL; in mcux_flexcomm_configure() [all …]
|
D | i2c_xilinx_axi.c | 1 /* SPDX-License-Identifier: Apache-2.0 */ 17 #include "i2c-priv.h" 21 mem_addr_t base; member 45 sys_write32(SOFTR_KEY, config->base + REG_SOFTR); in i2c_xilinx_axi_reinit() 46 sys_write32(CR_TX_FIFO_RST, config->base + REG_CR); in i2c_xilinx_axi_reinit() 47 sys_write32(CR_EN, config->base + REG_CR); in i2c_xilinx_axi_reinit() 48 sys_write32(GIE_ENABLE, config->base + REG_GIE); in i2c_xilinx_axi_reinit() 62 sys_write32(ISR_ADDR_TARGET, config->base + REG_IER); in i2c_xilinx_axi_target_setup() 63 sys_write32(cfg->address << 1, config->base + REG_ADR); in i2c_xilinx_axi_target_setup() 64 sys_write32(0, config->base + REG_RX_FIFO_PIRQ); in i2c_xilinx_axi_target_setup() [all …]
|
/Zephyr-latest/arch/xtensa/core/ |
D | fatal.c | 3 * SPDX-License-Identifier: Apache-2.0 36 return "level-1 interrupt"; in xtensa_exccause() 91 /* Don't want to get elbowed by xtensa_switch in xtensa_fatal_error() 102 xtensa_backtrace_print(100, (int *)esf); in xtensa_fatal_error() 116 "mov a3, %[code]\n\t" in xtensa_simulator_exit() 117 "movi a2, %[call]\n\t" in xtensa_simulator_exit() 118 "simcall\n\t" in xtensa_simulator_exit() 128 xtensa_simulator_exit(255 - reason); in arch_system_halt() 143 if ((arch_current_thread()->base.user_options & K_USER) != 0) { in z_impl_xtensa_user_fault()
|
/Zephyr-latest/drivers/pwm/ |
D | pwm_ite_it8xxx2.c | 4 * SPDX-License-Identifier: Apache-2.0 12 #include <zephyr/dt-bindings/pwm/it8xxx2_pwm.h> 23 #define PWM_CTRX_MIN 100 38 /* PWM prescaler control register base */ 39 struct pwm_it8xxx2_regs *base; member 54 const struct pwm_it8xxx2_cfg *config = dev->config; in pwm_enable() 55 volatile uint8_t *reg_pcsgr = (uint8_t *)config->reg_pcsgr; in pwm_enable() 56 int ch = config->channel; in pwm_enable() 74 * 1) pwm_set_cycles_usec() -> pwm_set_cycles_cycles() -> pwm_it8xxx2_set_cycles() in pwm_it8xxx2_get_cycles_per_sec() 78 * 2) pwm_set_cycles_nsec() -> pwm_set_cycles_cycles() -> pwm_it8xxx2_set_cycles() in pwm_it8xxx2_get_cycles_per_sec() [all …]
|
/Zephyr-latest/drivers/ethernet/eth_nxp_enet_qos/ |
D | eth_nxp_enet_qos_mac.c | 4 * SPDX-License-Identifier: Apache-2.0 43 struct nxp_enet_qos_mac_data *data = dev->data; in eth_nxp_enet_qos_iface_init() 45 net_if_set_link_addr(iface, data->mac_addr.addr, in eth_nxp_enet_qos_iface_init() 46 sizeof(((struct net_eth_addr *)NULL)->addr), NET_LINK_ETHERNET); in eth_nxp_enet_qos_iface_init() 48 if (data->iface == NULL) { in eth_nxp_enet_qos_iface_init() 49 data->iface = iface; in eth_nxp_enet_qos_iface_init() 57 const struct nxp_enet_qos_mac_config *config = dev->config; in eth_nxp_enet_qos_tx() 58 struct nxp_enet_qos_mac_data *data = dev->data; in eth_nxp_enet_qos_tx() 59 enet_qos_t *base = config->base; in eth_nxp_enet_qos_tx() local 61 volatile union nxp_enet_qos_tx_desc *tx_desc_ptr = data->tx.descriptors; in eth_nxp_enet_qos_tx() [all …]
|
/Zephyr-latest/subsys/net/lib/coap/ |
D | Kconfig | 4 # SPDX-License-Identifier: Apache-2.0 21 bool "CoAP ./well-known/core services block wise support" 24 to ./well-known/core request. Without this option all resource's 30 int "CoAP ./well-known/core services block wise support" 56 int "base length of the random generated initial ACK timeout in ms" 60 This value is used as a base value to retry pending CoAP packets. 83 range 1 100 96 This option enables MQTT-style wildcards in path. Disable it if 102 This option enables keeping application-specific user data 108 This option enables the API for CoAP-client for sending CoAP requests [all …]
|
/Zephyr-latest/scripts/west_commands/ |
D | sdk.py | 3 # SPDX-License-Identifier: Apache-2.0 42 See 'west sdk list --help' for details. 48 See 'west sdk install --help' for details. 82 Set --version option to install a specific version of the SDK. 86 You can specify the installation directory with --install-dir or --install-base. 89 --install-dir and --install-base. 91 Typically, Zephyr SDK archives contain only one directory named zephyr-sdk-<version> 93 … The SDK archive is extracted to the home directory if both --install-dir and --install-base 95 In this case, SDK will install into ${HOME}/zephyr-sdk-<version>. 96 … If --install-base is specified, the archive will be extracted under the specified path. [all …]
|
/Zephyr-latest/boards/segger/ip_k66f/ |
D | ip_k66f.dts | 4 * SPDX-License-Identifier: Apache-2.0 7 /dts-v1/; 11 #include "ip_k66f-pinctrl.dtsi" 20 dsa-spi = &spi1; 26 zephyr,code-partition = &slot0_partition; 30 compatible = "gpio-leds"; 44 clock-frequency = <120000000>; 48 pllfll-select = <KINETIS_SIM_PLLFLLSEL_MCGPLLCLK>; 49 er32k-select = <KINETIS_SIM_ER32KSEL_RTC>; 52 clock-div = <3>; [all …]
|