Lines Matching refs:vendor
112 pub const fn from_id(vendor: u16, product: u16) -> Self { in from_id()
115 idVendor: vendor, in from_id()
123 pub const fn from_device_ver(vendor: u16, product: u16, bcd_lo: u16, bcd_hi: u16) -> Self { in from_device_ver()
126 idVendor: vendor, in from_device_ver()
160 pub const fn from_device_interface_class(vendor: u16, product: u16, class: u8) -> Self { in from_device_interface_class()
164 idVendor: vendor, in from_device_interface_class()
173 pub const fn from_device_interface_protocol(vendor: u16, product: u16, protocol: u8) -> Self { in from_device_interface_protocol()
177 idVendor: vendor, in from_device_interface_protocol()
186 pub const fn from_device_interface_number(vendor: u16, product: u16, number: u8) -> Self { in from_device_interface_number()
190 idVendor: vendor, in from_device_interface_number()
200 vendor: u16, in from_device_and_interface_info()
209 idVendor: vendor, in from_device_and_interface_info()