Lines Matching refs:recipient
112 recipient = request_type & usb_constants.Recipient.MASK
115 recipient, request, value, index, length)
118 recipient, request, value, index, length)
121 recipient, request, value, index, length)
138 recipient = request_type & usb_constants.Recipient.MASK
141 recipient, request, value, index, data)
144 recipient, request, value, index, data)
147 recipient, request, value, index, data)
186 def StandardControlRead(self, recipient, request, value, index, length):
190 recipient: Request recipient (device, interface, endpoint, etc.)
205 print 'GetDescriptor(recipient={}, type={}, index={}, lang={})'.format(
206 recipient, desc_type, desc_index, desc_lang)
208 return self.GetDescriptor(recipient, desc_type, desc_index, desc_lang,
211 def GetDescriptor(self, recipient, typ, index, lang, length):
217 recipient: Request recipient (device, interface, endpoint, etc.)
226 if recipient == usb_constants.Recipient.DEVICE:
230 def ClassControlRead(self, recipient, request, value, index, length):
237 recipient: Request recipient (device, interface, endpoint, etc.)
247 _ = recipient, request, value, index, length
250 def VendorControlRead(self, recipient, request, value, index, length):
257 recipient: Request recipient (device, interface, endpoint, etc.)
267 _ = recipient, request, value, index, length
270 def StandardControlWrite(self, recipient, request, value, index, data):
274 recipient: Request recipient (device, interface, endpoint, etc.)
286 if recipient == usb_constants.Recipient.DEVICE:
289 if recipient == usb_constants.Recipient.INTERFACE:
292 def ClassControlWrite(self, recipient, request, value, index, data):
299 recipient: Request recipient (device, interface, endpoint, etc.)
308 _ = recipient, request, value, index, data
311 def VendorControlWrite(self, recipient, request, value, index, data):
318 recipient: Request recipient (device, interface, endpoint, etc.)
327 _ = recipient, request, value, index, data