/hardware/libhardware/modules/input/evdev/ |
D | BitUtils.cpp | 54 uint8_t mask = 0xff; in testBitInRange() local 61 mask &= 0xff << (start % 8); in testBitInRange() 65 mask &= 0xff >> (8 - (end % 8)); in testBitInRange() 68 ALOGD("mask: %s%s", bitstrings[mask >> 4], bitstrings[mask & 0x0f]); in testBitInRange() 71 if (bits & mask) return true; in testBitInRange()
|
/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/parser/ |
D | utils.c | 70 uint32_t mask = 0, bytes_left = n; in memset() local 72 mask = c & 0xFF; in memset() 73 mask |= (mask << 8); in memset() 74 mask |= (mask << 16); in memset() 83 data |= (mask >> (32 - (8*trail))); in memset() 91 *ptr32 = mask; in memset() 98 data |= (mask << (32 - (8*bytes_left))); in memset() 200 void update_ctrl_reg(uint8_t enable, uint32_t mask) in update_ctrl_reg() argument 206 read_val = read_val | mask; in update_ctrl_reg() 210 read_val = read_val & ~mask; in update_ctrl_reg()
|
/hardware/intel/img/hwcomposer/moorefield_hdmi/common/planes/ |
D | DisplayPlaneManager.cpp | 109 int DisplayPlaneManager::getPlane(uint32_t& mask) in getPlane() argument 111 if (!mask) in getPlane() 116 if (bit & mask) { in getPlane() 117 mask &= ~bit; in getPlane() 125 void DisplayPlaneManager::putPlane(int index, uint32_t& mask) in putPlane() argument 132 if (bit & mask) { in putPlane() 137 mask |= bit; in putPlane() 140 int DisplayPlaneManager::getPlane(uint32_t& mask, int index) in getPlane() argument 142 if (!mask || index < 0 || index > mTotalPlaneCount) in getPlane() 146 if (bit & mask) { in getPlane() [all …]
|
/hardware/intel/img/hwcomposer/merrifield/common/planes/ |
D | DisplayPlaneManager.cpp | 109 int DisplayPlaneManager::getPlane(uint32_t& mask) in getPlane() argument 111 if (!mask) in getPlane() 116 if (bit & mask) { in getPlane() 117 mask &= ~bit; in getPlane() 125 void DisplayPlaneManager::putPlane(int index, uint32_t& mask) in putPlane() argument 132 if (bit & mask) { in putPlane() 137 mask |= bit; in putPlane() 140 int DisplayPlaneManager::getPlane(uint32_t& mask, int index) in getPlane() argument 142 if (!mask || index < 0 || index > mTotalPlaneCount) in getPlane() 146 if (bit & mask) { in getPlane() [all …]
|
/hardware/qcom/msm8x26/kernel-headers/linux/mfd/ |
D | msm-adie-codec.h | 39 #define ADIE_CODEC_PACK_ENTRY(reg, mask, val) ((val)|(mask << 8)|(reg << 16)) argument 40 …define ADIE_CODEC_UNPACK_ENTRY(packed, reg, mask, val) do { ((reg) = ((packed >> 16) & (0xff))… argument 62 u8 mask; member
|
/hardware/qcom/msm8996/kernel-headers/linux/mfd/ |
D | msm-adie-codec.h | 39 #define ADIE_CODEC_PACK_ENTRY(reg,mask,val) ((val) | (mask << 8) | (reg << 16)) argument 40 #define ADIE_CODEC_UNPACK_ENTRY(packed,reg,mask,val) do { ((reg) = ((packed >> 16) & (0xff))); ((ma… argument 62 u8 mask; member
|
/hardware/qcom/msm8x84/kernel-headers/linux/mfd/ |
D | msm-adie-codec.h | 39 #define ADIE_CODEC_PACK_ENTRY(reg, mask, val) ((val)|(mask << 8)|(reg << 16)) argument 40 …define ADIE_CODEC_UNPACK_ENTRY(packed, reg, mask, val) do { ((reg) = ((packed >> 16) & (0xff))… argument 62 u8 mask; member
|
/hardware/qcom/msm8994/kernel-headers/linux/mfd/ |
D | msm-adie-codec.h | 39 #define ADIE_CODEC_PACK_ENTRY(reg, mask, val) ((val)|(mask << 8)|(reg << 16)) argument 40 …define ADIE_CODEC_UNPACK_ENTRY(packed, reg, mask, val) do { ((reg) = ((packed >> 16) & (0xff))… argument 62 u8 mask; member
|
/hardware/qcom/msm8x09/kernel-headers/linux/mfd/ |
D | msm-adie-codec.h | 39 #define ADIE_CODEC_PACK_ENTRY(reg,mask,val) ((val) | (mask << 8) | (reg << 16)) argument 40 #define ADIE_CODEC_UNPACK_ENTRY(packed,reg,mask,val) do { ((reg) = ((packed >> 16) & (0xff))); ((ma… argument 62 u8 mask; member
|
/hardware/qcom/msm8960/kernel-headers/linux/mfd/ |
D | msm-adie-codec.h | 39 #define ADIE_CODEC_PACK_ENTRY(reg, mask, val) ((val)|(mask << 8)|(reg << 16)) argument 40 …define ADIE_CODEC_UNPACK_ENTRY(packed, reg, mask, val) do { ((reg) = ((packed >> 16) & (0xff))… argument 62 u8 mask; member
|
/hardware/qcom/gps/msm8909/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/ |
D | loc_api_log.c | 249 rpc_loc_sv_info_valid_mask_type mask = sv->valid_mask; in log_satellite_report() local 251 CHECK_MASK(int, sv->system, mask, RPC_LOC_SV_INFO_VALID_SYSTEM), in log_satellite_report() 252 CHECK_MASK(int, sv->prn, mask, RPC_LOC_SV_INFO_VALID_PRN), in log_satellite_report() 253 CHECK_MASK(int, sv->health_status, mask, RPC_LOC_SV_INFO_VALID_HEALTH_STATUS), in log_satellite_report() 254 CHECK_MASK(int, sv->process_status, mask, RPC_LOC_SV_INFO_VALID_PROCESS_STATUS), in log_satellite_report() 255 CHECK_MASK(int, sv->has_eph, mask, RPC_LOC_SV_INFO_VALID_HAS_EPH), in log_satellite_report() 256 CHECK_MASK(int, sv->has_alm, mask, RPC_LOC_SV_INFO_VALID_HAS_ALM), in log_satellite_report() 257 CHECK_MASK(float, sv->elevation, mask, RPC_LOC_SV_INFO_VALID_ELEVATION), in log_satellite_report() 258 CHECK_MASK(float, sv->azimuth, mask, RPC_LOC_SV_INFO_VALID_AZIMUTH), in log_satellite_report() 259 CHECK_MASK(float, sv->snr, mask, RPC_LOC_SV_INFO_VALID_SNR) in log_satellite_report()
|
/hardware/qcom/gps/msm8994/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/ |
D | loc_api_log.c | 249 rpc_loc_sv_info_valid_mask_type mask = sv->valid_mask; in log_satellite_report() local 251 CHECK_MASK(int, sv->system, mask, RPC_LOC_SV_INFO_VALID_SYSTEM), in log_satellite_report() 252 CHECK_MASK(int, sv->prn, mask, RPC_LOC_SV_INFO_VALID_PRN), in log_satellite_report() 253 CHECK_MASK(int, sv->health_status, mask, RPC_LOC_SV_INFO_VALID_HEALTH_STATUS), in log_satellite_report() 254 CHECK_MASK(int, sv->process_status, mask, RPC_LOC_SV_INFO_VALID_PROCESS_STATUS), in log_satellite_report() 255 CHECK_MASK(int, sv->has_eph, mask, RPC_LOC_SV_INFO_VALID_HAS_EPH), in log_satellite_report() 256 CHECK_MASK(int, sv->has_alm, mask, RPC_LOC_SV_INFO_VALID_HAS_ALM), in log_satellite_report() 257 CHECK_MASK(float, sv->elevation, mask, RPC_LOC_SV_INFO_VALID_ELEVATION), in log_satellite_report() 258 CHECK_MASK(float, sv->azimuth, mask, RPC_LOC_SV_INFO_VALID_AZIMUTH), in log_satellite_report() 259 CHECK_MASK(float, sv->snr, mask, RPC_LOC_SV_INFO_VALID_SNR) in log_satellite_report()
|
/hardware/qcom/gps/msm8084/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/ |
D | loc_api_log.c | 249 rpc_loc_sv_info_valid_mask_type mask = sv->valid_mask; in log_satellite_report() local 251 CHECK_MASK(int, sv->system, mask, RPC_LOC_SV_INFO_VALID_SYSTEM), in log_satellite_report() 252 CHECK_MASK(int, sv->prn, mask, RPC_LOC_SV_INFO_VALID_PRN), in log_satellite_report() 253 CHECK_MASK(int, sv->health_status, mask, RPC_LOC_SV_INFO_VALID_HEALTH_STATUS), in log_satellite_report() 254 CHECK_MASK(int, sv->process_status, mask, RPC_LOC_SV_INFO_VALID_PROCESS_STATUS), in log_satellite_report() 255 CHECK_MASK(int, sv->has_eph, mask, RPC_LOC_SV_INFO_VALID_HAS_EPH), in log_satellite_report() 256 CHECK_MASK(int, sv->has_alm, mask, RPC_LOC_SV_INFO_VALID_HAS_ALM), in log_satellite_report() 257 CHECK_MASK(float, sv->elevation, mask, RPC_LOC_SV_INFO_VALID_ELEVATION), in log_satellite_report() 258 CHECK_MASK(float, sv->azimuth, mask, RPC_LOC_SV_INFO_VALID_AZIMUTH), in log_satellite_report() 259 CHECK_MASK(float, sv->snr, mask, RPC_LOC_SV_INFO_VALID_SNR) in log_satellite_report()
|
/hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/ |
D | loc_api_log.c | 249 rpc_loc_sv_info_valid_mask_type mask = sv->valid_mask; in log_satellite_report() local 251 CHECK_MASK(int, sv->system, mask, RPC_LOC_SV_INFO_VALID_SYSTEM), in log_satellite_report() 252 CHECK_MASK(int, sv->prn, mask, RPC_LOC_SV_INFO_VALID_PRN), in log_satellite_report() 253 CHECK_MASK(int, sv->health_status, mask, RPC_LOC_SV_INFO_VALID_HEALTH_STATUS), in log_satellite_report() 254 CHECK_MASK(int, sv->process_status, mask, RPC_LOC_SV_INFO_VALID_PROCESS_STATUS), in log_satellite_report() 255 CHECK_MASK(int, sv->has_eph, mask, RPC_LOC_SV_INFO_VALID_HAS_EPH), in log_satellite_report() 256 CHECK_MASK(int, sv->has_alm, mask, RPC_LOC_SV_INFO_VALID_HAS_ALM), in log_satellite_report() 257 CHECK_MASK(float, sv->elevation, mask, RPC_LOC_SV_INFO_VALID_ELEVATION), in log_satellite_report() 258 CHECK_MASK(float, sv->azimuth, mask, RPC_LOC_SV_INFO_VALID_AZIMUTH), in log_satellite_report() 259 CHECK_MASK(float, sv->snr, mask, RPC_LOC_SV_INFO_VALID_SNR) in log_satellite_report()
|
/hardware/qcom/gps/msm8996/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/ |
D | loc_api_log.c | 249 rpc_loc_sv_info_valid_mask_type mask = sv->valid_mask; in log_satellite_report() local 251 CHECK_MASK(int, sv->system, mask, RPC_LOC_SV_INFO_VALID_SYSTEM), in log_satellite_report() 252 CHECK_MASK(int, sv->prn, mask, RPC_LOC_SV_INFO_VALID_PRN), in log_satellite_report() 253 CHECK_MASK(int, sv->health_status, mask, RPC_LOC_SV_INFO_VALID_HEALTH_STATUS), in log_satellite_report() 254 CHECK_MASK(int, sv->process_status, mask, RPC_LOC_SV_INFO_VALID_PROCESS_STATUS), in log_satellite_report() 255 CHECK_MASK(int, sv->has_eph, mask, RPC_LOC_SV_INFO_VALID_HAS_EPH), in log_satellite_report() 256 CHECK_MASK(int, sv->has_alm, mask, RPC_LOC_SV_INFO_VALID_HAS_ALM), in log_satellite_report() 257 CHECK_MASK(float, sv->elevation, mask, RPC_LOC_SV_INFO_VALID_ELEVATION), in log_satellite_report() 258 CHECK_MASK(float, sv->azimuth, mask, RPC_LOC_SV_INFO_VALID_AZIMUTH), in log_satellite_report() 259 CHECK_MASK(float, sv->snr, mask, RPC_LOC_SV_INFO_VALID_SNR) in log_satellite_report()
|
/hardware/qcom/gps/utils/ |
D | loc_log.h | 51 #define CHECK_MASK(type, value, mask_var, mask) \ argument 52 ((mask_var & mask) ? (type) value : (type) (-1)) 55 const char* loc_get_name_from_mask(loc_name_val_s_type table[], int table_size, long mask);
|
/hardware/qcom/gps/msm8084/utils/ |
D | loc_log.h | 51 #define CHECK_MASK(type, value, mask_var, mask) \ argument 52 ((mask_var & mask) ? (type) value : (type) (-1)) 55 const char* loc_get_name_from_mask(loc_name_val_s_type table[], int table_size, long mask);
|
/hardware/qcom/gps/msm8994/utils/ |
D | loc_log.h | 51 #define CHECK_MASK(type, value, mask_var, mask) \ argument 52 ((mask_var & mask) ? (type) value : (type) (-1)) 55 const char* loc_get_name_from_mask(loc_name_val_s_type table[], int table_size, long mask);
|
/hardware/qcom/gps/msm8960/utils/ |
D | loc_log.h | 51 #define CHECK_MASK(type, value, mask_var, mask) \ argument 52 ((mask_var & mask) ? (type) value : (type) (-1)) 55 const char* loc_get_name_from_mask(loc_name_val_s_type table[], int table_size, long mask);
|
/hardware/qcom/gps/msm8996/utils/ |
D | loc_log.h | 52 #define CHECK_MASK(type, value, mask_var, mask) \ argument 53 (((mask_var) & (mask)) ? (type) (value) : (type) (-1)) 58 const char* loc_get_name_from_mask(const loc_name_val_s_type table[], size_t table_size, long mask);
|
/hardware/qcom/gps/msm8998/utils/ |
D | loc_log.h | 52 #define CHECK_MASK(type, value, mask_var, mask) \ argument 53 (((mask_var) & (mask)) ? (type) (value) : (type) (-1)) 58 const char* loc_get_name_from_mask(const loc_name_val_s_type table[], size_t table_size, long mask);
|
/hardware/qcom/gps/msm8909/utils/ |
D | loc_log.h | 52 #define CHECK_MASK(type, value, mask_var, mask) \ argument 53 (((mask_var) & (mask)) ? (type) (value) : (type) (-1)) 58 const char* loc_get_name_from_mask(const loc_name_val_s_type table[], size_t table_size, long mask);
|
/hardware/qcom/msm8994/original-kernel-headers/linux/mfd/ |
D | msm-adie-codec.h | 51 #define ADIE_CODEC_PACK_ENTRY(reg, mask, val) ((val)|(mask << 8)|(reg << 16)) argument 53 #define ADIE_CODEC_UNPACK_ENTRY(packed, reg, mask, val) \ argument 56 ((mask) = ((packed >> 8) & (0xff))); \ 83 u8 mask; member
|
/hardware/qcom/msm8x84/original-kernel-headers/linux/mfd/ |
D | msm-adie-codec.h | 51 #define ADIE_CODEC_PACK_ENTRY(reg, mask, val) ((val)|(mask << 8)|(reg << 16)) argument 53 #define ADIE_CODEC_UNPACK_ENTRY(packed, reg, mask, val) \ argument 56 ((mask) = ((packed >> 8) & (0xff))); \ 83 u8 mask; member
|
/hardware/qcom/msm8x09/original-kernel-headers/linux/mfd/ |
D | msm-adie-codec.h | 51 #define ADIE_CODEC_PACK_ENTRY(reg, mask, val) ((val)|(mask << 8)|(reg << 16)) argument 53 #define ADIE_CODEC_UNPACK_ENTRY(packed, reg, mask, val) \ argument 56 ((mask) = ((packed >> 8) & (0xff))); \ 83 u8 mask; member
|