/drivers/hdf_core/adapter/khdf/liteos_m/osal/include/ |
D | osal_atomic_def.h | 49 #define OSAL_BIT_MASK(nr) (1UL << ((nr) % OSAL_BITS_PER_LONG)) argument 50 #define OSAL_BIT_WORD(nr) ((nr) / OSAL_BITS_PER_LONG) argument 51 #define OSAL_BITOP_WORD(nr) ((nr) / OSAL_BITS_PER_LONG) argument 53 static inline int32_t OsalTestBitWrapper(unsigned long nr, const volatile unsigned long *addr) in OsalTestBitWrapper() argument 55 return (1UL & (addr[OSAL_BIT_WORD(nr)] >> (nr & (OSAL_BITS_PER_LONG - 1)))); in OsalTestBitWrapper() 58 static inline int32_t OsalTestSetBitWrapper(unsigned long nr, volatile unsigned long *addr) in OsalTestSetBitWrapper() argument 62 const unsigned long mask = OSAL_BIT_MASK(nr); in OsalTestSetBitWrapper() 63 unsigned long *p = ((unsigned long *)addr) + OSAL_BIT_WORD(nr); in OsalTestSetBitWrapper() 71 static inline int32_t OsalTestClearBitWrapper(unsigned long nr, volatile unsigned long *addr) in OsalTestClearBitWrapper() argument 75 const unsigned long mask = OSAL_BIT_MASK(nr); in OsalTestClearBitWrapper() [all …]
|
/drivers/hdf_core/adapter/khdf/uniproton/osal/include/ |
D | osal_atomic_def.h | 49 #define OSAL_BIT_MASK(nr) (1UL << ((nr) % OSAL_BITS_PER_LONG)) argument 50 #define OSAL_BIT_WORD(nr) ((nr) / OSAL_BITS_PER_LONG) argument 51 #define OSAL_BITOP_WORD(nr) ((nr) / OSAL_BITS_PER_LONG) argument 53 static inline int32_t OsalTestBitWrapper(unsigned long nr, const volatile unsigned long *addr) in OsalTestBitWrapper() argument 55 return (1UL & (addr[OSAL_BIT_WORD(nr)] >> (nr & (OSAL_BITS_PER_LONG - 1)))); in OsalTestBitWrapper() 58 static inline int32_t OsalTestSetBitWrapper(unsigned long nr, volatile unsigned long *addr) in OsalTestSetBitWrapper() argument 62 const unsigned long mask = OSAL_BIT_MASK(nr); in OsalTestSetBitWrapper() 63 unsigned long *p = ((unsigned long *)addr) + OSAL_BIT_WORD(nr); in OsalTestSetBitWrapper() 71 static inline int32_t OsalTestClearBitWrapper(unsigned long nr, volatile unsigned long *addr) in OsalTestClearBitWrapper() argument 75 const unsigned long mask = OSAL_BIT_MASK(nr); in OsalTestClearBitWrapper() [all …]
|
/drivers/hdf_core/adapter/khdf/liteos/osal/include/ |
D | osal_atomic_def.h | 49 #define OSAL_BIT_MASK(nr) (1UL << ((nr) % OSAL_BITS_PER_LONG)) argument 50 #define OSAL_BIT_WORD(nr) ((nr) / OSAL_BITS_PER_LONG) argument 51 #define OSAL_BITOP_WORD(nr) ((nr) / OSAL_BITS_PER_LONG) argument 53 static inline int32_t OsalTestBitWrapper(unsigned long nr, const volatile unsigned long *addr) in OsalTestBitWrapper() argument 55 return (1UL & (addr[OSAL_BIT_WORD(nr)] >> (nr & (OSAL_BITS_PER_LONG - 1)))); in OsalTestBitWrapper() 58 static inline int32_t OsalTestSetBitWrapper(unsigned long nr, volatile unsigned long *addr) in OsalTestSetBitWrapper() argument 62 const unsigned long mask = OSAL_BIT_MASK(nr); in OsalTestSetBitWrapper() 63 unsigned long *p = ((unsigned long *)addr) + OSAL_BIT_WORD(nr); in OsalTestSetBitWrapper() 71 static inline int32_t OsalTestClearBitWrapper(unsigned long nr, volatile unsigned long *addr) in OsalTestClearBitWrapper() argument 75 const unsigned long mask = OSAL_BIT_MASK(nr); in OsalTestClearBitWrapper() [all …]
|
/drivers/hdf_core/interfaces/inner_api/osal/uhdf/ |
D | osal_atomic_def.h | 29 static inline int32_t BitDoNotSupport(int nr, unsigned long *addr) in BitDoNotSupport() argument 31 (void)nr; in BitDoNotSupport() 35 #define OsalTestBitWrapper(nr, addr) BitDoNotSupport(nr, addr) argument 36 #define OsalTestSetBitWrapper(nr, addr) BitDoNotSupport(nr, addr) argument 37 #define OsalTestClearBitWrapper(nr, addr) BitDoNotSupport(nr, addr) argument 38 #define OsalClearBitWrapper(nr, addr) BitDoNotSupport(nr, addr) argument
|
/drivers/hdf_core/interfaces/inner_api/osal/shared/ |
D | osal_atomic.h | 136 #define OsalTestBit(nr, addr) OsalTestBitWrapper(nr, addr) argument 149 #define OsalTestSetBit(nr, addr) OsalTestSetBitWrapper(nr, addr) argument 162 #define OsalTestClearBit(nr, addr) OsalTestClearBitWrapper(nr, addr) argument 173 #define OsalClearBit(nr, addr) OsalClearBitWrapper(nr, addr) argument
|
/drivers/hdf_core/adapter/khdf/linux/osal/include/ |
D | osal_atomic_def.h | 35 #define OsalTestBitWrapper(nr, addr) test_bit(nr, addr) argument 36 #define OsalTestSetBitWrapper(nr, addr) test_and_change_bit(nr, addr) argument 37 #define OsalTestClearBitWrapper(nr, addr) test_and_clear_bit(nr, addr) argument 38 #define OsalClearBitWrapper(nr, addr) clear_bit(nr, addr) argument
|
/drivers/hdf_core/adapter/uhdf2/security/src/ |
D | hdf_security.c | 47 #define BIT_MASK(nr) (1UL << ((nr) % BITS_PER_LONG)) argument 48 #define BIT_WORD(nr) ((nr) / BITS_PER_LONG) argument 96 static void HdfSetBit(uint32_t nr, volatile uint64_t *addr) in HdfSetBit() argument 98 unsigned long mask = BIT_MASK(nr); in HdfSetBit() 99 unsigned long *p = ((unsigned long *)addr) + BIT_WORD(nr); in HdfSetBit()
|
/drivers/hdf_core/framework/core/sec/include/ |
D | hdf_sec.h | 37 #define HDF_BITS_TO_LONGS(nr) HDF_DIV_ROUND_UP(nr, HDF_BITS_PER_BYTE * sizeof(uint64_t)) argument
|
/drivers/hdf_core/framework/model/input/driver/ |
D | hdf_input_device_manager.h | 32 #define DIV_ROUND_UP(nr, d) (((nr) + (d) - 1) / (d)) argument 40 #define SET_BIT(nr) (1UL << ((nr) % BITS_PER_LONG)) argument
|
D | hdf_hid_adapter.h | 17 #define DIV_ROUND_UP(nr, d) (((nr) + (d) - 1) / (d)) argument
|
/drivers/peripheral/input/interfaces/include/ |
D | input_type.h | 71 #define DIV_ROUND_UP(nr, d) (((nr) + (d) - 1) / (d)) argument
|
/drivers/hdf_core/adapter/khdf/linux/platform/i2c/ |
D | i2c_adapter.c | 107 cntlr = I2cCntlrGet(adapter->nr); in LinuxI2cRemove() 143 cntlr->busId = adapter->nr; in LinuxI2cProbe()
|
/drivers/interface/ril/v1_2/ |
D | Types.idl | 185 struct CellListRatNr_1_2 nr; 292 struct CellRatNr_1_2 nr;
|
D | IRil.idl | 104 * @brief Get nr ssbid info.
|
D | IRilCallback.idl | 94 * @brief Callback for the response of querying nr ssd id information.
|
/drivers/interface/ril/v1_1/ |
D | Types.idl | 2217 struct NrRssi nr; 2644 struct CellListRatNr nr; 2976 struct CellRatNr nr; 3053 struct CellRatNr_1_1 nr;
|
D | IRil.idl | 1719 * @brief Set nr option mode. 1733 * @brief Get nr option mode.
|
D | IRilCallback.idl | 1731 * @brief Callback for the response of set nr option mode. 1742 * @brief Callback for the response of get nr option mode.
|
/drivers/interface/ril/v1_0/ |
D | Types.idl | 2177 struct NrRssi nr; 2604 struct CellListRatNr nr; 2936 struct CellRatNr nr;
|