Home
last modified time | relevance | path

Searched refs:mask (Results 476 – 500 of 837) sorted by relevance

1...<<11121314151617181920>>...34

/Zephyr-latest/drivers/gpio/
Dgpio_renesas_ra_ioport.c188 static int gpio_ra_port_set_masked_raw(const struct device *dev, gpio_port_pins_t mask, in gpio_ra_port_set_masked_raw() argument
194 port->PODR = ((port->PODR & ~mask) | (value & mask)); in gpio_ra_port_set_masked_raw()
Dgpio_ad559x.c167 gpio_port_pins_t mask, in gpio_ad559x_port_set_masked_raw() argument
171 ARG_UNUSED(mask); in gpio_ad559x_port_set_masked_raw()
Dgpio_npm1300.c69 static int gpio_npm1300_port_set_masked_raw(const struct device *dev, gpio_port_pins_t mask, in gpio_npm1300_port_set_masked_raw() argument
76 if ((mask & BIT(idx)) != 0U) { in gpio_npm1300_port_set_masked_raw()
Dgpio_andes_atcgpio100.c171 gpio_port_pins_t mask, in gpio_atcgpio100_set_masked_raw() argument
180 sys_write32((port_value & ~mask) | (value & mask), GPIO_DOUT(port)); in gpio_atcgpio100_set_masked_raw()
Dgpio_litex.c141 gpio_port_pins_t mask, in gpio_litex_port_set_masked_raw() argument
148 port_val = (port_val & ~mask) | (value & mask); in gpio_litex_port_set_masked_raw()
/Zephyr-latest/drivers/edac/
Dedac_ibecc.c133 static int inject_set_param2(const struct device *dev, uint64_t mask) in inject_set_param2() argument
135 if ((mask & ~INJ_ADDR_BASE_MASK_MASK) != 0) { in inject_set_param2()
139 ibecc_write_reg64(dev, IBECC_INJ_ADDR_MASK, mask); in inject_set_param2()
/Zephyr-latest/drivers/adc/
Dadc_lmp90xxx.c474 uint32_t mask; in lmp90xxx_validate_buffer_size() local
476 for (mask = BIT(LMP90XXX_MAX_CHANNELS - 1); mask != 0; mask >>= 1) { in lmp90xxx_validate_buffer_size()
477 if (mask & sequence->channels) { in lmp90xxx_validate_buffer_size()
840 gpio_port_pins_t mask, in lmp90xxx_gpio_port_set_masked_raw() argument
847 mask &= LMP90XXX_GPIO_DAT_MASK; in lmp90xxx_gpio_port_set_masked_raw()
850 tmp = (data->gpio_dat & ~mask) | (value & mask); in lmp90xxx_gpio_port_set_masked_raw()
/Zephyr-latest/boards/actinius/icarus_som_dk/
Darduino_connector.dtsi11 gpio-map-mask = <0xffffffff 0xffffffc0>;
/Zephyr-latest/include/zephyr/net/
Dnet_ip.h749 uint8_t mask; in net_ipv6_is_prefix() local
767 mask = (uint8_t)((0xff << (8 - remain)) ^ 0xff) << remain; in net_ipv6_is_prefix()
769 return (addr1[bytes] & mask) == (addr2[bytes] & mask); in net_ipv6_is_prefix()
787 uint8_t mask; in net_ipv6_addr_prefix_mask() local
800 mask = (uint8_t)((0xff << (8 - remain)) ^ 0xff) << remain; in net_ipv6_addr_prefix_mask()
801 outaddr[bytes] = inaddr[bytes] & mask; in net_ipv6_addr_prefix_mask()
/Zephyr-latest/boards/nxp/lpcxpresso55s06/
Dlpcxpresso55s06_common.dtsi73 gpio-map-mask = <0xffffffff 0xffffffc0>;
96 gpio-map-mask = <0xffffffff 0xffffffc0>;
/Zephyr-latest/boards/nxp/mimxrt1160_evk/
Dmimxrt1160_evk_mimxrt1166_cm7.dts50 gpio-map-mask = <0xffffffff 0xffffffc0>;
65 gpio-map-mask = <0xffffffff 0xffffffc0>;
/Zephyr-latest/include/zephyr/dt-bindings/clock/
Dstm32h5_clock.h76 #define STM32_DOMAIN_CLOCK(val, mask, shift, reg) \ argument
79 (((mask) & STM32_CLOCK_MASK_MASK) << STM32_CLOCK_MASK_SHIFT) | \
/Zephyr-latest/subsys/canbus/isotp/
Disotp.c53 uint32_t mask) in prepare_filter() argument
56 filter->mask = mask; in prepare_filter()
594 uint32_t mask; in add_ff_sf_filter() local
597 mask = ISOTP_FIXED_ADDR_RX_MASK; in add_ff_sf_filter()
599 mask = CAN_EXT_ID_MASK; in add_ff_sf_filter()
601 mask = CAN_STD_ID_MASK; in add_ff_sf_filter()
604 prepare_filter(&filter, &rctx->rx_addr, mask); in add_ff_sf_filter()
1172 uint32_t mask; in add_fc_filter() local
1175 mask = CAN_EXT_ID_MASK; in add_fc_filter()
1177 mask = CAN_STD_ID_MASK; in add_fc_filter()
[all …]
/Zephyr-latest/soc/intel/intel_adsp/tools/
Dcavstool.py392 def mask(bit): function
419 dsp.ADSPCS |= mask(CSTALL)
420 dsp.ADSPCS |= mask(CRST)
421 while (dsp.ADSPCS & mask(CRST)) == 0: pass
424 dsp.ADSPCS &= ~mask(SPA)
425 while dsp.ADSPCS & mask(CPA): pass
449 dsp.ADSPCS = mask(SPA)
450 while (dsp.ADSPCS & mask(CPA)) == 0: pass
453 dsp.ADSPCS &= ~mask(CRST)
457 dsp.ADSPCS &= ~mask(CSTALL)
/Zephyr-latest/boards/m5stack/m5stack_stamps3/
Dm5stack_stamps3_connectors.dtsi10 gpio-map-mask = <0xffffffff 0xffffffc0>;
/Zephyr-latest/drivers/i2c/
Di2c_rcar.c102 static int i2c_rcar_wait_for_state(const struct device *dev, uint8_t mask) in i2c_rcar_wait_for_state() argument
107 data->status_mask = mask; in i2c_rcar_wait_for_state()
113 i2c_rcar_write(config, RCAR_I2C_ICMIER, mask); in i2c_rcar_wait_for_state()
/Zephyr-latest/soc/xlnx/zynq7000/common/
Dpinctrl_soc.h355 uint32_t mask; member
408 .mask = UTIL_CAT(MIO_PIN_SPECIAL_MASK_, \
419 .mask = Z_PINCTRL_STATE_PIN_MASK(node_id), \
/Zephyr-latest/boards/renesas/ek_ra8m1/
Dek_ra8m1.dts47 gpio-map-mask = <0xffffffff 0xffffffc0>;
70 gpio-map-mask = <0xffffffff 0xffffffc0>;
85 gpio-map-mask = <0xffffffff 0xffffffc0>;
/Zephyr-latest/drivers/counter/
Dcounter_nxp_pit.c135 uint32_t mask = PIT_TFLG_TIF_MASK; in nxp_pit_get_pending_int() local
141 return ((flags & mask) == mask); in nxp_pit_get_pending_int()
/Zephyr-latest/drivers/dac/
Ddac_dacx0508.c121 uint16_t mask, bool setting) in dacx0508_reg_update() argument
134 tmp |= mask; in dacx0508_reg_update()
136 tmp &= ~mask; in dacx0508_reg_update()
/Zephyr-latest/boards/nxp/mimxrt1050_evk/
Dmimxrt1050_evk.dtsi50 gpio-map-mask = <0xffffffff 0xffffffc0>;
63 gpio-map-mask = <0xffffffff 0xffffffc0>;
89 gpio-map-mask = <0xffffffff 0xffffffc0>;
/Zephyr-latest/subsys/tracing/user/
Dtracing_user.c49 gpio_port_pins_t mask, in sys_trace_gpio_port_set_masked_raw_enter_user() argument
212 void sys_trace_gpio_port_set_masked_raw_enter(const struct device *port, gpio_port_pins_t mask, in sys_trace_gpio_port_set_masked_raw_enter() argument
215 sys_trace_gpio_port_set_masked_raw_enter_user(port, mask, value); in sys_trace_gpio_port_set_masked_raw_enter()
/Zephyr-latest/drivers/pinctrl/
Dpinctrl_sam.c68 soc_pin.mask = 1 << SAM_PINMUX_PIN_GET(pin); in pinctrl_configure_pin()
/Zephyr-latest/boards/mediatek/mt8186/
Dmt8186_adsp.dts47 mask = <0x3f>;
/Zephyr-latest/boards/mediatek/mt8188/
Dmt8188_adsp.dts48 mask = <0x3f>;

1...<<11121314151617181920>>...34