/hardware/broadcom/wlan/bcm4329/dhdutil/include/ |
H A D | bcmutils.h | 530 #define VALID_MASK(mask) !((mask) & ((mask) + 1)) 666 #define mboolmaskset(mb, mask, val) ((mb) = (((mb) & ~(mask)) | (val)))
|
/hardware/broadcom/wlan/bcmdhd/dhdutil/include/ |
H A D | bcmutils.h | 573 #define VALID_MASK(mask) !((mask) & ((mask) + 1)) 733 #define mboolmaskset(mb, mask, val) ((mb) = (((mb) & ~(mask)) | (val)))
|
/hardware/invensense/libsensors_iio/ |
H A D | MPLSensor.cpp | 1941 int i, nb, mask = 0, numEventReceived = 0, 2014 mask |= (((mLocalSensorMask & INV_THREE_AXIS_GYRO)? 1 << Gyro: 0) + 2018 mask |= 1 << MagneticField; 2026 if (mask & (1 << Gyro)) { 2069 if (mask & (1 << Accelerometer)) { 2080 if ((mask & (1 << MagneticField)) && mCompassSensor->isIntegrated()) {
|
/hardware/invensense/libsensors_iio/software/core/mllite/ |
H A D | data_builder.c | 496 * @param[in] mask Mask to select axis to apply bias set. 498 void inv_set_accel_bias_mask(const long *bias, int accuracy, int mask) argument 501 if (mask & 1){ 504 if (mask & 2){ 507 if (mask & 4){
|
H A D | data_builder.h | 191 void inv_set_accel_bias_mask(const long *bias, int accuracy, int mask);
|
/hardware/invensense/libsensors_iio/software/simple_apps/mpu_iio/ |
H A D | iio_utils.h | 63 * @mask: a bit mask for the raw output 76 uint64_t mask; member in struct:iio_channel_info 87 * @mask: output a bit mask for the raw data 97 uint64_t *mask, 165 *mask = ~0; 167 *mask = (1 << *bits_used) - 1; 408 ¤t->mask, 93 iioutils_get_type(unsigned *is_signed, unsigned *bytes, unsigned *bits_used, unsigned *shift, uint64_t *mask, unsigned *be, const char *device_dir, const char *name, const char *generic_name) argument
|
H A D | mpu_iio.c | 108 val = (val & infoarray[k].mask) | 109 ~infoarray[k].mask; 120 val = (val & infoarray[k].mask) | 121 ~infoarray[k].mask;
|
/hardware/libhardware/include/hardware/ |
H A D | audio_effect.h | 744 // regard to the channel mask definition in audio.h, audio_channel_mask_t e.g : 788 uint32_t channels; // channel mask (see audio_channel_mask_t in audio.h) 792 uint16_t mask; // indicates which of the above fields is valid member in struct:buffer_config_s 813 audio_channel_mask_t main_channels; // channel mask for main channels 814 audio_channel_mask_t aux_channels; // channel mask for auxiliary channels 818 // Values for bit field "mask" in buffer_config_t. If a bit is set, the corresponding field
|
H A D | audio_policy.h | 106 uint32_t mask);
|
/hardware/libhardware/modules/audio/ |
H A D | audio_policy.c | 67 uint32_t mask) 66 ap_set_ringer_mode(struct audio_policy *pol, uint32_t mode, uint32_t mask) argument
|
/hardware/libhardware_legacy/audio/ |
H A D | audio_policy_hal.cpp | 96 uint32_t mask) 95 ap_set_ringer_mode(struct audio_policy *pol, uint32_t mode, uint32_t mask) argument
|
/hardware/libhardware_legacy/include/hardware_legacy/ |
H A D | wifi.h | 114 * All IPV4 addresses/mask are in network byte order. 118 * @param mask return the IPV4 mask 126 int do_dhcp_request(int *ipaddr, int *gateway, int *mask,
|
/hardware/libhardware_legacy/wifi/ |
H A D | wifi.c | 168 int do_dhcp_request(int *ipaddr, int *gateway, int *mask, argument 182 get_dhcp_info(ipaddr, gateway, mask, dns1, dns2, server, lease);
|
/hardware/msm7k/libgralloc/ |
H A D | gralloc.cpp | 493 const int mask = pixelAlignment - 1; local 494 stride = (w + mask) & ~mask;
|
/hardware/qcom/display/liboverlay/ |
H A D | overlayUtils.h | 79 inline uint32_t setBit(uint32_t x, uint32_t mask) { argument 80 return (x | mask); 83 inline uint32_t clrBit(uint32_t x, uint32_t mask) { argument 84 return (x & ~mask);
|
/hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/ |
H A D | LocApiRpcAdapter.h | 43 static rpc_loc_event_mask_type convertMask(LOC_API_ADAPTER_EVENT_MASK_T mask);
|
/hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/ |
H A D | LocApiRpcAdapter.cpp | 137 LocApiRpcAdapter::convertMask(LOC_API_ADAPTER_EVENT_MASK_T mask) argument 141 for (unsigned int i = 0, bit=1; 0 != mask; i++, bit<<=1) { 142 if (mask & bit) { 144 mask ^= bit; 706 // We only have the data field to report gps eph and alm mask
|
H A D | loc_api_log.c | 64 /* Finds the first event found in the mask */ 178 LOC_LOGD("Session status: %s Valid mask: 0x%X\n", 248 rpc_loc_sv_info_valid_mask_type mask = sv->valid_mask; local 250 CHECK_MASK(int, sv->system, mask, RPC_LOC_SV_INFO_VALID_SYSTEM), 251 CHECK_MASK(int, sv->prn, mask, RPC_LOC_SV_INFO_VALID_PRN), 252 CHECK_MASK(int, sv->health_status, mask, RPC_LOC_SV_INFO_VALID_HEALTH_STATUS), 253 CHECK_MASK(int, sv->process_status, mask, RPC_LOC_SV_INFO_VALID_PROCESS_STATUS), 254 CHECK_MASK(int, sv->has_eph, mask, RPC_LOC_SV_INFO_VALID_HAS_EPH), 255 CHECK_MASK(int, sv->has_alm, mask, RPC_LOC_SV_INFO_VALID_HAS_ALM), 256 CHECK_MASK(float, sv->elevation, mask, RPC_LOC_SV_INFO_VALID_ELEVATIO [all...] |
/hardware/qcom/gps/loc_api/loc_api_v02/ |
H A D | LocApiV02Adapter.cpp | 550 // set ephemeris mask for all GPS SV's 671 // set ephemeris mask for all GPS SV's 1378 /* Convert event mask from loc eng to loc_api_v02 format */ 1380 LOC_API_ADAPTER_EVENT_MASK_T mask) 1383 LOC_LOGD("%s:%d]: adapter mask = %u\n", __func__, __LINE__, mask); 1385 if(mask & LOC_API_ADAPTER_BIT_PARSED_POSITION_REPORT) 1388 if(mask & LOC_API_ADAPTER_BIT_SATELLITE_REPORT) 1392 if( (mask & LOC_API_ADAPTER_BIT_NMEA_POSITION_REPORT) || 1393 (mask 1379 convertMask( LOC_API_ADAPTER_EVENT_MASK_T mask) argument [all...] |
H A D | LocApiV02Adapter.h | 78 /* Convert event mask from loc eng to loc_api_v02 format */ 79 locClientEventMaskType convertMask(LOC_API_ADAPTER_EVENT_MASK_T mask);
|
/hardware/qcom/gps/utils/ |
H A D | loc_log.cpp | 54 const char* loc_get_name_from_mask(loc_name_val_s_type table[], int table_size, long mask) argument 59 if (table[i].val & (long) mask)
|
H A D | loc_log.h | 50 #define CHECK_MASK(type, value, mask_var, mask) \ 51 ((mask_var & mask) ? (type) value : (type) (-1)) 54 const char* loc_get_name_from_mask(loc_name_val_s_type table[], int table_size, long mask);
|
/hardware/ril/include/telephony/ |
H A D | ril_cdma_sms.h | 763 /* the mask indicates which fields are present in this message */ 764 unsigned int mask; member in struct:__anon1271
|
/hardware/ril/reference-ril/ |
H A D | reference-ril.c | 2747 ALOGI("Found Multimode Modem. Supported techs mask: %8.8x. Current tech: %d", 2940 int tech, mask; local 2948 mask = 1 << tech; 2949 if (mask != MDM_GSM && mask != MDM_CDMA && 2950 mask != MDM_WCDMA && mask != MDM_LTE) {
|
/hardware/samsung_slsi/exynos5/exynos_omx/codecs/exynos_codecs/video/exynos5/mfc_v4l2/include/ |
H A D | ExynosVideoDec.h | 28 #define OPERATE_BIT(x, mask, shift) ((x & (mask << shift)) >> shift)
|