Home
last modified time | relevance | path

Searched +full:int +full:- +full:source (Results 1 – 25 of 1013) sorted by relevance

12345678910>>...41

/Zephyr-latest/include/zephyr/drivers/interrupt_controller/
Dintc_mchp_xec_ecia.h4 * SPDX-License-Identifier: Apache-2.0
11 * Reference Manuals for MEC152x and MEC172x ARM(r) 32-bit MCUs
24 * @brief enable GIRQn interrupt for specific source
26 * @param girq_id is the GIRQ number (8 - 26)
27 * @param src is the interrupt source in the GIRQ (0 - 31)
29 int mchp_xec_ecia_enable(int girq_id, int src);
37 int mchp_xec_ecia_info_enable(int ecia_info);
42 * @param girq_id is the GIRQ number (8 - 26)
43 * @param src is the interrupt source in the GIRQ (0 - 31)
45 int mchp_xec_ecia_disable(int girq_id, int src);
[all …]
Dintc_esp32c3.h4 * SPDX-License-Identifier: Apache-2.0
14 * Interrupt allocation flags - These flags can be used to specify
19 #define ESP_INTR_FLAG_LEVEL1 (1<<1) /* Accept a Level 1 int vector, lowest priority */
20 #define ESP_INTR_FLAG_LEVEL2 (1<<2) /* Accept a Level 2 int vector */
21 #define ESP_INTR_FLAG_LEVEL3 (1<<3) /* Accept a Level 3 int vector */
22 #define ESP_INTR_FLAG_LEVEL4 (1<<4) /* Accept a Level 4 int vector */
23 #define ESP_INTR_FLAG_LEVEL5 (1<<5) /* Accept a Level 5 int vector */
24 #define ESP_INTR_FLAG_LEVEL6 (1<<6) /* Accept a Level 6 int vector */
25 #define ESP_INTR_FLAG_NMI (1<<7) /* Accept a Level 7 int vector, highest priority */
27 #define ESP_INTR_FLAG_EDGE (1<<9) /* Edge-triggered interrupt */
[all …]
Dintc_esp32.h4 * SPDX-License-Identifier: Apache-2.0
17 * Interrupt allocation flags - These flags can be used to specify
23 #define ESP_INTR_FLAG_LEVEL1 (1<<1) /* Accept a Level 1 int vector, lowest priority */
24 #define ESP_INTR_FLAG_LEVEL2 (1<<2) /* Accept a Level 2 int vector */
25 #define ESP_INTR_FLAG_LEVEL3 (1<<3) /* Accept a Level 3 int vector */
26 #define ESP_INTR_FLAG_LEVEL4 (1<<4) /* Accept a Level 4 int vector */
27 #define ESP_INTR_FLAG_LEVEL5 (1<<5) /* Accept a Level 5 int vector */
28 #define ESP_INTR_FLAG_LEVEL6 (1<<6) /* Accept a Level 6 int vector */
29 #define ESP_INTR_FLAG_NMI (1<<7) /* Accept a Level 7 int vector, highest priority */
31 #define ESP_INTR_FLAG_EDGE (1<<9) /* Edge-triggered interrupt */
[all …]
/Zephyr-latest/drivers/video/
DKconfig4 # SPDX-License-Identifier: Apache-2.0
17 module-str = video
18 source "subsys/logging/Kconfig.template.log_config"
21 int "Video initialization priority"
27 int "Size of the largest buffer in the video pool"
31 int "Number of maximum sized buffer in the video pool"
35 int "Alignment of the video pool’s buffer"
43 int "Shared multi heap attribute for video buffer"
53 source "drivers/video/Kconfig.esp32_dvp"
55 source "drivers/video/Kconfig.mcux_csi"
[all …]
/Zephyr-latest/drivers/interrupt_controller/
Dintc_esp32c3.c4 * SPDX-License-Identifier: Apache-2.0
53 * - 0, 3, 4, and 7 are used by the CPU for core-local interrupts (CLINT)
54 * - 1 is used for Wi-Fi in Espressif HAL
55 * - 2, 5, 6, 8 .. 31 are available for Zephyr
56 * - 31 is reserved for disabled interrupts
76 static uint32_t esp_intr_find_irq_for_source(uint32_t source) in esp_intr_find_irq_for_source() argument
81 uint32_t irq = (source / ESP32C3_INTC_SRCS_PER_IRQ); in esp_intr_find_irq_for_source()
84 INTC_LOG("Clamping the source: %d no more IRQs available", source); in esp_intr_find_irq_for_source()
90 INTC_LOG("Found IRQ: %d for source: %d", irq, source); in esp_intr_find_irq_for_source()
97 static uint32_t esp_intr_find_irq_for_source(uint32_t source) in esp_intr_find_irq_for_source() argument
[all …]
Dintc_irqmp.c2 * Copyright (c) 2019-2020 Cobham Gaisler AB
4 * SPDX-License-Identifier: Apache-2.0
24 * IRQMP - Multiprocessor Interrupt Controller
25 * IRQ(A)MP - Multiprocessor Interrupt Controller with extended ASMP support
56 static int get_irqmp_eirq(void) in get_irqmp_eirq()
61 void arch_irq_enable(unsigned int source) in arch_irq_enable() argument
64 volatile uint32_t *pimask = &regs->pimask[0]; in arch_irq_enable()
65 const uint32_t setbit = (1U << source); in arch_irq_enable()
66 unsigned int key; in arch_irq_enable()
73 void arch_irq_disable(unsigned int source) in arch_irq_disable() argument
[all …]
Dintc_esp32.c4 * SPDX-License-Identifier: Apache-2.0
49 /* Typedef for C-callable interrupt handler function */
54 static int esp_intc_csec;
69 * into it in order to see if someone allocated an int using
80 esp_rom_printf("Unhandled interrupt %d on cpu %d!\n", (int)arg, esp_cpu_get_core_id()); in default_intr_handler()
85 static void set_interrupt_handler(int n, intc_handler_t f, void *arg) in set_interrupt_handler()
95 /* This bitmask has an 1 if the int should be disabled when the flash is disabled. */
97 /* This bitmask has 1 in it if the int was disabled using esp_intr_noniram_disable. */
111 if (vd->cpu > to_insert->cpu) { in insert_vector_desc()
114 if (vd->cpu == to_insert->cpu && vd->intno >= to_insert->intno) { in insert_vector_desc()
[all …]
DKconfig4 # SPDX-License-Identifier: Apache-2.0
15 The interrupt unit is optional in the ARCv2-based processors. When
24 Programmable Interrupt Controller for the SweRV EH1 RISC-V CPU.
41 int "Interrupt controller init priority"
49 int "XEX GIRQ Interrupt controller init priority"
60 module-str = intc
61 source "subsys/logging/Kconfig.template.log_config"
63 source "drivers/interrupt_controller/Kconfig.multilevel"
65 source "drivers/interrupt_controller/Kconfig.loapic"
67 source "drivers/interrupt_controller/Kconfig.dw"
[all …]
/Zephyr-latest/drivers/usb/udc/
DKconfig1 # Copyright (c) 2021-2022 Nordic Semiconductor ASA
2 # SPDX-License-Identifier: Apache-2.0
15 int "Number of buffers in the pool"
22 int "Memory available for requests"
41 int "UDC workqueue stack size"
46 int "UDC workqueue priority"
54 module-str = usb drv
55 source "subsys/logging/Kconfig.template.log_config"
57 source "drivers/usb/udc/Kconfig.dwc2"
58 source "drivers/usb/udc/Kconfig.nrf"
[all …]
/Zephyr-latest/tests/bluetooth/audio/bap_broadcast_source/src/
Dmain.c1 /* main.c - Application main entry point */
4 * Copyright (c) 2023-2024 Nordic Semiconductor ASA
6 * SPDX-License-Identifier: Apache-2.0
52 struct bt_bap_broadcast_source *source; member
82 fixture->param = malloc(sizeof(struct bt_bap_broadcast_source_param)); in bap_broadcast_source_test_suite_fixture_init()
99 memset(fixture->param, 0, sizeof(*fixture->param)); in bap_broadcast_source_test_suite_fixture_init()
130 fixture->param->params_count = CONFIG_BT_BAP_BROADCAST_SRC_SUBGROUP_COUNT; in bap_broadcast_source_test_suite_fixture_init()
131 fixture->param->params = subgroup_param; in bap_broadcast_source_test_suite_fixture_init()
132 fixture->param->qos = qos_cfg; in bap_broadcast_source_test_suite_fixture_init()
133 fixture->param->encryption = false; in bap_broadcast_source_test_suite_fixture_init()
[all …]
/Zephyr-latest/drivers/can/
DKconfig4 # SPDX-License-Identifier: Apache-2.0
17 module-str = CAN
18 source "subsys/logging/Kconfig.template.log_config"
21 int "CAN driver init priority"
27 int "Default CAN bitrate"
34 int "Default CAN data phase bitrate"
39 using the "bitrate-data" devicetree property.
51 int "CAN shell transmit queue size"
58 int "CAN shell receive queue size"
65 bool "Produce scripting-friendly output"
[all …]
/Zephyr-latest/drivers/sensor/
DKconfig5 # SPDX-License-Identifier: Apache-2.0
15 module-str = sensor
16 source "subsys/logging/Kconfig.template.log_config"
19 int "Sensor init priority"
50 int "Stack size for the sensor shell data processing thread"
55 sensors in either one-shot or streaming mode. Use this config to control
67 int "Timeout for printing the average sensor sample value"
75 int "Maximum number of sensor devices that can have enabled triggers in shell"
87 # zephyr-keep-sorted-start
88 source "drivers/sensor/adi/Kconfig"
[all …]
/Zephyr-latest/tests/subsys/logging/log_msg/src/
Dmain.c4 * SPDX-License-Identifier: Apache-2.0
47 printk("-----------------------printing message--------------------\n"); in print_msg()
50 msg->hdr.desc.package_len, in print_msg()
51 msg->hdr.desc.data_len); in print_msg()
52 for (int i = 0; i < msg->hdr.desc.package_len; i++) { in print_msg()
53 printk("%02x ", msg->data[i]); in print_msg()
56 printk("source: %p\n", msg->hdr.source); in print_msg()
57 printk("timestamp: %d\n", (int)msg->hdr.timestamp); in print_msg()
58 printk("-------------------end of printing message-----------------\n"); in print_msg()
63 int idx;
[all …]
/Zephyr-latest/drivers/crypto/
DKconfig4 # SPDX-License-Identifier: Apache-2.0
15 int "Crypto devices init priority"
21 module-str = CRYPTO
22 source "subsys/logging/Kconfig.template.log_config"
37 int "Maximum of sessions TinyCrypt shim driver can handle"
70 int "Maximum of sessions mbedTLS shim driver can handle"
77 source "drivers/crypto/Kconfig.ataes132a"
78 source "drivers/crypto/Kconfig.stm32"
79 source "drivers/crypto/Kconfig.nrf_ecb"
80 source "drivers/crypto/Kconfig.intel"
[all …]
/Zephyr-latest/tests/bsim/bluetooth/audio/src/
Dbap_broadcast_source_test.c2 * Copyright (c) 2021-2024 Nordic Semiconductor ASA
4 * SPDX-License-Identifier: Apache-2.0
61 const struct bt_audio_codec_cfg *codec_cfg = stream->codec_cfg; in validate_stream_codec_cfg()
68 int ret; in validate_stream_codec_cfg()
69 int exp_ret; in validate_stream_codec_cfg()
74 const int freq = bt_audio_codec_cfg_freq_to_freq_hz(ret); in validate_stream_codec_cfg()
75 const int exp_freq = bt_audio_codec_cfg_freq_to_freq_hz(exp_ret); in validate_stream_codec_cfg()
91 const int frm_dur_us = bt_audio_codec_cfg_frame_dur_to_frame_dur_us(ret); in validate_stream_codec_cfg()
92 const int exp_frm_dur_us = bt_audio_codec_cfg_frame_dur_to_frame_dur_us(exp_ret); in validate_stream_codec_cfg()
105 /* The broadcast source sets the channel allocation in the BIS to in validate_stream_codec_cfg()
[all …]
/Zephyr-latest/subsys/sensing/
Dsensor_mgmt.c4 * SPDX-License-Identifier: Apache-2.0
57 sensor->dev->name, conn, conn->interval); in arbitrate_interval()
61 if (conn->interval < min_interval) { in arbitrate_interval()
62 min_interval = conn->interval; in arbitrate_interval()
71 sensor->dev->name, interval); in arbitrate_interval()
76 static int set_arbitrate_interval(struct sensing_sensor *sensor, uint32_t interval) in set_arbitrate_interval()
78 struct sensing_submit_config *config = sensor->iodev->data; in set_arbitrate_interval()
80 int ret; in set_arbitrate_interval()
82 __ASSERT(sensor && sensor->dev, "set arbitrate interval, sensor or sensor device is NULL"); in set_arbitrate_interval()
85 interval, sensor->dev->name, config->is_streaming); in set_arbitrate_interval()
[all …]
/Zephyr-latest/drivers/stepper/step_dir/
Dstep_dir_stepper_timing_source.h2 * SPDX-FileCopyrightText: Copyright (c) 2024 Fabian Blatz <fabianblatz@gmail.com>
3 * SPDX-License-Identifier: Apache-2.0
12 * @brief Initialize the stepper timing source.
17 typedef int (*stepper_timing_source_init)(const struct device *dev);
20 * @brief Update the stepper timing source.
26 typedef int (*stepper_timing_source_update)(const struct device *dev, uint32_t velocity);
29 * @brief Start the stepper timing source.
34 typedef int (*stepper_timing_source_start)(const struct device *dev);
37 * @brief Whether the stepper timing source requires rescheduling (keeps running
41 * @return true if the timing source requires rescheduling, false otherwise.
[all …]
/Zephyr-latest/subsys/bluetooth/audio/
DKconfig.bap1 # Bluetooth Audio - Basic Audio Profile configuration options
4 # Copyright (c) 2022-2023 Nordic Semiconductor ASA
6 # SPDX-License-Identifier: Apache-2.0
39 int "Codec Specific Configuration Data Size"
47 int "Codec Specific Configuration Metadata Size"
54 int "Maximum number of subgroups supported for the BASS receive states"
64 int "Codec Capabilities Data Size"
72 int "Codec Capabilities Metadata Size"
80 int "Basic Audio Unicast Group count"
88 int "Basic Audio Profile Unicast Group Connected Isochronous Stream (CIS) count"
[all …]
/Zephyr-latest/dts/bindings/gpio/
Dnxp,lpc-gpio-port.yaml1 # Copyright 2019-2022, 2024 NXP
2 # SPDX-License-Identifier: Apache-2.0
6 compatible: "nxp,lpc-gpio-port"
8 include: [gpio-controller.yaml, base.yaml]
14 "#gpio-cells":
17 int-source:
21 - "pint"
22 - "int-a"
23 - "int-b"
24 - "none"
[all …]
/Zephyr-latest/dts/bindings/clock/
Dst,stm32wba-rcc.yaml2 # SPDX-License-Identifier: Apache-2.0
6 This node is in charge of system clock ('SYSCLK') source selection and controlling
11 System clock source should be selected amongst the clock nodes available in "clocks"
13 Core clock frequency should also be defined, using "clock-frequency" property.
20 clocks = <&pll>; /* Select pll as SYSCLK source */
21 ahb-prescaler = <2>;
22 clock-frequency = <DT_FREQ_M(40)>; /* = SYSCLK / AHB prescaler */
23 apb1-presacler = <1>;
24 apb2-presacler = <1>;
25 apb7-presacler = <7>;
[all …]
/Zephyr-latest/drivers/sdhc/
DKconfig2 # SPDX-License-Identifier: Apache-2.0
11 source "drivers/sdhc/Kconfig.ifx_cat1"
12 source "drivers/sdhc/Kconfig.imx"
13 source "drivers/sdhc/Kconfig.spi"
14 source "drivers/sdhc/Kconfig.mcux_sdif"
15 source "drivers/sdhc/Kconfig.rcar"
16 source "drivers/sdhc/Kconfig.sam_hsmci"
17 source "drivers/sdhc/Kconfig.intel"
18 source "drivers/sdhc/Kconfig.sdhc_cdns"
19 source "drivers/sdhc/Kconfig.esp32"
[all …]
/Zephyr-latest/drivers/eeprom/
DKconfig4 # SPDX-License-Identifier: Apache-2.0
7 bool "Electrically Erasable Programmable Read-Only Memory (EEPROM) drivers"
14 module-str = eeprom
15 source "subsys/logging/Kconfig.template.log_config"
18 int "EEPROM init priority"
32 int "EEPROM shell buffer size"
49 This is an emulator for the Atmel AT24 series of I2C-attached EEPROMs.
51 At present it only supports 8-bit addressing. The size of the EEPROM
67 - Microchip AT24xxx
68 - ST M24xxx
[all …]
/Zephyr-latest/drivers/audio/
DKconfig4 # SPDX-License-Identifier: Apache-2.0
23 int "Init priority"
35 module-str = audio codec
36 source "subsys/logging/Kconfig.template.log_config"
38 source "drivers/audio/Kconfig.tas6422dac"
39 source "drivers/audio/Kconfig.tlv320dac"
40 source "drivers/audio/Kconfig.wm8904"
52 int "Init priority"
58 module-str = audio_dmic
59 source "subsys/logging/Kconfig.template.log_config"
[all …]
/Zephyr-latest/soc/intel/intel_adsp/common/
Dclk.c4 * SPDX-License-Identifier: Apache-2.0
20 int adsp_clock_freq_enc[] = ADSP_CPU_CLOCK_FREQ_ENC;
21 int adsp_clock_freq_mask[] = ADSP_CPU_CLOCK_FREQ_MASK;
57 int adsp_clock_set_cpu_freq(uint32_t freq_idx) in adsp_clock_set_cpu_freq()
60 int i; in adsp_clock_set_cpu_freq()
63 return -EINVAL; in adsp_clock_set_cpu_freq()
70 unsigned int num_cpus = arch_num_cpus(); in adsp_clock_set_cpu_freq()
89 int i; in adsp_clock_init()
114 unsigned int num_cpus = arch_num_cpus(); in adsp_clock_init()
144 bool adsp_clock_source_is_supported(int source) in adsp_clock_source_is_supported() argument
[all …]
/Zephyr-latest/dts/bindings/adc/
Dnxp,adc12.yaml2 # SPDX-License-Identifier: Apache-2.0
8 include: [adc-controller.yaml, pinctrl-device.yaml]
17 clk-source:
18 type: int
20 description: converter clock source
22 clk-divider:
23 type: int
27 alternate-voltage-reference:
29 description: use alternate voltage reference source
31 sample-time:
[all …]

12345678910>>...41