Home
last modified time | relevance | path

Searched defs:mask (Results 1 – 25 of 687) sorted by relevance

12345678910>>...28

/device/soc/hpmicro/sdk/hpm_sdk/drivers/inc/
Dhpm_ppor_drv.h45 static inline void ppor_reset_mask_clear_source_enable(PPOR_Type *ptr, uint32_t mask) in ppor_reset_mask_clear_source_enable()
53 static inline void ppor_reset_mask_set_source_enable(PPOR_Type *ptr, uint32_t mask) in ppor_reset_mask_set_source_enable()
93 static inline void ppor_reset_clear_flags(PPOR_Type *ptr, uint32_t mask) in ppor_reset_clear_flags()
101 static inline void ppor_reset_set_cold_reset_enable(PPOR_Type *ptr, uint32_t mask) in ppor_reset_set_cold_reset_enable()
109 static inline void ppor_reset_clear_cold_reset_enable(PPOR_Type *ptr, uint32_t mask) in ppor_reset_clear_cold_reset_enable()
117 static inline void ppor_reset_set_hot_reset_enable(PPOR_Type *ptr, uint32_t mask) in ppor_reset_set_hot_reset_enable()
125 static inline void ppor_reset_clear_hot_reset_enable(PPOR_Type *ptr, uint32_t mask) in ppor_reset_clear_hot_reset_enable()
Dhpm_gpio_drv.h223 static inline void gpio_toggle_port_with_mask(GPIO_Type *ptr, uint32_t port, uint32_t mask) in gpio_toggle_port_with_mask()
247 static inline void gpio_set_port_low_with_mask(GPIO_Type *ptr, uint32_t port, uint32_t mask) in gpio_set_port_low_with_mask()
259 static inline void gpio_set_port_high_with_mask(GPIO_Type *ptr, uint32_t port, uint32_t mask) in gpio_set_port_high_with_mask()
271 static inline void gpio_enable_port_output_with_mask(GPIO_Type *ptr, uint32_t port, uint32_t mask) in gpio_enable_port_output_with_mask()
283 static inline void gpio_disable_port_output_with_mask(GPIO_Type *ptr, uint32_t port, uint32_t mask) in gpio_disable_port_output_with_mask()
309 …inline void gpio_clear_port_interrupt_flags_with_mask(GPIO_Type *ptr, uint32_t port, uint32_t mask) in gpio_clear_port_interrupt_flags_with_mask()
321 static inline void gpio_enable_port_interrupt_with_mask(GPIO_Type *ptr, uint32_t port, uint8_t mask) in gpio_enable_port_interrupt_with_mask()
333 …atic inline void gpio_disable_port_interrupt_with_mask(GPIO_Type *ptr, uint32_t port, uint8_t mask) in gpio_disable_port_interrupt_with_mask()
Dhpm_rtc_drv.h86 uint32_t mask = (index == 0U) ? RTC_ALARM_EN_ENABLE0_MASK : RTC_ALARM_EN_ENABLE1_MASK; in rtc_enable_alarm_interrupt() local
105 uint32_t mask = (index == 0U) ? RTC_ALARM_FLAG_ALARM0_MASK : RTC_ALARM_FLAG_ALARM1_MASK; in rtc_clear_alarm_flag() local
121 uint32_t mask = (index == 0U) ? RTC_ALARM_FLAG_ALARM0_MASK : RTC_ALARM_FLAG_ALARM1_MASK; in rtc_is_alarm_flag_asserted() local
Dhpm_qei_drv.h240 static inline void qei_clear_status(QEI_Type *qei_x, uint32_t mask) in qei_clear_status()
271 static inline bool qei_get_bit_status(QEI_Type *qei_x, uint32_t mask) in qei_get_bit_status()
290 static inline void qei_irq_enable(QEI_Type *qei_x, uint32_t mask) in qei_irq_enable()
305 static inline void qei_irq_disable(QEI_Type *qei_x, uint32_t mask) in qei_irq_disable()
320 static inline void qei_dma_request_enable(QEI_Type *qei_x, uint32_t mask) in qei_dma_request_enable()
335 static inline void qei_dma_request_disable(QEI_Type *qei_x, uint32_t mask) in qei_dma_request_disable()
Dhpm_hall_drv.h203 static inline void hall_clear_status(HALL_Type *hall_x, uint32_t mask) in hall_clear_status()
239 static inline void hall_irq_enable(HALL_Type *hall_x, uint32_t mask) in hall_irq_enable()
257 static inline void hall_irq_disable(HALL_Type *hall_x, uint32_t mask) in hall_irq_disable()
275 static inline void hall_dma_request_enable(HALL_Type *hall_x, uint32_t mask) in hall_dma_request_enable()
293 static inline void hall_dma_request_disable(HALL_Type *hall_x, uint32_t mask) in hall_dma_request_disable()
Dhpm_usb_drv.h139 static inline void usb_enable_interrupts(USB_Type *ptr, uint32_t mask) in usb_enable_interrupts()
164 static inline void usb_clear_status_flags(USB_Type *ptr, uint32_t mask) in usb_clear_status_flags()
326 static inline void usb_dcd_clear_edpt_setup_status(USB_Type *ptr, uint32_t mask) in usb_dcd_clear_edpt_setup_status()
381 static inline void usb_dcd_clear_edpt_complete_status(USB_Type *ptr, uint32_t mask) in usb_dcd_clear_edpt_complete_status()
412 static inline void usb_hcd_set_command(USB_Type *ptr, uint32_t mask) in usb_hcd_set_command()
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/include/linux/amlogic/media/utils/
Dvdec_reg.h99 #define SET_VREG_MASK(r, mask) WRITE_VREG(r, READ_VREG(r) | (mask)) argument
100 #define CLEAR_VREG_MASK(r, mask) WRITE_VREG(r, READ_VREG(r) & ~(mask)) argument
108 #define SET_HREG_MASK(r, mask) WRITE_HREG(r, READ_HREG(r) | (mask)) argument
109 #define CLEAR_HREG_MASK(r, mask) WRITE_HREG(r, READ_HREG(r) & ~(mask)) argument
124 #define CLEAR_MPEG_REG_MASK(r, mask)\ argument
126 #define SET_MPEG_REG_MASK(r, mask)\ argument
135 #define CLEAR_PARSER_REG_MASK(r, mask)\ argument
137 #define SET_PARSER_REG_MASK(r, mask)\ argument
152 #define CLEAR_AIU_REG_MASK(r, mask)\ argument
154 #define SET_AIU_REG_MASK(r, mask)\ argument
[all …]
Damlog.h58 #define amlog_mask(mask, x...) \ argument
64 #define amlog_mask_level(mask, level, x...) \ argument
78 #define amlog_mask_if(cond, mask, x...) \ argument
84 #define amlog_mask_levelif(cond, mask, level, x...) \ argument
95 #define amlog_mask(mask, x...) argument
96 #define amlog_mask_level(mask, level, x...) argument
99 #define amlog_mask_if(cond, mask, x...) argument
100 #define amlog_mask_level_if(cond, mask, level, x...) argument
/device/board/unionman/unionpi_tiger/kernel/drivers/isp/drivers/subdev/lens/src/fw_lib/
Dsensor_init.c143 uint32_t mask = sequence_read_u32( data + len + ofs ); in sensor_read_data_mask() local
150 uint16_t mask = sequence_read_u16( data + len + ofs ); in sensor_read_data_mask() local
156 uint8_t mask = *( data + len + ofs + i ); in sensor_read_data_mask() local
255 uint32_t mask = seq->mask; in acamera_load_array_sequence() local
264 uint16_t mask = seq->mask; in acamera_load_array_sequence() local
273 uint8_t mask = seq->mask; in acamera_load_array_sequence() local
/device/board/unionman/unionpi_tiger/kernel/drivers/isp/drivers/subdev/sensor/src/fw_lib/
Dsensor_init.c143 uint32_t mask = sequence_read_u32( data + len + ofs ); in sensor_read_data_mask() local
150 uint16_t mask = sequence_read_u16( data + len + ofs ); in sensor_read_data_mask() local
156 uint8_t mask = *( data + len + ofs + i ); in sensor_read_data_mask() local
255 uint32_t mask = seq->mask; in acamera_load_array_sequence() local
264 uint16_t mask = seq->mask; in acamera_load_array_sequence() local
273 uint8_t mask = seq->mask; in acamera_load_array_sequence() local
/device/board/unionman/unionpi_tiger/kernel/drivers/isp/drivers/v4l2_dev/src/fw_lib/
Dsensor_init.c143 uint32_t mask = sequence_read_u32( data + len + ofs ); in sensor_read_data_mask() local
150 uint16_t mask = sequence_read_u16( data + len + ofs ); in sensor_read_data_mask() local
156 uint8_t mask = *( data + len + ofs + i ); in sensor_read_data_mask() local
255 uint32_t mask = seq->mask; in acamera_load_array_sequence() local
264 uint16_t mask = seq->mask; in acamera_load_array_sequence() local
273 uint8_t mask = seq->mask; in acamera_load_array_sequence() local
/device/soc/asrmicro/asr582x/liteos_m/sdk/drivers/driver/src/
Dduet_rf_spi.c74 uint16_t tmp, mask, val; in rf_sw_set_reg_bit() local
96 uint16_t mask, val; in rf_sw_get_reg_bit() local
188 uint16_t tmp, mask, val; in rf_set_reg_bit() local
210 uint16_t mask, val; in rf_get_reg_bit() local
/device/soc/amlogic/a311d/soc/amlogic/iomap/
Diomap.c67 int aml_regmap_update_bits(u32 bus_type, unsigned int reg, unsigned int mask, unsigned int val) in aml_regmap_update_bits()
115 void aml_cbus_update_bits(unsigned int reg, unsigned int mask, unsigned int val) in aml_cbus_update_bits()
154 void aml_aobus_update_bits(unsigned int reg, unsigned int mask, unsigned int val) in aml_aobus_update_bits()
192 void aml_vcbus_update_bits(unsigned int reg, unsigned int mask, unsigned int val) in aml_vcbus_update_bits()
231 void aml_dosbus_update_bits(unsigned int reg, unsigned int mask, unsigned int val) in aml_dosbus_update_bits()
270 void aml_hiubus_update_bits(unsigned int reg, unsigned int mask, unsigned int val) in aml_hiubus_update_bits()
/device/soc/winnermicro/wm800/board/src/bt/blehost/nimble/host/mesh/src/
Datomic.h307 atomic_val_t mask = ATOMIC_MASK(bit); in atomic_test_and_clear_bit() local
326 atomic_val_t mask = ATOMIC_MASK(bit); in atomic_test_and_set_bit() local
345 atomic_val_t mask = ATOMIC_MASK(bit); in atomic_clear_bit() local
362 atomic_val_t mask = ATOMIC_MASK(bit); in atomic_set_bit() local
380 atomic_val_t mask = ATOMIC_MASK(bit); in atomic_set_bit_to() local
/device/soc/rockchip/common/kernel/drivers/gpu/arm/mali400/mali/common/
Dmali_pmu.c68 void mali_pmu_set_registered_cores_mask(struct mali_pmu_core *pmu, u32 mask) in mali_pmu_set_registered_cores_mask()
121 _mali_osk_errcode_t mali_pmu_power_down(struct mali_pmu_core *pmu, u32 mask) in mali_pmu_power_down()
178 _mali_osk_errcode_t mali_pmu_power_up(struct mali_pmu_core *pmu, u32 mask) in mali_pmu_power_up()
/device/soc/rockchip/common/vendor/drivers/gpu/arm/mali400/mali/common/
Dmali_pmu.c65 void mali_pmu_set_registered_cores_mask(struct mali_pmu_core *pmu, u32 mask) in mali_pmu_set_registered_cores_mask()
98 mali_osk_errcode_t mali_pmu_power_down(struct mali_pmu_core *pmu, u32 mask) in mali_pmu_power_down()
167 mali_osk_errcode_t mali_pmu_power_up(struct mali_pmu_core *pmu, u32 mask) in mali_pmu_power_up()
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/include/
Drtw_iol.h37 u32 mask; member
57 #define rtw_IOL_append_WB_cmd(xmit_frame, addr, value, mask) _rtw_IOL_append_WB_cmd((xmit_frame), (… argument
58 #define rtw_IOL_append_WW_cmd(xmit_frame, addr, value, mask) _rtw_IOL_append_WW_cmd((xmit_frame), (… argument
59 #define rtw_IOL_append_WD_cmd(xmit_frame, addr, value, mask) _rtw_IOL_append_WD_cmd((xmit_frame), (… argument
60 #define rtw_IOL_append_WRF_cmd(xmit_frame, rf_path, addr, value, mask) _rtw_IOL_append_WRF_cmd((xmi… argument
/device/soc/telink/b91/b91_ble_sdk/common/
Dbit.h39 #define BM_MASK_V(x, mask) ((x) | (mask)) argument
40 #define BM_CLR_MASK_V(x, mask) ((x) & ~(mask)) argument
42 #define BM_SET(x, mask) ((x) |= (mask)) argument
43 #define BM_CLR(x, mask) ((x) &= ~(mask)) argument
44 #define BM_IS_SET(x, mask) ((x) & (mask)) argument
45 #define BM_IS_CLR(x, mask) ((~(x)) & (mask)) argument
46 #define BM_FLIP(x, mask) ((x) ^= (mask)) argument
49 #define BM_MASK_VAL(x, mask, v) (((x) & ~(mask)) | (v)) argument
50 #define BM_SET_MASK_VAL(x, mask, v) ((x) = BM_MASK_VAL(x, mask, v)) argument
109 #define BM_MASK_FLD(x, mask) (((x) & (mask)) >> BIT_LOW_BIT(mask)) argument
[all …]
/device/soc/esp/esp32/components/hal/include/hal/
Duart_hal.h48 #define uart_hal_clr_intsts_mask(hal, mask) uart_ll_clr_intsts_mask((hal)->dev, mask) argument
58 #define uart_hal_disable_intr_mask(hal, mask) uart_ll_disable_intr_mask((hal)->dev, mask) argument
68 #define uart_hal_ena_intr_mask(hal, mask) uart_ll_ena_intr_mask((hal)->dev, mask) argument
/device/board/hisilicon/hispark_aries/uboot/secureboot_release/ddr_init/drv/
Dddr_training_boot.c47 void ddr_training_error(unsigned int mask, unsigned int phy, int byte, int dq) in ddr_training_error()
132 void ddr_training_error(unsigned int mask, unsigned int phy, int byte, int dq) in ddr_training_error()
247 void ddr_training_error(unsigned int mask, unsigned int phy, int byte, int dq) in ddr_training_error()
/device/board/hisilicon/hispark_taurus/uboot/secureboot_release/ddr_init/drv/
Dddr_training_boot.c47 void ddr_training_error(unsigned int mask, unsigned int phy, int byte, int dq) in ddr_training_error()
132 void ddr_training_error(unsigned int mask, unsigned int phy, int byte, int dq) in ddr_training_error()
247 void ddr_training_error(unsigned int mask, unsigned int phy, int byte, int dq) in ddr_training_error()
/device/soc/telink/b91/b91_ble_sdk/drivers/B91/
Daes.h114 static inline void aes_set_irq_mask(aes_irq_e mask) in aes_set_irq_mask()
124 static inline void aes_clr_irq_mask(aes_irq_e mask) in aes_clr_irq_mask()
Dusbhw.h140 static inline void usbhw_set_eps_irq_mask(usb_ep_irq_e mask) in usbhw_set_eps_irq_mask()
149 static inline void usbhw_clr_eps_irq_mask(usb_ep_irq_e mask) in usbhw_clr_eps_irq_mask()
178 static inline void usbhw_set_irq_mask(usb_irq_mask_e mask) in usbhw_set_irq_mask()
188 static inline void usbhw_clr_irq_mask(usb_irq_mask_e mask) in usbhw_clr_irq_mask()
/device/soc/bestechnic/bes2600/liteos_m/sdk/bsp/platform/cmsis/inc/
Dpmu_armv8.h244 __STATIC_INLINE void ARM_PMU_CNTR_Enable(uint32_t mask) in ARM_PMU_CNTR_Enable()
256 __STATIC_INLINE void ARM_PMU_CNTR_Disable(uint32_t mask) in ARM_PMU_CNTR_Disable()
298 __STATIC_INLINE void ARM_PMU_Set_CNTR_OVS(uint32_t mask) in ARM_PMU_Set_CNTR_OVS()
310 __STATIC_INLINE void ARM_PMU_Set_CNTR_IRQ_Enable(uint32_t mask) in ARM_PMU_Set_CNTR_IRQ_Enable()
322 __STATIC_INLINE void ARM_PMU_Set_CNTR_IRQ_Disable(uint32_t mask) in ARM_PMU_Set_CNTR_IRQ_Disable()
332 __STATIC_INLINE void ARM_PMU_CNTR_Increment(uint32_t mask) in ARM_PMU_CNTR_Increment()
/device/soc/esp/esp32/components/soc/esp32/include/soc/
Ddport_access.h180 #define DPORT_CLEAR_PERI_REG_MASK(reg, mask) DPORT_WRITE_PERI_REG((reg), (DPORT_READ_PERI_REG(reg)&… argument
183 #define DPORT_SET_PERI_REG_MASK(reg, mask) DPORT_WRITE_PERI_REG((reg), (DPORT_READ_PERI_REG(reg)|… argument
186 #define DPORT_GET_PERI_REG_MASK(reg, mask) (DPORT_READ_PERI_REG(reg) & (mask)) argument
195 #define DPORT_GET_PERI_REG_BITS2(reg, mask,shift) ((DPORT_READ_PERI_REG(reg)>>(shift))&(mask)) argument

12345678910>>...28