/systemd/hwdb/ |
H A D | ids-update.pl | 7 my $vendor; 10 open(OUT, ">", "20-usb-vendor-model.hwdb"); 19 $vendor = uc $1; 22 print(OUT "usb:v" . $vendor . "*\n"); 32 print(OUT "usb:v" . $vendor . "p" . $model . "*\n"); 108 my $vendor; 113 open(OUT, ">", "20-pci-vendor-model.hwdb"); 123 $vendor = uc $1; 126 print(OUT "pci:v0000" . $vendor . "*\n"); 136 print(OUT "pci:v0000" . $vendor [all...] |
/systemd/src/shared/ |
H A D | efivars.h | 45 int efi_get_variable(sd_id128_t vendor, const char *name, uint32_t *attribute, void **value, size_t *size); 46 int efi_set_variable(sd_id128_t vendor, const char *name, const void *value, size_t size); 47 int efi_get_variable_string(sd_id128_t vendor, const char *name, char **p); 85 static inline int efi_get_variable(sd_id128_t vendor, const char *name, uint32_t *attribute, void **value, size_t *size) { argument 89 static inline int efi_set_variable(sd_id128_t vendor, const char *name, const void *value, size_t size) { argument 93 static inline int efi_get_variable_string(sd_id128_t vendor, const char *name, char **p) { argument
|
H A D | efivars.c | 195 sd_id128_t vendor, 214 name, SD_ID128_FORMAT_VAL(vendor)) < 0) 259 sd_id128_t vendor, 275 name, SD_ID128_FORMAT_VAL(vendor)) < 0) 298 int efi_get_variable_string(sd_id128_t vendor, const char *name, char **p) { argument 304 r = efi_get_variable(vendor, name, NULL, &s, &ss); 633 static int read_usec(sd_id128_t vendor, const char *name, usec_t *u) { argument 194 efi_get_variable( sd_id128_t vendor, const char *name, uint32_t *attribute, void **value, size_t *size) argument 258 efi_set_variable( sd_id128_t vendor, const char *name, const void *value, size_t size) argument
|
/systemd/src/udev/scsi_id/ |
H A D | scsi_id.h | 30 * added prefixes such as vendor and product (model) strings. 41 char vendor[9]; member in struct:scsi_id_device
|
H A D | scsi_id.c | 156 * If vendor == NULL, find a line in the config file with only "OPTIONS="; 157 * if vendor and model are set find the first OPTIONS line in the config 160 * vendor and model can end in '\n'. 163 const char *vendor, const char *model, 250 * Only allow: [vendor=foo[,model=bar]]options=stuff 257 if (vendor == NULL) { 261 strneq(vendor, vendor_in, strlen(vendor_in)) && 265 * Matched vendor and optionally model. 481 udev_util_encode_string(dev_scsi->vendor, vendor_enc_str, sizeof(vendor_enc_str)); 484 util_replace_whitespace(dev_scsi->vendor, vendor_st 162 get_file_options(struct udev *udev, const char *vendor, const char *model, int *argc, char ***newargv) argument [all...] |
H A D | scsi_serial.c | 436 * If the vendor id appears in the page assume the page is 439 if (strneq((char *)&buffer[VENDOR_LENGTH], dev_scsi->vendor, VENDOR_LENGTH)) { 448 * The caller checks that serial is long enough to include the vendor + 456 strncpy(serial, dev_scsi->vendor, VENDOR_LENGTH); 546 * For SCSI_ID_VENDOR_SPECIFIC prepend the vendor and model before 548 * this differs from SCSI_ID_T10_VENDOR, where the vendor is 791 * Prepend 'S' to avoid unlikely collision with page 0x83 vendor 792 * specific type where we prepend '0' + vendor + model. 839 memcpy(dev_scsi->vendor, buf + 8, 8); 840 dev_scsi->vendor[ [all...] |
/systemd/src/boot/efi/ |
H A D | util.h | 35 EFI_STATUS efivar_set_raw(const EFI_GUID *vendor, CHAR16 *name, CHAR8 *buf, UINTN size, BOOLEAN persistent); 40 EFI_STATUS efivar_get_raw(const EFI_GUID *vendor, CHAR16 *name, CHAR8 **buffer, UINTN *size);
|
H A D | util.c | 23 * the (ESP)\loader\entries\<vendor>-<revision>.conf convention and the 95 EFI_STATUS efivar_set_raw(const EFI_GUID *vendor, CHAR16 *name, CHAR8 *buf, UINTN size, BOOLEAN persistent) { argument 102 return uefi_call_wrapper(RT->SetVariable, 5, name, (EFI_GUID *)vendor, flags, size, buf); 148 EFI_STATUS efivar_get_raw(const EFI_GUID *vendor, CHAR16 *name, CHAR8 **buffer, UINTN *size) { argument 158 err = uefi_call_wrapper(RT->GetVariable, 5, name, (EFI_GUID *)vendor, NULL, &l, buf);
|
/systemd/test/ |
H A D | udev-test.pl | 49 SUBSYSTEMS=="scsi", ATTRS{vendor}=="ATA", SYMLINK+="boot_disk%n" 58 SUBSYSTEMS=="scsi", ATTRS{vendor}=="ATA", SYMLINK+="boot_disk%n" 67 SUBSYSTEMS=="scsi", ATTRS{vendor}=="ATA", SYMLINK+="boot_disk%n" 76 SUBSYSTEMS=="scsi", ATTRS{vendor}=="ATA", SYMLINK+="boot_disk%n" 84 SUBSYSTEMS=="scsi", ATTRS{vendor}=="?ATA", SYMLINK+="boot_disk%n-1" 85 SUBSYSTEMS=="scsi", ATTRS{vendor}=="ATA?", SYMLINK+="boot_disk%n-2" 86 SUBSYSTEMS=="scsi", ATTRS{vendor}=="A??", SYMLINK+="boot_disk%n" 87 SUBSYSTEMS=="scsi", ATTRS{vendor}=="ATAS", SYMLINK+="boot_disk%n-3" 95 SUBSYSTEMS=="scsi", ATTRS{vendor}=="ATA", ATTRS{model}=="ST910021AS X ", SYMLINK+="boot_diskX%n" 96 SUBSYSTEMS=="scsi", ATTRS{vendor} [all...] |
/systemd/src/basic/ |
H A D | virt.c | 159 const char *vendor; member in struct:__anon33 188 if (startswith(s, dmi_vendor_table[j].vendor))
|
/systemd/src/network/ |
H A D | networkctl.c | 259 /* IEEE Organizationally Unique Identifier vendor string */ 512 const char *driver = NULL, *path = NULL, *vendor = NULL, *model = NULL, *link = NULL; local 592 r = sd_device_get_property_value(d, "ID_VENDOR_FROM_DATABASE", &vendor); 594 (void) sd_device_get_property_value(d, "ID_VENDOR", &vendor); 624 if (vendor) 625 printf(" Vendor: %s\n", vendor);
|