Home
last modified time | relevance | path

Searched refs:intf (Results 1 - 25 of 47) sorted by relevance

12

/base/powermgr/battery_lite/frameworks/native/src/mini/
H A Dbattery_framework.c50 BatteryInterface *intf = GetBatteryInterface(); in GetBatSoc() local
51 if ((intf != NULL) && (intf->GetBatSocFunc != NULL)) { in GetBatSoc()
52 ret = intf->GetBatSocFunc((IUnknown *)intf); in GetBatSoc()
60 BatteryInterface *intf = GetBatteryInterface(); in GetChargingStatus() local
61 if ((intf != NULL) && (intf->GetBatSocFunc != NULL)) { in GetChargingStatus()
62 state = intf->GetChargingStatusFunc((IUnknown *)intf); in GetChargingStatus()
70 BatteryInterface *intf = GetBatteryInterface(); GetHealthStatus() local
80 BatteryInterface *intf = GetBatteryInterface(); GetPluggedType() local
90 BatteryInterface *intf = GetBatteryInterface(); GetBatVoltage() local
100 BatteryInterface *intf = GetBatteryInterface(); GetBatTechnology() local
110 BatteryInterface *intf = GetBatteryInterface(); GetBatTemperature() local
[all...]
/base/powermgr/powermgr_lite/frameworks/src/mini/
H A Dpower_manage.c69 PowerManageInterface *intf = GetPowerManageInterface(); in AcquireRunningLockEntry() local
70 if ((intf != NULL) && (intf->AcquireRunningLockEntryFunc != NULL)) { in AcquireRunningLockEntry()
71 ret = intf->AcquireRunningLockEntryFunc((IUnknown *)intf, entry, timeoutMs); in AcquireRunningLockEntry()
79 PowerManageInterface *intf = GetPowerManageInterface(); in ReleaseRunningLockEntry() local
80 if ((intf != NULL) && (intf->ReleaseRunningLockEntryFunc != NULL)) { in ReleaseRunningLockEntry()
81 ret = intf->ReleaseRunningLockEntryFunc((IUnknown *)intf, entr in ReleaseRunningLockEntry()
89 PowerManageInterface *intf = GetPowerManageInterface(); IsAnyRunningLockHolding() local
98 PowerManageInterface *intf = GetPowerManageInterface(); SuspendDevice() local
107 PowerManageInterface *intf = GetPowerManageInterface(); WakeupDevice() local
[all...]
/base/powermgr/battery_lite/frameworks/native/src/small/
H A Dbattery_framework.c246 BatteryProxyInterface *intf = GetBatteryInterface(); in GetBatSoc() local
248 if ((intf != NULL) && (intf->GetBatSocFunc != NULL)) { in GetBatSoc()
249 ret = intf->GetBatSocFunc((IUnknown *)intf); in GetBatSoc()
257 BatteryProxyInterface *intf = GetBatteryInterface(); in GetChargingStatus() local
258 if ((intf != NULL) && (intf->GetBatSocFunc != NULL)) { in GetChargingStatus()
259 state = intf->GetChargingStatusFunc((IUnknown *)intf); in GetChargingStatus()
267 BatteryProxyInterface *intf = GetBatteryInterface(); GetHealthStatus() local
277 BatteryProxyInterface *intf = GetBatteryInterface(); GetPluggedType() local
287 BatteryProxyInterface *intf = GetBatteryInterface(); GetBatVoltage() local
297 BatteryProxyInterface *intf = GetBatteryInterface(); GetBatTechnology() local
307 BatteryProxyInterface *intf = GetBatteryInterface(); GetBatTemperature() local
[all...]
/base/powermgr/powermgr_lite/frameworks/src/small/
H A Dpower_manage.c213 PowerManageProxyInterface *intf = GetPowerManageProxyInterface(); in AcquireRunningLockEntry() local
214 if ((intf != NULL) && (intf->AcquireRunningLockEntryFunc != NULL)) { in AcquireRunningLockEntry()
215 ret = intf->AcquireRunningLockEntryFunc((IUnknown *)intf, entry, timeoutMs); in AcquireRunningLockEntry()
223 PowerManageProxyInterface *intf = GetPowerManageProxyInterface(); in ReleaseRunningLockEntry() local
224 if ((intf != NULL) && (intf->ReleaseRunningLockEntryFunc != NULL)) { in ReleaseRunningLockEntry()
225 ret = intf->ReleaseRunningLockEntryFunc((IUnknown *)intf, entr in ReleaseRunningLockEntry()
233 PowerManageProxyInterface *intf = GetPowerManageProxyInterface(); IsAnyRunningLockHolding() local
268 PowerManageProxyInterface *intf = GetPowerManageProxyInterface(); SuspendDevice() local
277 PowerManageProxyInterface *intf = GetPowerManageProxyInterface(); WakeupDevice() local
[all...]
H A Dpower_screen_saver.c130 ScreenSaverProxyInterface *intf = GetScreenSaverProxyInterface(); in SetScreenSaverState() local
131 if ((intf != NULL) && (intf->SetScreenSaverStateFunc != NULL)) { in SetScreenSaverState()
132 ret = intf->SetScreenSaverStateFunc((IUnknown *)intf, enable); in SetScreenSaverState()
/third_party/FreeBSD/sys/compat/linuxkpi/common/include/linux/
H A Dusb.h66 int (*probe)(struct usb_interface *intf, const struct usb_device_id *id);
68 void (*disconnect)(struct usb_interface *intf);
70 int (*ioctl)(struct usb_interface *intf, unsigned int code, void *buf);
72 int (*suspend)(struct usb_interface *intf, pm_message_t message);
73 int (*resume)(struct usb_interface *intf);
77 void (*shutdown)(struct usb_interface *intf);
302 const struct usb_interface *intf, uint8_t alt_index);
307 void *usbd_get_intfdata(struct usb_interface *intf);
313 void usb_set_intfdata(struct usb_interface *intf, void *data);
323 void *usb_get_intfdata(struct usb_interface *intf);
[all...]
/third_party/backends/tools/
H A Dsane-find-scanner.c832 int intf; in check_libusb_device() local
945 for (intf = 0; intf < c->bNumInterfaces; intf++) in check_libusb_device()
950 interface = &c->interface[intf]; in check_libusb_device()
952 printf (" <interface %d>\n", intf); in check_libusb_device()
1043 for (intf = 0; (intf < config0->bNumInterfaces) && (is_scanner <= 0); intf++) in check_libusb_device()
1051 if ((config0->interface[intf] in check_libusb_device()
[all...]
/third_party/skia/third_party/externals/freetype/src/gzip/
H A Dftzconf.h44 # define intf z_intf macro
231 typedef int FAR intf; typedef
/third_party/skia/src/sksl/codegen/
H A DSkSLMetalCodeGenerator.cpp1853 const InterfaceBlock& intf = e->as<InterfaceBlock>(); in writeFunctionDeclaration() local
1854 if (intf.typeName() == "sk_PerVertex") { in writeFunctionDeclaration()
1858 this->writeType(intf.variable().type()); in writeFunctionDeclaration()
1860 this->write(fInterfaceBlockNameMap[&intf]); in writeFunctionDeclaration()
1862 this->write(to_string(this->getUniformBinding(intf.variable().modifiers()))); in writeFunctionDeclaration()
1981 void MetalCodeGenerator::writeInterfaceBlock(const InterfaceBlock& intf) { in writeInterfaceBlock() argument
1982 if ("sk_PerVertex" == intf.typeName()) { in writeInterfaceBlock()
1985 this->writeModifiers(intf.variable().modifiers()); in writeInterfaceBlock()
1987 this->writeLine(intf.typeName() + " {"); in writeInterfaceBlock()
1988 const Type* structType = &intf in writeInterfaceBlock()
[all...]
H A DSkSLGLSLCodeGenerator.cpp1118 void GLSLCodeGenerator::writeInterfaceBlock(const InterfaceBlock& intf) { in writeInterfaceBlock() argument
1119 if (intf.typeName() == "sk_PerVertex") { in writeInterfaceBlock()
1122 this->writeModifiers(intf.variable().modifiers(), true); in writeInterfaceBlock()
1123 this->writeLine(intf.typeName() + " {"); in writeInterfaceBlock()
1125 const Type* structType = &intf.variable().type(); in writeInterfaceBlock()
1137 if (intf.instanceName().size()) { in writeInterfaceBlock()
1139 this->write(intf.instanceName()); in writeInterfaceBlock()
1140 if (intf.arraySize() > 0) { in writeInterfaceBlock()
1142 this->write(to_string(intf.arraySize())); in writeInterfaceBlock()
/third_party/NuttX/drivers/usbdev/gadget/fconfig/src/
H A Df_config.c270 struct usb_interface_descriptor *intf; in modify_string_index_bystrbase() local
285 intf = (struct usb_interface_descriptor *)descriptors; in modify_string_index_bystrbase()
286 if (intf->bNumEndpoints > 0) in modify_string_index_bystrbase()
288 intf->iInterface += (uint8_t)(dev_str_num + func_strbase - 1); in modify_string_index_bystrbase()
H A Df_generic.c595 static int generic_revmap_intf(struct generic_dev_s *dev, uint8_t intf) in generic_revmap_intf() argument
597 return intf - dev->devinfo->ifnobase; in generic_revmap_intf()
603 int ret = 0, intf; in generic_set_alt() local
607 intf = generic_revmap_intf(dev, interface); in generic_set_alt()
608 if (intf < 0) in generic_set_alt()
610 return intf; in generic_set_alt()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/drivers/
H A Ddriver_ndis.c2509 INTF_ENTRY intf; in wpa_driver_ndis_set_wzc()
2577 os_memset(&intf, 0, sizeof(intf)); in wpa_driver_ndis_set_wzc()
2578 intf.wszGuid = guids.pIntfs[i].wszGuid; in wpa_driver_ndis_set_wzc()
2580 intf.dwCtlFlags = -1; in wpa_driver_ndis_set_wzc()
2582 res = wzc_query_interf(NULL, INTFCTL_ENABLED, &intf, &flags); in wpa_driver_ndis_set_wzc()
2593 (int) flags, (int) intf.dwCtlFlags); in wpa_driver_ndis_set_wzc()
2595 if (intf.dwCtlFlags == -1) { in wpa_driver_ndis_set_wzc()
2598 wpa_hexdump(MSG_MSGDUMP, "NDIS: intf", in wpa_driver_ndis_set_wzc()
2599 (u8 *) &intf, sizeo in wpa_driver_ndis_set_wzc()
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/drivers/
H A Ddriver_ndis.c2521 INTF_ENTRY intf; in wpa_driver_ndis_set_wzc()
2589 os_memset(&intf, 0, sizeof(intf)); in wpa_driver_ndis_set_wzc()
2590 intf.wszGuid = guids.pIntfs[i].wszGuid; in wpa_driver_ndis_set_wzc()
2592 intf.dwCtlFlags = -1; in wpa_driver_ndis_set_wzc()
2594 res = wzc_query_interf(NULL, INTFCTL_ENABLED, &intf, &flags); in wpa_driver_ndis_set_wzc()
2605 (int) flags, (int) intf.dwCtlFlags); in wpa_driver_ndis_set_wzc()
2607 if (intf.dwCtlFlags == -1) { in wpa_driver_ndis_set_wzc()
2610 wpa_hexdump(MSG_MSGDUMP, "NDIS: intf", in wpa_driver_ndis_set_wzc()
2611 (u8 *) &intf, sizeo in wpa_driver_ndis_set_wzc()
[all...]
/base/usb/usb_manager/interfaces/innerkits/native/include/
H A Dusb_config.h212 for (auto &intf : interfaces_) { in getJsonString()
213 cJSON* pInterface = cJSON_Parse(intf.getJsonString().c_str()); in getJsonString()
/third_party/FreeBSD/sys/compat/linuxkpi/common/src/
H A Dlinux_usb.c1229 usb_altnum_to_altsetting(const struct usb_interface *intf, uint8_t alt_index) in usb_altnum_to_altsetting() argument
1231 if (alt_index >= intf->num_altsetting) { in usb_altnum_to_altsetting()
1234 return (intf->altsetting + alt_index); in usb_altnum_to_altsetting()
1272 usb_get_intfdata(struct usb_interface *intf) in usb_get_intfdata() argument
1274 return (intf->bsd_priv_sc); in usb_get_intfdata()
1417 usb_set_intfdata(struct usb_interface *intf, void *data) in usb_set_intfdata() argument
1419 intf->bsd_priv_sc = data; in usb_set_intfdata()
/third_party/ltp/testcases/kernel/device-drivers/usb/tusb/
H A Dtusb.c111 static void tusb_disconnect(struct usb_interface *intf) in tusb_disconnect() argument
116 static int tusb_probe(struct usb_interface *intf, in tusb_probe() argument
/third_party/node/deps/v8/third_party/zlib/
H A Dzconf.h164 # define intf z_intf macro
418 typedef int FAR intf; typedef
H A Dchromeconf.h151 #define intf Cr_z_intf macro
/third_party/node/deps/zlib/
H A Dzconf.h167 # define intf z_intf macro
428 typedef int FAR intf; typedef
H A Dchromeconf.h154 #define intf Cr_z_intf macro
/third_party/libwebsockets/win32port/zlib/
H A Dzconf.h119 # define intf z_intf macro
346 typedef int FAR intf; typedef
/third_party/skia/third_party/externals/zlib/
H A Dzconf.h164 # define intf z_intf macro
418 typedef int FAR intf; typedef
/third_party/zlib/
H A Dzconf.h155 # define intf z_intf macro
405 typedef int FAR intf; typedef
/third_party/skia/src/sksl/dsl/
H A DDSLCore.cpp216 static void FindRTAdjust(SkSL::InterfaceBlock& intf, PositionInfo pos) { in FindRTAdjust() argument
218 intf.variable().type().componentType().fields(); in FindRTAdjust()
225 rtAdjust.fInterfaceBlock = &intf.variable(); in FindRTAdjust()
266 auto intf = std::make_unique<SkSL::InterfaceBlock>(pos.line(), in InterfaceBlock() local
268 FindRTAdjust(*intf, pos); in InterfaceBlock()
269 ThreadContext::ProgramElements().push_back(std::move(intf)); in InterfaceBlock()

Completed in 35 milliseconds

12