Home
last modified time | relevance | path

Searched refs:int_value (Results 1 - 9 of 9) sorted by relevance

/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/oal/
H A Dhi_isr.c46 hi_u32 int_value; in disable_int_in_flash() local
49 int_value = LOS_IntLock(); in disable_int_in_flash()
64 LOS_IntRestore(int_value); in disable_int_in_flash()
70 hi_u32 int_value; in enable_int_in_flash() local
73 int_value = LOS_IntLock(); in enable_int_in_flash()
86 LOS_IntRestore(int_value); in enable_int_in_flash()
97 hi_u32 int_value; in set_force_int_mask_in_flash() local
98 int_value = LOS_IntLock(); in set_force_int_mask_in_flash()
101 LOS_IntRestore(int_value); in set_force_int_mask_in_flash()
107 hi_u32 int_value; in set_force_int_unmask_in_flash() local
120 hi_int_restore(hi_u32 int_value) hi_int_restore() argument
[all...]
/device/soc/hisilicon/hi3861v100/sdk_liteos/platform/drivers/adc/
H A Dhi_adc.c56 hi_u16 reg_val, int_value; in hi_adc_read() local
72 int_value = hi_int_lock(); in hi_adc_read()
95 hi_int_restore(int_value); in hi_adc_read()
102 hi_int_restore(int_value); in hi_adc_read()
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/include/
H A Dhi_isr.h105 * @param int_value [IN] type #hi_u32,Interrupt status.CNcomment:中断状态。CNend
113 hi_void hi_int_restore(hi_u32 int_value);
/device/soc/hisilicon/hi3861v100/sdk_liteos/include/
H A Dhi_isr.h107 * @param int_value [IN] type #hi_u32,Interrupt status.CNcomment:中断状态。CNend
114 hi_void hi_int_restore(hi_u32 int_value);
/device/soc/hisilicon/hi3751v350/sdk_linux/source/msp/drv/i2c/std_i2c/
H A Ddrv_i2c.c393 hi_u32 int_value; in i2c_read_write_data_by_irq() local
397 int_value = i2c_read_reg(i2c_usr_addr + I2C_SR_REG); in i2c_read_write_data_by_irq()
400 if (int_value & 0x1) { /* Transfer completion interrupt flag */ in i2c_read_write_data_by_irq()
401 if (int_value & (1 << 6)) { /* bit 6 Host start conditional transmission end interrupt flag */ in i2c_read_write_data_by_irq()
403 } else if (int_value & (1 << 5)) { /* bit 5 Host stop condition transmission end interrupt flag */ in i2c_read_write_data_by_irq()
408 if (int_value & (1 << 4)) { /* bit 4 Host send interrupt flag */ in i2c_read_write_data_by_irq()
421 } else if (int_value & (1 << 3)) { /* bit 3 Host recv interrupt flag */ in i2c_read_write_data_by_irq()
426 if (int_value & (1 << 2)) { /* bit 2 ack err interrupt flag */ in i2c_read_write_data_by_irq()
/device/soc/rockchip/common/vendor/drivers/gpu/arm/mali400/mali/linux/
H A Dmali_osk_profiling.c256 u64 int_value = 0; in _mali_profiling_read_packet_int() local
266 int_value |= (u32)(byte_value & 0x7f) << shift; in _mali_profiling_read_packet_int()
270 if (shift < 0x8 * sizeof(int_value) && (byte_value & 0x40) != 0) { in _mali_profiling_read_packet_int()
271 int_value |= -(1 << shift); in _mali_profiling_read_packet_int()
274 return int_value; in _mali_profiling_read_packet_int()
/device/soc/rockchip/common/kernel/drivers/gpu/arm/mali400/mali/linux/
H A Dmali_osk_profiling.c252 u64 int_value = 0; in _mali_profiling_read_packet_int() local
261 int_value |= (u32)(byte_value & 0x7f) << shift; in _mali_profiling_read_packet_int()
265 if (shift < 8 * sizeof(int_value) && (byte_value & 0x40) != 0) { in _mali_profiling_read_packet_int()
266 int_value |= -(1 << shift); in _mali_profiling_read_packet_int()
269 return int_value; in _mali_profiling_read_packet_int()
/device/soc/hisilicon/hi3861v100/sdk_liteos/platform/drivers/spi/
H A Dspi.c153 hi_u32 int_value; in spi_reset() local
160 int_value = hi_int_lock(); in spi_reset()
166 hi_int_restore(int_value); in spi_reset()
/device/soc/hisilicon/hi3751v350/sdk_linux/source/msp/drv/gpio/
H A Ddrv_gpio.c689 HI_LOG_INFO(" para gpio number out of range , int_value = %d\n", gpio_no); in hi_drv_gpio_register_server_func()
699 HI_LOG_INFO(" register func para is null, int_value = %d\n", gpio_no); in hi_drv_gpio_register_server_func()
721 HI_LOG_INFO(" para gpio number out of range , int_value = %u\n", gpio_no); in hi_drv_gpio_unregister_server_func()
840 hi_u32 int_value, gpio_value, gpio_num; in drv_gpio_isr() local
859 int_value = REG_USR_ADDR(gpio_usr_addr + HI_GPIO_MIS_REG); in drv_gpio_isr()
862 if ((int_value & (1 << i)) == 0) { /* check each bit */ in drv_gpio_isr()

Completed in 11 milliseconds