Searched refs:id (Results 101 - 125 of 3137) sorted by relevance

1234567891011>>

/drivers/media/video/ivtv/
H A Divtv-fileops.c44 static int ivtv_claim_stream(struct ivtv_open_id *id, int type) argument
46 struct ivtv *itv = id->itv;
53 if (s->fh == &id->fh) {
62 s->fh = &id->fh;
70 s->fh = &id->fh;
425 int ivtv_start_capture(struct ivtv_open_id *id) argument
427 struct ivtv *itv = id->itv;
428 struct ivtv_stream *s = &itv->streams[id->type];
440 if (ivtv_claim_stream(id, s->type))
505 struct ivtv_open_id *id local
518 ivtv_start_decoding(struct ivtv_open_id *id, int speed) argument
545 struct ivtv_open_id *id = fh2id(filp->private_data); local
717 struct ivtv_open_id *id = fh2id(filp->private_data); local
751 struct ivtv_open_id *id = fh2id(filp->private_data); local
785 ivtv_stop_capture(struct ivtv_open_id *id, int gop_end) argument
824 ivtv_stop_decoding(struct ivtv_open_id *id, int flags, u64 pts) argument
858 struct ivtv_open_id *id = fh2id(fh); local
[all...]
/drivers/hwmon/pmbus/
H A Dltc2978.c60 enum chips id; member in struct:ltc2978_data
230 enum chips id)
234 if (id == ltc2978)
252 ret = ltc2978_clear_peaks(client, page, data->id);
256 ret = ltc2978_clear_peaks(client, page, data->id);
261 ret = ltc2978_clear_peaks(client, page, data->id);
266 ret = ltc2978_clear_peaks(client, page, data->id);
271 ret = ltc2978_clear_peaks(client, page, data->id);
288 const struct i2c_device_id *id)
308 data->id
229 ltc2978_clear_peaks(struct i2c_client *client, int page, enum chips id) argument
287 ltc2978_probe(struct i2c_client *client, const struct i2c_device_id *id) argument
[all...]
/drivers/isdn/mISDN/
H A Dcore.c47 return sprintf(buf, "%d\n", mdev->id);
132 __ATTR(id, S_IRUGO, _show_id, NULL),
175 _get_mdevice(struct device *dev, void *id) argument
181 if (mdev->id != *(u_int *)id)
187 *get_mdevice(u_int id) argument
189 return dev_to_mISDN(class_find_device(&mISDN_class, NULL, &id,
231 dev->id = err;
237 dev_set_name(&dev->dev, "mISDN%d", dev->id);
240 dev_name(&dev->dev), dev->id);
308 get_Bprotocol4id(u_int id) argument
[all...]
/drivers/media/
H A Dmedia-device.c65 static struct media_entity *find_entity(struct media_device *mdev, u32 id) argument
68 int next = id & MEDIA_ENT_ID_FLAG_NEXT;
70 id &= ~MEDIA_ENT_ID_FLAG_NEXT;
75 if ((entity->id == id && !next) ||
76 (entity->id > id && next)) {
93 if (copy_from_user(&u_ent.id, &uent->id, sizeof(u_ent.id)))
[all...]
/drivers/regulator/
H A Dmc13783-regulator.c263 int id = rdev_get_id(rdev); local
265 u32 en_val = mc13xxx_regulators[id].enable_bit;
267 dev_dbg(rdev_get_dev(rdev), "%s id: %d\n", __func__, id); local
270 if (id == MC13783_REG_PWGT1SPI ||
271 id == MC13783_REG_PWGT2SPI)
275 ret = mc13783_powermisc_rmw(priv, mc13xxx_regulators[id].enable_bit,
286 int id = rdev_get_id(rdev); local
290 dev_dbg(rdev_get_dev(rdev), "%s id: %d\n", __func__, id); local
309 int ret, id = rdev_get_id(rdev); local
[all...]
/drivers/bcma/
H A Ddriver_mips.c25 return dev->bus->chipinfo.id == 47162 && dev->bus->chipinfo.rev == 0 &&
26 dev->id.id == BCMA_CORE_MIPS_74K;
32 return (dev->bus->chipinfo.id == 0x5357 ||
33 dev->bus->chipinfo.id == 0x4749) &&
35 dev->id.id == BCMA_CORE_USB20_HOST;
147 dev->id.id, oldirq + 2, irq + 2);
154 printk(KERN_INFO KBUILD_MODNAME ": core 0x%04x, irq :", dev->id
[all...]
/drivers/ide/
H A Dide-xfer-mode.c56 * based on the drive->id information and the ide_pio_blacklist[].
64 u16 *id = drive->id; local
71 pio_mode = ide_scan_pio_blacklist((char *)&id[ATA_ID_PROD]);
76 pio_mode = id[ATA_ID_OLD_PIO_MODES] >> 8;
82 if (id[ATA_ID_FIELD_VALID] & 2) { /* ATA2? */
83 if (ata_id_is_cfa(id) && (id[ATA_ID_CFA_MODES] & 7))
85 id[ATA_ID_CFA_MODES] & 7);
86 else if (ata_id_has_iordy(id)) {
[all...]
H A Dide-probe.c43 * generic_id - add a generic drive id
46 * Add a fake id field to the drive we are passed. This allows
53 u16 *id = drive->id; local
55 id[ATA_ID_CUR_CYLS] = id[ATA_ID_CYLS] = drive->cyl;
56 id[ATA_ID_CUR_HEADS] = id[ATA_ID_HEADS] = drive->head;
57 id[ATA_ID_CUR_SECTORS] = id[ATA_ID_SECTOR
62 u16 *id = drive->id; local
88 u16 *id = drive->id; local
106 u16 *id = drive->id; local
125 u16 *id = drive->id; local
191 do_identify(ide_drive_t *drive, u8 cmd, u16 *id) argument
250 ide_dev_read_id(ide_drive_t *drive, u8 cmd, u16 *id, int irq_ctx) argument
384 u16 *id = drive->id; local
[all...]
H A Dide-scan-pci.c63 const struct pci_device_id *id = local
66 if (id != NULL && d->probe(dev, id) >= 0) {
/drivers/mfd/
H A Drc5t583.c84 int id, int ext_pwr, int slots)
91 if (id == RC5T583_DS_DC0) {
92 dev_err(dev, "PWRREQ1 is invalid control for rail %d\n", id);
96 en_bit = deepsleep_data[id].ds_pos_bit;
98 ret = rc5t583_read(dev, deepsleep_data[id].reg_add, &sleepseq_val);
101 deepsleep_data[id].reg_add);
115 ret = rc5t583_write(dev, deepsleep_data[id].reg_add, sleepseq_val);
118 deepsleep_data[id].reg_add);
122 if (id == RC5T583_DS_LDO4) {
132 int id, in
83 __rc5t583_set_ext_pwrreq1_control(struct device *dev, int id, int ext_pwr, int slots) argument
131 __rc5t583_set_ext_pwrreq2_control(struct device *dev, int id, int ext_pwr) argument
248 rc5t583_i2c_probe(struct i2c_client *i2c, const struct i2c_device_id *id) argument
[all...]
H A Dcs5535-mfd.c78 .id = SMB_BAR,
84 .id = GPIO_BAR,
90 .id = MFGPT_BAR,
96 .id = PMS_BAR,
105 .id = ACPI_BAR,
130 const struct pci_device_id *id)
140 int bar = cs5535_mfd_cells[i].id;
147 /* id is used for temporarily storing BAR; unset it now */
148 cs5535_mfd_cells[i].id = 0;
129 cs5535_mfd_probe(struct pci_dev *pdev, const struct pci_device_id *id) argument
/drivers/virtio/
H A Dvirtio.c13 return sprintf(buf, "0x%04x\n", dev->id.device);
19 return sprintf(buf, "0x%04x\n", dev->id.vendor);
33 dev->id.device, dev->id.vendor);
60 const struct virtio_device_id *id)
62 if (id->device != dev->id.device && id->device != VIRTIO_DEV_ANY_ID)
65 return id->vendor == VIRTIO_DEV_ANY_ID || id
59 virtio_id_match(const struct virtio_device *dev, const struct virtio_device_id *id) argument
[all...]
/drivers/watchdog/
H A Dxen_wdt.c66 if (!wdt.id)
71 wdt.id = err;
89 if (wdt.id)
92 wdt.id = 0;
107 if (wdt.id)
249 struct sched_watchdog wd = { .id = ~0 };
301 typeof(wdt.id) id = wdt.id;
304 wdt.id
[all...]
/drivers/gpu/ion/
H A Dion_heap.c49 heap->id = heap_data->id;
/drivers/hwmon/
H A Dlm73.c106 lm73_probe(struct i2c_client *client, const struct i2c_device_id *id) argument
153 int id, ctrl, conf; local
171 id = i2c_smbus_read_byte_data(new_client, LM73_REG_ID);
172 if (id < 0 || id != (LM73_ID & 0xff))
176 id = i2c_smbus_read_word_data(new_client, LM73_REG_ID);
177 if (id < 0 || id != LM73_ID)
/drivers/video/pnx4008/
H A Dpnxrgbfb.c52 .id = "RGBFB",
104 pnx4008_free_dum_channel(channel_owned, pdev->id);
105 pnx4008_set_dum_exit_notification(pdev->id);
127 if ((ret = pnx4008_alloc_dum_channel(pdev->id)) < 0)
139 if ((ret = pnx4008_put_dum_channel_uf(chan_uf, pdev->id))< 0)
144 pdev->id)) < 0)
150 pdev->id)) < 0)
181 pnx4008_free_dum_channel(channel_owned, pdev->id);
/drivers/connector/
H A Dcn_proc.c79 memcpy(&msg->id, &cn_proc_event_id, sizeof(msg->id));
105 memcpy(&msg->id, &cn_proc_event_id, sizeof(msg->id));
125 ev->event_data.id.process_pid = task->pid;
126 ev->event_data.id.process_tgid = task->tgid;
130 ev->event_data.id.r.ruid = cred->uid;
131 ev->event_data.id.e.euid = cred->euid;
133 ev->event_data.id.r.rgid = cred->gid;
134 ev->event_data.id
[all...]
/drivers/dca/
H A Ddca-sysfs.c62 err = idr_get_new(&dca_idr, dca, &dca->id);
73 cd = device_create(dca_class, dev, MKDEV(0, 0), NULL, "dca%d", dca->id);
76 idr_remove(&dca_idr, dca->id);
89 idr_remove(&dca_idr, dca->id);
/drivers/leds/
H A Dleds-max8997.c47 int id; member in struct:max8997_led
61 mask = led->id ?
65 mask = led->id ?
69 mask = led->id ?
73 mask = led->id ?
101 mask = led->id ?
106 mask = led->id ?
111 mask = led->id ?
116 mask = led->id ?
167 reg = led->id
[all...]
H A Dleds-mc13783.c32 int id; member in struct:mc13783_led
80 switch (led->id) {
105 off = led->id - MC13783_LED_R1;
139 switch (led->id) {
167 bank = (led->id - MC13783_LED_R1)/3;
169 shift = ((led->id - MC13783_LED_R1) - bank * 3) * 2;
299 if (led_cur->id > MC13783_LED_MAX || led_cur->id < 0) {
300 dev_err(&pdev->dev, "invalid id %d\n", led_cur->id);
[all...]
/drivers/parisc/
H A Deisa_enumerator.c59 static void print_eisa_id(char *s, u_int32_t id) argument
65 rev = id & 0xff;
66 id >>= 8;
67 device = id & 0xff;
68 id >>= 8;
70 vendor[2] = '@' + (id & 0x1f);
71 id >>= 5;
72 vendor[1] = '@' + (id & 0x1f);
73 id >>= 5;
74 vendor[0] = '@' + (id
432 unsigned int id; local
[all...]
/drivers/remoteproc/
H A Dremoteproc_internal.h32 int rproc_add_virtio_dev(struct rproc_vdev *rvdev, int id);
/drivers/acpi/
H A Dprocessor_driver.c289 * >>> 'acpi_get_processor_id(acpi_id, &id)' in
319 pr->id = cpu_index;
326 if (pr->id == -1) {
331 * On some boxes several processors use the same processor bus id.
335 * Rename the processor device bus id. And the new bus id will be
339 sprintf(acpi_device_bid(device), "CPU%X", pr->id);
340 ACPI_DEBUG_PRINT((ACPI_DB_INFO, "Processor [%d:%d]\n", pr->id,
367 * ensure we get the right value in the "physical id" field
372 arch_fix_phys_package_id(pr->id, objec
[all...]
/drivers/hid/
H A Dhid-primax.c30 switch (report->id) {
60 hid_info(hid, "unknown report type %d\n", report->id);
67 static int px_probe(struct hid_device *hid, const struct hid_device_id *id) argument
/drivers/input/joystick/
H A Dspaceball.c208 int i, id; local
210 if ((id = serio->id.id) > SPACEBALL_MAX_ID)
221 input_dev->name = spaceball_names[id];
223 input_dev->id.bustype = BUS_RS232;
224 input_dev->id.vendor = SERIO_SPACEBALL;
225 input_dev->id.product = id;
226 input_dev->id
[all...]

Completed in 800 milliseconds

1234567891011>>