Home
last modified time | relevance | path

Searched refs:mask (Results 226 – 250 of 837) sorted by relevance

12345678910>>...34

/Zephyr-latest/tests/drivers/gpio/gpio_basic_api/boards/
Dnrf54h20dk_nrf54h20_common.dtsi13 sense-edge-mask = <0x60>;
/Zephyr-latest/tests/drivers/input/kbd_matrix/src/
Dmain.c381 kbd_row_t mask[4] = {0x00, 0xff, 0x00, 0x00}; in ZTEST() local
385 .actual_key_mask = mask, in ZTEST()
394 zassert_equal(mask[0], 0x01); in ZTEST()
398 zassert_equal(mask[1], 0xfb); in ZTEST()
402 zassert_equal(mask[3], 0x04); in ZTEST()
410 zassert_equal(memcmp(mask, (uint8_t[]){0x01, 0xfb, 0x00, 0x04}, 4), 0); in ZTEST()
/Zephyr-latest/drivers/sensor/adi/adxl372/
Dadxl372_spi.c81 uint32_t mask, in adxl372_spi_reg_write_mask() argument
92 tmp &= ~mask; in adxl372_spi_reg_write_mask()
/Zephyr-latest/include/zephyr/dt-bindings/clock/
Dstm32f3_clock.h56 #define STM32_DOMAIN_CLOCK(val, mask, shift, reg) \ argument
59 (((mask) & STM32_CLOCK_MASK_MASK) << STM32_CLOCK_MASK_SHIFT) | \
Dstm32g0_clock.h60 #define STM32_DOMAIN_CLOCK(val, mask, shift, reg) \ argument
63 (((mask) & STM32_CLOCK_MASK_MASK) << STM32_CLOCK_MASK_SHIFT) | \
Dstm32g4_clock.h64 #define STM32_DOMAIN_CLOCK(val, mask, shift, reg) \ argument
67 (((mask) & STM32_CLOCK_MASK_MASK) << STM32_CLOCK_MASK_SHIFT) | \
/Zephyr-latest/drivers/led_strip/
Dws2812_i2s.c56 for (uint_fast8_t mask = 0x80; mask != 0; mask >>= 1) { in ws2812_i2s_ser() local
58 word |= (color & mask) ? sym_one : sym_zero; in ws2812_i2s_ser()
/Zephyr-latest/drivers/gpio/
Dgpio_rpi_pico.c90 uint32_t mask, uint32_t value) in gpio_rpi_port_set_masked_raw() argument
94 gpio_put_masked(mask & ~data->single_ended_mask, value); in gpio_rpi_port_set_masked_raw()
96 gpio_set_dir_masked(mask & data->single_ended_mask & data->open_drain_mask, ~value); in gpio_rpi_port_set_masked_raw()
98 gpio_set_dir_masked(mask & data->single_ended_mask & ~data->open_drain_mask, value); in gpio_rpi_port_set_masked_raw()
Dgpio_pcf857x.c167 static int pcf857x_port_set_raw(const struct device *dev, uint16_t mask, uint16_t value, in pcf857x_port_set_raw() argument
185 tx_buf = (drv_data->pins_cfg.outputs_state & ~mask); in pcf857x_port_set_raw()
186 tx_buf |= (value & mask); in pcf857x_port_set_raw()
260 static int pcf857x_port_set_masked_raw(const struct device *dev, gpio_port_pins_t mask, in pcf857x_port_set_masked_raw() argument
263 return pcf857x_port_set_raw(dev, (uint16_t)mask, (uint16_t)value, 0); in pcf857x_port_set_masked_raw()
Dgpio_handlers.c45 gpio_port_pins_t mask, in z_vrfy_gpio_port_set_masked_raw() argument
50 mask, in z_vrfy_gpio_port_set_masked_raw()
/Zephyr-latest/arch/arc/core/
Darc_connect.c113 void z_arc_connect_debug_mask_set(uint32_t core_mask, uint32_t mask) in z_arc_connect_debug_mask_set() argument
117 mask, core_mask); in z_arc_connect_debug_mask_set()
407 void z_arc_connect_idu_set_mask(uint32_t irq_num, uint32_t mask) in z_arc_connect_idu_set_mask() argument
411 irq_num, mask); in z_arc_connect_idu_set_mask()
/Zephyr-latest/dts/riscv/ite/
Dit8801-common-cfg.dtsi24 pin-mask = <0xdb>;
37 pin-mask = <0x3f>;
50 pin-mask = <0x0f>;
/Zephyr-latest/boards/adi/sdp_k1/
Dadi_sdp_120pin_connector.dtsi14 gpio-map-mask = <0xffffffff 0xffffffc0>;
69 gpio-map-mask = <0xffffffff 0xffffffc0>;
85 gpio-map-mask = <0xffffffff 0xffffffc0>;
/Zephyr-latest/drivers/adc/
Dadc_mcp320x.c86 uint32_t mask; in mcp320x_validate_buffer_size() local
88 for (mask = BIT(config->channels - 1); mask != 0; mask >>= 1) { in mcp320x_validate_buffer_size()
89 if (mask & sequence->channels) { in mcp320x_validate_buffer_size()
Dadc_renesas_ra.c161 uint32_t mask; in adc_ra_check_buffer_size() local
163 for (mask = BIT(config->num_channels - 1); mask != 0; mask >>= 1) { in adc_ra_check_buffer_size()
164 if (mask & sequence->channels) { in adc_ra_check_buffer_size()
/Zephyr-latest/dts/arm/nxp/
Dnxp_s32k344_m7.dtsi680 channel-mask = <0x07FFFFF>;
687 channel-mask = <0x00000FE>;
694 channel-mask = <0x0000FE00>;
701 channel-mask = <0x00FE0000>;
708 channel-mask = <0x0BFFFFF>;
735 channel-mask = <0x07FFFFF>;
742 channel-mask = <0x00000FE>;
749 channel-mask = <0x0000FE00>;
756 channel-mask = <0x00FE0000>;
762 channel-mask = <0x0BFFFFF>;
[all …]
/Zephyr-latest/drivers/serial/
Duart_mcux_flexcomm.c180 uint32_t mask = kUSART_TxLevelInterruptEnable; in mcux_flexcomm_irq_tx_enable() local
182 USART_EnableInterrupts(config->base, mask); in mcux_flexcomm_irq_tx_enable()
188 uint32_t mask = kUSART_TxLevelInterruptEnable; in mcux_flexcomm_irq_tx_disable() local
190 USART_DisableInterrupts(config->base, mask); in mcux_flexcomm_irq_tx_disable()
203 uint32_t mask = kUSART_TxLevelInterruptEnable; in mcux_flexcomm_irq_tx_ready() local
206 return (USART_GetEnabledInterrupts(config->base) & mask) in mcux_flexcomm_irq_tx_ready()
213 uint32_t mask = kUSART_RxLevelInterruptEnable; in mcux_flexcomm_irq_rx_enable() local
215 USART_EnableInterrupts(config->base, mask); in mcux_flexcomm_irq_rx_enable()
221 uint32_t mask = kUSART_RxLevelInterruptEnable; in mcux_flexcomm_irq_rx_disable() local
223 USART_DisableInterrupts(config->base, mask); in mcux_flexcomm_irq_rx_disable()
[all …]
/Zephyr-latest/boards/m5stack/m5stack_cores3/
Dgrove_connectors.dtsi10 gpio-map-mask = <0xffffffff 0xffffffc0>;
/Zephyr-latest/drivers/sensor/adi/adxl367/
Dadxl367_spi.c90 uint32_t mask, in adxl367_spi_reg_write_mask() argument
101 tmp &= ~mask; in adxl367_spi_reg_write_mask()
/Zephyr-latest/samples/drivers/ethernet/eth_ivshmem/boards/
Dqemu_cortex_a53.overlay26 interrupt-map-mask = <0x00 0x00 0x00 0x07>;
51 class-rev-mask = <0xFFFFFF00>; /* PCI_CLASS_MASK | IVSHMEM_PROTO_MASK */
/Zephyr-latest/boards/mediatek/mt8195/
Dmt8195_adsp.dts50 mask = <0x3ffffff0>;
61 mask = <0xffff>;
/Zephyr-latest/include/zephyr/arch/arm/cortex_a_r/
Dtimer.h106 static ALWAYS_INLINE void arm_arch_timer_set_irq_mask(bool mask) in arm_arch_timer_set_irq_mask() argument
111 if (mask) { in arm_arch_timer_set_irq_mask()
/Zephyr-latest/arch/x86/core/ia32/
Dirq_manage.c112 static unsigned int mask[2] = {0x0000ffffU, 0xffff0000U}; in priority_to_free_vector() local
143 search_set = mask[vector_block & 1] & in priority_to_free_vector()
/Zephyr-latest/boards/m5stack/m5stack_atoms3/
Dgrove_connectors.dtsi10 gpio-map-mask = <0xffffffff 0xffffffc0>;
/Zephyr-latest/include/zephyr/drivers/flash/
Dnpcx_flash_api_ex.h59 uint32_t mask; member

12345678910>>...34