Home
last modified time | relevance | path

Searched refs:mask (Results 576 – 600 of 837) sorted by relevance

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

/Zephyr-latest/dts/x86/intel/
Dapollo_lake.dtsi407 gpio-map-mask = <0xffffffff 0xffffffc0>;
494 gpio-map-mask = <0xffffffff 0xffffffc0>;
580 gpio-map-mask = <0xffffffff 0xffffffc0>;
636 gpio-map-mask = <0xffffffff 0xffffffc0>;
/Zephyr-latest/drivers/audio/
Ddmic_mcux.c93 uint32_t mask = 0x1; in dmic_mcux_activate_channels() local
97 mask |= BIT(dmic_mcux_hw_chan(drv_data, chan)); in dmic_mcux_activate_channels()
101 DMIC_EnableChannnel(drv_data->base_address, mask); in dmic_mcux_activate_channels()
104 drv_data->base_address->CHANEN &= ~mask; in dmic_mcux_activate_channels()
/Zephyr-latest/drivers/sdhc/
Dsdhc_esp32.c384 static inline bool mask_check_and_clear(uint32_t *state, uint32_t mask) in mask_check_and_clear() argument
386 bool ret = ((*state) & mask) != 0; in mask_check_and_clear()
388 *state &= ~mask; in mask_check_and_clear()
878 const uint16_t mask = BIT(slot); in sdmmc_host_set_bus_width() local
881 sdio_hw->ctype.card_width_8 &= ~mask; in sdmmc_host_set_bus_width()
882 sdio_hw->ctype.card_width &= ~mask; in sdmmc_host_set_bus_width()
884 sdio_hw->ctype.card_width_8 &= ~mask; in sdmmc_host_set_bus_width()
885 sdio_hw->ctype.card_width |= mask; in sdmmc_host_set_bus_width()
/Zephyr-latest/boards/st/nucleo_h503rb/
Dst_morpho_connector.dtsi13 gpio-map-mask = <ST_MORPHO_PIN_MASK 0x0>;
/Zephyr-latest/boards/nordic/nrf5340dk/
Dnrf5340dk_common.dtsi55 gpio-map-mask = <0xffffffff 0xffffffc0>;
/Zephyr-latest/tests/drivers/can/api/src/
Dutilities.c72 .mask = CAN_EXT_ID_MASK in ZTEST()
/Zephyr-latest/drivers/sensor/vishay/vcnl36825t/
Dvcnl36825t.c46 int vcnl36825t_update(const struct i2c_dt_spec *spec, uint8_t reg_addr, uint16_t mask, in vcnl36825t_update() argument
57 new_value = (old_value & ~mask) | (value & mask); in vcnl36825t_update()
/Zephyr-latest/drivers/gpio/
Dgpio_xlnx_axi.c148 static int gpio_xlnx_axi_port_set_masked_raw(const struct device *dev, gpio_port_pins_t mask, in gpio_xlnx_axi_port_set_masked_raw() argument
155 data->dout = (data->dout & ~mask) | (mask & value); in gpio_xlnx_axi_port_set_masked_raw()
Dgpio_nxp_s32.c143 gpio_port_pins_t mask, in nxp_s32_gpio_port_set_masked_raw() argument
150 pins_value = (pins_value & ~mask) | (mask & value); in nxp_s32_gpio_port_set_masked_raw()
Dgpio_pcal64xxa.c293 static int pcal64xxa_port_set_raw(const struct device *dev, pcal64xxa_data_t mask, in pcal64xxa_port_set_raw() argument
303 dev->name, mask, value, toggle); in pcal64xxa_port_set_raw()
311 output = (drv_data->pins_cfg.outputs_high & ~mask); in pcal64xxa_port_set_raw()
312 output |= (value & mask); in pcal64xxa_port_set_raw()
333 static int pcal64xxa_port_set_masked_raw(const struct device *dev, gpio_port_pins_t mask, in pcal64xxa_port_set_masked_raw() argument
336 return pcal64xxa_port_set_raw(dev, (pcal64xxa_data_t)mask, (pcal64xxa_data_t)value, 0); in pcal64xxa_port_set_masked_raw()
/Zephyr-latest/drivers/sensor/bosch/bmi08x/
Dbmi08x_gyro.c124 uint8_t mask, uint8_t val) in bmi08x_gyro_reg_field_update() argument
134 return bmi08x_gyro_byte_write(dev, reg_addr, (old_val & ~mask) | ((val << pos) & mask)); in bmi08x_gyro_reg_field_update()
/Zephyr-latest/drivers/dai/nxp/sai/
Dsai.h535 static inline void sai_tx_rx_set_dline_mask(enum dai_dir dir, uint32_t regmap, uint32_t mask) in sai_tx_rx_set_dline_mask() argument
541 base->RCR3 |= I2S_RCR3_RCE(mask); in sai_tx_rx_set_dline_mask()
544 base->TCR3 |= I2S_TCR3_TCE(mask); in sai_tx_rx_set_dline_mask()
/Zephyr-latest/drivers/usb/device/
Dusb_dc_rpi_pico.c168 const uint32_t mask = udc_rpi_endpoint_mask(ep); in udc_rpi_cancel_endpoint() local
172 hw_set_alias(usb_hw)->abort = mask; in udc_rpi_cancel_endpoint()
173 while ((usb_hw->abort_done & mask) != mask) { in udc_rpi_cancel_endpoint()
180 hw_clear_alias(usb_hw)->abort = mask; in udc_rpi_cancel_endpoint()
/Zephyr-latest/drivers/sensor/adi/adt7310/
Dadt7310.c155 static int adt7310_update_reg(const struct device *dev, uint8_t reg, uint8_t value, uint8_t mask) in adt7310_update_reg() argument
165 reg_value &= ~mask; in adt7310_update_reg()
/Zephyr-latest/drivers/sensor/bosch/bmg160/
Dbmg160.c89 uint8_t mask, in bmg160_update_byte() argument
101 reg_addr, mask, value) < 0) { in bmg160_update_byte()
/Zephyr-latest/boards/atmel/sam0/samr21_xpro/
Dsamr21_xpro.dts61 gpio-map-mask = <0xffffffff 0xffffffc0>;
84 gpio-map-mask = <0xffffffff 0xffffffc0>;
/Zephyr-latest/boards/nordic/nrf9160dk/
Dnrf9160dk_nrf9160_common.dtsi80 gpio-map-mask = <0xf 0>;
106 gpio-map-mask = <0xffffffff 0xffffffc0>;
/Zephyr-latest/drivers/ethernet/
Deth_lan9250.c75 static int lan9250_wait_ready(const struct device *dev, uint16_t address, uint32_t mask, in lan9250_wait_ready() argument
85 if ((tmp & mask) == expected) { in lan9250_wait_ready()
128 static int lan9250_wait_mac_ready(const struct device *dev, uint8_t address, uint32_t mask, in lan9250_wait_mac_ready() argument
138 if ((tmp & mask) == expected) { in lan9250_wait_mac_ready()
Doa_tc6.h243 uint32_t mask, uint32_t val);
/Zephyr-latest/drivers/input/
Dinput_chsc6x.c71 static void chsc6x_isr_handler(const struct device *dev, struct gpio_callback *cb, uint32_t mask) in chsc6x_isr_handler() argument
/Zephyr-latest/drivers/sensor/ti/tmp116/
Dtmp116.c52 int tmp116_write_config(const struct device *dev, uint16_t mask, uint16_t conf) in tmp116_write_config() argument
63 config &= ~mask; in tmp116_write_config()
/Zephyr-latest/subsys/net/l2/ieee802154/
Dieee802154_frame.h224 uint8_t mask : 7; member
228 uint8_t mask : 7;
/Zephyr-latest/drivers/can/
Dcan_mcux_flexcan.c615 uint32_t *mask) in mcux_flexcan_can_filter_to_mbconfig() argument
623 *mask = FLEXCAN_RX_MB_EXT_MASK(src->mask, rtr_mask, ide_mask); in mcux_flexcan_can_filter_to_mbconfig()
627 *mask = FLEXCAN_RX_MB_STD_MASK(src->mask, rtr_mask, ide_mask); in mcux_flexcan_can_filter_to_mbconfig()
775 uint32_t mask; in mcux_flexcan_add_rx_filter() local
799 &mask); in mcux_flexcan_add_rx_filter()
806 config->base->RXIMR[ALLOC_IDX_TO_RXMB_IDX(alloc)] = mask; in mcux_flexcan_add_rx_filter()
/Zephyr-latest/drivers/sensor/bosch/bma4xx/
Dbma4xx.h196 int (*update_reg)(const struct device *dev, uint8_t reg_addr, uint8_t mask, uint8_t value);
/Zephyr-latest/boards/ambiq/apollo3p_evb/
Dapollo3p_evb_connector.dtsi11 gpio-map-mask = <0xffffffff 0xffffff80>;

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