/drivers/media/video/ |
H A D | v4l2-event.c | 98 struct v4l2_fh *fh, u32 type, u32 id) 105 if (sev->type == type && sev->id == id) 119 sev = v4l2_event_subscribed(fh, ev->type, ev->id); 151 kev->event.id = ev->id; 225 ctrl = v4l2_ctrl_find(fh->ctrl_handler, sub->id); 236 sev->id = sub->id; 246 found_ev = v4l2_event_subscribed(fh, sub->type, sub->id); 97 v4l2_event_subscribed( struct v4l2_fh *fh, u32 type, u32 id) argument [all...] |
H A D | tcm825x.c | 106 .id = V4L2_CID_GAIN, 118 .id = V4L2_CID_RED_BALANCE, 130 .id = V4L2_CID_BLUE_BALANCE, 142 .id = V4L2_CID_AUTO_WHITE_BALANCE, 154 .id = V4L2_CID_EXPOSURE, 166 .id = V4L2_CID_HFLIP, 178 .id = V4L2_CID_VFLIP, 191 .id = V4L2_CID_ALC, 203 .id = V4L2_CID_H_EDGE_EN, 215 .id 366 find_vctrl(int id) argument [all...] |
/drivers/usb/wusbcore/ |
H A D | wusbhc.c | 320 u8 id; local 322 id = find_first_zero_bit(wusb_cluster_id_table, CLUSTER_IDS); 323 if (id >= CLUSTER_IDS) { 324 id = 0; 327 set_bit(id, wusb_cluster_id_table); 328 id = (u8) 0xff - id; 331 return id; 341 void wusb_cluster_id_put(u8 id) argument 343 id [all...] |
/drivers/net/ethernet/ |
H A D | netx-eth.c | 99 int id; member in struct:netx_eth_priv 125 pfifo_push(REQ_FIFO_PORT_LO(priv->id), 126 FIFO_PTR_SEGMENT(priv->id) | 147 val = pfifo_pop(IND_FIFO_PORT_LO(priv->id)); 165 pfifo_push(EMPTY_PTR_FIFO(priv->id), 184 status = readl(NETX_PFIFO_XPEC_ISR(priv->id)); 187 writel(status, NETX_PFIFO_XPEC_ISR(priv->id)); 194 readl(NETX_PFIFO_FILL_LEVEL(IND_FIFO_PORT_LO(priv->id))); 204 status = readl(NETX_PFIFO_XPEC_ISR(priv->id)); 268 pfifo_push(EMPTY_PTR_FIFO(priv->id), [all...] |
/drivers/scsi/ |
H A D | libsrp.c | 223 struct srp_indirect_buf *id, 239 iue, scsi_bufflen(sc), id->len, 243 nmd = id->table_desc.len / sizeof(struct srp_direct_buf); 247 md = &id->desc_list[0]; 252 md = dma_alloc_coherent(iue->target->dev, id->table_desc.len, 255 eprintk("Can't get dma memory %u\n", id->table_desc.len); 259 sg_init_one(&dummy, md, id->table_desc.len); 261 sg_dma_len(&dummy) = id->table_desc.len; 262 err = rdma_io(sc, &dummy, 1, &id->table_desc, 1, DMA_TO_DEVICE, 263 id 222 srp_indirect_data(struct scsi_cmnd *sc, struct srp_cmd *cmd, struct srp_indirect_buf *id, enum dma_data_direction dir, srp_rdma_t rdma_io, int dma_map, int ext_desc) argument 328 struct srp_indirect_buf *id; local 370 struct srp_indirect_buf *id; local [all...] |
/drivers/ide/ |
H A D | it821x.c | 445 u16 *id = drive->id; local 464 if (strstr((char *)&id[ATA_ID_PROD], 469 id[ATA_ID_CAPABILITY] |= (3 << 8); /* LBA28, DMA */ 470 id[ATA_ID_COMMAND_SET_2] |= 0x0400; /* LBA48 valid */ 471 id[ATA_ID_CFS_ENABLE_2] |= 0x0400; /* LBA48 on */ 474 drive->name, id[147] ? "Bootable " : "", 475 id[ATA_ID_CSFO]); 476 if (id[ATA_ID_CSFO] != 1) 477 printk(KERN_CONT "(%dK stripe)", id[14 650 it821x_init_one(struct pci_dev *dev, const struct pci_device_id *id) argument [all...] |
H A D | ide-dma.c | 119 return ide_in_drive_list(drive->id, drive_whitelist); 221 u16 *id = drive->id; local 223 int blacklist = ide_in_drive_list(id, drive_blacklist); 226 drive->name, (char *)&id[ATA_ID_PROD]); 241 u16 *id = drive->id; local 248 if ((id[ATA_ID_FIELD_VALID] & 4) == 0) 250 mask = id[ATA_ID_UDMA_MODES]; 265 mask = id[ATA_ID_MWDMA_MODE [all...] |
/drivers/memstick/core/ |
H A D | memstick.c | 32 struct memstick_device_id *id) 34 if (id->match_flags & MEMSTICK_MATCH_ALL) { 35 if ((id->type == card->id.type) 36 && (id->category == card->id.category) 37 && (id->class == card->id.class)) 68 if (add_uevent_var(env, "MEMSTICK_TYPE=%02X", card->id.type)) 71 if (add_uevent_var(env, "MEMSTICK_CATEGORY=%02X", card->id 31 memstick_dev_match(struct memstick_dev *card, struct memstick_device_id *id) argument [all...] |
/drivers/regulator/ |
H A D | ab8500.c | 231 if (info->desc.id == AB8500_LDO_INTCORE) 363 .id = AB8500_LDO_AUX1, 384 .id = AB8500_LDO_AUX2, 405 .id = AB8500_LDO_AUX3, 426 .id = AB8500_LDO_INTCORE, 453 .id = AB8500_LDO_TVOUT, 469 .id = AB8500_LDO_USB, 484 .id = AB8500_LDO_AUDIO, 499 .id = AB8500_LDO_ANAMIC1, 514 .id 762 int id; local [all...] |
H A D | max1586.c | 167 .id = MAX1586_V3, 175 .id = MAX1586_V6, 189 int i, id, ret = -ENOMEM; local 208 id = pdata->subdevs[i].id; 211 if (id < MAX1586_V3 || id > MAX1586_V6) { 212 dev_err(&client->dev, "invalid regulator id %d\n", id); 215 rdev[i] = regulator_register(&max1586_reg[id], [all...] |
H A D | wm831x-ldo.c | 313 int id; local 319 id = (pdata->wm831x_num * 10) + 1; 321 id = 0; 322 id = pdev->id - id; 324 dev_dbg(&pdev->dev, "Probing LDO%d\n", id + 1); 326 if (pdata == NULL || pdata->ldo[id] == NULL) 345 snprintf(ldo->name, sizeof(ldo->name), "LDO%d", id + 1); 347 ldo->desc.id 578 int id; local 772 int id; local [all...] |
/drivers/acpi/ |
H A D | pci_irq.c | 50 struct acpi_pci_id id; member in struct:acpi_prt_entry 78 if ((segment == entry->id.segment) 79 && (bus == entry->id.bus) 80 && (device == entry->id.device) 90 /* http://bugzilla.kernel.org/show_bug.cgi?id=4773 */ 102 /* http://bugzilla.kernel.org/show_bug.cgi?id=5044 */ 114 /* http://bugzilla.kernel.org/show_bug.cgi?id=10138 */ 170 entry->id.segment == quirk->segment && 171 entry->id.bus == quirk->bus && 172 entry->id [all...] |
/drivers/infiniband/core/ |
H A D | cm.c | 205 struct ib_cm_id id; member in struct:cm_id_private 264 m = ib_create_send_mad(mad_agent, cm_id_priv->id.remote_cm_qpn, 385 int ret, id; local 391 next_id, &id); 393 next_id = ((unsigned) id + 1) & MAX_ID_MASK; 397 cm_id_priv->id.local_id = (__force __be32)id ^ cm.random_id_operand; 416 if (cm_id_priv->id.remote_id == remote_id) 501 __be64 service_id = cm_id_priv->id.service_id; 502 __be64 service_mask = cm_id_priv->id [all...] |
/drivers/media/dvb/dvb-core/ |
H A D | dvbdev.c | 58 #define nums2minor(num,type,id) ((num << 6) | (id << 4) | type) 176 u32 id = 0; local 178 while (id < DVB_MAX_IDS) { 181 if (dev->type == type && dev->id == id) 183 return id; 185 id++; 198 int id; local 202 if ((id [all...] |
/drivers/isdn/pcbit/ |
H A D | callbacks.c | 105 ictl.driver = dev->id; 106 ictl.arg = chan->id; 140 ictl.driver = dev->id; 141 ictl.arg = chan->id; 261 ictl.driver = dev->id; 262 ictl.arg = chan->id; 301 ictl.driver = dev->id; 302 ictl.arg = chan->id; 342 ictl.driver = dev->id; 343 ictl.arg = chan->id; [all...] |
/drivers/net/can/cc770/ |
H A D | cc770.c | 249 int mo, id, data; local 282 for (id = 0; id < 4; id++) 283 cc770_write_reg(priv, msgobj[mo].id[id], 0); 400 u32 id; local 415 id = cf->can_id; 424 if (id & CAN_EFF_FLAG) { 425 id 469 u32 id; local [all...] |
/drivers/gpu/drm/nouveau/ |
H A D | nouveau_ramht.c | 39 NV_DEBUG(dev, "ch%d handle=0x%08x\n", chan->id, handle); 47 hash ^= chan->id << (ramht->bits - 4); 76 return chan->id == 79 return chan->id == 108 (chan->id << NV_RAMHT_CONTEXT_CHANNEL_SHIFT) | 113 (chan->id << NV40_RAMHT_CONTEXT_CHANNEL_SHIFT) | 118 (chan->id << 28) | 119 chan->id; /* HASH_TAG */ 135 chan->id, co, handle, ctx); 144 chan->id, c [all...] |
/drivers/hwmon/pmbus/ |
H A D | max34440.c | 46 int id; member in struct:max34440_data 68 if (data->id != max34446) 78 if (data->id != max34446) 84 if (data->id != max34446) 90 if (data->id != max34446) 100 if (data->id != max34446) 143 if (!ret && data->id == max34446) 152 if (!ret && data->id == max34446) 328 const struct i2c_device_id *id) 336 data->id 327 max34440_probe(struct i2c_client *client, const struct i2c_device_id *id) argument [all...] |
/drivers/input/mouse/ |
H A D | sermouse.c | 249 unsigned char c = serio->id.extra; 259 sermouse->type = serio->id.proto; 263 input_dev->id.bustype = BUS_RS232; 264 input_dev->id.vendor = sermouse->type; 265 input_dev->id.product = c; 266 input_dev->id.version = 0x0100; 303 .id = SERIO_ANY, 309 .id = SERIO_ANY, 315 .id = SERIO_ANY, 321 .id [all...] |
/drivers/usb/gadget/ |
H A D | f_loopback.c | 179 int id; local 182 id = usb_interface_id(c, f); 183 if (id < 0) 184 return id; 185 loopback_intf.bInterfaceNumber = id; 408 int id; local 411 id = usb_string_id(cdev); 412 if (id < 0) 413 return id; 414 strings_loopback[0].id [all...] |
/drivers/ata/ |
H A D | pata_it821x.c | 475 if (ata_id_has_dma(dev->id)) { 504 ata_id_c_string(adev->id, model_num, ATA_ID_PROD, sizeof(model_num)); 512 adev->id[147] ? "Bootable " : "", 513 adev->id[129]); 514 if (adev->id[129] != 1) 515 pr_cont("(%dK stripe)", adev->id[146]); 529 * @id: buffer for returned ident data 538 struct ata_taskfile *tf, u16 *id) 543 err_mask = ata_do_dev_read_id(adev, tf, id); 546 ata_id_c_string(id, model_nu 537 it821x_read_id(struct ata_device *adev, struct ata_taskfile *tf, u16 *id) argument 606 unsigned char id[41]; local 873 it821x_init_one(struct pci_dev *pdev, const struct pci_device_id *id) argument [all...] |
/drivers/base/ |
H A D | devres.c | 33 void *id; member in struct:devres_group 444 * @id: Separator ID 447 * Open a new devres group for @dev with @id. For @id, using a 449 * recommended. If @id is NULL, address-wise unique ID is created. 454 void * devres_open_group(struct device *dev, void *id, gfp_t gfp) argument 469 grp->id = grp; 470 if (id) 471 grp->id = id; 481 find_group(struct device *dev, void *id) argument 511 devres_close_group(struct device *dev, void *id) argument 537 devres_remove_group(struct device *dev, void *id) argument 570 devres_release_group(struct device *dev, void *id) argument [all...] |
/drivers/media/video/ivtv/ |
H A D | ivtv-ioctl.c | 248 static int ivtv_video_command(struct ivtv *itv, struct ivtv_open_id *id, argument 276 return ivtv_start_decoding(id, dc->start.speed); 312 return ivtv_start_decoding(id, speed); 345 struct ivtv_open_id *id = fh2id(fh); local 346 struct ivtv *itv = id->itv; 354 if (id->type == IVTV_ENC_STREAM_TYPE_YUV) { 388 struct ivtv_open_id *id = fh2id(fh); local 389 struct ivtv *itv = id->itv; 395 if (id->type == IVTV_DEC_STREAM_TYPE_VBI) { 409 struct ivtv_open_id *id local 474 struct ivtv_open_id *id = fh2id(fh); local 503 struct ivtv_open_id *id = fh2id(fh); local 523 struct ivtv_open_id *id = fh2id(fh); local 576 struct ivtv_open_id *id = fh2id(fh); local 618 struct ivtv_open_id *id = fh2id(fh); local 636 struct ivtv_open_id *id = fh2id(fh); local 763 struct ivtv_open_id *id = fh2id(file->private_data); local 843 struct ivtv_open_id *id = fh2id(fh); local 880 struct ivtv_open_id *id = fh2id(fh); local 906 struct ivtv_open_id *id = fh2id(fh); local 1179 struct ivtv_open_id *id = fh2id(fh); local 1266 struct ivtv_open_id *id = fh2id(fh); local 1435 struct ivtv_open_id *id = fh2id(fh); local 1455 struct ivtv_open_id *id = fh2id(fh); local 1571 struct ivtv_open_id *id = fh2id(file->private_data); local 1580 struct ivtv_open_id *id = fh2id(file->private_data); local 1589 struct ivtv_open_id *id = fh2id(filp->private_data); local [all...] |
/drivers/media/video/uvc/ |
H A D | uvc_ctrl.c | 395 .id = V4L2_CID_BRIGHTNESS, 405 .id = V4L2_CID_CONTRAST, 415 .id = V4L2_CID_HUE, 425 .id = V4L2_CID_SATURATION, 435 .id = V4L2_CID_SHARPNESS, 445 .id = V4L2_CID_GAMMA, 455 .id = V4L2_CID_BACKLIGHT_COMPENSATION, 465 .id = V4L2_CID_GAIN, 475 .id = V4L2_CID_POWER_LINE_FREQUENCY, 487 .id 676 uvc_ctrl_data(struct uvc_control *ctrl, int id) argument 1008 u32 id = query_menu->id; local 1307 struct usb_device_id id; member in struct:uvc_ctrl_fixup 1752 struct usb_device_id id; member in struct:uvc_ctrl_blacklist [all...] |
/drivers/gpu/drm/ |
H A D | drm_platform.c | 125 int len, ret, id; local 134 id = dev->platformdev->id; 136 /* if only a single instance of the platform device, id will be 137 * set to -1.. use 0 instead to avoid a funny looking bus-id: 139 if (id == -1) 140 id = 0; 143 "platform:%s:%02d", dev->platformdev->name, id);
|