Home
last modified time | relevance | path

Searched refs:intf (Results 1 – 25 of 65) sorted by relevance

123

/third_party/FreeBSD/sys/compat/linuxkpi/common/include/linux/
Dusb.h67 int (*probe)(struct usb_interface *intf, const struct usb_device_id *id);
69 void (*disconnect)(struct usb_interface *intf);
71 int (*ioctl)(struct usb_interface *intf, unsigned int code, void *buf);
73 int (*suspend)(struct usb_interface *intf, pm_message_t message);
74 int (*resume)(struct usb_interface *intf);
78 void (*shutdown)(struct usb_interface *intf);
303 const struct usb_interface *intf, uint8_t alt_index);
308 void *usbd_get_intfdata(struct usb_interface *intf);
314 void usb_set_intfdata(struct usb_interface *intf, void *data);
324 void *usb_get_intfdata(struct usb_interface *intf);
[all …]
/third_party/gstreamer/gstplugins_bad/sys/v4l2codecs/
Dgstv4l2codecdevice.c256 struct media_v2_interface *intf = in find_video_interface() local
259 if (intf->intf_type != MEDIA_INTF_T_V4L_VIDEO) in find_video_interface()
262 if (intf->id == id) in find_video_interface()
263 return intf; in find_video_interface()
278 struct media_v2_interface *intf; in find_video_devnode() local
286 intf = find_video_interface (topology, link->source_id); in find_video_devnode()
287 if (intf) in find_video_devnode()
288 return &intf->devnode; in find_video_devnode()
/third_party/wayland_standard/tests/
Ddisplay-test.c137 uint32_t id, const char *intf, uint32_t ver) in registry_handle_globals() argument
145 if (strcmp(intf, "wl_seat") == 0) { in registry_handle_globals()
194 const struct wl_interface *intf; in check_pending_error() local
199 ec = wl_display_get_protocol_error(c->wl_display, &intf, &id); in check_pending_error()
201 assert(intf == &wl_seat_interface); in check_pending_error()
931 const struct wl_interface *intf; in check_error_on_destroyed_object() local
947 assert(wl_display_get_protocol_error(c->wl_display, &intf, &id) == 23); in check_error_on_destroyed_object()
948 assert(intf == NULL); in check_error_on_destroyed_object()
998 uint32_t id, const char *intf, uint32_t ver) in registry_handle_filtered() argument
1002 if (strcmp (intf, "wl_data_offer") == 0) { in registry_handle_filtered()
[all …]
Dtest-compositor.c439 uint32_t id, const char *intf, uint32_t ver) in registry_handle_globals() argument
443 if (strcmp(intf, "test") != 0) in registry_handle_globals()
485 const struct wl_interface *intf; in check_error() local
491 ec = wl_display_get_protocol_error(display, &intf, &id); in check_error()
493 " (object %u)\n", ec, intf->name, id); in check_error()
/third_party/flutter/skia/src/sksl/
DSkSLMetalCodeGenerator.cpp827 InterfaceBlock& intf = (InterfaceBlock&) e; in writeFunction() local
828 if ("sk_PerVertex" == intf.fTypeName) { in writeFunction()
832 this->writeType(intf.fVariable.fType); in writeFunction()
834 this->write(fInterfaceBlockNameMap[&intf]); in writeFunction()
837 this->write(to_string(intf.fVariable.fModifiers.fLayout.fSet)); in writeFunction()
839 this->write(to_string(intf.fVariable.fModifiers.fLayout.fBinding)); in writeFunction()
922 for (const auto& intf: fInterfaceBlockNameMap) { in writeFunction() local
923 const auto& intfName = intf.second; in writeFunction()
992 void MetalCodeGenerator::writeInterfaceBlock(const InterfaceBlock& intf) { in writeInterfaceBlock() argument
993 if ("sk_PerVertex" == intf.fTypeName) { in writeInterfaceBlock()
[all …]
DSkSLGLSLCodeGenerator.cpp1171 void GLSLCodeGenerator::writeInterfaceBlock(const InterfaceBlock& intf) { in writeFunctionCall() argument
1172 if (intf.fTypeName == "sk_PerVertex") { in writeFunctionCall()
1175 this->writeModifiers(intf.fVariable.fModifiers, true); in writeFunctionCall()
1176 this->writeLine(intf.fTypeName + " {"); in writeFunctionCall()
1178 const Type* structType = &intf.fVariable.fType; in writeFunctionCall()
1190 if (intf.fInstanceName.size()) { in writeFunctionCall()
1192 this->write(intf.fInstanceName); in writeFunctionCall()
1193 for (const auto& size : intf.fSizes) { in writeFunctionCall()
/third_party/libusb/libusb/os/
Dnetbsd_usb.c339 struct usb_alt_interface intf; in netbsd_set_interface_altsetting() local
343 memset(&intf, 0, sizeof(intf)); in netbsd_set_interface_altsetting()
345 intf.uai_interface_index = iface; in netbsd_set_interface_altsetting()
346 intf.uai_alt_no = altsetting; in netbsd_set_interface_altsetting()
348 if (ioctl(dpriv->fd, USB_SET_ALTINTERFACE, &intf) < 0) in netbsd_set_interface_altsetting()
Dopenbsd_usb.c365 struct usb_alt_interface intf; in obsd_set_interface_altsetting() local
372 memset(&intf, 0, sizeof(intf)); in obsd_set_interface_altsetting()
374 intf.uai_interface_index = iface; in obsd_set_interface_altsetting()
375 intf.uai_alt_no = altsetting; in obsd_set_interface_altsetting()
377 if (ioctl(dpriv->fd, USB_SET_ALTINTERFACE, &intf) < 0) in obsd_set_interface_altsetting()
/third_party/skia/src/sksl/codegen/
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.variable().type(); in writeInterfaceBlock()
[all …]
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/
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()
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()
/third_party/skia/third_party/externals/freetype/src/gzip/
Dftzconf.h44 # define intf z_intf macro
231 typedef int FAR intf; typedef
/third_party/flutter/skia/third_party/externals/freetype/src/gzip/
Dftzconf.h44 # define intf z_intf macro
231 typedef int FAR intf; typedef
/third_party/freetype/src/gzip/
Dftzconf.h44 # define intf z_intf macro
231 typedef int FAR intf; typedef
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/drivers/
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()
2611 (u8 *) &intf, sizeof(intf)); in wpa_driver_ndis_set_wzc()
2616 if (!(intf.dwCtlFlags & INTFCTL_ENABLED)) { in wpa_driver_ndis_set_wzc()
2619 intf.dwCtlFlags |= INTFCTL_ENABLED; in wpa_driver_ndis_set_wzc()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/drivers/
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()
2599 (u8 *) &intf, sizeof(intf)); in wpa_driver_ndis_set_wzc()
2604 if (!(intf.dwCtlFlags & INTFCTL_ENABLED)) { in wpa_driver_ndis_set_wzc()
2607 intf.dwCtlFlags |= INTFCTL_ENABLED; in wpa_driver_ndis_set_wzc()
[all …]
/third_party/libwebsockets/win32port/zlib/
Dzconf.h119 # define intf z_intf macro
346 typedef int FAR intf; typedef
/third_party/ltp/testcases/kernel/device-drivers/usb/tusb/
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/FreeBSD/sys/compat/linuxkpi/common/src/
Dlinux_usb.c1235 usb_altnum_to_altsetting(const struct usb_interface *intf, uint8_t alt_index) in usb_altnum_to_altsetting() argument
1237 if (alt_index >= intf->num_altsetting) { in usb_altnum_to_altsetting()
1240 return (intf->altsetting + alt_index); in usb_altnum_to_altsetting()
1278 usb_get_intfdata(struct usb_interface *intf) in usb_get_intfdata() argument
1280 return (intf->bsd_priv_sc); in usb_get_intfdata()
1423 usb_set_intfdata(struct usb_interface *intf, void *data) in usb_set_intfdata() argument
1425 intf->bsd_priv_sc = data; in usb_set_intfdata()
/third_party/skia/src/sksl/dsl/
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()
/third_party/zlib/
Dzconf.h152 # define intf z_intf macro
403 typedef int FAR intf; typedef
/third_party/skia/third_party/externals/zlib/
Dzconf.h164 # define intf z_intf macro
418 typedef int FAR intf; typedef
/third_party/boost/libs/beast/test/extern/zlib-1.2.11/
Dzconf.h152 # define intf z_intf macro
403 typedef int FAR intf; typedef
/third_party/node/deps/zlib/
Dzconf.h164 # define intf z_intf macro
418 typedef int FAR intf; typedef

123