/drivers/usb/core/ |
H A D | otg_whitelist.h | 51 struct usb_device_id *id = whitelist_table; local 65 for (id = whitelist_table; id->match_flags; id++) { 66 if ((id->match_flags & USB_DEVICE_ID_MATCH_VENDOR) && 67 id->idVendor != le16_to_cpu(dev->descriptor.idVendor)) 70 if ((id->match_flags & USB_DEVICE_ID_MATCH_PRODUCT) && 71 id->idProduct != le16_to_cpu(dev->descriptor.idProduct)) 74 /* No need to test id->bcdDevice_lo != 0, since 0 is never 76 if ((id [all...] |
/drivers/i2c/busses/ |
H A D | i2c-sh7760.c | 115 struct cami2c *id = ptr; local 116 struct i2c_msg *msg = id->msg; 120 msr = IN32(id, I2CMSR); 121 fsr = IN32(id, I2CFSR); 125 OUT32(id, I2CMCR, 0); 126 OUT32(id, I2CSCR, 0); 127 OUT32(id, I2CSAR, 0); 128 id->status |= IDS_DONE | IDS_ARBLOST; 140 OUT32(id, I2CFCR, FCR_RFRST | FCR_TFRST); 141 OUT32(id, I2CMC 241 sh7760_i2c_mrecv(struct cami2c *id) argument 267 sh7760_i2c_msend(struct cami2c *id) argument 299 sh7760_i2c_busy_check(struct cami2c *id) argument 308 struct cami2c *id = adap->algo_data; local 437 struct cami2c *id; local 541 struct cami2c *id = platform_get_drvdata(pdev); local [all...] |
/drivers/iommu/ |
H A D | intr_remapping.h | 5 unsigned int id; member in struct:ioapic_scope 12 u8 id; member in struct:hpet_scope
|
/drivers/rapidio/ |
H A D | rio-driver.c | 21 * rio_match_device - Tell if a RIO device has a matching RIO device id structure 22 * @id: the RIO device id structure to match against 26 * matches a device id structure provided by a RIO driver. Returns the 30 *id, 33 while (id->vid || id->asm_vid) { 34 if (((id->vid == RIO_ANY_ID) || (id->vid == rdev->vid)) && 35 ((id 29 rio_match_device(const struct rio_device_id *id, const struct rio_dev *rdev) argument 91 const struct rio_device_id *id; local 181 const struct rio_device_id *id = rdrv->id_table; local [all...] |
/drivers/tc/ |
H A D | tc-driver.c | 62 const struct tc_device_id *id = tdrv->id_table; local 64 if (id) { 65 while (id->name[0] || id->vendor[0]) { 66 if (strcmp(tdev->name, id->name) == 0 && 67 strcmp(tdev->vendor, id->vendor) == 0) 68 return id; 69 id++; 90 const struct tc_device_id *id; local 92 id [all...] |
/drivers/scsi/libsas/ |
H A D | sas_dump.c | 63 SAS_DPRINTK("port%d: class:0x%x\n", port->id, port->class); 64 SAS_DPRINTK("port%d: sas_addr:%llx\n", port->id, 66 SAS_DPRINTK("port%d: attached_sas_addr:%llx\n", port->id, 68 SAS_DPRINTK("port%d: iproto:0x%x\n", port->id, port->iproto); 69 SAS_DPRINTK("port%d: tproto:0x%x\n", port->id, port->tproto); 70 SAS_DPRINTK("port%d: oob_mode:0x%x\n", port->id, port->oob_mode); 71 SAS_DPRINTK("port%d: num_phys:%d\n", port->id, port->num_phys);
|
/drivers/pnp/isapnp/ |
H A D | compat.c | 26 char id[8]; local 30 pnp_convert_id(id, vendor, device); 38 if (compare_pnp_id(card->id, id) || (memcmp(id, any, 7) == 0)) 48 char id[8]; local 51 pnp_convert_id(id, vendor, function); 63 if (compare_pnp_id(dev->id, id) || 64 (memcmp(id, an [all...] |
/drivers/video/via/ |
H A D | via_aux_vt1631.c | 37 /* check vendor id and device id */ 38 const u8 id[] = {0x06, 0x11, 0x91, 0x31}, len = ARRAY_SIZE(id); local 41 if (!via_aux_read(&drv, 0x00, tmp, len) || memcmp(id, tmp, len))
|
H A D | via_aux_vt1636.c | 37 /* check vendor id and device id */ 38 const u8 id[] = {0x06, 0x11, 0x45, 0x33}, len = ARRAY_SIZE(id); local 41 if (!via_aux_read(&drv, 0x00, tmp, len) || memcmp(id, tmp, len))
|
/drivers/macintosh/ |
H A D | adbhid.c | 211 int id; member in struct:adbhid 236 static void init_trackpad(int id); 237 static void init_trackball(int id); 238 static void init_turbomouse(int id); 239 static void init_microspeed(int id); 240 static void init_ms_a3(int id); 267 int id = (data[0] >> 4) & 0x0f; local 269 if (!adbhid[id]) { 271 id, data[0], data[1], data[2], data[3]); 278 adbhid_input_keycode(id, dat 284 adbhid_input_keycode(int id, int scancode, int repeat) argument 407 int id = (data[0] >> 4) & 0x0f; local 505 int id = (data[0] >> 4) & 0x0f; local 753 adbhid_input_register(int id, int default_id, int original_handler_id, int current_handler_id, int mouse_kind) argument 916 adbhid_input_unregister(int id) argument 926 adbhid_input_reregister(int id, int default_id, int org_handler_id, int cur_handler_id, int mk) argument 963 int id = keyboard_ids.id[i]; local 990 int id = buttons_ids.id[i]; local 1000 int id = mouse_ids.id[i]; local 1090 init_trackpad(int id) argument 1144 init_trackball(int id) argument 1176 init_turbomouse(int id) argument 1212 init_microspeed(int id) argument 1252 init_ms_a3(int id) argument [all...] |
/drivers/s390/cio/ |
H A D | idset.h | 20 void idset_sch_add(struct idset *set, struct subchannel_id id); 21 void idset_sch_del(struct idset *set, struct subchannel_id id); 22 int idset_sch_contains(struct idset *set, struct subchannel_id id); 23 int idset_sch_get_first(struct idset *set, struct subchannel_id *id);
|
/drivers/dio/ |
H A D | dio-driver.c | 19 * dio_match_device - Tell if a DIO device structure has a matching DIO device id structure 20 * @ids: array of DIO device id structures to search in 32 while (ids->id) { 33 if (ids->id == DIO_WILDCARD) 35 if (DIO_NEEDSSECID(ids->id & 0xff)) { 36 if (ids->id == d->id) 39 if ((ids->id & 0xff) == (d->id & 0xff)) 54 const struct dio_device_id *id; local [all...] |
/drivers/media/video/pvrusb2/ |
H A D | pvrusb2-std.h | 38 v4l2_std_id id); 44 v4l2_std_id id);
|
/drivers/staging/vme/devices/ |
H A D | vme_pio2_cntr.c | 24 static int pio2_cntr_irq_set(struct pio2_card *card, int id) argument 29 data = PIO2_CNTR_SC_DEV[id] | PIO2_CNTR_RW_BOTH | card->cntr[id].mode; 30 retval = vme_master_write(card->window, &data, 1, PIO2_CNTR_CTRL[id]); 34 data = card->cntr[id].count & 0xFF; 35 retval = vme_master_write(card->window, &data, 1, PIO2_CNTR_DATA[id]); 39 data = (card->cntr[id].count >> 8) & 0xFF; 40 retval = vme_master_write(card->window, &data, 1, PIO2_CNTR_DATA[id]);
|
/drivers/zorro/ |
H A D | zorro-driver.c | 20 * Zorro device id structure 21 * @ids: array of Zorro device id structures to search in 33 while (ids->id) { 34 if (ids->id == ZORRO_WILDCARD || ids->id == z->id) 50 const struct zorro_device_id *id; local 52 id = zorro_match_device(drv->id_table, z); 53 if (id) 54 error = drv->probe(z, id); [all...] |
/drivers/leds/ |
H A D | leds-da903x.c | 40 int id; member in struct:da903x_led 44 #define DA9030_LED_OFFSET(id) ((id) - DA9030_ID_LED_1) 45 #define DA9034_LED_OFFSET(id) ((id) - DA9034_ID_LED_1) 53 switch (led->id) { 59 offset = DA9030_LED_OFFSET(led->id); 72 offset = DA9034_LED_OFFSET(led->id); 98 int id, ret; local 103 id [all...] |
/drivers/pnp/ |
H A D | driver.c | 2 * driver.c - device id matching, driver model, etc. 28 int compare_pnp_id(struct pnp_id *pos, const char *id) argument 30 if (!pos || !id || (strlen(id) != 7)) 32 if (memcmp(id, "ANYDEVS", 7) == 0) 35 if (memcmp(pos->id, id, 3) == 0) 36 if (compare_func(pos->id, id) == 1) 51 while (*drv_id->id) { 242 pnp_add_id(struct pnp_dev *dev, const char *id) argument [all...] |
/drivers/hwmon/ |
H A D | hwmon.c | 44 int id; local 46 id = ida_simple_get(&hwmon_ida, 0, 0, GFP_KERNEL); 47 if (id < 0) 48 return ERR_PTR(id); 51 HWMON_ID_FORMAT, id); 54 ida_simple_remove(&hwmon_ida, id); 67 int id; local 69 if (likely(sscanf(dev_name(dev), HWMON_ID_FORMAT, &id) == 1)) { 71 ida_simple_remove(&hwmon_ida, id);
|
/drivers/regulator/ |
H A D | mc13xxx-regulator-core.c | 35 int id = rdev_get_id(rdev); local 38 dev_dbg(rdev_get_dev(rdev), "%s id: %d\n", __func__, id); local 41 ret = mc13xxx_reg_rmw(priv->mc13xxx, mc13xxx_regulators[id].reg, 42 mc13xxx_regulators[id].enable_bit, 43 mc13xxx_regulators[id].enable_bit); 53 int id = rdev_get_id(rdev); local 56 dev_dbg(rdev_get_dev(rdev), "%s id: %d\n", __func__, id); local 59 ret = mc13xxx_reg_rmw(priv->mc13xxx, mc13xxx_regulators[id] 70 int ret, id = rdev_get_id(rdev); local 86 int id = rdev_get_id(rdev); local 137 int value, id = rdev_get_id(rdev); local 141 __func__, id, min_uV, max_uV); local 162 int ret, id = rdev_get_id(rdev); local 165 dev_dbg(rdev_get_dev(rdev), "%s id: %d\\n", __func__, id); local 178 dev_dbg(rdev_get_dev(rdev), "%s id: %d val: %d\\n", __func__, id, val); local 200 int id = rdev_get_id(rdev); local 203 __func__, id, min_uV, max_uV); local 217 int id = rdev_get_id(rdev); local 219 dev_dbg(rdev_get_dev(rdev), "%s id: %d\\n", __func__, id); local [all...] |
H A D | tps65912-regulator.c | 122 static int tps65912_get_range(struct tps65912_reg *pmic, int id) argument 127 switch (id) { 148 pmic->dcdc_range[id] = range; 202 static int tps65912_get_ctrl_register(int id) argument 204 if (id >= TPS65912_REG_DCDC1 && id <= TPS65912_REG_LDO4) 205 return id * 3 + TPS65912_DCDC1_AVS; 206 else if (id >= TPS65912_REG_LDO5 && id <= TPS65912_REG_LDO10) 207 return id 212 tps65912_get_sel_register(struct tps65912_reg *pmic, int id) argument 233 tps65912_get_mode_regiters(struct tps65912_reg *pmic, int id) argument 263 int reg, value, id = rdev_get_id(dev); local 283 int id = rdev_get_id(dev); local 300 int id = rdev_get_id(dev), reg; local 313 int pwm_mode, eco, id = rdev_get_id(dev); local 355 int pwm_mode, eco, mode = 0, id = rdev_get_id(dev); local 379 int range, voltage = 0, id = rdev_get_id(dev); local 411 int id = rdev_get_id(dev); local 429 int id = rdev_get_id(dev); local 443 int id = rdev_get_id(dev); local [all...] |
/drivers/w1/ |
H A D | w1_netlink.h | 46 __u8 id[8]; member in union:w1_netlink_msg::__anon5950 48 __u32 id; member in struct:w1_netlink_msg::__anon5950::w1_mst 51 } id; member in struct:w1_netlink_msg
|
/drivers/xen/xen-pciback/ |
H A D | conf_space_quirks.c | 16 match_one_device(const struct pci_device_id *id, const struct pci_dev *dev) argument 18 if ((id->vendor == PCI_ANY_ID || id->vendor == dev->vendor) && 19 (id->device == PCI_ANY_ID || id->device == dev->device) && 20 (id->subvendor == PCI_ANY_ID || 21 id->subvendor == dev->subsystem_vendor) && 22 (id->subdevice == PCI_ANY_ID || 23 id->subdevice == dev->subsystem_device) && 24 !((id [all...] |
/drivers/connector/ |
H A D | cn_queue.c | 36 struct cb_id *id, 52 snprintf(cbq->id.name, sizeof(cbq->id.name), "%s", name); 53 memcpy(&cbq->id.id, id, sizeof(struct cb_id)); 73 struct cb_id *id, 79 cbq = cn_queue_alloc_callback_entry(dev, name, id, callback); 85 if (cn_cb_equal(&__cbq->id.id, i 35 cn_queue_alloc_callback_entry(struct cn_queue_dev *dev, const char *name, struct cb_id *id, void (*callback)(struct cn_msg *, struct netlink_skb_parms *)) argument 72 cn_queue_add_callback(struct cn_queue_dev *dev, const char *name, struct cb_id *id, void (*callback)(struct cn_msg *, struct netlink_skb_parms *)) argument 105 cn_queue_del_callback(struct cn_queue_dev *dev, struct cb_id *id) argument [all...] |
/drivers/pci/ |
H A D | search.c | 184 struct pci_device_id *id = data; local 186 if (pci_match_one_device(id, pdev)) 192 * pci_get_dev_by_id - begin or continue searching for a PCI device by id 193 * @id: pointer to struct pci_device_id to match for the device 197 * with a matching id a pointer to its device structure is returned, and the 207 static struct pci_dev *pci_get_dev_by_id(const struct pci_device_id *id, argument 217 dev = bus_find_device(&pci_bus_type, dev_start, (void *)id, 227 * pci_get_subsys - begin or continue searching for a PCI device by vendor/subvendor/device/subdevice id 228 * @vendor: PCI vendor id to match, or %PCI_ANY_ID to match all vendor ids 229 * @device: PCI device id t 247 struct pci_device_id *id; local 309 struct pci_device_id *id; local [all...] |
/drivers/ide/ |
H A D | ide-iops.c | 48 void ide_fix_driveid(u16 *id) argument 55 id[i] = __le16_to_cpu(id[i]); 189 * @id: drive identifier 196 int ide_in_drive_list(u16 *id, const struct drive_list_entry *table) argument 199 if ((!strcmp(table->id_model, (char *)&id[ATA_ID_PROD])) && 201 strstr((char *)&id[ATA_ID_FW_REV], table->id_firmware))) 231 u16 *id = drive->id; local 232 int ivb = ide_in_drive_list(id, ivb_lis 312 u16 *id; local 347 u16 *id = drive->id, i; local [all...] |