Home
last modified time | relevance | path

Searched refs:mask (Results 551 – 575 of 837) sorted by relevance

1...<<21222324252627282930>>...34

/Zephyr-latest/drivers/sensor/ti/ina219/
Dina219.c53 uint16_t mask, in ina219_reg_field_update() argument
64 reg_data = (reg_data & ~mask) | field; in ina219_reg_field_update()
/Zephyr-latest/drivers/memc/
Dmemc_mcux_flexspi_aps6408l.c145 uint8_t reg, uint8_t mask, uint8_t set_val) in memc_flexspi_aps6408l_update_reg() argument
167 buffer &= (~mask & 0xFF); in memc_flexspi_aps6408l_update_reg()
/Zephyr-latest/drivers/gpio/
Dgpio_axp192.c53 static int gpio_axp192_port_set_masked_raw(const struct device *dev, gpio_port_pins_t mask, in gpio_axp192_port_set_masked_raw() argument
63 ret = mfd_axp192_gpio_write_port(config->mfd, value, mask); in gpio_axp192_port_set_masked_raw()
Dgpio_rzt2m.c170 static int rzt2m_port_set_masked_raw(const struct device *dev, gpio_port_pins_t mask, in rzt2m_port_set_masked_raw() argument
176 *p_reg = (*p_reg & ~mask) | (value & mask); in rzt2m_port_set_masked_raw()
Dgpio_sedi.c173 uint32_t mask, in gpio_sedi_set_masked_raw() argument
176 gpio_sedi_write_raw(dev, (mask & value), false); in gpio_sedi_set_masked_raw()
/Zephyr-latest/boards/panasonic/pan1783/
Dpan1783_nrf5340_cpunet_common.dtsi69 gpio-map-mask = <0xffffffff 0xffffffc0>;
92 gpio-map-mask = <0xffffffff 0xffffffc0>;
/Zephyr-latest/boards/bbc/microbit/
Dbbc_microbit.dts81 gpio-map-mask = <0xffffffff 0xffffffc0>;
116 sense-edge-mask = <0xffffffff>;
/Zephyr-latest/drivers/video/
Dmt9m114.c271 uint8_t reg_size, const uint32_t mask, const uint32_t val) in mt9m114_modify_reg() argument
282 newVal = (oldVal & ~mask) | (val & mask); in mt9m114_modify_reg()
/Zephyr-latest/drivers/sensor/ams/tsl2591/
Dtsl2591.c32 int tsl2591_reg_update(const struct device *dev, uint8_t reg, uint8_t mask, uint8_t val) in tsl2591_reg_update() argument
42 new_value = (old_value & ~mask) | (val & mask); in tsl2591_reg_update()
/Zephyr-latest/drivers/adc/
Dadc_nxp_s32_adc_sar.c208 uint32_t mask; in adc_nxp_s32_start_read_async() local
260 mask = (sequence->channels >> i) & 0x1; in adc_nxp_s32_start_read_async()
262 if (mask) { in adc_nxp_s32_start_read_async()
Dadc_npcx.c275 uint32_t mask; in adc_npcx_validate_buffer_size() local
278 for (mask = BIT(config->channel_count - 1); mask != 0; mask >>= 1) { in adc_npcx_validate_buffer_size()
279 if (mask & sequence->channels) { in adc_npcx_validate_buffer_size()
/Zephyr-latest/boards/nxp/mimxrt1064_evk/
Dmimxrt1064_evk.dts54 gpio-map-mask = <0xffffffff 0xffffffc0>;
67 gpio-map-mask = <0xffffffff 0xffffffc0>;
106 gpio-map-mask = <0xffffffff 0xffffffc0>;
/Zephyr-latest/boards/atmel/sam/sam_v71_xult/
Dsam_v71_xult-common.dtsi77 gpio-map-mask = <0xffffffff 0xffffffc0>;
102 gpio-map-mask = <0xffffffff 0xffffffc0>;
127 gpio-map-mask = <0xffffffff 0xffffffc0>;
/Zephyr-latest/subsys/logging/
Dlog_mgmt.c637 uint32_t mask = 0x1; in z_log_links_activate() local
646 if (active_mask & mask) { in z_log_links_activate()
661 out_mask |= mask; in z_log_links_activate()
665 mask <<= 1; in z_log_links_activate()
/Zephyr-latest/drivers/spi/
Dspi_mchp_mss_qspi.c125 uint32_t mask = MSS_QSPI_IEN_TXDONE | in mss_qspi_enable_ints() local
129 mss_qspi_write(s, mask, MSS_QSPI_REG_IEN); in mss_qspi_enable_ints()
134 uint32_t mask = 0; in mss_qspi_disable_ints() local
136 mss_qspi_write(s, mask, MSS_QSPI_REG_IEN); in mss_qspi_disable_ints()
/Zephyr-latest/drivers/serial/
Duart_nrfx_uart.c677 #define UART_ERROR_FROM_MASK(mask) \ argument
678 (mask & NRF_UART_ERROR_OVERRUN_MASK ? UART_ERROR_OVERRUN \
679 : mask & NRF_UART_ERROR_PARITY_MASK ? UART_ERROR_PARITY \
680 : mask & NRF_UART_ERROR_FRAMING_MASK ? UART_ERROR_FRAMING \
681 : mask & NRF_UART_ERROR_BREAK_MASK ? UART_BREAK \
Duart_nrfx_uarte2.c164 #define UARTE_ERROR_FROM_MASK(mask) \ argument
165 ((mask) & NRF_UARTE_ERROR_OVERRUN_MASK ? UART_ERROR_OVERRUN \
166 : (mask) & NRF_UARTE_ERROR_PARITY_MASK ? UART_ERROR_PARITY \
167 : (mask) & NRF_UARTE_ERROR_FRAMING_MASK ? UART_ERROR_FRAMING \
168 : (mask) & NRF_UARTE_ERROR_BREAK_MASK ? UART_BREAK \
729 uint32_t mask = nrfx_uarte_errorsrc_get(instance); in api_err_check() local
731 return mask; in api_err_check()
/Zephyr-latest/include/zephyr/drivers/
Di2c.h1634 uint8_t reg_addr, uint8_t mask, in i2c_reg_update_byte() argument
1645 new_value = (old_value & ~mask) | (value & mask); in i2c_reg_update_byte()
1668 uint8_t reg_addr, uint8_t mask, in i2c_reg_update_byte_dt() argument
1672 reg_addr, mask, value); in i2c_reg_update_byte_dt()
/Zephyr-latest/drivers/counter/
Dmaxim_ds3231.c616 uint8_t mask = (MAXIM_DS3231_ALARM1 | MAXIM_DS3231_ALARM2); in maxim_ds3231_check_alarms() local
623 int rv = rsc_stat(dev, 0U, (rp->ctrl & mask) ^ mask); in maxim_ds3231_check_alarms()
626 rv &= mask; in maxim_ds3231_check_alarms()
638 uint8_t mask = (MAXIM_DS3231_ALARM1 | MAXIM_DS3231_ALARM2); in check_handled_alarms() local
644 mask &= rp->ctrl; in check_handled_alarms()
646 int rv = rsc_stat(dev, 0U, mask); in check_handled_alarms()
649 rv &= mask; in check_handled_alarms()
/Zephyr-latest/boards/st/nucleo_g070rb/
Dst_morpho_connector.dtsi13 gpio-map-mask = <ST_MORPHO_PIN_MASK 0x0>;
/Zephyr-latest/boards/st/nucleo_g071rb/
Dst_morpho_connector.dtsi13 gpio-map-mask = <ST_MORPHO_PIN_MASK 0x0>;
/Zephyr-latest/boards/st/nucleo_g0b1re/
Dst_morpho_connector.dtsi13 gpio-map-mask = <ST_MORPHO_PIN_MASK 0x0>;
/Zephyr-latest/boards/particle/argon/dts/
Dmesh_feather.dtsi72 gpio-map-mask = <0xffffffff 0xffffffc0>;
101 gpio-map-mask = <0xffffffff 0xffffffc0>;
/Zephyr-latest/boards/particle/boron/dts/
Dmesh_feather.dtsi72 gpio-map-mask = <0xffffffff 0xffffffc0>;
101 gpio-map-mask = <0xffffffff 0xffffffc0>;
/Zephyr-latest/boards/particle/xenon/dts/
Dmesh_feather.dtsi72 gpio-map-mask = <0xffffffff 0xffffffc0>;
101 gpio-map-mask = <0xffffffff 0xffffffc0>;

1...<<21222324252627282930>>...34