Searched refs:vendor (Results 1 - 25 of 644) sorted by relevance

1234567891011>>

/drivers/char/tpm/
H A Dtpm_tis.c110 unsigned long stop = jiffies + chip->vendor.timeout_a;
112 if (ioread8(chip->vendor.iobase + TPM_ACCESS(l)) &
122 if ((ioread8(chip->vendor.iobase + TPM_ACCESS(l)) &
125 return chip->vendor.locality = l;
132 if (force || (ioread8(chip->vendor.iobase + TPM_ACCESS(l)) &
136 chip->vendor.iobase + TPM_ACCESS(l));
148 chip->vendor.iobase + TPM_ACCESS(l));
150 stop = jiffies + chip->vendor.timeout_a;
152 if (chip->vendor.irq) {
157 rc = wait_event_interruptible_timeout(chip->vendor
420 u16 vendor = ioread16(chip->vendor.iobase + TPM_DID_VID(0)); local
534 u32 vendor, intfcaps, intmask; local
[all...]
H A Dtpm_atmel.c50 status = ioread8(chip->vendor.iobase + 1);
55 *buf++ = ioread8(chip->vendor.iobase);
66 status = ioread8(chip->vendor.iobase + 1);
77 status = ioread8(chip->vendor.iobase + 1);
82 *buf++ = ioread8(chip->vendor.iobase);
86 status = ioread8(chip->vendor.iobase + 1);
103 iowrite8(buf[i], chip->vendor.iobase);
111 iowrite8(ATML_STATUS_ABORT, chip->vendor.iobase + 1);
116 return ioread8(chip->vendor.iobase + 1);
141 if (chip->vendor
[all...]
H A Dtpm_nsc.c75 *data = inb(chip->vendor.base + NSC_STATUS);
83 *data = inb(chip->vendor.base + 1);
98 status = inb(chip->vendor.base + NSC_STATUS);
100 status = inb(chip->vendor.base + NSC_DATA);
108 status = inb(chip->vendor.base + NSC_STATUS);
110 status = inb(chip->vendor.base + NSC_DATA);
136 inb(chip->vendor.base + NSC_DATA)) != NSC_COMMAND_NORMAL) {
152 *p = inb(chip->vendor.base + NSC_DATA);
160 if ((data = inb(chip->vendor.base + NSC_DATA)) != NSC_COMMAND_EOC) {
186 outb(NSC_COMMAND_CANCEL, chip->vendor
[all...]
H A Dtpm_atmel.h29 #define atmel_getb(chip, offset) readb(chip->vendor->iobase + offset);
30 #define atmel_putb(val, chip, offset) writeb(val, chip->vendor->iobase + offset)
81 #define atmel_getb(chip, offset) inb(chip->vendor->base + offset)
82 #define atmel_putb(val, chip, offset) outb(val, chip->vendor->base + offset)
H A Dtpm-dev.c59 vendor.miscdev);
189 chip->vendor.miscdev.fops = &tpm_fops;
191 chip->vendor.miscdev.minor = TPM_MINOR;
193 chip->vendor.miscdev.minor = MISC_DYNAMIC_MINOR;
195 chip->vendor.miscdev.name = chip->devname;
196 chip->vendor.miscdev.parent = chip->dev;
198 rc = misc_register(&chip->vendor.miscdev);
200 chip->vendor.miscdev.name = NULL;
203 chip->vendor.miscdev.name,
204 chip->vendor
[all...]
H A Dtpm_i2c_infineon.c291 chip->vendor.locality = loc;
323 stop = jiffies + chip->vendor.timeout_a;
340 if (iic_tpm_read(TPM_STS(chip->vendor.locality), &buf, 1) < 0)
354 iic_tpm_write_long(TPM_STS(chip->vendor.locality), &buf, 1);
365 stop = jiffies + chip->vendor.timeout_d;
368 if (iic_tpm_read(TPM_STS(chip->vendor.locality)+1, buf, 3) < 0)
422 rc = iic_tpm_read(TPM_DATA_FIFO(chip->vendor.locality),
467 wait_for_stat(chip, TPM_STS_VALID, chip->vendor.timeout_c, &status);
480 release_locality(chip, chip->vendor.locality, 0);
503 chip->vendor
580 u32 vendor; local
[all...]
H A Dtpm_i2c_nuvoton.c145 unsigned long stop = jiffies + chip->vendor.timeout_d;
179 if (chip->vendor.irq && queue) {
181 struct priv_data *priv = chip->vendor.priv;
184 enable_irq(chip->vendor.irq);
239 chip->vendor.timeout_c,
240 &chip->vendor.read_queue) == 0) {
288 chip, chip->vendor.timeout_c, &chip->vendor.read_queue);
328 TPM_STS_VALID, chip->vendor.timeout_c,
344 * If interrupts are used (signaled by an irq set in the vendor structur
[all...]
H A Dtpm-sysfs.c258 if (chip->vendor.duration[TPM_LONG] == 0)
262 jiffies_to_usecs(chip->vendor.duration[TPM_SHORT]),
263 jiffies_to_usecs(chip->vendor.duration[TPM_MEDIUM]),
264 jiffies_to_usecs(chip->vendor.duration[TPM_LONG]),
265 chip->vendor.duration_adjusted
276 jiffies_to_usecs(chip->vendor.timeout_a),
277 jiffies_to_usecs(chip->vendor.timeout_b),
278 jiffies_to_usecs(chip->vendor.timeout_c),
279 jiffies_to_usecs(chip->vendor.timeout_d),
280 chip->vendor
[all...]
/drivers/pnp/isapnp/
H A Dcompat.c12 static void pnp_convert_id(char *buf, unsigned short vendor, argument
16 'A' + ((vendor >> 2) & 0x3f) - 1,
17 'A' + (((vendor & 3) << 3) | ((vendor >> 13) & 7)) - 1,
18 'A' + ((vendor >> 8) & 0x1f) - 1,
23 struct pnp_card *pnp_find_card(unsigned short vendor, unsigned short device, argument
30 pnp_convert_id(id, vendor, device);
45 struct pnp_dev *pnp_find_dev(struct pnp_card *card, unsigned short vendor, argument
51 pnp_convert_id(id, vendor, function);
/drivers/acpi/acpica/
H A Drsmemory.c155 /* Length of the vendor data (byte count) */
157 {ACPI_RSC_COUNT16, ACPI_RS_OFFSET(data.vendor.byte_length),
163 {ACPI_RSC_MOVE8, ACPI_RS_OFFSET(data.vendor.byte_data[0]),
179 /* Length of the vendor data (byte count) */
181 {ACPI_RSC_COUNT16, ACPI_RS_OFFSET(data.vendor.byte_length),
187 {ACPI_RSC_MOVE8, ACPI_RS_OFFSET(data.vendor.byte_data[0]),
199 /* Default is a small vendor descriptor */
207 {ACPI_RSC_COUNT16, ACPI_RS_OFFSET(data.vendor.byte_length),
211 {ACPI_RSC_MOVE8, ACPI_RS_OFFSET(data.vendor.byte_data[0]),
221 /* Must create a large vendor descripto
[all...]
/drivers/usb/serial/
H A Dusb-serial-simple.c23 #define DEVICE_N(vendor, IDS, nport) \
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)
/drivers/char/agp/
H A Dsis-agp.c193 pdev->vendor, pdev->device);
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
[all...]
/drivers/block/
H A Dcciss_scsi.h66 unsigned char vendor[8]; /* bytes 8-15 of inquiry data */ member in struct:cciss_scsi_dev_t
/drivers/input/mouse/
H A Dfocaltech.c39 psmouse->vendor = "FocalTech";
/drivers/pci/
H A Dpci-stub.c26 "\"vendor:device[:subvendor[:subdevice[:class[:class_mask]]]]\""
57 unsigned int vendor, device, subvendor = PCI_ANY_ID, local
65 &vendor, &device, &subvendor, &subdevice,
76 vendor, device, subvendor, subdevice, class, class_mask);
78 rc = pci_add_dynid(&stub_driver, vendor, device,
/drivers/scsi/
H A Dscsi_devinfo.c22 char vendor[8]; member in struct:scsi_dev_info_list
51 char *vendor; member in struct:__anon6144
281 * devinfo vendor and model strings.
312 * @vendor: vendor string
318 * Create and add one dev_info entry for @vendor, @model, @strflags or
325 static int scsi_dev_info_list_add(int compatible, char *vendor, char *model, argument
328 return scsi_dev_info_list_add_keyed(compatible, vendor, model,
336 * @vendor: vendor strin
351 scsi_dev_info_list_add_keyed(int compatible, char *vendor, char *model, char *strflags, int flags, int key) argument
402 scsi_dev_info_list_del_keyed(char *vendor, char *model, int key) argument
489 char *vendor, *model, *strflags, *next; local
538 scsi_get_device_flags(struct scsi_device *sdev, const unsigned char *vendor, const unsigned char *model) argument
560 scsi_get_device_flags_keyed(struct scsi_device *sdev, const unsigned char *vendor, const unsigned char *model, int key) argument
[all...]
H A Dsr_vendor.c3 * vendor-specific code for SCSI CD-ROM's goes here.
69 cd->vendor = VENDOR_SCSI3;
71 const char *vendor = cd->device->vendor;
75 cd->vendor = VENDOR_SCSI3;
81 cd->vendor = VENDOR_WRITER;
83 } else if (!strncmp(vendor, "NEC", 3)) {
84 cd->vendor = VENDOR_NEC;
98 } else if (!strncmp(vendor, "TOSHIBA", 7)) {
99 cd->vendor
[all...]
/drivers/net/wireless/b43/
H A Dsdio.c26 #define HNBU_CHIPID 0x01 /* vendor & device id */
32 u16 vendor; member in struct:b43_sdio_quirk
41 static unsigned int b43_sdio_get_quirks(u16 vendor, u16 device) argument
46 if (vendor == q->vendor && device == q->device)
101 u16 vendor = 0, device = 0; local
113 vendor = tuple->data[1] | (tuple->data[2]<<8);
116 vendor, device);
127 if (!vendor || !device) {
153 b43_sdio_get_quirks(vendor, devic
[all...]
/drivers/usb/host/
H A Dxhci-pci.c66 /* Look for vendor-specific quirks */
67 if (pdev->vendor == PCI_VENDOR_ID_FRESCO_LOGIC &&
97 if (pdev->vendor == PCI_VENDOR_ID_NEC)
100 if (pdev->vendor == PCI_VENDOR_ID_AMD && xhci->hci_version == 0x96)
104 if (pdev->vendor == PCI_VENDOR_ID_AMD && usb_amd_find_chipset_info())
107 if (pdev->vendor == PCI_VENDOR_ID_AMD)
110 if (pdev->vendor == PCI_VENDOR_ID_INTEL) {
114 if (pdev->vendor == PCI_VENDOR_ID_INTEL &&
124 * vendor will change the board name), so we have to key off all
130 if (pdev->vendor
[all...]
/drivers/tc/
H A Dtc-driver.c65 while (id->name[0] || id->vendor[0]) {
67 strcmp(tdev->vendor, id->vendor) == 0)
/drivers/xen/
H A Defi.c118 efi_guid_t *vendor,
126 BUILD_BUG_ON(sizeof(*vendor) !=
128 memcpy(&efi_data(op).u.get_variable.vendor_guid, vendor, sizeof(*vendor));
144 efi_guid_t *vendor)
150 BUILD_BUG_ON(sizeof(*vendor) !=
152 memcpy(&efi_data(op).u.get_next_variable_name.vendor_guid, vendor,
153 sizeof(*vendor));
159 memcpy(vendor, &efi_data(op).u.get_next_variable_name.vendor_guid,
160 sizeof(*vendor));
117 xen_efi_get_variable(efi_char16_t *name, efi_guid_t *vendor, u32 *attr, unsigned long *data_size, void *data) argument
142 xen_efi_get_next_variable(unsigned long *name_size, efi_char16_t *name, efi_guid_t *vendor) argument
165 xen_efi_set_variable(efi_char16_t *name, efi_guid_t *vendor, u32 attr, unsigned long data_size, void *data) argument
[all...]
/drivers/media/usb/go7007/
H A Dgo7007-loader.c21 u16 vendor; member in struct:fw_config
47 u16 vendor, product; local
61 vendor = le16_to_cpu(usbdev->descriptor.idVendor);
65 if (fw_configs[i].vendor == vendor &&
/drivers/xen/xen-pciback/
H A Dconf_space_quirks.c18 if ((id->vendor == PCI_ANY_ID || id->vendor == dev->vendor) &&
103 quirk->devid.vendor = dev->vendor;
/drivers/mmc/host/
H A Dsdhci-pci.c650 .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
[all...]
/drivers/uwb/
H A Dest.c50 u16 vendor, product; member in struct:uwb_est
236 * right position (entries are sorted by type, event_high, vendor and
239 * @vendor: vendor code for matching against the device (0x0000 and
241 * checking possible vendor specific ones, 0xfffff to match
242 * after checking vendor specific ones.
244 * @product: product code from that vendor; same matching rules, use
245 * 0x0000 for not allowing vendor specific matches, 0xffff
249 * table is sorted by growing type-event_high-vendor-product, a zero
250 * vendor wil
256 uwb_est_register(u8 type, u8 event_high, u16 vendor, u16 product, const struct uwb_est_entry *entry, size_t entries) argument
305 uwb_est_unregister(u8 type, u8 event_high, u16 vendor, u16 product, const struct uwb_est_entry *entry, size_t entries) argument
[all...]

Completed in 468 milliseconds

1234567891011>>