Home
last modified time | relevance | path

Searched +full:max +full:- +full:priority (Results 1 – 25 of 317) sorted by relevance

12345678910>>...13

/Zephyr-latest/dts/bindings/interrupt-controller/
Dswerv,pic.yaml1 # SPDX-License-Identifier: Apache-2.0
7 include: [interrupt-controller.yaml, base.yaml]
13 riscv,max-priority:
15 description: maximum interrupt priority
18 interrupt-cells:
19 - irq
20 - priority
Driscv,plic0.yaml2 # SPDX-License-Identifier: Apache-2.0
4 # Common fields for the RISC-V platform-local interrupt controller
6 include: [interrupt-controller.yaml, base.yaml]
12 riscv,max-priority:
14 description: maximum interrupt priority
17 "#interrupt-cells":
20 interrupt-cells:
21 - irq
22 - priority
Dlitex,vexriscv-intc0.yaml1 # Copyright (c) 2018 - 2019 Antmicro <www.antmicro.com>
2 # SPDX-License-Identifier: Apache-2.0
6 compatible: "litex,vexriscv-intc0"
8 include: [interrupt-controller.yaml, base.yaml]
14 riscv,max-priority:
16 description: maximum interrupt priority
19 "#interrupt-cells":
22 interrupt-cells:
23 - irq
24 - priority
/Zephyr-latest/drivers/interrupt_controller/
DKconfig.cavs4 # SPDX-License-Identifier: Apache-2.0
12 These are 4 in number supporting a max of 32 interrupts each.
40 int "CAVS ICTL Init priority"
43 Cavs Interrupt Logic initialization priority.
Dintc_gd32_exti.c4 * SPDX-License-Identifier: Apache-2.0
30 uint8_t max; member
92 struct gd32_exti_data *data = dev->data; in gd32_exti_isr()
95 for (uint8_t i = range->min; i <= range->max; i++) { in gd32_exti_isr()
99 if (data->cbs[i].cb != NULL) { in gd32_exti_isr()
100 data->cbs[i].cb(i, data->cbs[i].user); in gd32_exti_isr()
145 struct gd32_exti_data *data = dev->data; in gd32_exti_configure()
150 if ((data->cbs[line].cb != NULL) && (cb != NULL)) { in gd32_exti_configure()
151 return -EALREADY; in gd32_exti_configure()
154 data->cbs[line].cb = cb; in gd32_exti_configure()
[all …]
/Zephyr-latest/subsys/input/
DKconfig2 # SPDX-License-Identifier: Apache-2.0
12 module-str = input
16 int "Input subsystem and drivers init priority"
19 Input subsystem and drivers initialization priority.
43 bool "Override default input thread priority"
45 Option to change the default value of input thread priority.
49 int "Input thread priority"
52 Set thread priority of the input
56 int "Input queue max messages"
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/
Dlll_common.c4 * SPDX-License-Identifier: Apache-2.0
21 * This function will resolve the event priority and invoke the LLL
29 * @param event_prio Priority of event [-128..127]
35 * -EINPROGRESS: Event already in progress and prepare was queued
45 struct lll_hdr *hdr = prepare_param->param; in lll_prepare()
47 /* Establish priority based on: in lll_prepare()
48 * 1. Event priority passed to function in lll_prepare()
49 * 2. Force flag => priority = -127 in lll_prepare()
50 * 3. Score (events terminated- and too late) in lll_prepare()
51 * 4. Latency (skipped- and programmed latency) in lll_prepare()
[all …]
/Zephyr-latest/subsys/net/lib/lwm2m/
Dlwm2m_obj_server.c3 * Copyright (c) 2018-2019 Foundries.io
5 * SPDX-License-Identifier: Apache-2.0
44 #define RESOURCE_INSTANCE_COUNT (SERVER_MAX_ID - 2)
56 static uint8_t priority[MAX_INSTANCE_COUNT]; variable
117 return -ENOENT; in disable_cb()
199 return -ENOENT; in lwm2m_server_get_ssid()
212 return -ENOENT; in lwm2m_server_short_id_to_inst()
222 return -1; in lwm2m_server_inst_id_to_index()
240 return -ENOENT; in lwm2m_server_disable()
266 uint8_t max = 0; in lwm2m_server_select() local
[all …]
/Zephyr-latest/dts/riscv/
Drenode_riscv32_virt.dtsi4 * SPDX-License-Identifier: Apache-2.0
10 #address-cells = <1>;
11 #size-cells = <1>;
14 #address-cells = <1>;
15 #size-cells = <0>;
17 clock-frequency = <0>;
22 hlic: interrupt-controller {
23 compatible = "riscv,cpu-intc";
24 #address-cells = <0>;
25 #interrupt-cells = <1>;
[all …]
/Zephyr-latest/soc/infineon/cat1b/cyw20829/
Dsoc.c4 * SPDX-License-Identifier: Apache-2.0
23 CY_ASSERT_L3(CY_SYSINT_IS_PRIORITY_VALID(config->intrPriority)); in Cy_SysInt_Init()
33 uint32_t priority; in Cy_SysInt_Init() local
36 * PendSV IRQ (which is used in Cortex-M variants to implement thread in Cy_SysInt_Init()
37 * context-switching) is assigned the lowest IRQ priority level. in Cy_SysInt_Init()
38 * If priority is same as PendSV, we will catch assertion in in Cy_SysInt_Init()
39 * z_arm_irq_priority_set function. To avoid this, change priority in Cy_SysInt_Init()
43 priority = (config->intrPriority > IRQ_PRIO_LOWEST) ? in Cy_SysInt_Init()
44 IRQ_PRIO_LOWEST : config->intrPriority; in Cy_SysInt_Init()
47 (void) irq_connect_dynamic(config->intrSrc, priority, in Cy_SysInt_Init()
[all …]
/Zephyr-latest/subsys/net/lib/sockets/
DKconfig4 # SPDX-License-Identifier: Apache-2.0
17 int "Default processing priority for sockets"
20 Default processing priority for socket implementations. This defines
27 int "Max number of supported poll() entries [DEPRECATED]"
39 API call will timeout if we have not received SYN-ACK from
63 which DNS query is re-tried. If there is no reply, the backoff
73 int "Max time in milliseconds waiting for a send command"
92 int "Priority of the socket service dispatcher thread"
96 Set the priority of the socket service dispatcher thread. This handler
99 Note that >= 0 value means preemptive thread priority, the lowest
[all …]
/Zephyr-latest/tests/drivers/interrupt_controller/intc_plic/
Dalt_mapping.overlay4 * SPDX-License-Identifier: Apache-2.0
9 plic: interrupt-controller@c000000 {
10 riscv,max-priority = <7>;
13 interrupts-extended = <
23 interrupt-controller;
24 compatible = "sifive,plic-1.0.0";
25 #address-cells = < 0x00 >;
26 #interrupt-cells = < 0x02 >;
/Zephyr-latest/soc/espressif/common/
DKconfig2 # SPDX-License-Identifier: Apache-2.0
24 Please note that this method brings the system up with all memories set-up, but
40 used in Wi-Fi and BLE peripherals.
43 int "Task priority of the high resolution ESP Timer"
46 Set the task priority for the internal high resolution ESP Timer
47 used in Wi-Fi and BLE peripherals.
52 int "Max Wi-Fi/BLE TX power (dBm)"
56 Set maximum transmit power for Wi-Fi radio. Actual transmit power for high
/Zephyr-latest/subsys/ipc/rpmsg_service/
DKconfig1 # Copyright (c) 2020-2021 Nordic Semiconductor (ASA)
2 # SPDX-License-Identifier: Apache-2.0
48 int "Max number of registered endpoints"
63 int "Initialization priority of RPMsg service"
72 int "Initialization priority of modules registering RPMsg endpoints"
80 module-str = RPMsg service and backend
/Zephyr-latest/tests/kernel/semaphore/semaphore/src/
Dmain.c4 * SPDX-License-Identifier: Apache-2.0
40 #define expect_k_sem_init(sem, init, max, exp, str) do { \ argument
41 int _act = k_sem_init((sem), (init), (max)); \
54 #define expect_k_sem_init_nomsg(sem, init, max, exp) \ argument
55 expect_k_sem_init((sem), (init), (max), (exp), \
115 /**TESTPOINT: thread-thread sync via sema*/ in tsema_thread_thread()
129 /**TESTPOINT: thread-isr sync via sema*/ in tsema_thread_isr()
140 if (ret != 0 && ret != -EBUSY) { in isr_sem_take()
210 critical_var -= 1; in sem_queue_mutual_exclusion2()
216 zassert_true(critical_var == tmp - 1); in sem_queue_mutual_exclusion2()
[all …]
/Zephyr-latest/tests/posix/common/src/
Dpthread_attr.c4 * SPDX-License-Identifier: Apache-2.0
22 #define STATIC_THREAD_STACK_SIZE (MAX(1024, PTHREAD_STACK_MIN + CONFIG_TEST_EXTRA_STACK_SIZE))
139 /* can re-initialize a destroyed attr */ in ZTEST()
316 * policies so only check the Zephyr priority here. The posix policy and posix in inheritsched_entry()
317 * priority are derived from the Zephyr priority in any case. in inheritsched_entry()
319 zassert_equal(prio, pprio, "actual priority: %d, expected priority: %d", prio, in inheritsched_entry()
343 zassert_equal(act_prio, exp_prio, "actual priority: %d, expected priority: %d", act_prio, in inheritsched_entry()
355 extern int zephyr_to_posix_priority(int priority, int *policy); in test_pthread_attr_setinheritsched_common()
361 * values affected by inheritsched are policy / priority / contentionscope in test_pthread_attr_setinheritsched_common()
461 int pmin = -1; in ZTEST()
[all …]
/Zephyr-latest/tests/drivers/build_all/interrupt_controller/intc_plic/
Dapp.multi_instance.overlay4 * SPDX-License-Identifier: Apache-2.0
9 plic1: interrupt-controller@8000000 {
10 riscv,max-priority = <7>;
13 interrupts-extended = <
23 interrupt-controller;
24 compatible = "sifive,plic-1.0.0";
25 #address-cells = <0x00>;
26 #interrupt-cells = <0x02>;
32 interrupt-parent = <&plic1>;
33 clock-frequency = <0x384000>;
[all …]
/Zephyr-latest/include/zephyr/net/http/
Dframe.h4 * SPDX-License-Identifier: Apache-2.0
27 /** Priority frame */
82 /** Max frame size */
84 /** Max header list size */
/Zephyr-latest/subsys/net/ip/
DKconfig6 # SPDX-License-Identifier: Apache-2.0
61 module-dep = NET_LOG
62 module-str = Log level for PMTU
63 module-help = Enables PMTU to output debug messages.
80 Enables TCP/IP stack to be offload to a co-processor.
92 module-dep = NET_LOG
93 module-str = Log level for offload layer
94 module-help = Enables offload layer to output debug messages.
136 Connect to host system via Qemu's built-in User Networking support. This
149 information etc. This string is appended to the QEMU "-net user" option.
[all …]
/Zephyr-latest/drivers/wifi/nrf_wifi/inc/
Dcoex_struct.h4 * SPDX-License-Identifier: Apache-2.0
17 /* Max size of message buffer (exchanged between host and MAC). This is in "bytes" */
22 #define MAX_NUM_CONFIG_VALUES ((MAX_MESSAGE_BUF_SIZE-\
45 /* To insturct Coexistence Manager to allocate a priority window to SR */
49 /* To start allocating periodic priority windows to Wi-Fi and SR */
51 /* To start allocating virtual priority windows to Wi-Fi */
66 * struct coex_collect_sr_traffic_info - Message from CD to CM to request SR traffic info.
78 * struct coex_ch_configuration -Message from CD to CM to configure CH.
96 * struct coex_allocate_pti_window - Message to CM to request a priority window.
98 * @device_req_window: Indicates device requesting a priority window.
[all …]
/Zephyr-latest/subsys/lorawan/services/
DKconfig6 # SPDX-License-Identifier: Apache-2.0
14 firmware-upgrade over the air (FUOTA).
21 module-str = lorawan_services
31 int "Services thread priority"
34 Priority of the thread running LoRaWAN background services.
40 according to LoRa Alliance TS003-2.0.0.
64 according to TS004-1.0.0 as published by the LoRa Alliance.
76 The default decoder implementation from LoRaMAC-node.
85 DT_CHOSEN_Z_CODE_PARTITION := zephyr,code-partition
118 fragment size is known, use that value for MIN and MAX config to
[all …]
/Zephyr-latest/drivers/watchdog/
Dwdt_opentitan.c4 * SPDX-License-Identifier: Apache-2.0
35 const struct wdt_ot_aontimer_cfg *const cfg = dev->config; in ot_aontimer_setup()
36 volatile uintptr_t regs = cfg->regs; in ot_aontimer_setup()
40 if (cfg->wdog_lock) { in ot_aontimer_setup()
50 const struct wdt_ot_aontimer_cfg *const cfg = dev->config; in ot_aontimer_disable()
51 volatile uintptr_t regs = cfg->regs; in ot_aontimer_disable()
54 LOG_ERR("Cannot disable - watchdog settings locked."); in ot_aontimer_disable()
55 return -EPERM; in ot_aontimer_disable()
61 return -EFAULT; in ot_aontimer_disable()
69 * The OpenTitan AON Timer includes a multi-level watchdog timer.
[all …]
/Zephyr-latest/subsys/canbus/isotp/
DKconfig1 # ISO-TP configuration options
4 # SPDX-License-Identifier: Apache-2.0
7 bool "ISO-TP Transport [EXPERIMENTAL]"
18 module-str = ISOTP
22 int "WFTmax (Max WAIT frames before aborting)."
34 Timeout for the reception of the next FC frame. ISO 15765-2: 1000ms
42 ISO 15765-2: 1000ms
50 ISO 15765-2: 1000ms
83 CAN_MAX_DLEN - 1 (for classic CAN : 8 - 1 = 7, for CAN FD : 64 - 1 = 63).
92 Each buffer will occupy CAN_MAX_DLEN - 1 byte + header (sizeof(struct net_buf))
[all …]
/Zephyr-latest/modules/hostap/
DKconfig5 # SPDX-License-Identifier: Apache-2.0
41 int "Thread priority of wpa_supplicant iface workqueue"
45 int "Thread priority of wpa_supplicant"
49 # l2_packet - 1
50 # ctrl_iface - 2 * socketpairs = 4(local and global)
51 # z_wpa_event_sock - 1 socketpair = 2
59 module-str = WPA supplicant
63 int "Min compiled-in debug message level for WPA supplicant"
70 Minimum priority level of a debug message emitted by WPA supplicant that
71 is compiled-in the firmware. See wpa_debug.h file of the supplicant for
[all …]
/Zephyr-latest/tests/benchmarks/wait_queues/src/
Dmain.c4 * SPDX-License-Identifier: Apache-2.0
12 * thread. As these dummy threads are inherently non-executable, this helps
65 * same or lower priority. Each dummy thread removed from the wait queue
66 * is of the same or lower priority than the one previous.
108 &dummy_thread[num_threads - i - 1]; in test_increasing_priority()
120 &dummy_thread[num_threads - i - 1]; in test_increasing_priority()
173 diff = (average > tmp) ? (average - tmp) : (tmp - average); in compute_and_report_stats()
186 stag_len = (tag_len + stag_len < 40) ? 40 - tag_len : stag_len; in compute_and_report_stats()
187 sdescr_len = (descr_len + sdescr_len < 50) ? 50 - descr_len : sdescr_len; in compute_and_report_stats()
189 printk("REC: %s%-*s - %s%-*s : %7llu cycles , %7u ns :\n", tag, stag_len, ".min", str, in compute_and_report_stats()
[all …]

12345678910>>...13