Home
last modified time | relevance | path

Searched refs:u (Results 1 – 25 of 147) sorted by relevance

123456

/hardware/interfaces/sensors/1.0/default/
Dconvert.cpp78 dst->u.meta.what = (MetaDataEventType)src.meta_data.what; in convertFromSensorEvent()
92 dst->u.vec3.x = src.acceleration.x; in convertFromSensorEvent()
93 dst->u.vec3.y = src.acceleration.y; in convertFromSensorEvent()
94 dst->u.vec3.z = src.acceleration.z; in convertFromSensorEvent()
95 dst->u.vec3.status = (SensorStatus)src.acceleration.status; in convertFromSensorEvent()
100 dst->u.vec4.x = src.data[0]; in convertFromSensorEvent()
101 dst->u.vec4.y = src.data[1]; in convertFromSensorEvent()
102 dst->u.vec4.z = src.data[2]; in convertFromSensorEvent()
103 dst->u.vec4.w = src.data[3]; in convertFromSensorEvent()
109 dst->u.data[0] = src.data[0]; in convertFromSensorEvent()
[all …]
/hardware/qcom/audio/legacy/alsa_sound/
DALSAStreamOps.cpp84 static inline uint32_t popCount(uint32_t u) in popCount() argument
86 u = ((u&0x55555555) + ((u>>1)&0x55555555)); in popCount()
87 u = ((u&0x33333333) + ((u>>2)&0x33333333)); in popCount()
88 u = ((u&0x0f0f0f0f) + ((u>>4)&0x0f0f0f0f)); in popCount()
89 u = ((u&0x00ff00ff) + ((u>>8)&0x00ff00ff)); in popCount()
90 u = ( u&0x0000ffff) + (u>>16); in popCount()
91 return u; in popCount()
/hardware/qcom/sdm845/data/ipacfg-mgr/ipacm/src/
DIPACM_Iface.cpp722 flt_rule_entry.rule.attrib.u.v4.dst_addr_mask = 0xF0000000; in init_fl_rule()
723 flt_rule_entry.rule.attrib.u.v4.dst_addr = 0xE0000000; in init_fl_rule()
731 flt_rule_entry.rule.attrib.u.v4.dst_addr_mask = 0xFFFFFFFF; in init_fl_rule()
732 flt_rule_entry.rule.attrib.u.v4.dst_addr = 0xFFFFFFFF; in init_fl_rule()
793 flt_rule_entry.rule.attrib.u.v6.dst_addr_mask[0] = 0xFF000000; in init_fl_rule()
794 flt_rule_entry.rule.attrib.u.v6.dst_addr_mask[1] = 0x00000000; in init_fl_rule()
795 flt_rule_entry.rule.attrib.u.v6.dst_addr_mask[2] = 0x00000000; in init_fl_rule()
796 flt_rule_entry.rule.attrib.u.v6.dst_addr_mask[3] = 0x00000000; in init_fl_rule()
797 flt_rule_entry.rule.attrib.u.v6.dst_addr[0] = 0XFF000000; in init_fl_rule()
798 flt_rule_entry.rule.attrib.u.v6.dst_addr[1] = 0x00000000; in init_fl_rule()
[all …]
DIPACM_Wan.cpp274 rt_rule_entry->rule.attrib.u.v6.dst_addr[0] = data->ipv6_addr[0]; in handle_addr_evt()
275 rt_rule_entry->rule.attrib.u.v6.dst_addr[1] = data->ipv6_addr[1]; in handle_addr_evt()
276 rt_rule_entry->rule.attrib.u.v6.dst_addr[2] = data->ipv6_addr[2]; in handle_addr_evt()
277 rt_rule_entry->rule.attrib.u.v6.dst_addr[3] = data->ipv6_addr[3]; in handle_addr_evt()
278 rt_rule_entry->rule.attrib.u.v6.dst_addr_mask[0] = 0xFFFFFFFF; in handle_addr_evt()
279 rt_rule_entry->rule.attrib.u.v6.dst_addr_mask[1] = 0xFFFFFFFF; in handle_addr_evt()
280 rt_rule_entry->rule.attrib.u.v6.dst_addr_mask[2] = 0xFFFFFFFF; in handle_addr_evt()
281 rt_rule_entry->rule.attrib.u.v6.dst_addr_mask[3] = 0xFFFFFFFF; in handle_addr_evt()
375 …memcpy(flt_rule_entry.rule.attrib.u.v6.dst_addr, data->ipv6_addr, sizeof(flt_rule_entry.rule.attri… in handle_addr_evt()
376 flt_rule_entry.rule.attrib.u.v6.dst_addr_mask[0] = 0xFFFFFFFF; in handle_addr_evt()
[all …]
DIPACM_Xml.cpp599 config->extd_firewall_entries[config->num_extd_firewall_entries - 1].attrib.u.v4.src_addr in IPACM_firewall_xml_parse_tree()
613 config->extd_firewall_entries[config->num_extd_firewall_entries - 1].attrib.u.v4.src_addr_mask in IPACM_firewall_xml_parse_tree()
633 config->extd_firewall_entries[config->num_extd_firewall_entries - 1].attrib.u.v4.dst_addr in IPACM_firewall_xml_parse_tree()
647 config->extd_firewall_entries[config->num_extd_firewall_entries - 1].attrib.u.v4.dst_addr_mask in IPACM_firewall_xml_parse_tree()
666 config->extd_firewall_entries[config->num_extd_firewall_entries - 1].attrib.u.v4.tos in IPACM_firewall_xml_parse_tree()
669 config->extd_firewall_entries[config->num_extd_firewall_entries - 1].attrib.u.v4.tos); in IPACM_firewall_xml_parse_tree()
680 config->extd_firewall_entries[config->num_extd_firewall_entries - 1].attrib.u.v4.tos in IPACM_firewall_xml_parse_tree()
683 config->extd_firewall_entries[config->num_extd_firewall_entries - 1].attrib.u.v4.tos); in IPACM_firewall_xml_parse_tree()
695 …config->extd_firewall_entries[config->num_extd_firewall_entries - 1].attrib.u.v4.protocol = atoi(c… in IPACM_firewall_xml_parse_tree()
697 config->extd_firewall_entries[config->num_extd_firewall_entries - 1].attrib.u.v4.protocol); in IPACM_firewall_xml_parse_tree()
[all …]
DIPACM_Lan.cpp1326 rt_rule_entry->rule.attrib.u.v4.dst_addr = data->ipv4_addr; in handle_addr_evt()
1327 rt_rule_entry->rule.attrib.u.v4.dst_addr_mask = 0xFFFFFFFF; in handle_addr_evt()
1394 rt_rule_entry->rule.attrib.u.v6.dst_addr[0] = data->ipv6_addr[0]; in handle_addr_evt()
1395 rt_rule_entry->rule.attrib.u.v6.dst_addr[1] = data->ipv6_addr[1]; in handle_addr_evt()
1396 rt_rule_entry->rule.attrib.u.v6.dst_addr[2] = data->ipv6_addr[2]; in handle_addr_evt()
1397 rt_rule_entry->rule.attrib.u.v6.dst_addr[3] = data->ipv6_addr[3]; in handle_addr_evt()
1398 rt_rule_entry->rule.attrib.u.v6.dst_addr_mask[0] = 0xFFFFFFFF; in handle_addr_evt()
1399 rt_rule_entry->rule.attrib.u.v6.dst_addr_mask[1] = 0xFFFFFFFF; in handle_addr_evt()
1400 rt_rule_entry->rule.attrib.u.v6.dst_addr_mask[2] = 0xFFFFFFFF; in handle_addr_evt()
1401 rt_rule_entry->rule.attrib.u.v6.dst_addr_mask[3] = 0xFFFFFFFF; in handle_addr_evt()
[all …]
DIPACM_Wlan.cpp735 …eth_bridge_post_event(IPA_ETH_BRIDGE_CLIENT_ADD, IPA_IP_MAX, data->attribs[i].u.mac_addr, NULL, NU… in event_callback()
1056 data->attribs[i].u.mac_addr, in handle_wlan_client_init_ex()
1077 &data->attribs[i].u.sta_id, sizeof(data->attribs[i].u.sta_id)); in handle_wlan_client_init_ex()
1171 data->attribs[i].u.mac_addr, in handle_wlan_client_init_ex()
1192 &data->attribs[i].u.sta_id, sizeof(data->attribs[i].u.sta_id)); in handle_wlan_client_init_ex()
1496 rt_rule_entry->rule.attrib.u.v4.dst_addr = get_client_memptr(wlan_client, wlan_index)->v4_addr; in handle_wlan_client_route_rule()
1497 rt_rule_entry->rule.attrib.u.v4.dst_addr_mask = 0xFFFFFFFF; in handle_wlan_client_route_rule()
1535 …rt_rule_entry->rule.attrib.u.v6.dst_addr[0] = get_client_memptr(wlan_client, wlan_index)->v6_addr[… in handle_wlan_client_route_rule()
1536 …rt_rule_entry->rule.attrib.u.v6.dst_addr[1] = get_client_memptr(wlan_client, wlan_index)->v6_addr[… in handle_wlan_client_route_rule()
1537 …rt_rule_entry->rule.attrib.u.v6.dst_addr[2] = get_client_memptr(wlan_client, wlan_index)->v6_addr[… in handle_wlan_client_route_rule()
[all …]
/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/src/
DIPACM_Iface.cpp723 flt_rule_entry.rule.attrib.u.v4.dst_addr_mask = 0xF0000000; in init_fl_rule()
724 flt_rule_entry.rule.attrib.u.v4.dst_addr = 0xE0000000; in init_fl_rule()
732 flt_rule_entry.rule.attrib.u.v4.dst_addr_mask = 0xFFFFFFFF; in init_fl_rule()
733 flt_rule_entry.rule.attrib.u.v4.dst_addr = 0xFFFFFFFF; in init_fl_rule()
794 flt_rule_entry.rule.attrib.u.v6.dst_addr_mask[0] = 0xFF000000; in init_fl_rule()
795 flt_rule_entry.rule.attrib.u.v6.dst_addr_mask[1] = 0x00000000; in init_fl_rule()
796 flt_rule_entry.rule.attrib.u.v6.dst_addr_mask[2] = 0x00000000; in init_fl_rule()
797 flt_rule_entry.rule.attrib.u.v6.dst_addr_mask[3] = 0x00000000; in init_fl_rule()
798 flt_rule_entry.rule.attrib.u.v6.dst_addr[0] = 0XFF000000; in init_fl_rule()
799 flt_rule_entry.rule.attrib.u.v6.dst_addr[1] = 0x00000000; in init_fl_rule()
[all …]
DIPACM_Wan.cpp274 rt_rule_entry->rule.attrib.u.v6.dst_addr[0] = data->ipv6_addr[0]; in handle_addr_evt()
275 rt_rule_entry->rule.attrib.u.v6.dst_addr[1] = data->ipv6_addr[1]; in handle_addr_evt()
276 rt_rule_entry->rule.attrib.u.v6.dst_addr[2] = data->ipv6_addr[2]; in handle_addr_evt()
277 rt_rule_entry->rule.attrib.u.v6.dst_addr[3] = data->ipv6_addr[3]; in handle_addr_evt()
278 rt_rule_entry->rule.attrib.u.v6.dst_addr_mask[0] = 0xFFFFFFFF; in handle_addr_evt()
279 rt_rule_entry->rule.attrib.u.v6.dst_addr_mask[1] = 0xFFFFFFFF; in handle_addr_evt()
280 rt_rule_entry->rule.attrib.u.v6.dst_addr_mask[2] = 0xFFFFFFFF; in handle_addr_evt()
281 rt_rule_entry->rule.attrib.u.v6.dst_addr_mask[3] = 0xFFFFFFFF; in handle_addr_evt()
375 …memcpy(flt_rule_entry.rule.attrib.u.v6.dst_addr, data->ipv6_addr, sizeof(flt_rule_entry.rule.attri… in handle_addr_evt()
376 flt_rule_entry.rule.attrib.u.v6.dst_addr_mask[0] = 0xFFFFFFFF; in handle_addr_evt()
[all …]
DIPACM_Xml.cpp599 config->extd_firewall_entries[config->num_extd_firewall_entries - 1].attrib.u.v4.src_addr in IPACM_firewall_xml_parse_tree()
613 config->extd_firewall_entries[config->num_extd_firewall_entries - 1].attrib.u.v4.src_addr_mask in IPACM_firewall_xml_parse_tree()
633 config->extd_firewall_entries[config->num_extd_firewall_entries - 1].attrib.u.v4.dst_addr in IPACM_firewall_xml_parse_tree()
647 config->extd_firewall_entries[config->num_extd_firewall_entries - 1].attrib.u.v4.dst_addr_mask in IPACM_firewall_xml_parse_tree()
666 config->extd_firewall_entries[config->num_extd_firewall_entries - 1].attrib.u.v4.tos in IPACM_firewall_xml_parse_tree()
669 config->extd_firewall_entries[config->num_extd_firewall_entries - 1].attrib.u.v4.tos); in IPACM_firewall_xml_parse_tree()
680 config->extd_firewall_entries[config->num_extd_firewall_entries - 1].attrib.u.v4.tos in IPACM_firewall_xml_parse_tree()
683 config->extd_firewall_entries[config->num_extd_firewall_entries - 1].attrib.u.v4.tos); in IPACM_firewall_xml_parse_tree()
695 …config->extd_firewall_entries[config->num_extd_firewall_entries - 1].attrib.u.v4.protocol = atoi(c… in IPACM_firewall_xml_parse_tree()
697 config->extd_firewall_entries[config->num_extd_firewall_entries - 1].attrib.u.v4.protocol); in IPACM_firewall_xml_parse_tree()
[all …]
DIPACM_Lan.cpp1170 rt_rule_entry->rule.attrib.u.v4.dst_addr = data->ipv4_addr; in handle_addr_evt()
1171 rt_rule_entry->rule.attrib.u.v4.dst_addr_mask = 0xFFFFFFFF; in handle_addr_evt()
1232 rt_rule_entry->rule.attrib.u.v6.dst_addr[0] = data->ipv6_addr[0]; in handle_addr_evt()
1233 rt_rule_entry->rule.attrib.u.v6.dst_addr[1] = data->ipv6_addr[1]; in handle_addr_evt()
1234 rt_rule_entry->rule.attrib.u.v6.dst_addr[2] = data->ipv6_addr[2]; in handle_addr_evt()
1235 rt_rule_entry->rule.attrib.u.v6.dst_addr[3] = data->ipv6_addr[3]; in handle_addr_evt()
1236 rt_rule_entry->rule.attrib.u.v6.dst_addr_mask[0] = 0xFFFFFFFF; in handle_addr_evt()
1237 rt_rule_entry->rule.attrib.u.v6.dst_addr_mask[1] = 0xFFFFFFFF; in handle_addr_evt()
1238 rt_rule_entry->rule.attrib.u.v6.dst_addr_mask[2] = 0xFFFFFFFF; in handle_addr_evt()
1239 rt_rule_entry->rule.attrib.u.v6.dst_addr_mask[3] = 0xFFFFFFFF; in handle_addr_evt()
[all …]
DIPACM_Wlan.cpp693 eth_bridge_post_event(IPA_ETH_BRIDGE_CLIENT_ADD, IPA_IP_MAX, data->attribs[i].u.mac_addr); in event_callback()
983 data->attribs[i].u.mac_addr, in handle_wlan_client_init_ex()
1004 &data->attribs[i].u.sta_id, sizeof(data->attribs[i].u.sta_id)); in handle_wlan_client_init_ex()
1098 data->attribs[i].u.mac_addr, in handle_wlan_client_init_ex()
1119 &data->attribs[i].u.sta_id, sizeof(data->attribs[i].u.sta_id)); in handle_wlan_client_init_ex()
1423 rt_rule_entry->rule.attrib.u.v4.dst_addr = get_client_memptr(wlan_client, wlan_index)->v4_addr; in handle_wlan_client_route_rule()
1424 rt_rule_entry->rule.attrib.u.v4.dst_addr_mask = 0xFFFFFFFF; in handle_wlan_client_route_rule()
1459 …rt_rule_entry->rule.attrib.u.v6.dst_addr[0] = get_client_memptr(wlan_client, wlan_index)->v6_addr[… in handle_wlan_client_route_rule()
1460 …rt_rule_entry->rule.attrib.u.v6.dst_addr[1] = get_client_memptr(wlan_client, wlan_index)->v6_addr[… in handle_wlan_client_route_rule()
1461 …rt_rule_entry->rule.attrib.u.v6.dst_addr[2] = get_client_memptr(wlan_client, wlan_index)->v6_addr[… in handle_wlan_client_route_rule()
[all …]
/hardware/qcom/audio/hal/audio_extn/
Dsoundtrigger.c115 }u; member
295 event.u.aud_info.ses_info = &st_info->st_ses; in audio_extn_sound_trigger_read()
296 event.u.aud_info.buf = buffer; in audio_extn_sound_trigger_read()
297 event.u.aud_info.num_bytes = bytes; in audio_extn_sound_trigger_read()
325 event.u.ses_info = st_ses_info->st_ses; in audio_extn_sound_trigger_stop_lab()
432 if (!populate_usecase(&ev_info.u.usecase, uc_info)) { in audio_extn_sound_trigger_update_stream_status()
456 event.u.status = SND_CARD_STATUS_OFFLINE; in audio_extn_sound_trigger_set_parameters()
460 event.u.status = SND_CARD_STATUS_ONLINE; in audio_extn_sound_trigger_set_parameters()
470 event.u.status = CPE_STATUS_OFFLINE; in audio_extn_sound_trigger_set_parameters()
474 event.u.status = CPE_STATUS_ONLINE; in audio_extn_sound_trigger_set_parameters()
[all …]
/hardware/google/av/media/codecs/vpx/
DC2SoftVpxEnc.h234 new C2StreamFormatConfig::input(0u, C2FormatVideo)) in IntfImpl()
240 new C2StreamFormatConfig::output(0u, C2FormatCompressed)) in IntfImpl()
262 0u, (uint64_t)C2MemoryUsage::CPU_READ)) in IntfImpl()
267 .withDefault(new C2VideoSizeStreamTuning::input(0u, 320, 240)) in IntfImpl()
278 0u, C2Config::BITRATE_CONST)) in IntfImpl()
289 .withDefault(new C2StreamFrameRateInfo::output(0u, 30.)) in IntfImpl()
298 .withDefault(C2StreamTemporalLayeringTuning::output::AllocShared(0u, 0, 0, 0)) in IntfImpl()
309 .withDefault(new C2StreamSyncFrameIntervalTuning::output(0u, 1000000)) in IntfImpl()
316 .withDefault(new C2BitrateTuning::output(0u, 64000)) in IntfImpl()
324 0u, C2Config::INTRA_REFRESH_DISABLED, 0.)) in IntfImpl()
[all …]
/hardware/libhardware/include/hardware/
Dnfc-base.h13 HAL_NFC_OPEN_CPLT_EVT = 0u,
23 HAL_NFC_STATUS_OK = 0u,
Dsensors-base.h59 SENSOR_FLAG_CONTINUOUS_MODE = 0u,
95 AINFO_BEGIN = 0u,
/hardware/libhardware/modules/sensors/dynamic_sensor/HidUtils/
DHidItem.cpp39 unsigned int u; in dataAsSigned() local
40 if (!dataAsUnsigned(&u)) { in dataAsSigned()
44 unsigned int sign = u & (1 << bitSize_1); in dataAsSigned()
45 *out = u | ((sign == 0) ? 0 : ( ~0 << bitSize_1)); in dataAsSigned()
/hardware/broadcom/wlan/bcmdhd/wpa_supplicant_8_lib/
Ddriver_cmd_wext.c119 iwr.u.data.pointer = buf; in wpa_driver_wext_combo_scan()
120 iwr.u.data.length = bp; in wpa_driver_wext_combo_scan()
262 iwr.u.data.pointer = buf; in wpa_driver_set_backgroundscan_params()
263 iwr.u.data.length = bp; in wpa_driver_set_backgroundscan_params()
324 iwr.u.data.pointer = buf; in wpa_driver_wext_driver_cmd()
325 iwr.u.data.length = buf_len; in wpa_driver_wext_driver_cmd()
330 iwr.u.data.length = wpa_driver_wext_set_cscan_params(buf, buf_len, cmd); in wpa_driver_wext_driver_cmd()
/hardware/interfaces/sensors/2.0/default/
DSensor.cpp91 ev.u.meta.what = MetaDataEventType::META_DATA_FLUSH_COMPLETE; in flush()
138 event.u.vec3.x = 0; in readEvents()
139 event.u.vec3.y = 0; in readEvents()
140 event.u.vec3.z = 0; in readEvents()
141 event.u.vec3.status = SensorStatus::ACCURACY_HIGH; in readEvents()
189 if (ev.u.vec3 != mPreviousEvent.u.vec3 || !mPreviousEventSet) { in readEvents()
/hardware/qcom/msm8x84/original-kernel-headers/linux/
Dmsm_rmnet.h118 } u; member
125 } u; member
/hardware/qcom/msm8x84/kernel-headers/linux/
Dmsm_rmnet.h126 } u; member
134 } u; member
/hardware/qcom/bt/msm8992/libbt-vendor/src/
Dhw_ar3k.c1269 static int init_uart(char *dev, struct uart_t *u, int send_break, int raw) in init_uart() argument
1300 if (u->flags & FLOW_CTL) in init_uart()
1310 if (set_speed(fd, &ti, u->init_speed) < 0) { in init_uart()
1322 ath3k_init(fd,u->speed,u->init_speed,u->bdaddr, &ti); in init_uart()
1366 struct uart_t u ; in hw_config_ath3k() local
1369 memset(&u, 0, sizeof(u)); in hw_config_ath3k()
1370 u.speed =3000000; in hw_config_ath3k()
1371 u.init_speed =115200; in hw_config_ath3k()
1372 u.flags |= FLOW_CTL; in hw_config_ath3k()
1373 u.pm = DISABLE_PM; in hw_config_ath3k()
[all …]
/hardware/qcom/bt/msm8998/libbt-vendor/src/
Dhw_ar3k.c1277 static int init_uart(char *dev, struct uart_t *u, int send_break, int raw) in init_uart() argument
1308 if (u->flags & FLOW_CTL) in init_uart()
1318 if (set_speed(fd, &ti, u->init_speed) < 0) { in init_uart()
1330 ath3k_init(fd,u->speed,u->init_speed,u->bdaddr, &ti); in init_uart()
1374 struct uart_t u ; in hw_config_ath3k() local
1377 memset(&u, 0, sizeof(u)); in hw_config_ath3k()
1378 u.speed =3000000; in hw_config_ath3k()
1379 u.init_speed =115200; in hw_config_ath3k()
1380 u.flags |= FLOW_CTL; in hw_config_ath3k()
1381 u.pm = DISABLE_PM; in hw_config_ath3k()
[all …]
/hardware/qcom/sdm845/bt/libbt-vendor/src/
Dhw_ar3k.c1275 static int init_uart(char *dev, struct uart_t *u, int send_break, int raw) in init_uart() argument
1306 if (u->flags & FLOW_CTL) in init_uart()
1316 if (set_speed(fd, &ti, u->init_speed) < 0) { in init_uart()
1328 ath3k_init(fd,u->speed,u->init_speed,u->bdaddr, &ti); in init_uart()
1372 struct uart_t u ; in hw_config_ath3k() local
1375 memset(&u, 0, sizeof(u)); in hw_config_ath3k()
1376 u.speed =3000000; in hw_config_ath3k()
1377 u.init_speed =115200; in hw_config_ath3k()
1378 u.flags |= FLOW_CTL; in hw_config_ath3k()
1379 u.pm = DISABLE_PM; in hw_config_ath3k()
[all …]
/hardware/qcom/bt/msm8996/libbt-vendor/src/
Dhw_ar3k.c1275 static int init_uart(char *dev, struct uart_t *u, int send_break, int raw) in init_uart() argument
1306 if (u->flags & FLOW_CTL) in init_uart()
1316 if (set_speed(fd, &ti, u->init_speed) < 0) { in init_uart()
1328 ath3k_init(fd,u->speed,u->init_speed,u->bdaddr, &ti); in init_uart()
1372 struct uart_t u ; in hw_config_ath3k() local
1375 memset(&u, 0, sizeof(u)); in hw_config_ath3k()
1376 u.speed =3000000; in hw_config_ath3k()
1377 u.init_speed =115200; in hw_config_ath3k()
1378 u.flags |= FLOW_CTL; in hw_config_ath3k()
1379 u.pm = DISABLE_PM; in hw_config_ath3k()
[all …]

123456