/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/ |
D | driver_i.h | 18 if (wpa_s->driver->init2) in wpa_drv_init() 19 return wpa_s->driver->init2(wpa_s, ifname, in wpa_drv_init() 21 if (wpa_s->driver->init) { in wpa_drv_init() 22 return wpa_s->driver->init(wpa_s, ifname); in wpa_drv_init() 29 if (wpa_s->driver->deinit) in wpa_drv_deinit() 30 wpa_s->driver->deinit(wpa_s->drv_priv); in wpa_drv_deinit() 36 if (wpa_s->driver->set_param) in wpa_drv_set_param() 37 return wpa_s->driver->set_param(wpa_s->drv_priv, param); in wpa_drv_set_param() 44 if (wpa_s->driver->set_countermeasures) { in wpa_drv_set_countermeasures() 45 return wpa_s->driver->set_countermeasures(wpa_s->drv_priv, in wpa_drv_set_countermeasures() [all …]
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/ |
D | driver_i.h | 21 if (wpa_s->driver->init2) in wpa_drv_init() 22 return wpa_s->driver->init2(wpa_s, ifname, in wpa_drv_init() 24 if (wpa_s->driver->init) { in wpa_drv_init() 25 return wpa_s->driver->init(wpa_s, ifname); in wpa_drv_init() 32 if (wpa_s->driver->deinit) in wpa_drv_deinit() 33 wpa_s->driver->deinit(wpa_s->drv_priv); in wpa_drv_deinit() 39 if (wpa_s->driver->set_param) in wpa_drv_set_param() 40 return wpa_s->driver->set_param(wpa_s->drv_priv, param); in wpa_drv_set_param() 47 if (wpa_s->driver->set_countermeasures) { in wpa_drv_set_countermeasures() 48 return wpa_s->driver->set_countermeasures(wpa_s->drv_priv, in wpa_drv_set_countermeasures() [all …]
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/ |
D | ap_drv_ops.h | 116 if (!hapd->driver || !hapd->driver->send_action_cancel_wait || in hostapd_drv_send_action_cancel_wait() 119 hapd->driver->send_action_cancel_wait(hapd->drv_priv); in hostapd_drv_send_action_cancel_wait() 156 if (hapd->driver == NULL || in hostapd_drv_set_countermeasures() 157 hapd->driver->hapd_set_countermeasures == NULL) in hostapd_drv_set_countermeasures() 159 return hapd->driver->hapd_set_countermeasures(hapd->drv_priv, enabled); in hostapd_drv_set_countermeasures() 166 if (hapd->driver == NULL || hapd->driver->set_sta_vlan == NULL) in hostapd_drv_set_sta_vlan() 168 return hapd->driver->set_sta_vlan(hapd->drv_priv, addr, ifname, in hostapd_drv_set_sta_vlan() 175 if (hapd->driver == NULL || hapd->driver->get_inact_sec == NULL) in hostapd_drv_get_inact_sec() 177 return hapd->driver->get_inact_sec(hapd->drv_priv, addr); in hostapd_drv_get_inact_sec() 183 if (!hapd->driver || !hapd->driver->sta_remove || !hapd->drv_priv) in hostapd_drv_sta_remove() [all …]
|
D | ap_drv_ops.c | 236 if (hapd->driver == NULL || hapd->driver->set_ap_wps_ie == NULL) in hostapd_reset_ap_wps_ie() 239 return hapd->driver->set_ap_wps_ie(hapd->drv_priv, NULL, NULL, NULL); in hostapd_reset_ap_wps_ie() 248 if (hapd->driver == NULL || hapd->driver->set_ap_wps_ie == NULL) in hostapd_set_ap_wps_ie() 255 ret = hapd->driver->set_ap_wps_ie(hapd->drv_priv, beacon, proberesp, in hostapd_set_ap_wps_ie() 343 if (hapd->driver == NULL || hapd->driver->set_wds_sta == NULL) in hostapd_set_wds_sta() 349 return hapd->driver->set_wds_sta(hapd->drv_priv, addr, aid, val, in hostapd_set_wds_sta() 357 if (hapd->driver == NULL || hapd->driver->add_sta_node == NULL) in hostapd_add_sta_node() 359 return hapd->driver->add_sta_node(hapd->drv_priv, addr, auth_alg); in hostapd_add_sta_node() 371 if (hapd->driver == NULL || hapd->driver->sta_auth == NULL) in hostapd_sta_auth() 403 return hapd->driver->sta_auth(hapd->drv_priv, ¶ms); in hostapd_sta_auth() [all …]
|
D | wpa_auth_kay.c | 29 if (!hapd->driver->macsec_init) in hapd_macsec_init() 31 return hapd->driver->macsec_init(hapd->drv_priv, params); in hapd_macsec_init() 39 if (!hapd->driver->macsec_deinit) in hapd_macsec_deinit() 41 return hapd->driver->macsec_deinit(hapd->drv_priv); in hapd_macsec_deinit() 49 if (!hapd->driver->macsec_get_capability) in hapd_macsec_get_capability() 51 return hapd->driver->macsec_get_capability(hapd->drv_priv, cap); in hapd_macsec_get_capability() 59 if (!hapd->driver->enable_protect_frames) in hapd_enable_protect_frames() 61 return hapd->driver->enable_protect_frames(hapd->drv_priv, enabled); in hapd_enable_protect_frames() 69 if (!hapd->driver->enable_encrypt) in hapd_enable_encrypt() 71 return hapd->driver->enable_encrypt(hapd->drv_priv, enabled); in hapd_enable_encrypt() [all …]
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/ |
D | ap_drv_ops.h | 113 if (!hapd->driver || !hapd->driver->send_action_cancel_wait || in hostapd_drv_send_action_cancel_wait() 116 hapd->driver->send_action_cancel_wait(hapd->drv_priv); in hostapd_drv_send_action_cancel_wait() 151 if (hapd->driver == NULL || in hostapd_drv_set_countermeasures() 152 hapd->driver->hapd_set_countermeasures == NULL) in hostapd_drv_set_countermeasures() 154 return hapd->driver->hapd_set_countermeasures(hapd->drv_priv, enabled); in hostapd_drv_set_countermeasures() 161 if (hapd->driver == NULL || hapd->driver->set_sta_vlan == NULL) in hostapd_drv_set_sta_vlan() 163 return hapd->driver->set_sta_vlan(hapd->drv_priv, addr, ifname, in hostapd_drv_set_sta_vlan() 170 if (hapd->driver == NULL || hapd->driver->get_inact_sec == NULL) in hostapd_drv_get_inact_sec() 172 return hapd->driver->get_inact_sec(hapd->drv_priv, addr); in hostapd_drv_get_inact_sec() 178 if (!hapd->driver || !hapd->driver->sta_remove || !hapd->drv_priv) in hostapd_drv_sta_remove() [all …]
|
D | ap_drv_ops.c | 227 if (hapd->driver == NULL || hapd->driver->set_ap_wps_ie == NULL) in hostapd_reset_ap_wps_ie() 230 return hapd->driver->set_ap_wps_ie(hapd->drv_priv, NULL, NULL, NULL); in hostapd_reset_ap_wps_ie() 239 if (hapd->driver == NULL || hapd->driver->set_ap_wps_ie == NULL) in hostapd_set_ap_wps_ie() 246 ret = hapd->driver->set_ap_wps_ie(hapd->drv_priv, beacon, proberesp, in hostapd_set_ap_wps_ie() 336 if (hapd->driver == NULL || hapd->driver->set_wds_sta == NULL) in hostapd_set_wds_sta() 342 return hapd->driver->set_wds_sta(hapd->drv_priv, addr, aid, val, in hostapd_set_wds_sta() 350 if (hapd->driver == NULL || hapd->driver->add_sta_node == NULL) in hostapd_add_sta_node() 352 return hapd->driver->add_sta_node(hapd->drv_priv, addr, auth_alg); in hostapd_add_sta_node() 364 if (hapd->driver == NULL || hapd->driver->sta_auth == NULL) in hostapd_sta_auth() 396 return hapd->driver->sta_auth(hapd->drv_priv, ¶ms); in hostapd_sta_auth() [all …]
|
D | wpa_auth_kay.c | 29 if (!hapd->driver->macsec_init) in hapd_macsec_init() 31 return hapd->driver->macsec_init(hapd->drv_priv, params); in hapd_macsec_init() 39 if (!hapd->driver->macsec_deinit) in hapd_macsec_deinit() 41 return hapd->driver->macsec_deinit(hapd->drv_priv); in hapd_macsec_deinit() 49 if (!hapd->driver->macsec_get_capability) in hapd_macsec_get_capability() 51 return hapd->driver->macsec_get_capability(hapd->drv_priv, cap); in hapd_macsec_get_capability() 59 if (!hapd->driver->enable_protect_frames) in hapd_enable_protect_frames() 61 return hapd->driver->enable_protect_frames(hapd->drv_priv, enabled); in hapd_enable_protect_frames() 69 if (!hapd->driver->enable_encrypt) in hapd_enable_encrypt() 71 return hapd->driver->enable_encrypt(hapd->drv_priv, enabled); in hapd_enable_encrypt() [all …]
|
/third_party/mbedtls/library/ |
D | psa_crypto_se.c | 88 const psa_se_drv_table_entry_t *driver) in psa_get_se_driver_methods() argument 90 return driver->methods; in psa_get_se_driver_methods() 94 psa_se_drv_table_entry_t *driver) in psa_get_se_driver_context() argument 96 return &driver->u.context; in psa_get_se_driver_context() 103 psa_se_drv_table_entry_t *driver = psa_get_se_driver_entry(lifetime); in psa_get_se_driver() local 105 *p_methods = (driver ? driver->methods : NULL); in psa_get_se_driver() 108 *p_drv_context = (driver ? &driver->u.context : NULL); in psa_get_se_driver() 110 return driver != NULL; in psa_get_se_driver() 120 const psa_se_drv_table_entry_t *driver, in psa_get_se_driver_its_file_uid() argument 123 if (driver->location > PSA_MAX_SE_LOCATION) { in psa_get_se_driver_its_file_uid() [all …]
|
/third_party/skia/third_party/externals/swiftshader/tests/VulkanUnitTests/ |
D | Device.cpp | 19 : driver(nullptr) in Device() 26 Driver const *driver, VkDevice device, VkPhysicalDevice physicalDevice, in Device() argument 28 : driver(driver) in Device() 38 driver->vkDeviceWaitIdle(device); in ~Device() 39 driver->vkDestroyDevice(device, nullptr); in ~Device() 49 Driver const *driver, VkInstance instance, std::unique_ptr<Device> &out) in CreateComputeDevice() argument 55 result = GetPhysicalDevices(driver, instance, physicalDevices); in CreateComputeDevice() 64 int queueFamilyIndex = GetComputeQueueFamilyIndex(driver, physicalDevice); in CreateComputeDevice() 94 result = driver->vkCreateDevice(physicalDevice, &deviceCreateInfo, nullptr, &device); in CreateComputeDevice() 100 out.reset(new Device(driver, device, physicalDevice, static_cast<uint32_t>(queueFamilyIndex))); in CreateComputeDevice() [all …]
|
D | BasicTests.cpp | 27 static Driver driver; member in BasicTest 31 ASSERT_TRUE(driver.loadSwiftShader()); in SetUp() 36 driver.unload(); in TearDown() 40 Driver BasicTest::driver; member in BasicTest 44 auto createInstance = driver.vk_icdGetInstanceProcAddr(VK_NULL_HANDLE, "vkCreateInstance"); in TEST_F() 48 driver.vk_icdGetInstanceProcAddr(VK_NULL_HANDLE, "vkEnumerateInstanceExtensionProperties"); in TEST_F() 52 driver.vk_icdGetInstanceProcAddr(VK_NULL_HANDLE, "vkEnumerateInstanceLayerProperties"); in TEST_F() 55 …auto enumerateInstanceVersion = driver.vk_icdGetInstanceProcAddr(VK_NULL_HANDLE, "vkEnumerateInsta… in TEST_F() 58 auto bad_function = driver.vk_icdGetInstanceProcAddr(VK_NULL_HANDLE, "bad_function"); in TEST_F() 66 VkResult result = driver.vkEnumerateInstanceVersion(&apiVersion); in TEST_F() [all …]
|
/third_party/vulkan-loader/tests/ |
D | loader_handle_validation_tests.cpp | 45 auto& driver = env.get_test_icd(); in TEST() local 46 driver.physical_devices.emplace_back("physical_device_0"); in TEST() 61 auto& driver = env.get_test_icd(); in TEST() local 62 driver.physical_devices.emplace_back("physical_device_0"); in TEST() 75 auto& driver = env.get_test_icd(); in TEST() local 76 driver.physical_devices.emplace_back("physical_device_0"); in TEST() 92 auto& driver = env.get_test_icd(); in TEST() local 93 driver.add_instance_extensions({first_ext, second_ext}); in TEST() 94 driver.physical_devices.emplace_back("physical_device_0"); in TEST() 111 auto& driver = env.get_test_icd(); in TEST() local [all …]
|
D | loader_regression_tests.cpp | 41 auto& driver = env.get_test_icd(); in TEST() local 42 driver.set_min_icd_interface_version(5); in TEST() 297 auto& driver = env.get_test_icd(); in TEST() local 298 driver.physical_devices.emplace_back("physical_device_0"); in TEST() 333 auto& driver = env.get_test_icd(); in TEST() local 334 driver.physical_devices.emplace_back("physical_device_0"); in TEST() 338 driver.physical_devices.front().extensions.push_back(ext); in TEST() 363 auto& driver = env.get_test_icd(); in TEST() local 364 driver.physical_devices.emplace_back("physical_device_0"); in TEST() 368 driver.physical_devices.front().extensions.push_back(ext); in TEST() [all …]
|
/third_party/mbedtls/tests/suites/ |
D | test_suite_psa_crypto_driver_wrappers.data | 1 sign_hash transparent driver: in driver ECDSA SECP256R1 SHA-256 5 sign_hash transparent driver: fallback ECDSA SECP256R1 SHA-256 9 sign_hash transparent driver: error ECDSA SECP256R1 SHA-256 13 sign_hash transparent driver: fake ECDSA SECP256R1 SHA-256 17 sign_hash transparent driver: in driver RSA PKCS#1 v1.5, raw 21 sign_hash transparent driver: fallback RSA PKCS#1 v1.5, raw 25 sign_hash transparent driver: error RSA PKCS#1 v1.5, raw 29 sign_hash transparent driver: fake RSA PKCS#1 v1.5, raw 33 sign_hash transparent driver: in driver RSA PKCS#1 v1.5 SHA-256 37 sign_hash transparent driver: fallback RSA PKCS#1 v1.5 SHA-256 [all …]
|
D | test_suite_psa_crypto_se_driver_hal_mocks.function | 7 /** The location and lifetime used for tests that use a single driver. */ 94 /* Purge driver persistent data. */ 292 psa_drv_se_t driver = { 300 TEST_EQUAL(psa_register_se_driver(location, &driver), 325 psa_drv_se_t driver; 337 memset(&driver, 0, sizeof(driver)); 339 driver.hal_version = PSA_DRV_SE_HAL_VERSION; 340 driver.key_management = &key_management; 345 PSA_ASSERT(psa_register_se_driver(location, &driver)); 390 psa_drv_se_t driver; [all …]
|
/third_party/mbedtls/docs/architecture/testing/ |
D | driver-interface-test-strategy.md | 1 # Mbed Crypto driver interface test strategy 3 This document describes the test strategy for the driver interfaces in Mbed Crypto. Mbed Crypto has… 5 The driver interfaces are standardized through PSA Cryptography functional specifications. 7 ## Secure element driver interface testing 9 ### Secure element driver interfaces 11 #### Opaque driver interface 13 The [unified driver interface](../../proposed/psa-driver-interface.md) supports both transparent dr… 17 #### Dynamic secure element driver interface 19 The dynamic secure element driver interface (SE interface for short) is defined by [`psa/crypto_se_… 21 …driver usable by Mbed Crypto, the initialization code must call `psa_register_se_driver` with a st… [all …]
|
/third_party/mbedtls/docs/proposed/ |
D | psa-driver-developer-guide.md | 1 PSA Cryptoprocessor driver developer's guide 8 …vers, refer to the [PSA Cryptoprocessor Driver Interface specification](psa-driver-interface.html). 10 …further notice, we do not guarantee backward compatibility with existing driver code when `MBEDTLS… 16 The PSA cryptography driver interface provides a way to build Mbed TLS with additional code that im… 20 …hey are typically used for hardware **accelerators**. When a transparent driver is available for a… 21 … smartcard, a secure enclave, etc. An opaque driver is invoked for the specific key location that … 23 ### Deliverables for a driver 25 …driver, you need to implement some functions with C linkage, and to declare these functions in a *… 27 …driver description file is JSON. The structure of this JSON file is specified in the section [“Dri… 29 A driver therefore consists of: [all …]
|
/third_party/mesa3d/src/tool/pps/ |
D | pps_datasource.cc | 45 if (auto driver = Driver::get_driver(std::move(drm_device))) { in OnSetup() local 46 if (!driver->init_perfcnt()) { in OnSetup() 48 PPS_LOG_ERROR("Failed to initialize %s driver", driver->drm_device.name.c_str()); in OnSetup() 52 this->driver = driver; in OnSetup() 55 if (driver == nullptr) { in OnSetup() 68 driver->enable_counter(counter_id); in OnSetup() 72 driver->enable_all_counters(); in OnSetup() 78 auto dev_supported = std::chrono::nanoseconds(driver->get_min_sampling_period_ns()); in OnSetup() 100 driver->enable_perfcnt(time_to_sleep.count()); in OnStart() 128 driver->disable_perfcnt(); in OnStop() [all …]
|
D | pps_config.cc | 149 auto driver = Driver::get_driver(std::move(device)); in main() local 150 printf(" %4u %16s %16s\n", gpu_num, name.c_str(), driver ? "yes" : "no"); in main() 157 if (auto driver = Driver::get_driver(std::move(device.value()))) { in main() local 158 driver->init_perfcnt(); in main() 162 driver->enable_all_counters(); in main() 165 driver->enable_counter(id); in main() 169 driver->enable_perfcnt(std::chrono::nanoseconds(secs).count()); in main() 173 while (!driver->dump_perfcnt()) in main() 176 while (!driver->next()) in main() 180 for (auto &counter : driver->enabled_counters) { in main() [all …]
|
/third_party/skia/third_party/externals/freetype/src/base/ |
D | ftpsprop.c | 44 PS_Driver driver = (PS_Driver)module; in ps_property_set() local 102 driver->darken_params[0] = x1; in ps_property_set() 103 driver->darken_params[1] = y1; in ps_property_set() 104 driver->darken_params[2] = x2; in ps_property_set() 105 driver->darken_params[3] = y2; in ps_property_set() 106 driver->darken_params[4] = x3; in ps_property_set() 107 driver->darken_params[5] = y3; in ps_property_set() 108 driver->darken_params[6] = x4; in ps_property_set() 109 driver->darken_params[7] = y4; in ps_property_set() 129 driver->hinting_engine = FT_HINTING_ADOBE; in ps_property_set() [all …]
|
/third_party/mesa3d/src/loader/ |
D | loader.c | 139 char *driver; in loader_get_kernel_driver_name() local 147 driver = strndup(version->name, version->name_len); in loader_get_kernel_driver_name() 148 log_(driver ? _LOADER_DEBUG : _LOADER_WARNING, "using driver %s for %d\n", in loader_get_kernel_driver_name() 149 driver, fd); in loader_get_kernel_driver_name() 152 return driver; in loader_get_kernel_driver_name() 541 char *driver = NULL; in loader_get_pci_driver() local 554 driver = strdup(driver_map[i].driver); in loader_get_pci_driver() 560 driver = strdup(driver_map[i].driver); in loader_get_pci_driver() 566 log_(driver ? _LOADER_DEBUG : _LOADER_WARNING, in loader_get_pci_driver() 568 fd, vendor_id, chip_id, driver); in loader_get_pci_driver() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/crosstest/ |
D | crosstest.cfg | 2 driver: simple_loop_main.c 6 driver: mem_intrin_main.cpp 11 driver: test_arith_main.cpp 22 driver: test_bitmanip_main.cpp 26 driver: test_calling_conv_main.cpp 30 driver: test_cast_main.cpp 34 driver: test_fcmp_main.cpp 38 driver: test_global_main.cpp 42 driver: test_icmp_main.cpp 46 driver: test_select_main.cpp [all …]
|
/third_party/FreeBSD/sys/kern/ |
D | subr_bus.c | 51 kobj_class_t driver; member 96 driver_t *driver; /**< current driver */ member 130 static void print_driver_short(driver_t *driver, int indent); 131 static void print_driver(driver_t *driver, int indent); 387 devclass_driver_added(devclass_t dc, driver_t *driver) in devclass_driver_added() argument 397 BUS_DRIVER_ADDED(dc->devices[i], driver); in devclass_driver_added() 412 devclass_driver_added(dc, driver); in devclass_driver_added() 428 devclass_add_driver(devclass_t dc, driver_t *driver, int pass, devclass_t *dcp) in devclass_add_driver() argument 433 PDEBUG(("%s +", DRIVERNAME(driver))); in devclass_add_driver() 449 kobj_class_compile((kobj_class_t) driver); in devclass_add_driver() [all …]
|
/third_party/mbedtls/docs/architecture/ |
D | psa-crypto-implementation-structure.md | 1 PSA Cryptography API implementation and PSA driver interface 6 …ation. The PSA Cryptography API specification is complemented by the PSA driver interface specific… 8 … Mbed TLS PSA Cryptography API implementation which is tightly related to the PSA driver interface. 11 …driver interface. The key point is that software cryptographic operations are organized as PSA dri… 17 …raphic functionalities can be described by a JSON driver description file as defined in the PSA dr… 18 * Along with JSON driver description files, the PSA driver specification defines the deliverables f… 26 …ents and translating them into valid arguments for the necessary calls to the PSA driver interface. 35 /* Pre driver interface call processing: validation of arguments, building 36 * of arguments for the call to the driver interface, ... */ 40 /* Call to the driver interface */ [all …]
|
/third_party/ltp/lib/ |
D | tst_kernel.c | 93 static int tst_search_driver(const char *driver, const char *file) in tst_search_driver() argument 119 SAFE_ASPRINTF(NULL, &search, "/%s.ko", driver); in tst_search_driver() 142 static int tst_check_driver_(const char *driver) in tst_check_driver_() argument 144 if (!tst_search_driver(driver, "modules.dep") || in tst_check_driver_() 145 !tst_search_driver(driver, "modules.builtin")) in tst_check_driver_() 151 int tst_check_driver(const char *driver) in tst_check_driver() argument 163 if (!tst_check_driver_(driver)) in tst_check_driver() 168 if (strrchr(driver, '-') || strrchr(driver, '_')) { in tst_check_driver() 169 char *driver2 = strdup(driver); in tst_check_driver() 173 if (strrchr(driver, '_')) { in tst_check_driver()
|