/Zephyr-Core-3.5.0/drivers/interrupt_controller/ |
D | intc_exti_stm32.c | 25 /** @brief EXTI line ranges hold by a single ISR */ 45 /* per-line callbacks */ 49 void stm32_exti_enable(int line) in stm32_exti_enable() argument 53 if (line >= NUM_EXTI_LINES) { in stm32_exti_enable() 54 __ASSERT_NO_MSG(line); in stm32_exti_enable() 57 /* Get matching exti irq provided line thanks to irq_table */ in stm32_exti_enable() 58 irqnum = exti_irq_table[line]; in stm32_exti_enable() 60 __ASSERT_NO_MSG(line); in stm32_exti_enable() 63 /* Enable requested line interrupt */ in stm32_exti_enable() 65 LL_C2_EXTI_EnableIT_0_31(BIT((uint32_t)line)); in stm32_exti_enable() [all …]
|
D | intc_wkpu_nxp_s32.c | 28 /* Wrapper callback for each WKPU line, from low level driver callback to GPIO callback */ 39 int wkpu_nxp_s32_set_callback(const struct device *dev, uint8_t line, in wkpu_nxp_s32_set_callback() argument 44 __ASSERT(line < NXP_S32_NUM_CHANNELS, "Interrupt line is out of range"); in wkpu_nxp_s32_set_callback() 46 if (data->cb[line].cb) { in wkpu_nxp_s32_set_callback() 50 data->cb[line].cb = cb; in wkpu_nxp_s32_set_callback() 51 data->cb[line].pin = pin; in wkpu_nxp_s32_set_callback() 52 data->cb[line].data = arg; in wkpu_nxp_s32_set_callback() 57 void wkpu_nxp_s32_unset_callback(const struct device *dev, uint8_t line) in wkpu_nxp_s32_unset_callback() argument 61 __ASSERT(line < NXP_S32_NUM_CHANNELS, "Interrupt line is out of range"); in wkpu_nxp_s32_unset_callback() 63 data->cb[line].cb = NULL; in wkpu_nxp_s32_unset_callback() [all …]
|
D | intc_eirq_nxp_s32.c | 31 /* Wrapper callback for each EIRQ line, from low level driver callback to GPIO callback */ 42 int eirq_nxp_s32_set_callback(const struct device *dev, uint8_t line, in eirq_nxp_s32_set_callback() argument 47 __ASSERT(line < NXP_S32_NUM_CHANNELS, "Interrupt line is out of range"); in eirq_nxp_s32_set_callback() 49 if (data->cb[line].cb) { in eirq_nxp_s32_set_callback() 53 data->cb[line].cb = cb; in eirq_nxp_s32_set_callback() 54 data->cb[line].pin = pin; in eirq_nxp_s32_set_callback() 55 data->cb[line].data = arg; in eirq_nxp_s32_set_callback() 60 void eirq_nxp_s32_unset_callback(const struct device *dev, uint8_t line) in eirq_nxp_s32_unset_callback() argument 64 __ASSERT(line < NXP_S32_NUM_CHANNELS, "Interrupt line is out of range"); in eirq_nxp_s32_unset_callback() 66 data->cb[line].cb = NULL; in eirq_nxp_s32_unset_callback() [all …]
|
D | intc_gd32_exti.c | 19 /** Unsupported line indicator */ 25 /** @brief EXTI line ranges hold by a single ISR */ 33 /** @brief EXTI line interrupt callback. */ 57 /** @brief Obtain line IRQ number if enabled. */ 58 #define EXTI_LINE_IRQ_COND(enabled, line) \ argument 59 COND_CODE_1(enabled, (DT_INST_IRQ_BY_NAME(0, line, irq)), (EXTI_NOTSUP)) 106 void gd32_exti_enable(uint8_t line) in gd32_exti_enable() argument 108 __ASSERT_NO_MSG(line < NUM_EXTI_LINES); in gd32_exti_enable() 109 __ASSERT_NO_MSG(line2irq[line] != EXTI_NOTSUP); in gd32_exti_enable() 111 EXTI_INTEN |= BIT(line); in gd32_exti_enable() [all …]
|
/Zephyr-Core-3.5.0/include/zephyr/drivers/interrupt_controller/ |
D | intc_eirq_nxp_s32.h | 17 /* Wrapper callback for EIRQ line */ 21 * @brief Unset EIRQ callback for line 24 * @param line EIRQ line 26 void eirq_nxp_s32_unset_callback(const struct device *dev, uint8_t line); 29 * @brief Set EIRQ callback for line 32 * @param line EIRQ line 38 * @retval -EBUSY if callback for the line is already set 40 int eirq_nxp_s32_set_callback(const struct device *dev, uint8_t line, 44 * @brief Set edge event and enable interrupt for EIRQ line 47 * @param line EIRQ line [all …]
|
D | intc_wkpu_nxp_s32.h | 16 /* Wrapper callback for WKPU line */ 20 * @brief Unset WKPU callback for line 23 * @param line WKPU line 25 void wkpu_nxp_s32_unset_callback(const struct device *dev, uint8_t line); 28 * @brief Set WKPU callback for line 31 * @param line WKPU line 37 * @retval -EBUSY if callback for the line is already set 39 int wkpu_nxp_s32_set_callback(const struct device *dev, uint8_t line, 43 * @brief Set edge event and enable interrupt for WKPU line 46 * @param line WKPU line [all …]
|
D | exti_stm32.h | 29 * @brief enable EXTI interrupt for specific line 31 * @param line EXTI# line 33 void stm32_exti_enable(int line); 36 * @brief disable EXTI interrupt for specific line 38 * @param line EXTI# line 40 void stm32_exti_disable(int line); 57 * @brief set EXTI interrupt line triggers 59 * @param line EXTI# line 62 void stm32_exti_trigger(int line, int trg); 65 typedef void (*stm32_exti_callback_t) (int line, void *user); [all …]
|
D | gd32_exti.h | 32 typedef void (*gd32_exti_cb_t)(uint8_t line, void *user); 35 * @brief Enable EXTI interrupt for the given line. 37 * @param line EXTI line. 39 void gd32_exti_enable(uint8_t line); 42 * @brief Disable EXTI interrupt for the given line. 44 * @param line EXTI line. 46 void gd32_exti_disable(uint8_t line); 49 * @brief Configure EXTI interrupt trigger mode for the given line. 51 * @param line EXTI line. 54 void gd32_exti_trigger(uint8_t line, uint8_t trigger); [all …]
|
/Zephyr-Core-3.5.0/include/zephyr/arch/xtensa/ |
D | cache.h | 32 size_t line; in arch_dcache_flush_range() local 34 for (line = first; bytes && line < last; line += step) { in arch_dcache_flush_range() 35 __asm__ volatile("dhwb %0, 0" :: "r"(line)); in arch_dcache_flush_range() 47 size_t line; in arch_dcache_flush_and_invd_range() local 49 for (line = first; bytes && line < last; line += step) { in arch_dcache_flush_and_invd_range() 50 __asm__ volatile("dhwbi %0, 0" :: "r"(line)); in arch_dcache_flush_and_invd_range() 62 size_t line; in arch_dcache_invd_range() local 64 for (line = first; bytes && line < last; line += step) { in arch_dcache_invd_range() 65 __asm__ volatile("dhi %0, 0" :: "r"(line)); in arch_dcache_invd_range() 75 size_t line; in arch_dcache_invd_all() local [all …]
|
/Zephyr-Core-3.5.0/tests/bluetooth/controller/common/include/ |
D | helper_pdu.h | 65 void helper_pdu_verify_ping_req(const char *file, uint32_t line, struct pdu_data *pdu, void *param); 66 void helper_pdu_verify_ping_rsp(const char *file, uint32_t line, struct pdu_data *pdu, void *param); 68 void helper_pdu_verify_feature_req(const char *file, uint32_t line, struct pdu_data *pdu, 70 void helper_pdu_verify_peripheral_feature_req(const char *file, uint32_t line, struct pdu_data *pdu, 72 void helper_pdu_verify_feature_rsp(const char *file, uint32_t line, struct pdu_data *pdu, 75 void helper_pdu_verify_min_used_chans_ind(const char *file, uint32_t line, struct pdu_data *pdu, 78 void helper_pdu_verify_version_ind(const char *file, uint32_t line, struct pdu_data *pdu, 81 void helper_pdu_verify_enc_req(const char *file, uint32_t line, struct pdu_data *pdu, void *param); 83 void helper_pdu_ntf_verify_enc_req(const char *file, uint32_t line, struct pdu_data *pdu, 86 void helper_pdu_verify_enc_rsp(const char *file, uint32_t line, struct pdu_data *pdu, void *param); [all …]
|
/Zephyr-Core-3.5.0/scripts/gitlint/ |
D | zephyr_commit_rules.py | 22 name = "body-min-line-count" 28 … options_spec = [IntOption('min-line-count', 1, "Minimum body line count excluding Signed-off-by")] 33 min_line_count = self.options['min-line-count'].value 35 … message = "Commit message body is empty, should at least have {} line(s).".format(min_line_count) 40 name = "body-max-line-count" 46 options_spec = [IntOption('max-line-count', 200, "Maximum body line count")] 50 max_line_count = self.options['max-line-count'].value 56 """ This rule will enforce that each commit contains a "Signed-off-by" line. 57 …We keep things simple here and just check whether the commit body contains a line that starts with… 69 for line in commit.message.body: [all …]
|
/Zephyr-Core-3.5.0/samples/modules/tflite-micro/magic_wand/renode/ |
D | litex-vexriscv-tflite.robot | 14 Wait For Line On Uart RING: 24 Wait For Line On Uart ${SPACE*10}* 25 Wait For Line On Uart ${SPACE*7}*${SPACE*5}* 26 Wait For Line On Uart ${SPACE*5}*${SPACE*9}* 27 Wait For Line On Uart ${SPACE*4}*${SPACE*11}* 28 Wait For Line On Uart ${SPACE*5}*${SPACE*9}* 29 Wait For Line On Uart ${SPACE*7}*${SPACE*5}* 30 Wait For Line On Uart ${SPACE*10}* 33 Wait For Line On Uart SLOPE: 44 Wait For Line On Uart ${SPACE*8}* [all …]
|
/Zephyr-Core-3.5.0/tests/bluetooth/controller/common/src/ |
D | helper_pdu.c | 47 zassert_mem_equal(_s._f, _p->_f, sizeof(_p->_f), _t "\nCalled at %s:%d\n", file, line); 507 void helper_pdu_verify_version_ind(const char *file, uint32_t line, struct pdu_data *pdu, in helper_pdu_verify_version_ind() argument 513 line); in helper_pdu_verify_version_ind() 515 "Not a LL_VERSION_IND.\nCalled at %s:%d\n", file, line); in helper_pdu_verify_version_ind() 517 "Wrong version number.\nCalled at %s:%d\n", file, line); in helper_pdu_verify_version_ind() 519 "Wrong company id.\nCalled at %s:%d\n", file, line); in helper_pdu_verify_version_ind() 521 "Wrong sub version number.\nCalled at %s:%d\n", file, line); in helper_pdu_verify_version_ind() 524 void helper_pdu_verify_ping_req(const char *file, uint32_t line, struct pdu_data *pdu, void *param) in helper_pdu_verify_ping_req() argument 527 line); in helper_pdu_verify_ping_req() 529 "Not a LL_PING_REQ. Called at %s:%d\n", file, line); in helper_pdu_verify_ping_req() [all …]
|
/Zephyr-Core-3.5.0/tests/subsys/shell/shell_history/src/ |
D | shell_history_test.c | 28 * Function tests getting line from history and compares it against expected 54 /* Test put line to history and get it. 58 * - put line to the history. 59 * - read line and verify that it is the one that was put. 78 /* Test verifies that after purging there is no line in the history. */ 100 * - get in up direction a line and verify that it's the last one added (3). 101 * - get next line in up direction and verify that it's line 2. 102 * - get next line in up direction and verify that it's line 1. 103 * - get next line in down direction and verify that it's line 2. 104 * - get next line in up direction and verify that it's line 1. [all …]
|
/Zephyr-Core-3.5.0/dts/bindings/spi/ |
D | nordic,nrf-spi-common.yaml | 31 (line high), the most common value used in SPI transfers. 43 Optional bi-directional line that allows SPI master to indicate to SPI 44 slave (by setting the line high) that a transfer is to occur, so that 49 - initially, SPI slave configures its WAKE line pin as an input and SPI 50 master keeps the line in the low state 52 line pin as an input with pull-up; this changes the line state to 54 - when SPI slave detects the high state of the WAKE line, it prepares 56 line low by configuring its pin as an output 57 - the generated high-to-low transition on the WAKE line is a signal 59 - SPI slave releases the line by configuring its pin back to be an input [all …]
|
/Zephyr-Core-3.5.0/dts/bindings/interrupt-controller/ |
D | st,stm32-exti.yaml | 22 line-ranges: 26 Description of the the input lines range for each interrupt line supported 27 by the external interrupt controller. For each line a couple of integers is 28 provided: the number of the first line of the range start and the length 31 line-ranges = <0 1>, <1 1>, <2 1>, <3 1>, 35 6th line starts with input line 5 and contains 5 elements (5 to 9) 36 7th line starts with inupt line 10 and contains 6 elements (10 to 15)
|
/Zephyr-Core-3.5.0/boards/arm/nrf9160dk_nrf52840/dts/bindings/ |
D | nordic,nrf9160dk-nrf52840-interface.yaml | 14 | P0.17 | -- nRF interface line 0 -- | P0.17 | 15 | P0.18 | -- nRF interface line 1 -- | P0.20 | 16 | P0.19 | -- nRF interface line 2 -- | P0.15 | 17 | P0.21 | -- nRF interface line 3 -- | P0.22 | 18 | P0.22 | -- nRF interface line 4 -- | P1.04 | 19 | P0.23 | -- nRF interface line 5 -- | P1.02 | 20 | COEX0 | -- nRF interface line 6 -- | P1.13 | 21 | COEX1 | -- nRF interface line 7 -- | P1.11 | 22 | COEX2 | -- nRF interface line 8 -- | P1.15 | 23 | P0.24 | -- nRF interface line 9 -- | P0.18 (nRESET) | (in v0.14.0 or later) [all …]
|
/Zephyr-Core-3.5.0/boards/arm/nrf9160dk_nrf9160/dts/bindings/ |
D | nordic,nrf9160dk-nrf52840-interface.yaml | 14 | P0.17 | -- nRF interface line 0 -- | P0.17 | 15 | P0.18 | -- nRF interface line 1 -- | P0.20 | 16 | P0.19 | -- nRF interface line 2 -- | P0.15 | 17 | P0.21 | -- nRF interface line 3 -- | P0.22 | 18 | P0.22 | -- nRF interface line 4 -- | P1.04 | 19 | P0.23 | -- nRF interface line 5 -- | P1.02 | 20 | COEX0 | -- nRF interface line 6 -- | P1.13 | 21 | COEX1 | -- nRF interface line 7 -- | P1.11 | 22 | COEX2 | -- nRF interface line 8 -- | P1.15 | 23 | P0.24 | -- nRF interface line 9 -- | P0.18 (nRESET) | (in v0.14.0 or later) [all …]
|
/Zephyr-Core-3.5.0/scripts/build/ |
D | process_gperf.py | 80 def process_line(line, fp): argument 81 if line.startswith("#"): 82 fp.write(line) 87 if re.search(args.pattern + " [*]$", line): 88 fp.write("static inline " + line) 91 m = re.search("gperf version (.*) [*][/]$", line) 102 line = re.sub(r'lengthtable\[key\]', r'sizeof(void *)', line) 105 line = re.sub(r'[{]["]["][}]', r'{}', line) 108 line = re.sub(r'static unsigned char lengthtable', 109 r'static unsigned char __unused lengthtable', line) [all …]
|
/Zephyr-Core-3.5.0/scripts/pylib/pytest-twister-harness/tests/resources/ |
D | shell_simulator.py | 18 for line in sys.stdin: 19 line = line.strip() 20 print(line, flush=True) 21 if line == 'quit': 23 elif line == 'zen':
|
/Zephyr-Core-3.5.0/scripts/utils/ |
D | pinctrl_nrf_migrate.py | 19 This script uses a basic line based parser, therefore not all valid 191 for i, line in enumerate(content[::-1]): 192 if re.match(r"\s*};.*", line): 202 for line in content[:last_line]: 203 out.write(line) 236 for line in content[last_line:]: 237 out.write(line) 252 for line in content: 253 m = re.match(r'^#include\s+(?:"|<).*nrf.*(?:>|").*', line) 344 for i, line in enumerate(content): [all …]
|
/Zephyr-Core-3.5.0/drivers/pinctrl/ |
D | pinctrl_nrf.c | 36 #define NRF_PSEL_UART(reg, line) ((NRF_UART_Type *)reg)->PSEL##line argument 38 #define NRF_PSEL_UART(reg, line) ((NRF_UARTE_Type *)reg)->PSEL.line argument 42 #define NRF_PSEL_SPIM(reg, line) ((NRF_SPI_Type *)reg)->PSEL##line argument 44 #define NRF_PSEL_SPIM(reg, line) ((NRF_SPIM_Type *)reg)->PSEL.line argument 49 #define NRF_PSEL_SPIS(reg, line) ((NRF_SPIS_Type *)reg)->PSEL##line argument 51 #define NRF_PSEL_SPIS(reg, line) ((NRF_SPIS_Type *)reg)->PSEL.line argument 57 #define NRF_PSEL_TWIM(reg, line) ((NRF_TWI_Type *)reg)->PSEL##line argument 59 #define NRF_PSEL_TWIM(reg, line) ((NRF_TWI_Type *)reg)->PSEL.line argument 62 #define NRF_PSEL_TWIM(reg, line) ((NRF_TWIM_Type *)reg)->PSEL.line argument 66 #define NRF_PSEL_I2S(reg, line) ((NRF_I2S_Type *)reg)->PSEL.line argument [all …]
|
/Zephyr-Core-3.5.0/include/zephyr/drivers/ |
D | cache.h | 82 * @note the cache operations act on cache line. When multiple data structures 83 * share the same cache line being flushed, all the portions of the 84 * data structures sharing the same line will be flushed. This is usually 103 * @note the cache operations act on cache line. When multiple data structures 104 * share the same cache line being invalidated, all the portions of the 105 * non-read-only data structures sharing the same line will be 108 * line and/or @p size is not a multiple of the cache line size the 125 * @note the cache operations act on cache line. When multiple data structures 126 * share the same cache line being flushed, all the portions of the 127 * data structures sharing the same line will be flushed before being [all …]
|
/Zephyr-Core-3.5.0/samples/subsys/console/getline/ |
D | README.rst | 4 Use console_getline() to read an input line from the console. 12 line or blocks waiting for one. Using this function, it should be fairly 14 console input line by line. The sample also allows to see details of how 15 a line is returned by the function. 39 Now start pressing keys on a keyboard, followed by Enter. The input line 41 line does not include any special "end of line" characters (like LF, CR,
|
/Zephyr-Core-3.5.0/include/zephyr/arch/ |
D | cache.h | 92 * @note the cache operations act on cache line. When multiple data structures 93 * share the same cache line being flushed, all the portions of the 94 * data structures sharing the same line will be flushed. This is usually 115 * @note the cache operations act on cache line. When multiple data structures 116 * share the same cache line being invalidated, all the portions of the 117 * non-read-only data structures sharing the same line will be 120 * line and/or @p size is not a multiple of the cache line size the 139 * @note the cache operations act on cache line. When multiple data structures 140 * share the same cache line being flushed, all the portions of the 141 * data structures sharing the same line will be flushed before being [all …]
|