Home
last modified time | relevance | path

Searched refs:vid (Results 1 – 6 of 6) sorted by relevance

/system/tpm/trunks/ftdi/
Dmpsse.c62 for (i = 0; supported_devices[i].vid != 0; i++) { in MPSSE()
63 mpsse = Open(supported_devices[i].vid, supported_devices[i].pid, mode, in MPSSE()
88 struct mpsse_context* Open(int vid, in Open() argument
96 return OpenIndex(vid, pid, mode, freq, endianess, interface, description, in Open()
117 struct mpsse_context* OpenIndex(int vid, in OpenIndex() argument
148 if (!ftdi_usb_open_desc_index(&mpsse->ftdi, vid, pid, description, serial, in OpenIndex()
151 mpsse->vid = vid; in OpenIndex()
483 int vid = 0; in GetVid() local
486 vid = mpsse->vid; in GetVid()
489 return vid; in GetVid()
Dmpsse.h147 int vid; member
158 int vid; member
179 struct mpsse_context* Open(int vid,
187 struct mpsse_context* OpenIndex(int vid,
/system/tpm/trunks/
Dtrunks_ftdi_spi.cc175 uint16_t vid = did_vid & 0xffff; in Init() local
176 if ((vid != 0x15d1) && (vid != 0x1ae0)) { in Init()
/system/core/adb/
Dusb_linux.cpp143 unsigned vid, pid; in find_usb_device() local
175 vid = device->idVendor; in find_usb_device()
177 DBGX("[ %s is V:%04x P:%04x ]\n", dev_name.c_str(), vid, pid); in find_usb_device()
208 is_adb_interface(vid, pid, interface->bInterfaceClass, in find_usb_device()
Dtransport_usb.cpp97 int is_adb_interface(int vid, int pid, int usb_class, int usb_subclass, int usb_protocol) in is_adb_interface() argument
Dadb.h226 int is_adb_interface(int vid, int pid, int usb_class, int usb_subclass, int usb_protocol);