/linux/arch/riscv/include/asm/ |
H A D | vendor_extensions.h | 15 * The extension keys of each vendor must be strictly less than this value. 36 * The alternatives need some way of distinguishing between vendor extensions 37 * and errata. Incrementing all of the vendor extension keys so they are at 44 bool __riscv_isa_vendor_extension_available(int cpu, unsigned long vendor, unsigned int bit); 45 #define riscv_cpu_isa_vendor_extension_available(cpu, vendor, ext) \ argument 46 __riscv_isa_vendor_extension_available(cpu, vendor, RISCV_ISA_VENDOR_EXT_##ext) 47 #define riscv_isa_vendor_extension_available(vendor, ext) \ argument 48 __riscv_isa_vendor_extension_available(VENDOR_EXT_ALL_CPUS, vendor, \ 51 static __always_inline bool riscv_has_vendor_extension_likely(const unsigned long vendor, in riscv_has_vendor_extension_likely() argument 58 return __riscv_has_extension_likely(vendor, in riscv_has_vendor_extension_likely() [all …]
|
H A D | cpufeature-macros.h | 18 static __always_inline bool __riscv_has_extension_likely(const unsigned long vendor, in __riscv_has_extension_likely() argument 21 asm goto(ALTERNATIVE("j %l[l_no]", "nop", %[vendor], %[ext], 1) in __riscv_has_extension_likely() 23 : [vendor] "i" (vendor), [ext] "i" (ext) in __riscv_has_extension_likely() 32 static __always_inline bool __riscv_has_extension_unlikely(const unsigned long vendor, in __riscv_has_extension_unlikely() argument 35 asm goto(ALTERNATIVE("nop", "j %l[l_yes]", %[vendor], %[ext], 1) in __riscv_has_extension_unlikely() 37 : [vendor] "i" (vendor), [ext] "i" (ext) in __riscv_has_extension_unlikely()
|
/linux/tools/testing/selftests/hid/tests/ |
H A D | test_gamepad.py | 248 0x05, 0x0f, # .Usage Page (Vendor Usage Page 0x0f) 86 249 0x09, 0x92, # .Usage (Vendor Usage 0x92) 88 252 0x09, 0xa0, # ..Usage (Vendor Usage 0xa0) 94 253 0x09, 0x9f, # ..Usage (Vendor Usage 0x9f) 96 262 0x09, 0x22, # ..Usage (Vendor Usage 0x22) 114 266 0x09, 0x94, # ..Usage (Vendor Usage 0x94) 122 271 0x09, 0x21, # .Usage (Vendor Usage 0x21) 131 274 0x09, 0x22, # ..Usage (Vendor Usage 0x22) 137 278 0x09, 0x53, # ..Usage (Vendor Usage 0x53) 146 281 0x09, 0x50, # ..Usage (Vendor Usage 0x50) 152 [all …]
|
/linux/drivers/scsi/ |
H A D | scsi_devinfo.c | 23 char vendor[8]; member 50 char *vendor; member 287 * devinfo vendor and model strings. 313 * @vendor: vendor string 319 * Create and add one dev_info entry for @vendor, @model, @strflags or 326 static int scsi_dev_info_list_add(int compatible, char *vendor, char *model, in scsi_dev_info_list_add() argument 329 return scsi_dev_info_list_add_keyed(compatible, vendor, model, in scsi_dev_info_list_add() 337 * @vendor: vendor string 344 * Create and add one dev_info entry for @vendor, @model, 352 int scsi_dev_info_list_add_keyed(int compatible, char *vendor, char *model, in scsi_dev_info_list_add_keyed() argument [all …]
|
H A D | sr_vendor.c | 4 * vendor-specific code for SCSI CD-ROM's goes here. 70 const char *vendor = cd->device->vendor; in sr_vendor_init() local 74 cd->vendor = VENDOR_SCSI3; in sr_vendor_init() 80 cd->vendor = VENDOR_WRITER; in sr_vendor_init() 82 } else if (!strncmp(vendor, "NEC", 3)) { in sr_vendor_init() 83 cd->vendor = VENDOR_NEC; in sr_vendor_init() 97 } else if (!strncmp(vendor, "TOSHIBA", 7)) { in sr_vendor_init() 98 cd->vendor = VENDOR_TOSHIBA; in sr_vendor_init() 100 } else if (!strncmp(vendor, "Beurer", 6) && in sr_vendor_init() 109 cd->vendor = VENDOR_CYGNAL_85ED; in sr_vendor_init() [all …]
|
/linux/drivers/char/agp/ |
H A D | sis-agp.c | 193 pdev->vendor, pdev->device); in agp_sis_probe() 229 .vendor = PCI_VENDOR_ID_SI, 237 .vendor = PCI_VENDOR_ID_SI, 245 .vendor = PCI_VENDOR_ID_SI, 253 .vendor = PCI_VENDOR_ID_SI, 261 .vendor = PCI_VENDOR_ID_SI, 269 .vendor = PCI_VENDOR_ID_SI, 277 .vendor = PCI_VENDOR_ID_SI, 285 .vendor = PCI_VENDOR_ID_SI, 293 .vendor = PCI_VENDOR_ID_SI, [all …]
|
/linux/drivers/usb/host/ |
H A D | xhci-pci.c | 245 /* Look for vendor-specific quirks */ in xhci_pci_quirks() 246 if (pdev->vendor == PCI_VENDOR_ID_FRESCO_LOGIC && in xhci_pci_quirks() 276 if (pdev->vendor == PCI_VENDOR_ID_FRESCO_LOGIC && in xhci_pci_quirks() 280 if (pdev->vendor == PCI_VENDOR_ID_NEC) in xhci_pci_quirks() 283 if (pdev->vendor == PCI_VENDOR_ID_AMD && xhci->hci_version == 0x96) in xhci_pci_quirks() 287 if (pdev->vendor == PCI_VENDOR_ID_AMD && usb_amd_quirk_pll_check()) in xhci_pci_quirks() 290 if (pdev->vendor == PCI_VENDOR_ID_AMD && in xhci_pci_quirks() 297 if (pdev->vendor == PCI_VENDOR_ID_AMD && in xhci_pci_quirks() 301 if (pdev->vendor == PCI_VENDOR_ID_AMD && pdev->device == 0x15e5) { in xhci_pci_quirks() 306 if (pdev->vendor == PCI_VENDOR_ID_AMD && pdev->device == 0x43f7) in xhci_pci_quirks() [all …]
|
/linux/Documentation/ABI/obsolete/ |
H A D | sysfs-driver-hid-roccat-ryos | 1 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p… 9 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p… 21 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p… 31 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p… 41 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p… 51 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p… 61 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p… 71 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p… 81 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p… 92 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p… [all …]
|
H A D | sysfs-driver-hid-roccat-isku | 1 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p… 12 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p… 20 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p… 31 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p… 41 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p… 51 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p… 61 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p… 71 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p… 81 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p… 91 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p… [all …]
|
H A D | sysfs-driver-hid-roccat-koneplus | 1 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p… 12 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p… 24 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p… 36 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p… 44 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p… 55 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p… 70 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p… 82 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p… 98 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p… 111 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p… [all …]
|
H A D | sysfs-driver-hid-roccat-konepure | 1 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p… 13 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p… 21 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p… 29 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p… 40 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p… 55 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p… 71 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p… 80 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p… 88 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p… 97 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
|
/linux/drivers/acpi/acpica/ |
H A D | rsmemory.c | 119 /* Length of the vendor data (byte count) */ 121 {ACPI_RSC_COUNT16, ACPI_RS_OFFSET(data.vendor.byte_length), 125 /* Vendor data */ 127 {ACPI_RSC_MOVE8, ACPI_RS_OFFSET(data.vendor.byte_data[0]), 143 /* Length of the vendor data (byte count) */ 145 {ACPI_RSC_COUNT16, ACPI_RS_OFFSET(data.vendor.byte_length), 149 /* Vendor data */ 151 {ACPI_RSC_MOVE8, ACPI_RS_OFFSET(data.vendor.byte_data[0]), 163 /* Default is a small vendor descriptor */ 171 {ACPI_RSC_COUNT16, ACPI_RS_OFFSET(data.vendor.byte_length), [all …]
|
/linux/drivers/pci/ |
H A D | search.c | 286 …* pci_get_subsys - begin or continue searching for a PCI device by vendor/subvendor/device/subdevi… 287 * @vendor: PCI vendor id to match, or %PCI_ANY_ID to match all vendor ids 289 * @ss_vendor: PCI subsystem vendor id to match, or %PCI_ANY_ID to match all vendor ids 294 * with a matching @vendor, @device, @ss_vendor and @ss_device, a pointer to its 301 struct pci_dev *pci_get_subsys(unsigned int vendor, unsigned int device, in pci_get_subsys() argument 306 .vendor = vendor, in pci_get_subsys() 317 * pci_get_device - begin or continue searching for a PCI device by vendor/device id 318 * @vendor: PCI vendor id to match, or %PCI_ANY_ID to match all vendor ids 323 * found with a matching @vendor and @device, the reference count to the 330 struct pci_dev *pci_get_device(unsigned int vendor, unsigned int device, in pci_get_device() argument [all …]
|
/linux/tools/power/cpupower/utils/helpers/ |
H A D | cpuid.c | 40 * Extract CPU vendor, family, model, stepping info from /proc/cpuinfo 56 cpu_info->vendor = X86_VENDOR_UNKNOWN; in get_cpu_info() 77 /* Get CPU vendor */ in get_cpu_info() 81 cpu_info->vendor = x; in get_cpu_info() 95 if (cpu_info->vendor == X86_VENDOR_UNKNOWN || in get_cpu_info() 111 if (cpu_info->vendor != X86_VENDOR_AMD && in get_cpu_info() 112 cpu_info->vendor != X86_VENDOR_HYGON && in get_cpu_info() 113 cpu_info->vendor != X86_VENDOR_INTEL) in get_cpu_info() 129 if (cpu_info->vendor == X86_VENDOR_AMD || in get_cpu_info() 130 cpu_info->vendor == X86_VENDOR_HYGON) { in get_cpu_info() [all …]
|
/linux/Documentation/devicetree/bindings/pci/ |
H A D | pci-msi.txt | 68 compatible = "vendor,some-controller"; 75 compatible = "vendor,pcie-root-complex"; 96 compatible = "vendor,some-controller"; 103 compatible = "vendor,pcie-root-complex"; 125 compatible = "vendor,some-controller"; 132 compatible = "vendor,pcie-root-complex"; 155 compatible = "vendor,some-controller"; 162 compatible = "vendor,pcie-root-complex"; 185 compatible = "vendor,some-controller"; 192 compatible = "vendor,some-controller"; [all …]
|
H A D | pci-iommu.txt | 57 compatible = "vendor,some-iommu"; 63 compatible = "vendor,pcie-root-complex"; 84 compatible = "vendor,some-iommu"; 90 compatible = "vendor,pcie-root-complex"; 112 compatible = "vendor,some-iommu"; 118 compatible = "vendor,pcie-root-complex"; 140 compatible = "vendor,some-iommu"; 146 compatible = "vendor,some-iommu"; 152 compatible = "vendor,some-iommu"; 158 compatible = "vendor,pcie-root-complex";
|
/linux/drivers/firmware/efi/ |
H A D | vars.c | 180 * efivar_get_variable() - retrieve a variable identified by name/vendor 184 efi_status_t efivar_get_variable(efi_char16_t *name, efi_guid_t *vendor, in efivar_get_variable() argument 187 return __efivars->ops->get_variable(name, vendor, attr, size, data); in efivar_get_variable() 192 * efivar_get_next_variable() - enumerate the next name/vendor pair 197 efi_char16_t *name, efi_guid_t *vendor) in efivar_get_next_variable() argument 199 return __efivars->ops->get_next_variable(name_size, name, vendor); in efivar_get_next_variable() 204 * efivar_set_variable_locked() - set a variable identified by name/vendor 209 efi_status_t efivar_set_variable_locked(efi_char16_t *name, efi_guid_t *vendor, in efivar_set_variable_locked() argument 231 return setvar(name, vendor, attr, data_size, data); in efivar_set_variable_locked() 236 * efivar_set_variable() - set a variable identified by name/vendor [all …]
|
/linux/arch/x86/kernel/ |
H A D | probe_roms.c | 82 static bool match_id(struct pci_dev *pdev, unsigned short vendor, unsigned short device) in match_id() argument 87 if (pdev->vendor == vendor && pdev->device == device) in match_id() 90 for (id = drv ? drv->id_table : NULL; id && id->vendor; id++) in match_id() 91 if (id->vendor == vendor && id->device == device) in match_id() 94 return id && id->vendor; in match_id() 97 static bool probe_list(struct pci_dev *pdev, unsigned short vendor, in probe_list() argument 106 if (device && match_id(pdev, vendor, device)) in probe_list() 122 unsigned short offset, vendor, device, list, rev; in find_oprom() local 132 if (get_kernel_nofault(vendor, rom + offset + 0x4) != 0) in find_oprom() 138 if (match_id(pdev, vendor, device)) { in find_oprom() [all …]
|
/linux/scripts/mod/ |
H A D | devicetable-offsets.c | 28 DEVID_FIELD(hid_device_id, vendor); in main() 39 DEVID_FIELD(pci_device_id, vendor); in main() 98 DEVID_FIELD(input_device_id, vendor); in main() 122 DEVID_FIELD(sdio_device_id, vendor); in main() 126 DEVID_FIELD(ssb_device_id, vendor); in main() 138 DEVID_FIELD(virtio_device_id, vendor); in main() 177 DEVID_FIELD(isapnp_device_id, vendor); in main() 182 DEVID_FIELD(ipack_device_id, vendor); in main() 196 DEVID_FIELD(x86_cpu_id, vendor); in main() 213 DEVID_FIELD(ulpi_device_id, vendor); in main() [all...] |
/linux/drivers/net/wireless/broadcom/b43/ |
H A D | sdio.c | 22 #define HNBU_CHIPID 0x01 /* vendor & device id */ 28 u16 vendor; member 37 static unsigned int b43_sdio_get_quirks(u16 vendor, u16 device) in b43_sdio_get_quirks() argument 42 if (vendor == q->vendor && device == q->device) in b43_sdio_get_quirks() 97 u16 vendor = 0, device = 0; in b43_sdio_probe() local 109 vendor = tuple->data[1] | (tuple->data[2]<<8); in b43_sdio_probe() 112 vendor, device); in b43_sdio_probe() 123 if (!vendor || !device) { in b43_sdio_probe() 149 b43_sdio_get_quirks(vendor, device)); in b43_sdio_probe()
|
/linux/Documentation/ABI/testing/ |
H A D | sysfs-bus-cdx | 14 What: /sys/bus/cdx/devices/.../vendor 18 Vendor ID for this CDX device, in hexadecimal. Vendor ID is 20 Combination of Vendor ID and Device ID identifies a device. 29 Combination of Vendor ID and Device ID identifies a device. 35 Subsystem Vendor ID for this CDX device, in hexadecimal. 36 Subsystem Vendor ID is 16 bit identifier specific to the 117 - vXXXX contains the vendor ID; 119 - svXXXX contains the subsystem vendor ID;
|
/linux/drivers/pnp/isapnp/ |
H A D | compat.c | 13 static void pnp_convert_id(char *buf, unsigned short vendor, in pnp_convert_id() argument 17 'A' + ((vendor >> 2) & 0x3f) - 1, in pnp_convert_id() 18 'A' + (((vendor & 3) << 3) | ((vendor >> 13) & 7)) - 1, in pnp_convert_id() 19 'A' + ((vendor >> 8) & 0x1f) - 1, in pnp_convert_id() 24 struct pnp_dev *pnp_find_dev(struct pnp_card *card, unsigned short vendor, in pnp_find_dev() argument 30 pnp_convert_id(id, vendor, function); in pnp_find_dev()
|
/linux/drivers/xen/ |
H A D | efi.c | 120 static efi_status_t xen_efi_get_variable(efi_char16_t *name, efi_guid_t *vendor, in xen_efi_get_variable() argument 127 BUILD_BUG_ON(sizeof(*vendor) != in xen_efi_get_variable() 129 memcpy(&efi_data(op).u.get_variable.vendor_guid, vendor, sizeof(*vendor)); in xen_efi_get_variable() 145 efi_guid_t *vendor) in xen_efi_get_next_variable() argument 151 BUILD_BUG_ON(sizeof(*vendor) != in xen_efi_get_next_variable() 153 memcpy(&efi_data(op).u.get_next_variable_name.vendor_guid, vendor, in xen_efi_get_next_variable() 154 sizeof(*vendor)); in xen_efi_get_next_variable() 160 memcpy(vendor, &efi_data(op).u.get_next_variable_name.vendor_guid, in xen_efi_get_next_variable() 161 sizeof(*vendor)); in xen_efi_get_next_variable() 166 static efi_status_t xen_efi_set_variable(efi_char16_t *name, efi_guid_t *vendor, in xen_efi_set_variable() argument [all …]
|
/linux/drivers/usb/common/ |
H A D | ulpi.c | 44 * Some ULPI devices don't have a vendor id in ulpi_match() 47 if (ulpi->id.vendor == 0 || !drv->id_table) in ulpi_match() 50 for (id = drv->id_table; id->vendor; id++) in ulpi_match() 51 if (id->vendor == ulpi->id.vendor && in ulpi_match() 68 ulpi->id.vendor, ulpi->id.product)) in ulpi_uevent() 114 ulpi->id.vendor, ulpi->id.product); in modalias_show() 219 ulpi->id.vendor = ulpi_read(ulpi, ULPI_VENDOR_ID_LOW); in ulpi_read_id() 220 ulpi->id.vendor |= ulpi_read(ulpi, ULPI_VENDOR_ID_HIGH) << 8; in ulpi_read_id() 225 /* Some ULPI devices don't have a vendor id so rely on OF match */ in ulpi_read_id() 226 if (ulpi->id.vendor == 0) in ulpi_read_id() [all …]
|
/linux/include/uapi/linux/ |
H A D | chio.h | 14 #define CHET_V1 4 /* vendor specific #1 */ 15 #define CHET_V2 5 /* vendor specific #2 */ 16 #define CHET_V3 6 /* vendor specific #3 */ 17 #define CHET_V4 7 /* vendor specific #4 */ 25 * query vendor-specific element types 40 int cvp_n1; /* number of vendor specific elems (CHET_V1) */ 42 int cvp_n2; /* number of vendor specific elems (CHET_V2) */ 44 int cvp_n3; /* number of vendor specific elems (CHET_V3) */ 46 int cvp_n4; /* number of vendor specific elems (CHET_V4) */
|