Home
last modified time | relevance | path

Searched defs:mask (Results 26 – 50 of 380) sorted by relevance

12345678910>>...16

/Zephyr-Core-3.7.0/drivers/gpio/
Dgpio_npcx.c107 uint32_t mask = BIT(pin); in gpio_npcx_config() local
186 uint32_t mask = BIT(pin); in gpio_npcx_pin_get_config() local
242 gpio_port_pins_t mask, in gpio_npcx_port_set_masked_raw()
254 gpio_port_pins_t mask) in gpio_npcx_port_set_bits_raw()
265 gpio_port_pins_t mask) in gpio_npcx_port_clear_bits_raw()
276 gpio_port_pins_t mask) in gpio_npcx_port_toggle_bits()
Dgpio_cmsdk_ahb.c59 uint32_t mask, in gpio_cmsdk_ahb_port_set_masked_raw()
70 uint32_t mask) in gpio_cmsdk_ahb_port_set_bits_raw()
80 uint32_t mask) in gpio_cmsdk_ahb_port_clear_bits_raw()
90 uint32_t mask) in gpio_cmsdk_ahb_port_toggle_bits()
99 static int cmsdk_ahb_gpio_config(const struct device *dev, uint32_t mask, in cmsdk_ahb_gpio_config()
Dgpio_tle9104.c107 static int tle9104_gpio_port_set_masked_raw(const struct device *dev, uint32_t mask, uint32_t value) in tle9104_gpio_port_set_masked_raw()
126 static int tle9104_gpio_port_set_bits_raw(const struct device *dev, uint32_t mask) in tle9104_gpio_port_set_bits_raw()
131 static int tle9104_gpio_port_clear_bits_raw(const struct device *dev, uint32_t mask) in tle9104_gpio_port_clear_bits_raw()
136 static int tle9104_gpio_port_toggle_bits(const struct device *dev, uint32_t mask) in tle9104_gpio_port_toggle_bits()
Dgpio_sn74hc595.c78 static int gpio_sn74hc595_port_set_masked_raw(const struct device *dev, uint32_t mask, in gpio_sn74hc595_port_set_masked_raw()
105 static int gpio_sn74hc595_port_set_bits_raw(const struct device *dev, uint32_t mask) in gpio_sn74hc595_port_set_bits_raw()
110 static int gpio_sn74hc595_port_clear_bits_raw(const struct device *dev, uint32_t mask) in gpio_sn74hc595_port_clear_bits_raw()
115 static int gpio_sn74hc595_port_toggle_bits(const struct device *dev, uint32_t mask) in gpio_sn74hc595_port_toggle_bits()
Dgpio_cc13xx_cc26xx.c137 uint32_t mask, in gpio_cc13xx_cc26xx_port_set_masked_raw()
147 uint32_t mask) in gpio_cc13xx_cc26xx_port_set_bits_raw()
155 uint32_t mask) in gpio_cc13xx_cc26xx_port_clear_bits_raw()
163 uint32_t mask) in gpio_cc13xx_cc26xx_port_toggle_bits()
Dgpio_mchp_xec.c68 uint32_t mask = 0U; in gpio_xec_configure() local
169 uint32_t mask = 0U; in gpio_xec_pin_interrupt_configure() local
244 uint32_t mask, in gpio_xec_port_set_masked_raw()
257 static int gpio_xec_port_set_bits_raw(const struct device *dev, uint32_t mask) in gpio_xec_port_set_bits_raw()
270 uint32_t mask) in gpio_xec_port_clear_bits_raw()
282 static int gpio_xec_port_toggle_bits(const struct device *dev, uint32_t mask) in gpio_xec_port_toggle_bits()
Dgpio_rv32m1.c82 uint32_t mask = 0U; in gpio_rv32m1_configure() local
174 uint32_t mask, in gpio_rv32m1_port_set_masked_raw()
186 uint32_t mask) in gpio_rv32m1_port_set_bits_raw()
197 uint32_t mask) in gpio_rv32m1_port_clear_bits_raw()
208 uint32_t mask) in gpio_rv32m1_port_toggle_bits()
Dgpio_cc32xx.c116 uint32_t mask, in gpio_cc32xx_port_set_masked_raw()
128 uint32_t mask) in gpio_cc32xx_port_set_bits_raw()
139 uint32_t mask) in gpio_cc32xx_port_clear_bits_raw()
150 uint32_t mask) in gpio_cc32xx_port_toggle_bits()
Dgpio_davinci.c103 gpio_port_pins_t mask, gpio_port_value_t value) in gpio_davinci_port_set_masked_raw()
113 gpio_port_pins_t mask) in gpio_davinci_port_set_bits_raw()
123 gpio_port_pins_t mask) in gpio_davinci_port_clear_bits_raw()
133 gpio_port_pins_t mask) in gpio_davinci_port_toggle_bits()
Dgpio_psoc6.c105 uint32_t mask, in gpio_psoc6_port_set_masked_raw()
117 uint32_t mask) in gpio_psoc6_port_set_bits_raw()
128 uint32_t mask) in gpio_psoc6_port_clear_bits_raw()
139 uint32_t mask) in gpio_psoc6_port_toggle_bits()
Dgpio_numicro.c125 uint32_t mask, in gpio_numicro_port_set_masked_raw()
137 uint32_t mask) in gpio_numicro_port_set_bits_raw()
148 uint32_t mask) in gpio_numicro_port_clear_bits_raw()
158 static int gpio_numicro_port_toggle_bits(const struct device *dev, uint32_t mask) in gpio_numicro_port_toggle_bits()
Dgpio_stellaris.c39 #define GPIO_RW_MASK_ADDR(base, offset, mask) \ argument
150 uint32_t mask, in gpio_stellaris_port_set_masked_raw()
162 uint32_t mask) in gpio_stellaris_port_set_bits_raw()
173 uint32_t mask) in gpio_stellaris_port_clear_bits_raw()
184 uint32_t mask) in gpio_stellaris_port_toggle_bits()
Dgpio_mcux.c41 uint32_t mask = 0U; in gpio_mcux_configure() local
138 uint32_t mask, in gpio_mcux_port_set_masked_raw()
150 uint32_t mask) in gpio_mcux_port_set_bits_raw()
161 uint32_t mask) in gpio_mcux_port_clear_bits_raw()
171 static int gpio_mcux_port_toggle_bits(const struct device *dev, uint32_t mask) in gpio_mcux_port_toggle_bits()
Dgpio_ifx_cat1.c154 uint32_t mask, uint32_t value) in gpio_cat1_port_set_masked_raw()
165 uint32_t mask) in gpio_cat1_port_set_bits_raw()
176 uint32_t mask) in gpio_cat1_port_clear_bits_raw()
187 uint32_t mask) in gpio_cat1_port_toggle_bits()
Dgpio_iproc.c73 static int gpio_iproc_port_set_masked_raw(const struct device *dev, uint32_t mask, uint32_t value) in gpio_iproc_port_set_masked_raw()
85 static int gpio_iproc_port_set_bits_raw(const struct device *dev, uint32_t mask) in gpio_iproc_port_set_bits_raw()
95 static int gpio_iproc_port_clear_bits_raw(const struct device *dev, uint32_t mask) in gpio_iproc_port_clear_bits_raw()
109 static int gpio_iproc_port_toggle_bits(const struct device *dev, uint32_t mask) in gpio_iproc_port_toggle_bits()
Dgpio_eos_s3.c211 uint32_t mask, in gpio_eos_s3_port_set_masked_raw()
225 uint32_t mask) in gpio_eos_s3_port_set_bits_raw()
235 uint32_t mask) in gpio_eos_s3_port_clear_bits_raw()
245 uint32_t mask) in gpio_eos_s3_port_toggle_bits()
/Zephyr-Core-3.7.0/drivers/serial/
Duart_mcux.c211 uint32_t mask = kUART_TxDataRegEmptyInterruptEnable; in uart_mcux_irq_tx_enable() local
219 uint32_t mask = kUART_TxDataRegEmptyInterruptEnable; in uart_mcux_irq_tx_disable() local
235 uint32_t mask = kUART_TxDataRegEmptyInterruptEnable; in uart_mcux_irq_tx_ready() local
245 uint32_t mask = kUART_RxDataRegFullInterruptEnable; in uart_mcux_irq_rx_enable() local
253 uint32_t mask = kUART_RxDataRegFullInterruptEnable; in uart_mcux_irq_rx_disable() local
269 uint32_t mask = kUART_RxDataRegFullInterruptEnable; in uart_mcux_irq_rx_pending() local
278 uint32_t mask = kUART_NoiseErrorInterruptEnable | in uart_mcux_irq_err_enable() local
288 uint32_t mask = kUART_NoiseErrorInterruptEnable | in uart_mcux_irq_err_disable() local
Duart_mcux_iuart.c139 uint32_t mask = kUART_TxEmptyEnable; in mcux_iuart_irq_tx_ready() local
148 uint32_t mask = kUART_RxDataReadyEnable; in mcux_iuart_irq_rx_enable() local
156 uint32_t mask = kUART_RxDataReadyEnable; in mcux_iuart_irq_rx_disable() local
171 uint32_t mask = kUART_RxDataReadyEnable; in mcux_iuart_irq_rx_pending() local
180 uint32_t mask = kUART_RxOverrunEnable | kUART_ParityErrorEnable | in mcux_iuart_irq_err_enable() local
189 uint32_t mask = kUART_RxOverrunEnable | kUART_ParityErrorEnable | in mcux_iuart_irq_err_disable() local
/Zephyr-Core-3.7.0/drivers/interrupt_controller/
Dintc_gicv3.c135 uint32_t mask = BIT(intid & (GIC_NUM_INTR_PER_REG - 1)); in arm_gic_irq_set_priority() local
170 uint32_t mask = BIT(intid & (GIC_NUM_INTR_PER_REG - 1)); in arm_gic_irq_enable() local
195 uint32_t mask = BIT(intid & (GIC_NUM_INTR_PER_REG - 1)); in arm_gic_irq_disable() local
210 uint32_t mask = BIT(intid & (GIC_NUM_INTR_PER_REG - 1)); in arm_gic_irq_is_enabled() local
221 uint32_t mask = BIT(intid & (GIC_NUM_INTR_PER_REG - 1)); in arm_gic_irq_is_pending() local
232 uint32_t mask = BIT(intid & (GIC_NUM_INTR_PER_REG - 1)); in arm_gic_irq_clear_pending() local
536 uint64_t mask = BIT64_MASK(8); in arm_gic_aff_matching() local
Dintc_sam0_eic.c103 uint32_t mask; in sam0_eic_acquire() local
210 uint32_t mask; in sam0_eic_release() local
257 uint32_t mask; in sam0_eic_enable_interrupt() local
278 uint32_t mask; in sam0_eic_disable_interrupt() local
303 uint32_t mask = 0; in sam0_eic_interrupt_pending() local
/Zephyr-Core-3.7.0/include/zephyr/sys/
Dspeculation.h46 uint32_t mask = ((signed_index - signed_array_size) & ~signed_index) >> 31; in k_array_index_sanitize() local
/Zephyr-Core-3.7.0/drivers/rtc/
Drtc_sam.c227 static uint32_t rtc_atmel_timalr_from_tm(const struct rtc_time *timeptr, uint32_t mask) in rtc_atmel_timalr_from_tm()
249 static uint32_t rtc_atmel_calalr_from_tm(const struct rtc_time *timeptr, uint32_t mask) in rtc_atmel_calalr_from_tm()
268 uint32_t mask = 0; in rtc_sam_alarm_mask_from_timalr() local
287 uint32_t mask = 0; in rtc_sam_alarm_mask_from_calalr() local
300 static void rtc_sam_tm_from_timalr_calalr(struct rtc_time *timeptr, uint32_t mask, in rtc_sam_tm_from_timalr_calalr()
327 uint16_t *mask) in rtc_sam_alarm_get_supported_fields()
336 static int rtc_sam_alarm_set_time(const struct device *dev, uint16_t id, uint16_t mask, in rtc_sam_alarm_set_time()
387 static int rtc_sam_alarm_get_time(const struct device *dev, uint16_t id, uint16_t *mask, in rtc_sam_alarm_get_time()
Drtc_smartbond.c293 static uint32_t alarm_calendar_to_bcd(const struct rtc_time *timeptr, uint16_t mask) in alarm_calendar_to_bcd()
314 static inline uint32_t alarm_time_to_bcd(const struct rtc_time *timeptr, uint16_t mask) in alarm_time_to_bcd()
357 static uint32_t tm_to_rtc_alarm_mask(uint16_t mask) in tm_to_rtc_alarm_mask()
382 uint16_t mask = 0; in rtc_to_tm_alarm_mask() local
403 static int rtc_smartbond_alarm_set_time(const struct device *dev, uint16_t id, uint16_t mask, in rtc_smartbond_alarm_set_time()
472 static int rtc_smartbond_alarm_get_time(const struct device *dev, uint16_t id, uint16_t *mask, in rtc_smartbond_alarm_get_time()
544 uint16_t *mask) in rtc_smartbond_alarm_get_supported_fields()
/Zephyr-Core-3.7.0/tests/arch/arm/arm_sw_vector_relay/src/
Darm_sw_vector_relay.c46 uint32_t mask = MAX(128, Z_POW2_CEIL(4 * (16 + CONFIG_NUM_IRQS))) - 1; in ZTEST() local
/Zephyr-Core-3.7.0/subsys/net/pkt_filter/
Dethernet.c15 struct net_eth_addr *mask) in addr_mask_compare()
31 struct net_eth_addr *mask = &test_eth_addr->mask; in addr_match() local

12345678910>>...16