Home
last modified time | relevance | path

Searched refs:line (Results 1 – 25 of 672) sorted by relevance

12345678910>>...27

/Zephyr-Core-3.5.0/drivers/interrupt_controller/
Dintc_exti_stm32.c49 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()
58 irqnum = exti_irq_table[line]; in stm32_exti_enable()
60 __ASSERT_NO_MSG(line); in stm32_exti_enable()
65 LL_C2_EXTI_EnableIT_0_31(BIT((uint32_t)line)); in stm32_exti_enable()
67 LL_EXTI_EnableIT_0_31(BIT((uint32_t)line)); in stm32_exti_enable()
74 void stm32_exti_disable(int line) in stm32_exti_disable() argument
78 if (line < 32) { in stm32_exti_disable()
80 LL_C2_EXTI_DisableIT_0_31(BIT((uint32_t)line)); in stm32_exti_disable()
[all …]
Dintc_wkpu_nxp_s32.c39 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()
64 data->cb[line].pin = 0; in wkpu_nxp_s32_unset_callback()
[all …]
Dintc_gd32_exti.c58 #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()
113 irq_enable(line2irq[line]); in gd32_exti_enable()
116 void gd32_exti_disable(uint8_t line) in gd32_exti_disable() argument
118 __ASSERT_NO_MSG(line < NUM_EXTI_LINES); in gd32_exti_disable()
119 __ASSERT_NO_MSG(line2irq[line] != EXTI_NOTSUP); in gd32_exti_disable()
[all …]
Dintc_eirq_nxp_s32.c42 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()
67 data->cb[line].pin = 0; in eirq_nxp_s32_unset_callback()
[all …]
Dintc_xmc4xxx.c69 int port_map, pin_map, line, eru_src, eru_ch; in intc_xmc4xxx_gpio_enable_interrupt() local
79 line = XMC4XXX_INTC_GET_LINE(port_line_mapping[i]); in intc_xmc4xxx_gpio_enable_interrupt()
80 cb = &data->cb[line]; in intc_xmc4xxx_gpio_enable_interrupt()
89 eru_ch = line & 0x3; in intc_xmc4xxx_gpio_enable_interrupt()
116 eru = config->eru_regs[line >> 2]; in intc_xmc4xxx_gpio_enable_interrupt()
135 *(uint32_t *)(NVIC_ISPR_BASE) |= BIT(line + 1); in intc_xmc4xxx_gpio_enable_interrupt()
151 for (int line = 0; line < ARRAY_SIZE(data->cb); line++) { in intc_xmc4xxx_gpio_disable_interrupt() local
154 cb = &data->cb[line]; in intc_xmc4xxx_gpio_disable_interrupt()
155 eru_ch = line & 0x3; in intc_xmc4xxx_gpio_disable_interrupt()
157 XMC_ERU_t *eru = config->eru_regs[line >> 2]; in intc_xmc4xxx_gpio_disable_interrupt()
[all …]
Dintc_rv32m1_intmux.c58 uint32_t line = rv32m1_intmux_line(irq); in rv32m1_intmux_irq_enable() local
60 regs->CHANNEL[channel].CHn_IER_31_0 |= BIT(line); in rv32m1_intmux_irq_enable()
67 uint32_t line = rv32m1_intmux_line(irq); in rv32m1_intmux_irq_disable() local
69 regs->CHANNEL[channel].CHn_IER_31_0 &= ~BIT(line); in rv32m1_intmux_irq_disable()
91 uint32_t line = rv32m1_intmux_line(irq); in rv32m1_intmux_get_line_state() local
93 if ((regs->CHANNEL[channel].CHn_IER_31_0 & BIT(line)) != 0) { in rv32m1_intmux_get_line_state()
104 #define ISR_ENTRY(channel, line) \ argument
105 ((channel) * CONFIG_MAX_IRQ_PER_AGGREGATOR + line)
113 uint32_t line = (regs->CHANNEL[channel].CHn_VEC >> 2); in rv32m1_intmux_isr() local
125 if (line < VECN_OFFSET) { in rv32m1_intmux_isr()
[all …]
/Zephyr-Core-3.5.0/include/zephyr/arch/xtensa/
Dcache.h32 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/
Dhelper_pdu.h65 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/build/
Dprocess_gperf.py80 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/tests/bluetooth/controller/common/src/
Dhelper_pdu.c47 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/scripts/
Dcheckpatch.pl179 my $line = $_;
181 $line =~ s/\s*\n?$//g;
182 $line =~ s/^\s*//g;
183 $line =~ s/\s+/ /g;
185 next if ($line =~ m/^\s*#/);
186 next if ($line =~ m/^\s*$/);
188 my @words = split(" ", $line);
719 my $line = $_;
721 $line =~ s/\s*\n?$//g;
722 $line =~ s/^\s*//g;
[all …]
/Zephyr-Core-3.5.0/scripts/utils/
Dpinctrl_nrf_migrate.py191 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):
346 m = re.match(r'^#include\s+".*-pinctrl\.dtsi".*', line)
[all …]
Dmigrate_sys_init.py31 for line in lines:
32 m = re.match(r"^SYS_INIT\(([A-Za-z0-9_]+),.*", line)
37 m = re.match(r"^SYS_INIT_NAMED\([A-Za-z0-9_]+,\s?([A-Za-z0-9_]+).*", line)
49 for line in lines:
54 line,
61 m = re.match(r"^\s?ARG_UNUSED\(" + arg + r"\);.*$", line)
66 content += line
68 m = re.match(r"^\s?\n$", line)
70 content += line
73 content += line
/Zephyr-Core-3.5.0/scripts/gitlint/
Dzephyr_commit_rules.py69 for line in commit.message.body:
70 if line.lower().startswith("signed-off-by"):
71 … if not re.search(r"(^)Signed-off-by: ([-'\w.]+) ([-'\w.]+) (.*)", line, flags=flags):
84 def validate(self, line, _commit): argument
86 if len(line) > max_length and not line.startswith("Revert"):
87 … return [RuleViolation(self.id, self.violation_message.format(len(line), max_length), line)]
109 def validate(self, line, _commit): argument
111 …re.findall(r'http[s]?://(?:[a-zA-Z]|[0-9]|[$-_@.&+]|[!*\(\),]|(?:%[0-9a-fA-F][0-9a-fA-F]))+', line)
112 if line.lower().startswith('signed-off-by') or line.lower().startswith('co-authored-by'):
118 if len(line) > max_length:
[all …]
/Zephyr-Core-3.5.0/include/zephyr/drivers/interrupt_controller/
Dexti_stm32.h33 void stm32_exti_enable(int line);
40 void stm32_exti_disable(int line);
62 void stm32_exti_trigger(int line, int trg);
65 typedef void (*stm32_exti_callback_t) (int line, void *user);
74 int stm32_exti_set_callback(int line, stm32_exti_callback_t cb, void *data);
81 void stm32_exti_unset_callback(int line);
Dgd32_exti.h32 typedef void (*gd32_exti_cb_t)(uint8_t line, void *user);
39 void gd32_exti_enable(uint8_t line);
46 void gd32_exti_disable(uint8_t line);
54 void gd32_exti_trigger(uint8_t line, uint8_t trigger);
66 int gd32_exti_configure(uint8_t line, gd32_exti_cb_t cb, void *user);
Dintc_eirq_nxp_s32.h26 void eirq_nxp_s32_unset_callback(const struct device *dev, uint8_t line);
40 int eirq_nxp_s32_set_callback(const struct device *dev, uint8_t line,
50 void eirq_nxp_s32_enable_interrupt(const struct device *dev, uint8_t line,
59 void eirq_nxp_s32_disable_interrupt(const struct device *dev, uint8_t line);
Dintc_wkpu_nxp_s32.h25 void wkpu_nxp_s32_unset_callback(const struct device *dev, uint8_t line);
39 int wkpu_nxp_s32_set_callback(const struct device *dev, uint8_t line,
49 void wkpu_nxp_s32_enable_interrupt(const struct device *dev, uint8_t line,
58 void wkpu_nxp_s32_disable_interrupt(const struct device *dev, uint8_t line);
/Zephyr-Core-3.5.0/scripts/pylib/pytest-twister-harness/tests/resources/
Dshell_simulator.py18 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/tests/bsim/bluetooth/host/gatt/settings/src/
Dsettings.c39 char line[READ_LEN_MAX + 1]; in entry_check_and_copy() local
44 while (fgets(line, sizeof(line), fin) == line) { in entry_check_and_copy()
45 if (strstr(line, name_tmp) != NULL) { in entry_check_and_copy()
49 if (fputs(line, fout) < 0) { in entry_check_and_copy()
92 char line[READ_LEN_MAX + 1]; in settings_custom_load() local
94 while (fgets(line, sizeof(line), fp) == line) { in settings_custom_load()
96 if (arg->subtree != NULL && !strstr(line, arg->subtree)) { in settings_custom_load()
100 char *pos = strchr(line, '='); in settings_custom_load()
102 if (pos <= line) { in settings_custom_load()
106 vallen = strlen(line) - (pos - line) - 2; in settings_custom_load()
[all …]
/Zephyr-Core-3.5.0/drivers/pinctrl/
Dpinctrl_nrf.c36 #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/subsys/net/ip/
Dtp.c46 void *tp_malloc(size_t size, const char *file, int line, const char *func) in tp_malloc() argument
52 mem->line = line; in tp_malloc()
92 mem->file, mem->line, mem->func, mem->mem, mem->size); in tp_mem_chk()
100 mem->file, mem->line, mem->func, mem->mem, in tp_mem_chk()
105 mem->file, mem->line, mem->func, mem->mem, in tp_mem_chk()
110 void tp_free(void *ptr, const char *file, int line, const char *func) in tp_free() argument
118 file, line, func, ptr); in tp_free()
125 void *tp_calloc(size_t nmemb, size_t size, const char *file, int line, in tp_calloc() argument
129 void *ptr = tp_malloc(bytes, file, line, func); in tp_calloc()
141 tp_dbg("len=%zu %s:%d", mem->size, mem->file, mem->line); in tp_mem_stat()
[all …]
/Zephyr-Core-3.5.0/tests/boot/with_mcumgr/pytest/
Dutils.py21 for line in lines:
22 if m := re_key.match(line):
23 logger.debug('Found matching key: %s' % line.strip())
31 assert any(sl in line for line in output_lines)
37 assert all(sl not in line for line in output_lines)
/Zephyr-Core-3.5.0/modules/mbedtls/
Ddebug.c13 void zephyr_mbedtls_debug(void *ctx, int level, const char *file, int line, const char *str) in zephyr_mbedtls_debug() argument
45 LOG_ERR("%s:%04d: %.*s", basename, line, str_len, str); in zephyr_mbedtls_debug()
48 LOG_WRN("%s:%04d: %.*s", basename, line, str_len, str); in zephyr_mbedtls_debug()
51 LOG_INF("%s:%04d: %.*s", basename, line, str_len, str); in zephyr_mbedtls_debug()
54 LOG_DBG("%s:%04d: %.*s", basename, line, str_len, str); in zephyr_mbedtls_debug()
/Zephyr-Core-3.5.0/tests/subsys/fs/multi-fs/src/
Dtest_fs_shell.c18 static void test_shell_exec(const char *line, int result) in test_shell_exec() argument
22 ret = shell_execute_cmd(NULL, line); in test_shell_exec()
24 TC_PRINT("shell_execute_cmd(%s): %d\n", line, ret); in test_shell_exec()
26 zassert_true(ret == result, line); in test_shell_exec()

12345678910>>...27