/hardware/qcom/wlan/qcwcn/wifi_hal/ |
D | wificonfig.cpp | 43 wifi_error ret; in wifi_extended_dtim_config_set() local 63 ret = wifiConfigCommand->create(); in wifi_extended_dtim_config_set() 64 if (ret != WIFI_SUCCESS) { in wifi_extended_dtim_config_set() 66 "Error:%d", ret); in wifi_extended_dtim_config_set() 71 ret = wifiConfigCommand->set_iface_id(ifaceInfo->name); in wifi_extended_dtim_config_set() 72 if (ret != WIFI_SUCCESS) { in wifi_extended_dtim_config_set() 74 "Error:%d", ret); in wifi_extended_dtim_config_set() 82 "VENDOR_DATA. Error:%d", ret); in wifi_extended_dtim_config_set() 86 ret = wifiConfigCommand->put_u32( in wifi_extended_dtim_config_set() 88 if (ret != WIFI_SUCCESS) { in wifi_extended_dtim_config_set() [all …]
|
D | nan.cpp | 46 wifi_error ret; in nan_register_handler() local 56 ret = nanCommand->setCallbackHandler(handlers); in nan_register_handler() 57 return ret; in nan_register_handler() 72 wifi_error ret; in nan_enable_request() local 86 ret = nanCommand->create(); in nan_enable_request() 87 if (ret != WIFI_SUCCESS) in nan_enable_request() 91 ret = nanCommand->set_iface_id(ifaceInfo->name); in nan_enable_request() 92 if (ret != WIFI_SUCCESS) in nan_enable_request() 95 ret = nanCommand->putNanEnable(id, msg); in nan_enable_request() 96 if (ret != WIFI_SUCCESS) { in nan_enable_request() [all …]
|
D | roam.cpp | 33 wifi_error ret = mMsg.create(NL80211_CMD_VENDOR, 0, 0); in create() local 34 if (ret != WIFI_SUCCESS) in create() 35 return ret; in create() 38 ret = mMsg.put_u32(NL80211_ATTR_VENDOR_ID, mVendor_id); in create() 39 if (ret != WIFI_SUCCESS) in create() 40 return ret; in create() 42 ret = mMsg.put_u32(NL80211_ATTR_VENDOR_SUBCMD, mSubcmd); in create() 43 if (ret != WIFI_SUCCESS) in create() 44 return ret; in create() 48 return ret; in create() [all …]
|
D | rtt.cpp | 46 wifi_error ret; in wifi_get_rtt_capabilities() local 74 ret = (wifi_error)lowiWifiHalApi->get_rtt_capabilities(iface, capabilities); in wifi_get_rtt_capabilities() 75 if (ret != WIFI_SUCCESS) in wifi_get_rtt_capabilities() 77 "returned error:%d. Exit.", ret); in wifi_get_rtt_capabilities() 79 return ret; in wifi_get_rtt_capabilities() 89 wifi_error ret; in wifi_rtt_range_request() local 129 ret = (wifi_error)lowiWifiHalApi->rtt_range_request(id, iface, in wifi_rtt_range_request() 132 if (ret != WIFI_SUCCESS) in wifi_rtt_range_request() 134 "returned error:%d. Exit.", ret); in wifi_rtt_range_request() 136 return ret; in wifi_rtt_range_request() [all …]
|
D | wifi_hal.cpp | 147 int *ret = (int *)arg; in finish_handler() local 148 *ret = 0; in finish_handler() 155 int *ret = (int *)arg; in error_handler() local 156 *ret = err->error; in error_handler() 169 wifi_error ret; in acquire_supported_features() local 179 ret = supportedFeatures.create(); in acquire_supported_features() 180 if (ret != WIFI_SUCCESS) in acquire_supported_features() 183 ret = supportedFeatures.set_iface_id(iinfo->name); in acquire_supported_features() 184 if (ret != WIFI_SUCCESS) in acquire_supported_features() 187 ret = supportedFeatures.requestResponse(); in acquire_supported_features() [all …]
|
/hardware/invensense/6515/libsensors_iio/software/simple_apps/mpu_iio/ |
D | mpu_iio.c | 190 int ret; in enable_flick() local 192 ret = write_sysfs_int_and_verify("flick_int_on", p, on); in enable_flick() 193 if (ret < 0) in enable_flick() 194 return ret; in enable_flick() 195 ret = write_sysfs_int_and_verify("flick_upper", p, 3147790); in enable_flick() 196 if (ret < 0) in enable_flick() 197 return ret; in enable_flick() 198 ret = write_sysfs_int_and_verify("flick_lower", p, -3147790); in enable_flick() 199 if (ret < 0) in enable_flick() 200 return ret; in enable_flick() [all …]
|
D | iio_utils.h | 106 int ret; in iioutils_get_type() local 113 ret = asprintf(&scan_el_dir, FORMAT_SCAN_ELEMENTS_DIR, device_dir); in iioutils_get_type() 114 if (ret < 0) { in iioutils_get_type() 115 ret = -ENOMEM; in iioutils_get_type() 118 ret = asprintf(&builtname, FORMAT_TYPE_FILE, name); in iioutils_get_type() 119 if (ret < 0) { in iioutils_get_type() 120 ret = -ENOMEM; in iioutils_get_type() 123 ret = asprintf(&builtname_generic, FORMAT_TYPE_FILE, generic_name); in iioutils_get_type() 124 if (ret < 0) { in iioutils_get_type() 125 ret = -ENOMEM; in iioutils_get_type() [all …]
|
/hardware/invensense/6515/libsensors_iio/software/simple_apps/stress_iio/ |
D | stress_iio.c | 158 int ret; in inv_set_rate() local 161 ret = write_sysfs_int_and_verify("accel_rate", dev_dir_name, 5); in inv_set_rate() 162 ret = write_sysfs_int_and_verify("gyro_rate", dev_dir_name, 5); in inv_set_rate() 164 ret = write_sysfs_int_and_verify("compass_rate", dev_dir_name, 10); in inv_set_rate() 166 ret = write_sysfs_int_and_verify("pressure_rate", dev_dir_name, 30); in inv_set_rate() 167 ret = write_sysfs_int_and_verify("ped_q_rate", dev_dir_name, 5); in inv_set_rate() 168 ret = write_sysfs_int_and_verify("six_axes_q_rate", dev_dir_name, 5); in inv_set_rate() 169 ret = write_sysfs_int_and_verify("three_axes_q_rate", dev_dir_name, 5); in inv_set_rate() 175 int ret; in setup_offset_and_bias() local 177 ret = write_sysfs_int_and_verify("in_accel_x_offset", dev_dir_name, 0); in setup_offset_and_bias() [all …]
|
D | iio_utils.h | 104 int ret; in iioutils_get_type() local 111 ret = asprintf(&scan_el_dir, FORMAT_SCAN_ELEMENTS_DIR, device_dir); in iioutils_get_type() 112 if (ret < 0) { in iioutils_get_type() 113 ret = -ENOMEM; in iioutils_get_type() 116 ret = asprintf(&builtname, FORMAT_TYPE_FILE, name); in iioutils_get_type() 117 if (ret < 0) { in iioutils_get_type() 118 ret = -ENOMEM; in iioutils_get_type() 121 ret = asprintf(&builtname_generic, FORMAT_TYPE_FILE, generic_name); in iioutils_get_type() 122 if (ret < 0) { in iioutils_get_type() 123 ret = -ENOMEM; in iioutils_get_type() [all …]
|
/hardware/qcom/data/ipacfg-mgr/msm8998/ipanat/test/ |
D | ipa_nat_test020.c | 49 int ret; in ipa_nat_test020() local 65 ret = ipa_nat_add_ipv4_tbl(pub_ip_add, total_entries, &tbl_hdl); in ipa_nat_test020() 66 CHECK_ERR(ret); in ipa_nat_test020() 69 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl1); in ipa_nat_test020() 70 CHECK_ERR(ret); in ipa_nat_test020() 72 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl2); in ipa_nat_test020() 73 CHECK_ERR(ret); in ipa_nat_test020() 75 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl3); in ipa_nat_test020() 76 CHECK_ERR(ret); in ipa_nat_test020() 78 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl4); in ipa_nat_test020() [all …]
|
D | ipa_nat_test022.c | 52 int ret; in ipa_nat_test022() local 79 ret = ipa_nat_add_ipv4_tbl(pub_ip_add, total_entries, &tbl_hdl); in ipa_nat_test022() 80 CHECK_ERR1(ret, tbl_hdl); in ipa_nat_test022() 83 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl1); in ipa_nat_test022() 84 CHECK_ERR1(ret, tbl_hdl); in ipa_nat_test022() 86 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl2); in ipa_nat_test022() 87 CHECK_ERR1(ret, tbl_hdl); in ipa_nat_test022() 89 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl3); in ipa_nat_test022() 90 CHECK_ERR1(ret, tbl_hdl); in ipa_nat_test022() 93 ret = ipa_nat_del_ipv4_rule(tbl_hdl, rule_hdl1); in ipa_nat_test022() [all …]
|
D | ipa_nat_test015.c | 51 int ret; in ipa_nat_test015() local 69 ret = ipa_nat_add_ipv4_tbl(pub_ip_add, total_entries, &tbl_hdl); in ipa_nat_test015() 70 CHECK_ERR(ret); in ipa_nat_test015() 73 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl1); in ipa_nat_test015() 74 CHECK_ERR(ret); in ipa_nat_test015() 76 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl2); in ipa_nat_test015() 77 CHECK_ERR(ret); in ipa_nat_test015() 79 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl3); in ipa_nat_test015() 80 CHECK_ERR(ret); in ipa_nat_test015() 82 ret = ipa_nat_del_ipv4_rule(tbl_hdl, rule_hdl1); in ipa_nat_test015() [all …]
|
D | ipa_nat_test014.c | 49 int ret; in ipa_nat_test014() local 66 ret = ipa_nat_add_ipv4_tbl(pub_ip_add, total_entries, &tbl_hdl); in ipa_nat_test014() 67 CHECK_ERR(ret); in ipa_nat_test014() 70 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl1); in ipa_nat_test014() 71 CHECK_ERR(ret); in ipa_nat_test014() 73 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl2); in ipa_nat_test014() 74 CHECK_ERR(ret); in ipa_nat_test014() 76 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl3); in ipa_nat_test014() 77 CHECK_ERR(ret); in ipa_nat_test014() 79 ret = ipa_nat_del_ipv4_rule(tbl_hdl, rule_hdl1); in ipa_nat_test014() [all …]
|
D | ipa_nat_test018.c | 50 int ret; in ipa_nat_test018() local 67 ret = ipa_nat_add_ipv4_tbl(pub_ip_add, total_entries, &tbl_hdl); in ipa_nat_test018() 68 CHECK_ERR(ret); in ipa_nat_test018() 71 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl1); in ipa_nat_test018() 72 CHECK_ERR(ret); in ipa_nat_test018() 74 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl2); in ipa_nat_test018() 75 CHECK_ERR(ret); in ipa_nat_test018() 77 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl3); in ipa_nat_test018() 78 CHECK_ERR(ret); in ipa_nat_test018() 80 ret = ipa_nat_del_ipv4_rule(tbl_hdl, rule_hdl3); in ipa_nat_test018() [all …]
|
D | ipa_nat_test019.c | 50 int ret; in ipa_nat_test019() local 67 ret = ipa_nat_add_ipv4_tbl(pub_ip_add, total_entries, &tbl_hdl); in ipa_nat_test019() 68 CHECK_ERR(ret); in ipa_nat_test019() 71 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl1); in ipa_nat_test019() 72 CHECK_ERR(ret); in ipa_nat_test019() 74 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl2); in ipa_nat_test019() 75 CHECK_ERR(ret); in ipa_nat_test019() 77 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl3); in ipa_nat_test019() 78 CHECK_ERR(ret); in ipa_nat_test019() 80 ret = ipa_nat_del_ipv4_rule(tbl_hdl, rule_hdl3); in ipa_nat_test019() [all …]
|
D | ipa_nat_test017.c | 50 int ret; in ipa_nat_test017() local 67 ret = ipa_nat_add_ipv4_tbl(pub_ip_add, total_entries, &tbl_hdl); in ipa_nat_test017() 68 CHECK_ERR(ret); in ipa_nat_test017() 71 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl1); in ipa_nat_test017() 72 CHECK_ERR(ret); in ipa_nat_test017() 74 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl2); in ipa_nat_test017() 75 CHECK_ERR(ret); in ipa_nat_test017() 77 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl3); in ipa_nat_test017() 78 CHECK_ERR(ret); in ipa_nat_test017() 80 ret = ipa_nat_del_ipv4_rule(tbl_hdl, rule_hdl2); in ipa_nat_test017() [all …]
|
/hardware/qcom/sdm845/data/ipacfg-mgr/ipanat/test/ |
D | ipa_nat_test020.c | 49 int ret; in ipa_nat_test020() local 65 ret = ipa_nat_add_ipv4_tbl(pub_ip_add, total_entries, &tbl_hdl); in ipa_nat_test020() 66 CHECK_ERR(ret); in ipa_nat_test020() 69 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl1); in ipa_nat_test020() 70 CHECK_ERR(ret); in ipa_nat_test020() 72 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl2); in ipa_nat_test020() 73 CHECK_ERR(ret); in ipa_nat_test020() 75 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl3); in ipa_nat_test020() 76 CHECK_ERR(ret); in ipa_nat_test020() 78 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl4); in ipa_nat_test020() [all …]
|
D | ipa_nat_test022.c | 52 int ret; in ipa_nat_test022() local 79 ret = ipa_nat_add_ipv4_tbl(pub_ip_add, total_entries, &tbl_hdl); in ipa_nat_test022() 80 CHECK_ERR1(ret, tbl_hdl); in ipa_nat_test022() 83 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl1); in ipa_nat_test022() 84 CHECK_ERR1(ret, tbl_hdl); in ipa_nat_test022() 86 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl2); in ipa_nat_test022() 87 CHECK_ERR1(ret, tbl_hdl); in ipa_nat_test022() 89 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl3); in ipa_nat_test022() 90 CHECK_ERR1(ret, tbl_hdl); in ipa_nat_test022() 93 ret = ipa_nat_del_ipv4_rule(tbl_hdl, rule_hdl1); in ipa_nat_test022() [all …]
|
D | ipa_nat_test015.c | 51 int ret; in ipa_nat_test015() local 69 ret = ipa_nat_add_ipv4_tbl(pub_ip_add, total_entries, &tbl_hdl); in ipa_nat_test015() 70 CHECK_ERR(ret); in ipa_nat_test015() 73 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl1); in ipa_nat_test015() 74 CHECK_ERR(ret); in ipa_nat_test015() 76 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl2); in ipa_nat_test015() 77 CHECK_ERR(ret); in ipa_nat_test015() 79 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl3); in ipa_nat_test015() 80 CHECK_ERR(ret); in ipa_nat_test015() 82 ret = ipa_nat_del_ipv4_rule(tbl_hdl, rule_hdl1); in ipa_nat_test015() [all …]
|
D | ipa_nat_test016.c | 50 int ret; in ipa_nat_test016() local 67 ret = ipa_nat_add_ipv4_tbl(pub_ip_add, total_entries, &tbl_hdl); in ipa_nat_test016() 68 CHECK_ERR(ret); in ipa_nat_test016() 71 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl1); in ipa_nat_test016() 72 CHECK_ERR(ret); in ipa_nat_test016() 74 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl2); in ipa_nat_test016() 75 CHECK_ERR(ret); in ipa_nat_test016() 77 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl3); in ipa_nat_test016() 78 CHECK_ERR(ret); in ipa_nat_test016() 80 ret = ipa_nat_del_ipv4_rule(tbl_hdl, rule_hdl2); in ipa_nat_test016() [all …]
|
D | ipa_nat_test017.c | 50 int ret; in ipa_nat_test017() local 67 ret = ipa_nat_add_ipv4_tbl(pub_ip_add, total_entries, &tbl_hdl); in ipa_nat_test017() 68 CHECK_ERR(ret); in ipa_nat_test017() 71 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl1); in ipa_nat_test017() 72 CHECK_ERR(ret); in ipa_nat_test017() 74 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl2); in ipa_nat_test017() 75 CHECK_ERR(ret); in ipa_nat_test017() 77 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl3); in ipa_nat_test017() 78 CHECK_ERR(ret); in ipa_nat_test017() 80 ret = ipa_nat_del_ipv4_rule(tbl_hdl, rule_hdl2); in ipa_nat_test017() [all …]
|
D | ipa_nat_test018.c | 50 int ret; in ipa_nat_test018() local 67 ret = ipa_nat_add_ipv4_tbl(pub_ip_add, total_entries, &tbl_hdl); in ipa_nat_test018() 68 CHECK_ERR(ret); in ipa_nat_test018() 71 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl1); in ipa_nat_test018() 72 CHECK_ERR(ret); in ipa_nat_test018() 74 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl2); in ipa_nat_test018() 75 CHECK_ERR(ret); in ipa_nat_test018() 77 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl3); in ipa_nat_test018() 78 CHECK_ERR(ret); in ipa_nat_test018() 80 ret = ipa_nat_del_ipv4_rule(tbl_hdl, rule_hdl3); in ipa_nat_test018() [all …]
|
D | ipa_nat_test019.c | 50 int ret; in ipa_nat_test019() local 67 ret = ipa_nat_add_ipv4_tbl(pub_ip_add, total_entries, &tbl_hdl); in ipa_nat_test019() 68 CHECK_ERR(ret); in ipa_nat_test019() 71 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl1); in ipa_nat_test019() 72 CHECK_ERR(ret); in ipa_nat_test019() 74 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl2); in ipa_nat_test019() 75 CHECK_ERR(ret); in ipa_nat_test019() 77 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl3); in ipa_nat_test019() 78 CHECK_ERR(ret); in ipa_nat_test019() 80 ret = ipa_nat_del_ipv4_rule(tbl_hdl, rule_hdl3); in ipa_nat_test019() [all …]
|
D | ipa_nat_test014.c | 49 int ret; in ipa_nat_test014() local 66 ret = ipa_nat_add_ipv4_tbl(pub_ip_add, total_entries, &tbl_hdl); in ipa_nat_test014() 67 CHECK_ERR(ret); in ipa_nat_test014() 70 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl1); in ipa_nat_test014() 71 CHECK_ERR(ret); in ipa_nat_test014() 73 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl2); in ipa_nat_test014() 74 CHECK_ERR(ret); in ipa_nat_test014() 76 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl3); in ipa_nat_test014() 77 CHECK_ERR(ret); in ipa_nat_test014() 79 ret = ipa_nat_del_ipv4_rule(tbl_hdl, rule_hdl1); in ipa_nat_test014() [all …]
|
/hardware/invensense/6515/libsensors_iio/software/simple_apps/devnode_parser/ |
D | iio_utils.h | 106 int ret; in iioutils_get_type() local 113 ret = asprintf(&scan_el_dir, FORMAT_SCAN_ELEMENTS_DIR, device_dir); in iioutils_get_type() 114 if (ret < 0) { in iioutils_get_type() 115 ret = -ENOMEM; in iioutils_get_type() 118 ret = asprintf(&builtname, FORMAT_TYPE_FILE, name); in iioutils_get_type() 119 if (ret < 0) { in iioutils_get_type() 120 ret = -ENOMEM; in iioutils_get_type() 123 ret = asprintf(&builtname_generic, FORMAT_TYPE_FILE, generic_name); in iioutils_get_type() 124 if (ret < 0) { in iioutils_get_type() 125 ret = -ENOMEM; in iioutils_get_type() [all …]
|