Home
last modified time | relevance | path

Searched +full:group +full:- +full:index (Results 1 – 25 of 178) sorted by relevance

12345678

/Zephyr-latest/drivers/interrupt_controller/
Dintc_ite_it8xxx2_v2.c4 * SPDX-License-Identifier: Apache-2.0
57 IT8XXX2_INTC_IER(IT8XXX2_INTC_GROUP_CNT - 1); in ite_intc_save_and_disable_interrupts()
80 uint32_t group, index; in ite_intc_isr_clear() local
86 group = irq / MAX_REGISR_IRQ_NUM; in ite_intc_isr_clear()
87 index = irq % MAX_REGISR_IRQ_NUM; in ite_intc_isr_clear()
89 IT8XXX2_INTC_ISR(group) = BIT(index); in ite_intc_isr_clear()
94 uint32_t group, index; in ite_intc_irq_enable() local
100 group = irq / MAX_REGISR_IRQ_NUM; in ite_intc_irq_enable()
101 index = irq % MAX_REGISR_IRQ_NUM; in ite_intc_irq_enable()
103 /* Critical section due to run a bit-wise OR operation */ in ite_intc_irq_enable()
[all …]
Dintc_miwu.c4 * SPDX-License-Identifier: Apache-2.0
13 * The device Multi-Input Wake-Up Unit (MIWU) supports the Nuvoton embedded
19 * wake-up input (WUI) sources.
24 * 1. npcxn-miwus-wui-map.dtsi: it presents relationship between wake-up inputs
26 * 2. npcxn-miwus-int-map.dtsi: it presents relationship between MIWU group
27 * and NVIC interrupt in npcx series. Please notice it isn't 1-to-1 mapping.
28 * For example, here is the mapping between miwu0's group a & d and IRQ7:
41 * 0x09, the driver checks the pending bits of group a and group d in ISR.
77 /* index of miwu controller */
78 uint8_t index; member
[all …]
/Zephyr-latest/include/zephyr/dt-bindings/espi/
Dnpcx_espi.h4 * SPDX-License-Identifier: Apache-2.0
10 * Encode virtual wire information into a 16-bit unsigned.
11 * index = bits[7:0], Replacement index number
12 * group = bits[11:8], Group number for VWEVMS or VWEVSM
15 #define ESPI_NPCX_VW_EX_VAL(dir, group, index) \ argument
16 (((dir & 0x1) << 12) + ((group & 0xf) << 8) + (index & 0xff))
23 /* eSPI VW Master to Slave Register Index */
38 /* eSPI VW Slave to Master Register Index */
51 /* eSPI VW GPIO Slave to Master Register Index */
/Zephyr-latest/include/zephyr/sys/
Dlinear_range.h3 * SPDX-License-Identifier: Apache-2.0
23 * The linear range API maps values in a linear range to a range index. A linear
26 * - Minimum value
27 * - Step value
28 * - Minimum index value
29 * - Maximum index value
32 * register index value like this:
34 * - 1000uV: 0x00
35 * - 1250uV: 0x01
36 * - 1500uV: 0x02
[all …]
/Zephyr-latest/dts/bindings/counter/
Despressif,esp32-timer.yaml2 # SPDX-License-Identifier: Apache-2.0
5 Espressif's general-purpose Timers.
6 Each Timer is part of a Timer Group and the number of available Timers
7 is SoC-dependent.
26 group:
28 The Timer Group index to which a timer belongs.
32 - 0
33 - 1
35 index:
37 The index that identifies a timer within a Timer Group.
[all …]
/Zephyr-latest/dts/bindings/espi/
Dmicrochip,xec-espi.yaml2 # SPDX-License-Identifier: Apache-2.0
6 compatible: "microchip,xec-espi"
8 include: [espi-controller.yaml, pinctrl-device.yaml]
17 description: soc group irq index for eSPI I/O
22 description: soc group irq indexes for eSPI virtual wires channel
27 description: soc group irq index for eSPI peripheral channel
30 pinctrl-0:
33 pinctrl-names:
Dnuvoton,npcx-espi.yaml2 # SPDX-License-Identifier: Apache-2.0
4 description: Nuvoton, NPCX-eSPI node
6 compatible: "nuvoton,npcx-espi"
8 include: [espi-controller.yaml, pinctrl-device.yaml]
19 pinctrl-0:
22 pinctrl-names:
25 espi-rst-wui:
29 Mapping table between Wake-Up Input (WUI) and ESPI_RST signal.
32 espi-rst-wui = <&wui_cr_sin1>;
34 rx-plsize:
[all …]
/Zephyr-latest/subsys/mgmt/mcumgr/mgmt/src/
Dmgmt.c2 * Copyright (c) 2018-2021 mcumgr authors
3 * Copyright (c) 2022-2024 Nordic Semiconductor ASA
5 * SPDX-License-Identifier: Apache-2.0
30 mgmt_unregister_group(struct mgmt_group *group) in mgmt_unregister_group() argument
32 (void)sys_slist_find_and_remove(&mgmt_group_list, &group->node); in mgmt_unregister_group()
38 struct mgmt_group *group = NULL; in mgmt_find_handler() local
42 * Find the group with the specified group id, if one exists in mgmt_find_handler()
44 * that is not NULL. If that is not set, look for the group in mgmt_find_handler()
50 if (loop_group->mg_group_id == group_id) { in mgmt_find_handler()
51 if (command_id >= loop_group->mg_handlers_count) { in mgmt_find_handler()
[all …]
/Zephyr-latest/include/zephyr/drivers/misc/pio_rpi_pico/
Dpio_rpi_pico.h6 * SPDX-License-Identifier: Apache-2.0
34 .origin = -1, \
59 * @brief Get a pin number from a pinctrl / group name and index
72 * input-enable;
82 * pinctrl-0 = <&pio_child_default>;
83 * pinctrl-names = "default";
98 * @param p_idx pinctrl index
99 * @param g_name group name
100 * @param g_idx group index
108 * @brief Get a pin number from a pinctrl / group name and index
[all …]
/Zephyr-latest/subsys/mgmt/mcumgr/grp/enum_mgmt/src/
Denum_mgmt.c4 * SPDX-License-Identifier: Apache-2.0
33 uint32_t index; member
35 uint32_t group; member
57 static bool enum_mgmt_cb_count(const struct mgmt_group *group, void *user_data) in enum_mgmt_cb_count() argument
66 static bool enum_mgmt_cb_single(const struct mgmt_group *group, void *user_data) in enum_mgmt_cb_single() argument
70 if (data->index == data->current_index) { in enum_mgmt_cb_single()
71 data->found = true; in enum_mgmt_cb_single()
72 data->group = group->mg_group_id; in enum_mgmt_cb_single()
73 ++data->current_index; in enum_mgmt_cb_single()
74 data->last = true; in enum_mgmt_cb_single()
[all …]
/Zephyr-latest/dts/x86/intel/
Dalder_lake.dtsi4 * SPDX-License-Identifier: Apache-2.0
8 #include <zephyr/dt-bindings/interrupt-controller/intel-ioapic.h>
9 #include <zephyr/dt-bindings/i2c/i2c.h>
10 #include <zephyr/dt-bindings/pcie/pcie.h>
11 #include <zephyr/dt-bindings/gpio/gpio.h>
16 #address-cells = <1>;
17 #size-cells = <0>;
21 compatible = "intel,alder-lake", "intel,x86_64";
22 d-cache-line-size = <64>;
28 compatible = "intel,alder-lake";
[all …]
Delkhart_lake.dtsi4 * SPDX-License-Identifier: Apache-2.0
8 #include <zephyr/dt-bindings/interrupt-controller/intel-ioapic.h>
9 #include <zephyr/dt-bindings/i2c/i2c.h>
10 #include <zephyr/dt-bindings/pcie/pcie.h>
14 #address-cells = <1>;
15 #size-cells = <0>;
19 compatible = "intel,elkhart-lake", "intel,x86_64";
20 d-cache-line-size = <64>;
38 #address-cells = <1>;
39 #interrupt-cells = <3>;
[all …]
Draptor_lake_p.dtsi3 * SPDX-License-Identifier: Apache-2.0
7 #include <zephyr/dt-bindings/interrupt-controller/intel-ioapic.h>
8 #include <zephyr/dt-bindings/pcie/pcie.h>
9 #include <zephyr/dt-bindings/gpio/gpio.h>
10 #include <zephyr/dt-bindings/i2c/i2c.h>
14 #address-cells = <1>;
15 #size-cells = <0>;
18 compatible = "intel,raptor-lake", "intel,x86_64";
20 d-cache-line-size = <64>;
33 interrupt-controller;
[all …]
Draptor_lake_s.dtsi3 * SPDX-License-Identifier: Apache-2.0
7 #include <zephyr/dt-bindings/interrupt-controller/intel-ioapic.h>
8 #include <zephyr/dt-bindings/i2c/i2c.h>
9 #include <zephyr/dt-bindings/pcie/pcie.h>
10 #include <zephyr/dt-bindings/gpio/gpio.h>
14 #address-cells = <1>;
15 #size-cells = <0>;
19 compatible = "intel,raptor-lake", "intel,x86_64";
20 d-cache-line-size = <64>;
33 #address-cells = <1>;
[all …]
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/nordic/hal/nrf5/radio/
Dradio_nrf5_dppi.h2 * Copyright (c) 2018 - 2020 Nordic Semiconductor ASA
5 * SPDX-License-Identifier: Apache-2.0
193 * PPI channel HAL_TRIGGER_CRYPT_DELAY_PPI is also used for HAL_TRIGGER-
197 * EEP: RADIO->EVENTS_BCMATCH
198 * TEP: CCM->TASKS_CRYPT
202 /* Configure Bit counter to trigger EVENTS_BCMATCH for CCM_TASKS_CRYPT- in hal_trigger_crypt_by_bcmatch_ppi_config()
227 /* DPPI setup used for SW-based auto-switching during TIFS. */
229 /* Clear SW-switch timer on packet end:
250 /* The 2 adjacent PPI groups used for implementing SW_SWITCH_TIMER-based
251 * auto-switch for TIFS. 'index' must be 0 or 1.
[all …]
Dradio_nrf5_ppi.h2 * Copyright (c) 2018 - 2020 Nordic Semiconductor ASA
5 * SPDX-License-Identifier: Apache-2.0
10 * SW_SWITCH_TIMER-based auto-switch for TIFS, when receiving in LE Coded PHY.
11 * 'index' must be 0 or 1.
13 #define SW_SWITCH_TIMER_S2_EVTS_COMP(index) \ argument
14 (SW_SWITCH_TIMER_EVTS_COMP_S2_BASE + (index))
19 #define HAL_SW_SWITCH_RADIO_ENABLE_S2_PPI(index) \ argument
20 (HAL_SW_SWITCH_RADIO_ENABLE_S2_PPI_BASE + (index))
40 * Use the pre-programmed PPI channels if possible (if TIMER0 is used as the
47 /* No need to configure anything for the pre-programmed channels. in hal_radio_enable_on_tick_ppi_config_and_enable()
[all …]
/Zephyr-latest/tests/subsys/mgmt/mcumgr/enum_mgmt/src/
Dmain.c4 * SPDX-License-Identifier: Apache-2.0
152 zassert_equal(header->nh_flags, 0, "SMP header flags mismatch"); in ZTEST()
153 zassert_equal(header->nh_op, MGMT_OP_READ_RSP, "SMP header operation mismatch"); in ZTEST()
154 zassert_equal(header->nh_group, sys_cpu_to_be16(MGMT_GROUP_ID_ENUM), in ZTEST()
155 "SMP header group mismatch"); in ZTEST()
156 zassert_equal(header->nh_seq, 1, "SMP header sequence number mismatch"); in ZTEST()
157 zassert_equal(header->nh_id, ENUM_MGMT_ID_COUNT, "SMP header command ID mismatch"); in ZTEST()
158 zassert_equal(header->nh_version, 1, "SMP header version mismatch"); in ZTEST()
161 zcbor_new_decode_state(zsd, 4, nb->data, nb->len, 1, NULL, 0); in ZTEST()
188 if (i > ARRAY_SIZE(entry_data->groups)) { in parse_list_entries()
[all …]
/Zephyr-latest/soc/nxp/s32/common/
Dsiul2_pinctrl.h2 * Copyright 2022-2024 NXP
4 * SPDX-License-Identifier: Apache-2.0
31 * @param group Group node identifier.
33 * @param idx Property entry index.
35 #define Z_PINCTRL_STATE_PIN_INIT(group, prop, idx) \ argument
36 {NXP_S32_PINMUX_INIT(group, DT_PROP_BY_IDX(group, prop, idx))},
/Zephyr-latest/dts/bindings/interrupt-controller/
Dnuvoton,npcx-miwu.yaml2 # SPDX-License-Identifier: Apache-2.0
4 description: Nuvoton, NPCX Multi-Input Wake-Up Unit (MIWU) node
6 compatible: "nuvoton,npcx-miwu"
11 index:
14 description: index of miwu device
16 "#miwu-cells":
21 miwu-cells:
22 - group
23 - bit
/Zephyr-latest/dts/bindings/gpio/
Dintel,gpio.yaml1 # Copyright (c) 2018-2019 Intel Corporation
2 # SPDX-License-Identifier: Apache-2.0
8 include: [acpi.yaml, gpio-controller.yaml, base.yaml]
14 group-index:
16 description: Group number for this GPIO entry
24 pin-offset:
28 "#gpio-cells":
31 gpio-cells:
32 - pin
33 - flags
/Zephyr-latest/soc/nuvoton/npcx/common/
Dsoc_dt.h4 * SPDX-License-Identifier: Apache-2.0
24 * @param prop lowercase-and-underscores property name
36 * @param prop lowercase-and-underscores property name
45 * type is 'phandle-array' to handle "clock-cells" in current driver.
70 * @brief Construct a npcx_clk_cfg structure from 'clocks' property at index 'i'
73 * @param i index of clocks prop which type is 'phandle-array'
74 * @return npcx_clk_cfg item from 'clocks' property at index 'i'
98 * @brief Length of 'clocks' property which type is 'phandle-array'
101 * @return length of 'clocks' property which type is 'phandle-array'
109 * @param child child index in UTIL_LISTIFY extension.
[all …]
/Zephyr-latest/include/zephyr/mgmt/mcumgr/mgmt/
Dcallbacks.h2 * Copyright (c) 2022-2023 Nordic Semiconductor ASA
4 * SPDX-License-Identifier: Apache-2.0
46 /** Event which signifies that all event IDs for a particular group should be enabled. */
49 /** Get event for a particular group and event ID. */
50 #define MGMT_DEF_EVT_OP_ID(group, event_id) ((group << 16) | BIT(event_id)) argument
52 /** Get event used for enabling all event IDs of a particular group. */
53 #define MGMT_DEF_EVT_OP_ALL(group) ((group << 16) | MGMT_EVT_OP_ID_ALL) argument
56 /** Get group from event. */
73 * Group (application-level) error and ``err_group`` contains the group ID that caused
74 * the error and ``err_rc`` contains the error code of that group to return.
[all …]
/Zephyr-latest/tests/net/lib/http_server/crime/
DCMakeLists.txt1 # SPDX-License-Identifier: Apache-2.0
15 set(source_file_index src/index.html)
16 generate_inc_file_for_target(app ${source_file_index} ${gen_dir}/index.html.inc)
17 generate_inc_file_for_target(app ${source_file_index} ${gen_dir}/index.html.gz.inc --gzip)
21 generate_inc_file_for_target(app ${source_file_not_found} ${gen_dir}/not_found_page.html.gz.inc --g…
23 zephyr_linker_sources(SECTIONS sections-rom.ld)
24 zephyr_iterable_section(NAME http_resource_desc_test_http_service KVMA RAM_REGION GROUP RODATA_REGI…
/Zephyr-latest/doc/services/device_mgmt/smp_groups/
Dsmp_group_10.rst3 Enumeration Management Group
6 Enumeration management group defines the following commands:
11 +----------------+-----------------------------+
15 +----------------+-----------------------------+
17 +----------------+-----------------------------+
18 | ``2`` | Fetch single group ID |
19 +----------------+-----------------------------+
21 +----------------+-----------------------------+
36 +--------+--------------+----------------+
37 | ``OP`` | ``Group ID`` | ``Command ID`` |
[all …]
/Zephyr-latest/include/zephyr/mgmt/mcumgr/grp/enum_mgmt/
Denum_mgmt.h4 * SPDX-License-Identifier: Apache-2.0
22 * Command IDs for enumeration management group.
30 * Command result codes for enumeration management group.
45 /** Provided index is larger than the number of supported grouped. */

12345678