Home
last modified time | relevance | path

Searched +full:address +full:- +full:1 (Results 1 – 25 of 1067) sorted by relevance

12345678910>>...43

/Zephyr-latest/drivers/ethernet/phy/
Dphy_dm8806_priv.h4 * SPDX-License-Identifier: Apache-2.0
18 #define DUPLEX_MODE (1 << 8)
20 #define POWER_DOWN (1 << 11)
22 #define AUTO_NEGOTIATION (1 << 12)
24 #define LINK_SPEED (1 << 13)
44 /* Address Table Control And Status Register PHY Address */
46 /* Address Table Control And Status Register Register SAddress */
49 /* Address Table Access bussy flag offset */
51 /* Address Table Command Result flag offset */
53 /* Address Table Command Result flag mask */
[all …]
/Zephyr-latest/subsys/net/l2/ethernet/lldp/
DKconfig2 # SPDX-License-Identifier: Apache-2.0
15 module-dep = NET_LOG
16 module-str = Log level for LLDP
17 module-help = Enables core LLDP code to output debug messages.
26 range 1 3600
29 (non-fast mode) transmission periods. For further information
35 range 1 100
57 range 1 7
61 Subtype 1 = Chassis component
64 Subtype 4 = MAC address
[all …]
/Zephyr-latest/samples/net/cellular_modem/server/
Dte_udp_receive.py2 # SPDX-License-Identifier: Apache-2.0
11 def __init__(self, address, timeout = 1): argument
12 self.address = address
19 return self.address
23 self.packets_received += 1
25 self.packets_dropped += 1
30 if (time.monotonic() - self.last_packet_received_at) > self.timeout:
34 def _validate_packet_(self, data: bytes) -> bool:
37 prng_state = ((1103515245 * prng_state) + 12345) % (1 << 31)
53 self.thread.join(1)
[all …]
/Zephyr-latest/scripts/dts/python-devicetree/tests/
Dtest.dts4 * SPDX-License-Identifier: BSD-3-Clause
9 /dts-v1/;
16 interrupt-parent-test {
18 compatible = "interrupt-three-cell";
19 #interrupt-cells = <3>;
20 interrupt-controller;
23 interrupts = <1 2 3 4 5 6>;
24 interrupt-names = "foo", "bar";
25 interrupt-parent = <&{/interrupt-parent-test/controller}>;
28 interrupts-extended-test {
[all …]
/Zephyr-latest/tests/bluetooth/host/id/bt_id_create/src/
Dmain.c4 * SPDX-License-Identifier: Apache-2.0
36 /* This is required to test when the generated address already exists in the ID list */ in bt_addr_le_create_static_custom_fake()
37 if (bt_addr_le_create_static_fake.call_count == 1) { in bt_addr_le_create_static_custom_fake()
48 * As a NULL is passed to bt_id_create() for the address and 'BT_DEV_ENABLE' is set,
49 * a new random address is generated.
52 * - Input address is NULL
53 * - Input IRK is NULL
54 * - 'BT_DEV_ENABLE' flag is set in bt_dev.flags
55 * - bt_addr_le_create_static() returns a zero error code (success)
58 * - A new identity is created and the address is loaded to bt_dev.id_addr[]
[all …]
Dtest_suite_privacy_enabled.c4 * SPDX-License-Identifier: Apache-2.0
44 * A valid random static address is passed to bt_id_create() for the address and 'BT_DEV_ENABLE' is
45 * set, the same address is used and copied to bt_dev.id_addr[].
48 * - Valid private random address is used
49 * - Input IRK is NULL
50 * - 'BT_DEV_ENABLE' flag is set in bt_dev.flags
53 * - The same address is used and loaded to bt_dev.id_addr[]
54 * - IRK is loaded to bt_dev.irk[]
55 * - bt_dev.id_count is incremented
66 bt_addr_le_create_static_fake.return_val = -1; in ZTEST()
[all …]
/Zephyr-latest/tests/bluetooth/host/id/bt_id_reset/src/
Dmain.c4 * SPDX-License-Identifier: Apache-2.0
41 /* This is required to test when the generated address already exists in the ID list */ in bt_addr_le_create_static_custom_fake()
42 if (bt_addr_le_create_static_fake.call_count == 1) { in bt_addr_le_create_static_custom_fake()
52 * Test resetting an ID while using a NULL value for the address.
53 * As a NULL is passed to bt_id_reset() for the address and 'BT_DEV_ENABLE' is set,
54 * a new random address is generated.
57 * - Input address is NULL
58 * - Input IRK is NULL
59 * - 'BT_DEV_ENABLE' flag is set in bt_dev.flags
60 * - bt_addr_le_create_static() returns a zero error code (success)
[all …]
/Zephyr-latest/drivers/flash/
Dspi_nor.h2 * Copyright (c) 2018 Savoir-Faire Linux.
4 * SPDX-License-Identifier: Apache-2.0
16 #define SPI_NOR_WEL_BIT BIT(1) /* Write enable latch */
27 #define SPI_NOR_CMD_DREAD 0x3B /* Read data (1-1-2) */
28 #define SPI_NOR_CMD_2READ 0xBB /* Read data (1-2-2) */
29 #define SPI_NOR_CMD_QREAD 0x6B /* Read data (1-1-4) */
30 #define SPI_NOR_CMD_4READ 0xEB /* Read data (1-4-4) */
34 #define SPI_NOR_CMD_PP_1_1_2 0xA2 /* Dual Page program (1-1-2) */
35 #define SPI_NOR_CMD_PP_1_1_4 0x32 /* Quad Page program (1-1-4) */
36 #define SPI_NOR_CMD_PP_1_4_4 0x38 /* Quad Page program (1-4-4) */
[all …]
/Zephyr-latest/dts/riscv/openisa/
Drv32m1.dtsi3 * SPDX-License-Identifier: Apache-2.0
6 #include <zephyr/dt-bindings/interrupt-controller/openisa-intmux.h>
7 #include <zephyr/dt-bindings/gpio/gpio.h>
8 #include <zephyr/dt-bindings/i2c/i2c.h>
9 #include <zephyr/dt-bindings/pwm/pwm.h>
12 #address-cells = <1>;
13 #size-cells = <1>;
17 zephyr,flash-controller = &ftfe;
21 #address-cells = <1>;
22 #size-cells = <0>;
[all …]
/Zephyr-latest/drivers/sensor/bosch/bmi323/
Dbmi323_spi.c4 * SPDX-License-Identifier: Apache-2.0
15 uint8_t address[2]; in bosch_bmi323_spi_read_words() local
22 address[0] = offset | 0x80; in bosch_bmi323_spi_read_words()
23 address[1] = 0x00; in bosch_bmi323_spi_read_words()
25 transmit_buffer.buf = address; in bosch_bmi323_spi_read_words()
26 transmit_buffer.len = sizeof(address); in bosch_bmi323_spi_read_words()
29 transmit_buffer_set.count = 1; in bosch_bmi323_spi_read_words()
33 receive_buffers[1].buf = words; in bosch_bmi323_spi_read_words()
34 receive_buffers[1].len = (words_count * 2); in bosch_bmi323_spi_read_words()
50 uint8_t address; in bosch_bmi323_spi_write_words() local
[all …]
/Zephyr-latest/dts/bindings/i3c/
Di3c-device.yaml2 # SPDX-License-Identifier: Apache-2.0
8 on-bus: i3c
16 For I3C devices, the 3 fields are static address, first half
18 1. The static address can be assigned to be the target device's
19 dynamic address before Dynamic Address Assignment (DAA)
20 starts. Can be zero if static address is not used, and
21 target address is determined via DAA.
23 ID left-shifted by 1, where the manufacturer ID is
24 the bits 33-47 (zero-based) of the 48-bit Provisioned ID.
26 the part ID (bits 16-31 of the Provisioned ID) left-shifted
[all …]
/Zephyr-latest/drivers/ethernet/
Deth_e1000_priv.h4 * SPDX-License-Identifier: Apache-2.0
14 #define CTRL_SLU (1 << 6) /* Set Link Up */
16 #define TCTL_EN (1 << 1)
17 #define RCTL_EN (1 << 1)
19 #define ICR_TXDW (1) /* Transmit Descriptor Written Back */
20 #define ICR_TXQE (1 << 1) /* Transmit Queue Empty */
21 #define ICR_RXO (1 << 6) /* Receiver Overrun */
23 #define IMS_RXO (1 << 6) /* Receiver FIFO Overrun */
25 #define RCTL_MPE (1 << 4) /* Multicast Promiscuous Enabled */
27 #define TDESC_EOP (1) /* End Of Packet */
[all …]
DKconfig.sam_gmac4 # SPDX-License-Identifier: Apache-2.0
25 DT_ETH_SAM_GMAC_NQ := $(dt_node_int_prop_int,$(DT_ETH_SAM_GMAC_PATH),num-queues)
29 default 1
30 range 1 $(DT_ETH_SAM_GMAC_NQ) if SOC_SERIES_SAME70 || \
40 depends on ETH_SAM_GMAC_QUEUES > 1
53 range 0 1 if ETH_SAM_GMAC_QUEUES = 2
80 Read MAC address from an I2C EEPROM.
85 hex "I2C EEPROM internal address"
88 Internal address of the EEPROM chip where the MAC address is stored.
89 Chips with 1 to 4 byte internal address size are supported. Address
[all …]
/Zephyr-latest/tests/drivers/build_all/ethernet/
Dspi_devices.overlay4 * SPDX-License-Identifier: Apache-2.0
9 * with real-world devicetree nodes, to allow these tests to run on
15 #address-cells = <1>;
16 #size-cells = <1>;
20 gpio-controller;
22 #gpio-cells = <0x2>;
27 #address-cells = <1>;
28 #size-cells = <0>;
32 clock-frequency = <2000000>;
35 cs-gpios = <&test_gpio 0 0>,
[all …]
/Zephyr-latest/include/zephyr/dt-bindings/flash_controller/
Dxspi.h4 * SPDX-License-Identifier: Apache-2.0
15 /* XSPI mode operating on 1 line, 2 lines, 4 lines or 8 lines */
16 /* 1 Cmd Line, 1 Address Line and 1 Data Line */
17 #define XSPI_SPI_MODE 1
18 /* 2 Cmd Lines, 2 Address Lines and 2 Data Lines */
20 /* 4 Cmd Lines, 4 Address Lines and 4 Data Lines */
22 /* 8 Cmd Lines, 8 Address Lines and 8 Data Lines */
27 #define XSPI_STR_TRANSFER 1
Dospi.h4 * SPDX-License-Identifier: Apache-2.0
17 /* OSPI mode operating on 1 line, 2 lines, 4 lines or 8 lines */
18 /* 1 Cmd Line, 1 Address Line and 1 Data Line */
19 #define OSPI_SPI_MODE 1
20 /* 2 Cmd Lines, 2 Address Lines and 2 Data Lines */
22 /* 4 Cmd Lines, 4 Address Lines and 4 Data Lines */
24 /* 8 Cmd Lines, 8 Address Lines and 8 Data Lines */
29 #define OSPI_STR_TRANSFER 1
/Zephyr-latest/arch/xtensa/core/
Dxtensa_hifi.S4 * SPDX-License-Identifier: Apache-2.0
10 #include <xtensa/config/tie-asm.h>
13 * Load the HiFi registers from the hifi buffer in the BSA. Round the address
18 * A0 - return address (do not modify)
19 * A1 - address of BSA (do not modify)
20 * A2 - available for use
21 * A3 - available for use
26 addi a2, a1, (___xtensa_irq_bsa_t_hifi_OFFSET + XCHAL_CP1_SA_ALIGN - 1)
27 movi a3, ~(XCHAL_CP1_SA_ALIGN - 1)
35 * Save the HiFi registers into the hifi buffer in the BSA. Round the address
[all …]
/Zephyr-latest/soc/espressif/esp32s2/
DKconfig.mac2 # SPDX-License-Identifier: Apache-2.0
7 bool "Number of universally administered (by IEEE) MAC address"
12 derived from a single base MAC address. If the number of universal MAC addresses is two,
14 address.
15 They are generated sequentially by adding 0, and 1 (respectively) to the final octet of
16 the base MAC address. If the number of universal MAC addresses is one, only WiFi station
17 receives a universally administered MAC address.
20 When using the default (Espressif-assigned) base MAC address, either setting can be used.
21 When using a custom universal MAC address range, the correct setting will depend on the
22 allocation of MAC addresses in this range (either 1 or 2 per device).
[all …]
/Zephyr-latest/cmake/linker_script/common/
Ddebug-sections.cmake1 # Content of this file originates from include/zephyr/linker/debug-sections.ld
2 # Following sections are obtained via 'ld --verbose'
5 zephyr_linker_section(NAME .stab ADDRESS 0)
6 zephyr_linker_section(NAME .stabstr ADDRESS 0)
7 zephyr_linker_section(NAME .stab.excl ADDRESS 0)
8 zephyr_linker_section(NAME .stab.exclstr ADDRESS 0)
9 zephyr_linker_section(NAME .stab.index ADDRESS 0)
10 zephyr_linker_section(NAME .stab.indexstr ADDRESS 0)
11 zephyr_linker_section(NAME .gnu.build.attributes ADDRESS 0)
12 zephyr_linker_section(NAME .comment ADDRESS 0)
[all …]
/Zephyr-latest/dts/riscv/sifive/
Driscv64-fu540.dtsi4 * SPDX-License-Identifier: Apache-2.0
7 #include <zephyr/dt-bindings/gpio/gpio.h>
11 #address-cells = <1>;
12 #size-cells = <1>;
13 compatible = "sifive,FU540-C000", "fu540-dev", "sifive-dev";
17 coreclk: core-clk {
18 #clock-cells = <0>;
19 compatible = "fixed-clock";
20 clock-frequency = <DT_FREQ_M(1000)>;
23 tlclk: tl-clk {
[all …]
/Zephyr-latest/dts/arm/ambiq/
Dambiq_apollo4p.dtsi1 /* SPDX-License-Identifier: Apache-2.0 */
3 #include <arm/armv7-m.dtsi>
6 #include <zephyr/dt-bindings/adc/adc.h>
7 #include <zephyr/dt-bindings/i2c/i2c.h>
8 #include <zephyr/dt-bindings/gpio/gpio.h>
12 uartclk: apb-pclk {
13 compatible = "fixed-clock";
14 clock-frequency = <DT_FREQ_M(24)>;
15 #clock-cells = <0>;
20 #address-cells = <1>;
[all …]
Dambiq_apollo4p_blue.dtsi1 /* SPDX-License-Identifier: Apache-2.0 */
3 #include <arm/armv7-m.dtsi>
6 #include <zephyr/dt-bindings/i2c/i2c.h>
7 #include <zephyr/dt-bindings/gpio/gpio.h>
11 uartclk: apb-pclk {
12 compatible = "fixed-clock";
13 clock-frequency = <DT_FREQ_M(24)>;
14 #clock-cells = <0>;
18 clock-frequency = <DT_FREQ_M(32)>;
19 #clock-cells = <1>;
[all …]
/Zephyr-latest/samples/net/dhcpv4_client/
DREADME.rst1 .. zephyr:code-sample:: dhcpv4-client
3 :relevant-api: dhcpv4 net_mgmt
5 Start a DHCPv4 client to obtain an IPv4 address from a DHCPv4 server.
10 This application starts a DHCPv4 client, gets an IPv4 address from the
11 DHCPv4 server, and prints address, lease time, netmask and router
17 - :ref:`networking_with_host`
26 QEMU on a Linux host to negotiate IP address from DHCPv4 server (kea) running
31 Here's a sample server configuration file '/etc/kea/kea-dhcp4.conf'
34 .. code-block:: console
38 "interfaces-config": {
[all …]
/Zephyr-latest/include/zephyr/net/
Dnet_ip.h4 * Generic IPv6 and IPv4 address definitions.
10 * SPDX-License-Identifier: Apache-2.0
45 #define PF_INET 1 /**< IP protocol family version 4. */
50 #define PF_LOCAL 6 /**< Inter-process communication */
51 #define PF_UNIX PF_LOCAL /**< Inter-process communication */
53 /* Address families. */
54 #define AF_UNSPEC PF_UNSPEC /**< Unspecified address family. */
60 #define AF_LOCAL PF_LOCAL /**< Inter-process communication */
61 #define AF_UNIX PF_UNIX /**< Inter-process communication */
65 IPPROTO_IP = 0, /**< IP protocol (pseudo-val for setsockopt() */
[all …]
/Zephyr-latest/dts/riscv/microchip/
Dmpfs.dtsi4 * SPDX-License-Identifier: Apache-2.0
8 #include <zephyr/dt-bindings/gpio/gpio.h>
11 #address-cells = <1>;
12 #size-cells = <1>;
15 #address-cells = <1>;
16 #size-cells = <0>;
18 clock-frequency = <0>;
23 hlic0: interrupt-controller {
24 compatible = "riscv,cpu-intc";
25 #address-cells = <0>;
[all …]

12345678910>>...43