/drivers/char/tpm/ |
D | tpm_tis.c | 114 unsigned long stop = jiffies + chip->vendor.timeout_a; in wait_startup() 116 if (ioread8(chip->vendor.iobase + TPM_ACCESS(l)) & in wait_startup() 126 if ((ioread8(chip->vendor.iobase + TPM_ACCESS(l)) & in check_locality() 129 return chip->vendor.locality = l; in check_locality() 136 if (force || (ioread8(chip->vendor.iobase + TPM_ACCESS(l)) & in release_locality() 140 chip->vendor.iobase + TPM_ACCESS(l)); in release_locality() 152 chip->vendor.iobase + TPM_ACCESS(l)); in request_locality() 154 stop = jiffies + chip->vendor.timeout_a; in request_locality() 156 if (chip->vendor.irq) { in request_locality() 161 rc = wait_event_interruptible_timeout(chip->vendor.int_queue, in request_locality() [all …]
|
D | tpm_atmel.c | 50 status = ioread8(chip->vendor.iobase + 1); in tpm_atml_recv() 55 *buf++ = ioread8(chip->vendor.iobase); in tpm_atml_recv() 66 status = ioread8(chip->vendor.iobase + 1); in tpm_atml_recv() 77 status = ioread8(chip->vendor.iobase + 1); in tpm_atml_recv() 82 *buf++ = ioread8(chip->vendor.iobase); in tpm_atml_recv() 86 status = ioread8(chip->vendor.iobase + 1); in tpm_atml_recv() 103 iowrite8(buf[i], chip->vendor.iobase); in tpm_atml_send() 111 iowrite8(ATML_STATUS_ABORT, chip->vendor.iobase + 1); in tpm_atml_cancel() 116 return ioread8(chip->vendor.iobase + 1); in tpm_atml_status() 141 if (chip->vendor.have_region) in atml_plat_remove() [all …]
|
D | tpm_i2c_nuvoton.c | 145 unsigned long stop = jiffies + chip->vendor.timeout_d; in i2c_nuvoton_get_burstcount() 179 if (chip->vendor.irq && queue) { in i2c_nuvoton_wait_for_stat() 181 struct priv_data *priv = chip->vendor.priv; in i2c_nuvoton_wait_for_stat() 184 enable_irq(chip->vendor.irq); in i2c_nuvoton_wait_for_stat() 239 chip->vendor.timeout_c, in i2c_nuvoton_recv_data() 240 &chip->vendor.read_queue) == 0) { in i2c_nuvoton_recv_data() 288 chip, chip->vendor.timeout_c, &chip->vendor.read_queue); in i2c_nuvoton_recv() 328 TPM_STS_VALID, chip->vendor.timeout_c, in i2c_nuvoton_recv() 360 chip->vendor.timeout_b, NULL)) { in i2c_nuvoton_send() 392 chip->vendor.timeout_c, in i2c_nuvoton_send() [all …]
|
D | tpm_i2c_infineon.c | 291 chip->vendor.locality = loc; in check_locality() 323 stop = jiffies + chip->vendor.timeout_a; in request_locality() 340 if (iic_tpm_read(TPM_STS(chip->vendor.locality), &buf, 1) < 0) in tpm_tis_i2c_status() 354 iic_tpm_write_long(TPM_STS(chip->vendor.locality), &buf, 1); in tpm_tis_i2c_ready() 365 stop = jiffies + chip->vendor.timeout_d; in get_burstcount() 368 if (iic_tpm_read(TPM_STS(chip->vendor.locality)+1, buf, 3) < 0) in get_burstcount() 422 rc = iic_tpm_read(TPM_DATA_FIFO(chip->vendor.locality), in recv_data() 467 wait_for_stat(chip, TPM_STS_VALID, chip->vendor.timeout_c, &status); in tpm_tis_i2c_recv() 480 release_locality(chip, chip->vendor.locality, 0); in tpm_tis_i2c_recv() 503 chip->vendor.timeout_b, &status) < 0) { in tpm_tis_i2c_send() [all …]
|
D | tpm_nsc.c | 75 *data = inb(chip->vendor.base + NSC_STATUS); in wait_for_stat() 83 *data = inb(chip->vendor.base + 1); in wait_for_stat() 98 status = inb(chip->vendor.base + NSC_STATUS); in nsc_wait_for_ready() 100 status = inb(chip->vendor.base + NSC_DATA); in nsc_wait_for_ready() 108 status = inb(chip->vendor.base + NSC_STATUS); in nsc_wait_for_ready() 110 status = inb(chip->vendor.base + NSC_DATA); in nsc_wait_for_ready() 136 inb(chip->vendor.base + NSC_DATA)) != NSC_COMMAND_NORMAL) { in tpm_nsc_recv() 152 *p = inb(chip->vendor.base + NSC_DATA); in tpm_nsc_recv() 160 if ((data = inb(chip->vendor.base + NSC_DATA)) != NSC_COMMAND_EOC) { in tpm_nsc_recv() 186 outb(NSC_COMMAND_CANCEL, chip->vendor.base + NSC_COMMAND); in tpm_nsc_send() [all …]
|
D | tpm-dev.c | 59 vendor.miscdev); in tpm_open() 189 chip->vendor.miscdev.fops = &tpm_fops; in tpm_dev_add_device() 191 chip->vendor.miscdev.minor = TPM_MINOR; in tpm_dev_add_device() 193 chip->vendor.miscdev.minor = MISC_DYNAMIC_MINOR; in tpm_dev_add_device() 195 chip->vendor.miscdev.name = chip->devname; in tpm_dev_add_device() 196 chip->vendor.miscdev.parent = chip->dev; in tpm_dev_add_device() 198 rc = misc_register(&chip->vendor.miscdev); in tpm_dev_add_device() 200 chip->vendor.miscdev.name = NULL; in tpm_dev_add_device() 203 chip->vendor.miscdev.name, in tpm_dev_add_device() 204 chip->vendor.miscdev.minor, rc); in tpm_dev_add_device() [all …]
|
D | tpm_i2c_stm_st33.c | 223 if (chip->vendor.irq) in tpm_stm_i2c_cancel() 224 wait_for_serirq_timeout(chip, 1, chip->vendor.timeout_a); in tpm_stm_i2c_cancel() 260 return chip->vendor.locality; in check_locality() 280 if (check_locality(chip) == chip->vendor.locality) in request_locality() 281 return chip->vendor.locality; in request_locality() 288 if (chip->vendor.irq) { in request_locality() 291 chip->vendor.timeout_a); in request_locality() 293 return chip->vendor.locality; in request_locality() 295 stop = jiffies + chip->vendor.timeout_a; in request_locality() 298 return chip->vendor.locality; in request_locality() [all …]
|
D | tpm_i2c_atmel.c | 54 struct priv_data *priv = chip->vendor.priv; in i2c_atmel_send() 73 struct priv_data *priv = chip->vendor.priv; in i2c_atmel_recv() 114 struct priv_data *priv = chip->vendor.priv; in i2c_atmel_read_status() 169 chip->vendor.priv = devm_kzalloc(dev, sizeof(struct priv_data), in i2c_atmel_probe() 171 if (!chip->vendor.priv) { in i2c_atmel_probe() 177 chip->vendor.timeout_a = msecs_to_jiffies(TPM_I2C_SHORT_TIMEOUT); in i2c_atmel_probe() 178 chip->vendor.timeout_b = msecs_to_jiffies(TPM_I2C_LONG_TIMEOUT); in i2c_atmel_probe() 179 chip->vendor.timeout_c = msecs_to_jiffies(TPM_I2C_SHORT_TIMEOUT); in i2c_atmel_probe() 180 chip->vendor.timeout_d = msecs_to_jiffies(TPM_I2C_SHORT_TIMEOUT); in i2c_atmel_probe() 181 chip->vendor.irq = 0; in i2c_atmel_probe()
|
/drivers/scsi/ |
D | scsi_devinfo.c | 22 char vendor[8]; member 51 char *vendor; member 329 static int scsi_dev_info_list_add(int compatible, char *vendor, char *model, in scsi_dev_info_list_add() argument 332 return scsi_dev_info_list_add_keyed(compatible, vendor, model, in scsi_dev_info_list_add() 355 int scsi_dev_info_list_add_keyed(int compatible, char *vendor, char *model, in scsi_dev_info_list_add_keyed() argument 371 scsi_strcpy_devinfo("vendor", devinfo->vendor, sizeof(devinfo->vendor), in scsi_dev_info_list_add_keyed() 372 vendor, compatible); in scsi_dev_info_list_add_keyed() 406 int scsi_dev_info_list_del_keyed(char *vendor, char *model, int key) in scsi_dev_info_list_del_keyed() argument 431 while ((max > 0) && *vendor == ' ') { in scsi_dev_info_list_del_keyed() 433 vendor++; in scsi_dev_info_list_del_keyed() [all …]
|
D | sr_vendor.c | 69 cd->vendor = VENDOR_SCSI3; in sr_vendor_init() 71 const char *vendor = cd->device->vendor; in sr_vendor_init() 75 cd->vendor = VENDOR_SCSI3; in sr_vendor_init() 81 cd->vendor = VENDOR_WRITER; in sr_vendor_init() 83 } else if (!strncmp(vendor, "NEC", 3)) { in sr_vendor_init() 84 cd->vendor = VENDOR_NEC; in sr_vendor_init() 98 } else if (!strncmp(vendor, "TOSHIBA", 7)) { in sr_vendor_init() 99 cd->vendor = VENDOR_TOSHIBA; in sr_vendor_init() 117 if (cd->vendor == VENDOR_TOSHIBA) in sr_set_blocklength() 179 switch (cd->vendor) { in sr_cd_check() [all …]
|
/drivers/char/agp/ |
D | sis-agp.c | 193 pdev->vendor, pdev->device); in agp_sis_probe() 244 .vendor = PCI_VENDOR_ID_SI, 252 .vendor = PCI_VENDOR_ID_SI, 260 .vendor = PCI_VENDOR_ID_SI, 268 .vendor = PCI_VENDOR_ID_SI, 276 .vendor = PCI_VENDOR_ID_SI, 284 .vendor = PCI_VENDOR_ID_SI, 292 .vendor = PCI_VENDOR_ID_SI, 300 .vendor = PCI_VENDOR_ID_SI, 308 .vendor = PCI_VENDOR_ID_SI, [all …]
|
D | amd64-agp.c | 533 if (pdev->vendor == PCI_VENDOR_ID_AMD && in agp_amd64_probe() 538 pdev->vendor, pdev->device); in agp_amd64_probe() 553 if (pdev->vendor == PCI_VENDOR_ID_NVIDIA) { in agp_amd64_probe() 561 if (pdev->vendor == PCI_VENDOR_ID_AL) { in agp_amd64_probe() 605 if (pdev->vendor == PCI_VENDOR_ID_NVIDIA) in agp_amd64_resume() 617 .vendor = PCI_VENDOR_ID_AMD, 626 .vendor = PCI_VENDOR_ID_AL, 635 .vendor = PCI_VENDOR_ID_VIA, 644 .vendor = PCI_VENDOR_ID_VIA, 653 .vendor = PCI_VENDOR_ID_VIA, [all …]
|
/drivers/media/pci/saa7134/ |
D | saa7134-cards.c | 5863 .vendor = PCI_VENDOR_ID_PHILIPS, 5869 .vendor = PCI_VENDOR_ID_PHILIPS, 5875 .vendor = PCI_VENDOR_ID_PHILIPS, 5881 .vendor = PCI_VENDOR_ID_PHILIPS, 5887 .vendor = PCI_VENDOR_ID_PHILIPS, 5893 .vendor = PCI_VENDOR_ID_PHILIPS, 5899 .vendor = PCI_VENDOR_ID_PHILIPS, 5905 .vendor = PCI_VENDOR_ID_PHILIPS, 5911 .vendor = PCI_VENDOR_ID_PHILIPS, 5917 .vendor = PCI_VENDOR_ID_PHILIPS, [all …]
|
/drivers/xen/ |
D | efi.c | 118 efi_guid_t *vendor, in xen_efi_get_variable() argument 126 BUILD_BUG_ON(sizeof(*vendor) != in xen_efi_get_variable() 128 memcpy(&efi_data(op).u.get_variable.vendor_guid, vendor, sizeof(*vendor)); in xen_efi_get_variable() 144 efi_guid_t *vendor) in xen_efi_get_next_variable() argument 150 BUILD_BUG_ON(sizeof(*vendor) != in xen_efi_get_next_variable() 152 memcpy(&efi_data(op).u.get_next_variable_name.vendor_guid, vendor, in xen_efi_get_next_variable() 153 sizeof(*vendor)); in xen_efi_get_next_variable() 159 memcpy(vendor, &efi_data(op).u.get_next_variable_name.vendor_guid, in xen_efi_get_next_variable() 160 sizeof(*vendor)); in xen_efi_get_next_variable() 166 efi_guid_t *vendor, in xen_efi_set_variable() argument [all …]
|
/drivers/mmc/host/ |
D | sdhci-pci.c | 650 .vendor = PCI_VENDOR_ID_RICOH, 658 .vendor = PCI_VENDOR_ID_RICOH, 666 .vendor = PCI_VENDOR_ID_RICOH, 674 .vendor = PCI_VENDOR_ID_RICOH, 682 .vendor = PCI_VENDOR_ID_ENE, 690 .vendor = PCI_VENDOR_ID_ENE, 698 .vendor = PCI_VENDOR_ID_ENE, 706 .vendor = PCI_VENDOR_ID_ENE, 714 .vendor = PCI_VENDOR_ID_MARVELL, 722 .vendor = PCI_VENDOR_ID_JMICRON, [all …]
|
/drivers/usb/host/ |
D | xhci-pci.c | 81 if (pdev->vendor == PCI_VENDOR_ID_FRESCO_LOGIC && in xhci_pci_quirks() 113 if (pdev->vendor == PCI_VENDOR_ID_FRESCO_LOGIC && in xhci_pci_quirks() 117 if (pdev->vendor == PCI_VENDOR_ID_NEC) in xhci_pci_quirks() 120 if (pdev->vendor == PCI_VENDOR_ID_AMD && xhci->hci_version == 0x96) in xhci_pci_quirks() 124 if (pdev->vendor == PCI_VENDOR_ID_AMD && usb_amd_find_chipset_info()) in xhci_pci_quirks() 127 if (pdev->vendor == PCI_VENDOR_ID_AMD) in xhci_pci_quirks() 130 if (pdev->vendor == PCI_VENDOR_ID_INTEL) { in xhci_pci_quirks() 135 if (pdev->vendor == PCI_VENDOR_ID_INTEL && in xhci_pci_quirks() 150 if (pdev->vendor == PCI_VENDOR_ID_INTEL && in xhci_pci_quirks() 156 if (pdev->vendor == PCI_VENDOR_ID_INTEL && in xhci_pci_quirks() [all …]
|
/drivers/pnp/isapnp/ |
D | compat.c | 12 static void pnp_convert_id(char *buf, unsigned short vendor, in pnp_convert_id() argument 16 'A' + ((vendor >> 2) & 0x3f) - 1, in pnp_convert_id() 17 'A' + (((vendor & 3) << 3) | ((vendor >> 13) & 7)) - 1, in pnp_convert_id() 18 'A' + ((vendor >> 8) & 0x1f) - 1, in pnp_convert_id() 23 struct pnp_card *pnp_find_card(unsigned short vendor, unsigned short device, in pnp_find_card() argument 30 pnp_convert_id(id, vendor, device); in pnp_find_card() 45 struct pnp_dev *pnp_find_dev(struct pnp_card *card, unsigned short vendor, in pnp_find_dev() argument 51 pnp_convert_id(id, vendor, function); in pnp_find_dev()
|
/drivers/acpi/acpica/ |
D | rsmemory.c | 157 {ACPI_RSC_COUNT16, ACPI_RS_OFFSET(data.vendor.byte_length), 163 {ACPI_RSC_MOVE8, ACPI_RS_OFFSET(data.vendor.byte_data[0]), 181 {ACPI_RSC_COUNT16, ACPI_RS_OFFSET(data.vendor.byte_length), 187 {ACPI_RSC_MOVE8, ACPI_RS_OFFSET(data.vendor.byte_data[0]), 207 {ACPI_RSC_COUNT16, ACPI_RS_OFFSET(data.vendor.byte_length), 211 {ACPI_RSC_MOVE8, ACPI_RS_OFFSET(data.vendor.byte_data[0]), 227 {ACPI_RSC_COUNT16, ACPI_RS_OFFSET(data.vendor.byte_length), 231 {ACPI_RSC_MOVE8, ACPI_RS_OFFSET(data.vendor.byte_data[0]),
|
/drivers/usb/serial/ |
D | usb-serial-simple.c | 23 #define DEVICE_N(vendor, IDS, nport) \ argument 24 static const struct usb_device_id vendor##_id_table[] = { \ 28 static struct usb_serial_driver vendor##_device = { \ 31 .name = #vendor, \ 33 .id_table = vendor##_id_table, \ 37 #define DEVICE(vendor, IDS) DEVICE_N(vendor, IDS, 1) argument
|
/drivers/net/wireless/b43/ |
D | sdio.c | 32 u16 vendor; member 41 static unsigned int b43_sdio_get_quirks(u16 vendor, u16 device) in b43_sdio_get_quirks() argument 46 if (vendor == q->vendor && device == q->device) in b43_sdio_get_quirks() 101 u16 vendor = 0, device = 0; in b43_sdio_probe() local 113 vendor = tuple->data[1] | (tuple->data[2]<<8); in b43_sdio_probe() 116 vendor, device); in b43_sdio_probe() 127 if (!vendor || !device) { in b43_sdio_probe() 153 b43_sdio_get_quirks(vendor, device)); in b43_sdio_probe()
|
/drivers/tty/serial/8250/ |
D | 8250_pci.c | 40 u32 vendor; member 74 pci_name(dev), str, dev->vendor, dev->device, in moan_device() 261 if (dev->vendor == PCI_VENDOR_ID_PANACOM || in pci_plx9050_init() 265 if ((dev->vendor == PCI_VENDOR_ID_PLX) && in pci_plx9050_init() 1018 if (dev->vendor == PCI_VENDOR_ID_OXSEMI && in pci_oxsemi_tornado_init() 1603 priv->dev->vendor, priv->dev->device, in skip_tx_en_setup() 1858 .vendor = PCI_VENDOR_ID_AMCC, 1869 .vendor = PCI_VENDOR_ID_AFAVLAB, 1879 .vendor = PCI_VENDOR_ID_HP, 1890 .vendor = PCI_VENDOR_ID_INTEL, [all …]
|
/drivers/uwb/ |
D | est.c | 50 u16 vendor, product; member 256 int uwb_est_register(u8 type, u8 event_high, u16 vendor, u16 product, in uwb_est_register() argument 272 && uwb_est[itr].vendor < vendor in uwb_est_register() 280 uwb_est[itr].vendor = vendor; in uwb_est_register() 305 int uwb_est_unregister(u8 type, u8 event_high, u16 vendor, u16 product, in uwb_est_unregister() argument 312 .vendor = vendor, in uwb_est_unregister() 364 est, est->type_event_high, est->vendor, est->product, in uwb_est_get_size() 372 est, est->type_event_high, est->vendor, est->product, in uwb_est_get_size() 393 est, est->type_event_high, est->vendor, in uwb_est_get_size()
|
/drivers/firmware/efi/ |
D | vars.c | 168 efi_guid_t vendor; member 246 efivar_validate(efi_guid_t vendor, efi_char16_t *var_name, u8 *data, in efivar_validate() argument 265 if (efi_guidcmp(vendor, variable_validate[i].vendor)) in efivar_validate() 282 efivar_variable_is_removable(efi_guid_t vendor, const char *var_name, in efivar_variable_is_removable() argument 293 if (efi_guidcmp(variable_validate[i].vendor, vendor)) in efivar_variable_is_removable() 354 static bool variable_is_present(efi_char16_t *variable_name, efi_guid_t *vendor, in variable_is_present() argument 368 *vendor)) { in variable_is_present() 658 efi_guid_t vendor = entry->var.VendorGuid; in efivar_entry_set() local 662 if (head && efivar_entry_find(name, vendor, head, false)) { in efivar_entry_set() 669 status = ops->set_variable(name, &vendor, in efivar_entry_set() [all …]
|
D | efivars.c | 205 sanity_check(struct efi_variable *var, efi_char16_t *name, efi_guid_t vendor, in sanity_check() argument 213 efi_guidcmp(vendor, var->VendorGuid)) { in sanity_check() 224 efivar_validate(vendor, name, data, size) == false) { in sanity_check() 261 efi_guid_t vendor; in efivar_store_raw() local 274 vendor = compat->VendorGuid; in efivar_store_raw() 279 err = sanity_check(var, name, vendor, size, attributes, data); in efivar_store_raw() 291 vendor = new_var->VendorGuid; in efivar_store_raw() 296 err = sanity_check(var, name, vendor, size, attributes, data); in efivar_store_raw() 492 efi_guid_t vendor; in efivar_delete() local 504 vendor = compat->VendorGuid; in efivar_delete() [all …]
|
/drivers/misc/mic/bus/ |
D | mic_bus.c | 43 return sprintf(buf, "0x%04x\n", dev->id.vendor); in vendor_show() 45 static DEVICE_ATTR_RO(vendor); 52 dev->id.device, dev->id.vendor); in modalias_show() 70 return id->vendor == MBUS_DEV_ANY_ID || id->vendor == dev->id.vendor; in mbus_id_match() 95 dev->id.device, dev->id.vendor); in mbus_uevent() 162 mbdev->id.vendor = MBUS_DEV_ANY_ID; in mbus_register_device()
|