/drivers/usb/gadget/ |
H A D | f_sourcesink.c | 193 int id; local 196 id = usb_interface_id(c, f); 197 if (id < 0) 198 return id; 199 source_sink_intf.bInterfaceNumber = id; 562 int id; local 565 id = usb_string_id(cdev); 566 if (id < 0) 567 return id; 568 strings_sourcesink[0].id [all...] |
/drivers/hwmon/ |
H A D | asus_atk0110.c | 128 u32 id; member in struct:atk_data::__anon876 155 u64 id; member in struct:atk_sensor_data 179 u32 id; member in struct:atk_acpi_input_buf 320 * sensor id | 321 * sensor id - used for de-muxing the request _inside_ the GITn 457 union acpi_object id; local 475 id.type = ACPI_TYPE_INTEGER; 476 id.integer.value = sensor->id; 479 params.pointer = &id; 497 union acpi_object id; local 527 atk_gitm(struct atk_data *data, u64 id) argument 742 union acpi_object *id; local 1066 union acpi_object *id; local 1365 union acpi_object *id = &obj->package.elements[1]; local [all...] |
/drivers/acpi/ |
H A D | sbs.c | 110 u8 id; member in struct:acpi_battery 416 u16 value, sel = 1 << (battery->id + 12); 764 battery->present = state & (1 << battery->id); 766 state |= 1 << (battery->id + 12); 769 } else if (battery->id == 0) 785 static int acpi_battery_add(struct acpi_sbs *sbs, int id) argument 787 struct acpi_battery *battery = &sbs->battery[id]; 790 battery->id = id; 796 sprintf(battery->name, ACPI_BATTERY_DIR_NAME, id); 829 acpi_battery_remove(struct acpi_sbs *sbs, int id) argument 883 int id; local 921 int id; local 959 int id; local [all...] |
/drivers/input/touchscreen/ |
H A D | atmel_mxt_ts.c | 522 int id; local 524 for (id = 0; id < MXT_MAX_FINGER; id++) { 525 if (!finger[id].status) 528 input_mt_slot(input_dev, id); 530 finger[id].status != MXT_RELEASE); 532 if (finger[id].status != MXT_RELEASE) { 535 finger[id].area); 537 finger[id] 559 mxt_input_touchevent(struct mxt_data *data, struct mxt_message *message, int id) argument 615 int id; local 1095 mxt_probe(struct i2c_client *client, const struct i2c_device_id *id) argument [all...] |
H A D | egalax_ts.c | 73 int id, ret, x, y, z; local 96 id = (state & EVENT_ID_MASK) >> EVENT_ID_OFFSET; 99 if (!valid || id > MAX_SUPPORT_POINTS) { 104 input_mt_slot(input_dev, id); 107 dev_dbg(&client->dev, "%s id:%d x:%d y:%d z:%d", 108 down ? "down" : "up", id, x, y, z); 160 const struct i2c_device_id *id) 194 input_dev->id.bustype = BUS_I2C; 159 egalax_ts_probe(struct i2c_client *client, const struct i2c_device_id *id) argument
|
/drivers/regulator/ |
H A D | max8998.c | 533 .id = MAX8998_LDO2, 539 .id = MAX8998_LDO3, 545 .id = MAX8998_LDO4, 551 .id = MAX8998_LDO5, 557 .id = MAX8998_LDO6, 563 .id = MAX8998_LDO7, 569 .id = MAX8998_LDO8, 575 .id = MAX8998_LDO9, 581 .id = MAX8998_LDO10, 587 .id 835 int id = pdata->regulators[i].id; local [all...] |
/drivers/scsi/ |
H A D | atp870u.c | 50 unsigned short int tmpcip, id; local 117 * Remap wide devices onto id numbers 147 if (dev->id[c][target_id].last_len != adrcnt) 149 k = dev->id[c][target_id].last_len; 151 dev->id[c][target_id].tran_len = k; 152 dev->id[c][target_id].last_len = adrcnt; 155 printk("tmport = %x dev->id[c][target_id].last_len = %d dev->id[c][target_id].tran_len = %d\n",tmport,dev->id[c][target_id].last_len,dev->id[ [all...] |
/drivers/isdn/act2000/ |
H A D | module.c | 301 if (act2000_addcard(cdef.bus, cdef.port, cdef.irq, cdef.id)) 522 if_writecmd(const u_char __user *buf, int len, int id, int channel) argument 524 act2000_card *card = act2000_findcard(id); 537 if_readstatus(u_char __user *buf, int len, int id, int channel) argument 539 act2000_card *card = act2000_findcard(id); 552 if_sendbuf(int id, int channel, int ack, struct sk_buff *skb) argument 554 act2000_card *card = act2000_findcard(id); 572 act2000_alloccard(int bus, int port, int irq, char *id) argument 578 "act2000: (%s) Could not allocate card-struct.\n", id); 604 strlcpy(card->interface.id, i 670 act2000_addcard(int bus, int port, int irq, char *id) argument [all...] |
/drivers/tty/serial/ |
H A D | uartlite.c | 484 * @id: requested id number. Pass -1 for automatic port assignment 490 static int __devinit ulite_assign(struct device *dev, int id, u32 base, int irq) argument 495 /* if id = -1; then scan for a free id and use that */ 496 if (id < 0) { 497 for (id = 0; id < ULITE_NR_UARTS; id++) 498 if (ulite_ports[id] 577 int id = pdev->id; local [all...] |
H A D | msm_smd_tty.c | 37 int id; member in struct:smd_tty_channel_desc 44 { .id = 0, .name = "SMD_DS" }, 45 { .id = 27, .name = "SMD_GPSNMEA" }, 99 if (smd_tty_channels[i].id == n) { 226 tty_port_init(&smd_tty[smd_tty_channels[i].id].port); 227 smd_tty[smd_tty_channels[i].id].port.ops = &smd_tty_port_ops; 228 tty_register_device(smd_tty_driver, smd_tty_channels[i].id, 0);
|
/drivers/ata/ |
H A D | ata_generic.c | 55 const struct pci_device_id *id = ap->host->private_data; local 59 if (id->driver_data & ATA_GEN_FORCE_DMA) { 73 unsigned int xfer_mask = ata_id_xfermask(dev->id); 157 * @id: match entry 164 static int ata_generic_init_one(struct pci_dev *dev, const struct pci_device_id *id) argument 177 if ((id->driver_data & ATA_GEN_CLASS_MATCH) && all_generic_ide == 0) 180 if (id->driver_data & ATA_GEN_INTEL_IDER) 210 return ata_pci_bmdma_init_one(dev, ppi, &generic_sht, (void *)id, 0);
|
/drivers/hwmon/pmbus/ |
H A D | lm25066.c | 47 int id; member in struct:lm25066_data 71 switch (data->id) { 176 const struct i2c_device_id *id) 195 data->id = id->driver_data; 218 switch (id->driver_data) { 295 return pmbus_do_probe(client, id, info); 175 lm25066_probe(struct i2c_client *client, const struct i2c_device_id *id) argument
|
/drivers/input/joystick/ |
H A D | guillemot.c | 60 unsigned char id; member in struct:guillemot_type 210 if (guillemot_type[i].id == data[11]) 228 input_dev->id.bustype = BUS_GAMEPORT; 229 input_dev->id.vendor = GAMEPORT_ID_VENDOR_GUILLEMOT; 230 input_dev->id.product = guillemot_type[i].id; 231 input_dev->id.version = (int)data[14] << 8 | data[15];
|
H A D | interact.c | 75 int id; member in struct:interact_type 239 if (interact_type[i].id == (data[2] >> 16)) 259 input_dev->id.bustype = BUS_GAMEPORT; 260 input_dev->id.vendor = GAMEPORT_ID_VENDOR_INTERACT; 261 input_dev->id.product = interact_type[i].id; 262 input_dev->id.version = 0x0100;
|
/drivers/input/serio/ |
H A D | serio.c | 94 if ((ids->type == SERIO_ANY || ids->type == serio->id.type) && 95 (ids->proto == SERIO_ANY || ids->proto == serio->id.proto) && 96 (ids->extra == SERIO_ANY || ids->extra == serio->id.extra) && 97 (ids->id == SERIO_ANY || ids->id == serio->id.id)) 373 serio->id.type, serio->id.proto, serio->id [all...] |
/drivers/net/phy/ |
H A D | fixed.c | 34 int id; member in struct:fixed_phy 107 fp->regs[MII_PHYSID1] = fp->id >> 16; 108 fp->regs[MII_PHYSID2] = fp->id; 127 if (fp->id == phy_id) { 163 if (fp->id == phydev->phy_id) { 189 fp->id = phy_id; 223 snprintf(fmb->mii_bus->id, MII_BUS_ID_SIZE, "fixed-0");
|
/drivers/net/wireless/iwmc3200wifi/ |
H A D | iwm.h | 103 int id; /* group id */ member in struct:pool_entry 104 int sid; /* super group id */ 112 int id; member in struct:spool_entry 177 #define IWM_RX_ID_GET_HASH(id) ((id) % IWM_RX_ID_HASH) 193 int id; member in struct:iwm_tx_queue 343 int iwm_tx_credit_alloc(struct iwm_priv *iwm, int id, int nb); 356 void iwm_tx_credit_inc(struct iwm_priv *iwm, int id, int total_freed_pages);
|
/drivers/staging/media/solo6x10/ |
H A D | solo6x10.h | 303 void solo_p2m_isr(struct solo_dev *solo_dev, int id); 311 u8 solo_i2c_readbyte(struct solo_dev *solo_dev, int id, u8 addr, u8 off); 312 void solo_i2c_writebyte(struct solo_dev *solo_dev, int id, u8 addr, u8 off, 316 int solo_p2m_dma_t(struct solo_dev *solo_dev, u8 id, int wr, 318 int solo_p2m_dma(struct solo_dev *solo_dev, u8 id, int wr, 320 int solo_p2m_dma_sg(struct solo_dev *solo_dev, u8 id, 326 int solo_p2m_dma_desc(struct solo_dev *solo_dev, u8 id,
|
/drivers/staging/omapdrm/ |
H A D | omap_crtc.c | 32 int id; member in struct:omap_crtc 147 dev, omap_crtc->id, &now); 183 DBG("%d -> %d", crtc->fb ? crtc->fb->base.id : -1, fb->base.id); 219 struct omap_overlay *ovl, int id) 233 omap_crtc->plane = omap_plane_init(dev, ovl, (1 << id), true); 236 omap_crtc->id = id; 218 omap_crtc_init(struct drm_device *dev, struct omap_overlay *ovl, int id) argument
|
/drivers/usb/otg/ |
H A D | mv_otg.c | 107 static int mv_otg_cancel_timer(struct mv_otg *mvotg, unsigned int id) argument 111 if (id >= OTG_TIMER_NUM) 114 timer = &mvotg->otg_ctrl.timer[id]; 122 static int mv_otg_set_timer(struct mv_otg *mvotg, unsigned int id, argument 128 if (id >= OTG_TIMER_NUM) 131 timer = &mvotg->otg_ctrl.timer[id]; 133 dev_err(&mvotg->pdev->dev, "Timer%d is already running\n", id); 193 if (mvotg->pdata->id == NULL) { 324 if (mvotg->pdata->id) 325 otg_ctrl->id [all...] |
/drivers/w1/ |
H A D | w1.c | 119 __ATTR(id, S_IRUGO, w1_slave_read_id, NULL); 378 "write device id xx-xxxxxxxxxxxx to add slave\n"); 386 unsigned long long id; local 402 i = sscanf(buf, "%02x-%012llx", &family, &id); 408 rn->id = id; 415 rn->family, (unsigned long long)rn->id, rn->crc); 430 sl->reg_num.id == rn->id && 472 "write device id x 749 w1_search_master_id(u32 id) argument 767 w1_search_slave(struct w1_reg_num *id) argument [all...] |
/drivers/ide/ |
H A D | qd65xx.c | 154 char *m = (char *)&drive->id[ATA_ID_PROD]; 193 u16 *id = drive->id; local 199 (id[ATA_ID_OLD_PIO_MODES] & 0xff) && (id[ATA_ID_FIELD_VALID] & 2) && 200 id[ATA_ID_EIDE_PIO] >= 240) { 202 id[ATA_ID_OLD_PIO_MODES] & 0xff); 204 recovery_time = drive->id[ATA_ID_EIDE_PIO] - 120; 220 if (drive->id && !qd_find_disk_type(drive, &active_time, &recovery_time)) {
|
/drivers/media/video/ |
H A D | ak881x.c | 36 int id; /* DEVICE_ID code V4L2_IDENT_AK881X code from v4l2-chip-ident.h */ member in struct:ak881x 66 struct v4l2_dbg_chip_ident *id) 71 if (id->match.type != V4L2_CHIP_MATCH_I2C_ADDR) 74 if (id->match.addr != client->addr) 77 id->ident = ak881x->id; 78 id->revision = ak881x->revision; 277 ak881x->id = V4L2_IDENT_AK8813; 280 ak881x->id = V4L2_IDENT_AK8814; 65 ak881x_g_chip_ident(struct v4l2_subdev *sd, struct v4l2_dbg_chip_ident *id) argument
|
/drivers/mfd/ |
H A D | intel_msic.c | 22 #define MSIC_VENDOR(id) ((id >> 6) & 3) 23 #define MSIC_VERSION(id) (id & 0x3f) 24 #define MSIC_MAJOR(id) ('A' + ((id >> 3) & 7)) 25 #define MSIC_MINOR(id) (id & 7) 183 .id = -1,
|
/drivers/pps/ |
H A D | pps.c | 277 /* release id here to protect others from using it while it's 280 idr_remove(&pps_idr, pps->id); 303 err = idr_get_new(&pps_idr, pps, &pps->id); 309 pps->id &= MAX_ID_MASK; 310 if (pps->id >= PPS_MAX_SOURCES) { 317 devt = MKDEV(MAJOR(pps_devt), pps->id); 325 pps->info.name, MAJOR(pps_devt), pps->id); 329 "pps%d", pps->id); 336 MAJOR(pps_devt), pps->id); 345 idr_remove(&pps_idr, pps->id); [all...] |