/drivers/staging/android/ |
H A D | logger.c | 11 * License version 2, as published by the Free Software Foundation, and 61 int r_ver; /* reader ABI version */ 175 * First, copy the header to userspace, using the version of 579 int version; local 580 if (copy_from_user(&version, arg, sizeof(int))) 583 if ((version < 1) || (version > 2)) 586 reader->r_ver = version;
|
/drivers/staging/media/easycap/ |
H A D | easycap_ioctl.c | 13 * the Free Software Foundation; either version 2 of the License, or 14 * (at your option) any later version. 1012 char version[16], *p1, *p2; local 1019 SAM("ERROR: bad driver version string\n"); 1023 strcpy(&version[0], EASYCAP_DRIVER_VERSION); 1026 p2 = &version[0]; 1056 v4l2_capability.version = KERNEL_VERSION(k[0], k[1], k[2]); 1057 JOM(8, "v4l2_capability.version=(%i,%i,%i)\n", k[0], k[1], k[2]);
|
/drivers/staging/rtl8712/ |
H A D | ip.h | 14 * as published by the Free Software Foundation; either version 15 * 2 of the License, or (at your option) any later version. 117 version:4; member in struct:iphdr 119 __u8 version:4,
|
/drivers/xen/ |
H A D | sys-hypervisor.c | 6 * it under the terms of the GNU General Public License version 2 as 21 #include <xen/interface/version.h> 54 /* xen version attributes */ 57 int version = HYPERVISOR_xen_version(XENVER_version, NULL); local 58 if (version) 59 return sprintf(buffer, "%d\n", version >> 16); 67 int version = HYPERVISOR_xen_version(XENVER_version, NULL); local 68 if (version) 69 return sprintf(buffer, "%d\n", version & 0xff); 101 .name = "version", [all...] |
/drivers/ata/ |
H A D | pata_octeon_cf.c | 810 char version[32]; local 909 snprintf(version, sizeof(version), "%s %d bit%s", 913 ata_print_version_once(&pdev->dev, version);
|
/drivers/char/ |
H A D | i8k.c | 4 * and for latest version of this driver. 13 * Free Software Foundation; either version 2, or (at your option) any 14 * later version. 188 * Read the bios version. Return the version as an integer corresponding 439 * 1) Format version (this will change if format changes) 440 * 2) BIOS version 676 int version; local 686 printk(KERN_INFO "i8k: vendor=%s, model=%s, version=%s\n", 705 * Get SMM BIOS version [all...] |
/drivers/dma/ioat/ |
H A D | dma.h | 6 * Software Foundation; either version 2 of the License, or (at your option) 7 * any later version. 57 * @version: version of ioatdma device 62 * @enumerate_channels: hw version specific channel enumeration 63 * @reset_hw: hw version specific channel (re)initialization 66 * @self_test: hardware version specific self test for each supported op type 76 u8 version; member in struct:ioatdma_device 228 u8 ver = chan->device->version; 245 u8 ver = chan->device->version; [all...] |
/drivers/firmware/ |
H A D | iscsi_ibft.c | 65 * First version exposing iBFT data via a binary /sysfs. (v0.1) 98 u8 version; member in struct:ibft_hdr
|
/drivers/gpu/drm/nouveau/ |
H A D | nouveau_mxm.c | 45 u16 version = (mxms[4] << 8) | mxms[5]; local 46 switch (version ) { 50 return version; 55 MXM_DBG(dev, "unknown version %d.%d\n", mxms[4], mxms[5]); 195 if (x.version != 1 || x.length < 3) { 197 x.version, x.length); 465 MXM_DBG(dev, "unsupported DCB version\n"); 486 mxm_shadow_rom(struct drm_device *dev, u8 version) argument 520 mxm_shadow_dsm(struct drm_device *dev, u8 version) argument 536 * unless you pass in exactly the version i 586 mxm_shadow_wmi(struct drm_device *dev, u8 version) argument 630 mxm_shadow(struct drm_device *dev, u8 version) argument [all...] |
/drivers/hid/ |
H A D | hid-hyperv.c | 8 * version 2, as published by the Free Software Foundation. 29 unsigned short version; member in struct:hv_input_dev_info 37 * Current version 80 u32 version; member in union:synthhid_version 390 request->request.version_requested.version = SYNTHHID_INPUT_VERSION; 411 pr_err("synthhid protocol request failed (version %d)\n", 504 hid_dev->version = input_dev->hid_dev_info.version;
|
/drivers/hwmon/ |
H A D | smsc47m192.c | 11 the Free Software Foundation; either version 2 of the License, or 12 (at your option) any later version. 485 int version; local 491 version = i2c_smbus_read_byte_data(client, SMSC47M192_REG_VERSION); 494 && (version & 0xf0) == 0x20 501 "version 2, stepping A%d\n", version & 0x0f);
|
/drivers/i2c/busses/ |
H A D | i2c-cpm.c | 19 * the Free Software Foundation; either version 2 of the License, or 20 * (at your option) any later version. 111 int version; /* CPM1=1, CPM2=2 */ member in struct:cpm_i2c 156 if (cpm->version == 1) { 475 cpm->version = 1; 483 cpm->version = 2; 598 if ((cpm->version == 1) && (!cpm->i2c_addr)) 600 if (cpm->version == 2) 631 if ((cpm->version == 1) && (!cpm->i2c_addr)) 633 if (cpm->version [all...] |
/drivers/infiniband/core/ |
H A D | mad_priv.h | 209 struct ib_mad_mgmt_version_table version[MAX_MGMT_VERSION]; member in struct:ib_mad_port_private
|
/drivers/input/mouse/ |
H A D | hgpk.c | 17 * it under the terms of the GNU General Public License version 2 as 1051 int version; local 1053 version = hgpk_get_model(psmouse); 1054 if (version < 0) 1055 return version; 1060 psmouse->model = version;
|
/drivers/md/ |
H A D | dm-log.c | 195 * The on-disk version of the metadata. 204 * Simple, incrementing version. no backward 207 __le32 version; member in struct:log_header_disk 213 uint32_t version; member in struct:log_header_core 283 disk->version = cpu_to_le32(core->version); 290 core->version = le32_to_cpu(disk->version); 327 log->header.version = MIRROR_DISK_VERSION; 332 if (log->header.version [all...] |
H A D | dm-snap-persistent.c | 55 * The on-disk version of the metadata. 71 * Simple, incrementing version. no backward 74 __le32 version; member in struct:disk_header 100 int version; member in struct:pstore 348 ps->version = le32_to_cpu(dh->version); 387 dh->version = cpu_to_le32(ps->version); 595 if (ps->version != SNAPSHOT_DISK_VERSION) { 596 DMWARN("unable to handle snapshot disk version [all...] |
/drivers/media/common/tuners/ |
H A D | tuner-xc2028.c | 711 u16 version, hwmodel; local 827 if (xc2028_get_reg(priv, 0x0004, &version) < 0 || 833 tuner_dbg("Device is Xceive %d version %d.%d, " 834 "firmware version %d.%d\n", 835 hwmodel, (version & 0xf000) >> 12, (version & 0xf00) >> 8, 836 (version & 0xf0) >> 4, version & 0xf); 842 /* Check firmware version against what we downloaded. */ 843 if (priv->firm_version != ((version [all...] |
/drivers/media/dvb/dvb-usb/ |
H A D | technisat-usb2.c | 13 * published by the Free Software Foundation; either version 2 of the 14 * License, or (at your option) any later version. 331 u8 version[3]; local 345 version, sizeof(version), 500); 350 info("firmware version: %d.%d", version[1], version[2]);
|
/drivers/media/video/ |
H A D | as3645a.c | 11 * version 2 as published by the Free Software Foundation. 565 int rval, man, model, rfu, version; local 569 * and version. 587 version = AS_VERSION_CONTROL_VERSION(rval); 589 /* Verify the chip model and version. */ 618 man, version);
|
H A D | mt9v011.c | 593 u16 version; local 596 version = mt9v011_read(sd, R00_MT9V011_CHIP_VERSION); 599 version); 635 u16 version; local 652 version = mt9v011_read(sd, R00_MT9V011_CHIP_VERSION); 653 if ((version != MT9V011_VERSION) && 654 (version != MT9V011_REV_B_VERSION)) { 656 version); 675 v4l_info(c, "chip found @ 0x%02x (%s - chip version 0x%04x)\n", 676 c->addr << 1, c->adapter->name, version); [all...] |
/drivers/media/video/em28xx/ |
H A D | em28xx-cards.c | 12 the Free Software Foundation; either version 2 of the License, or 13 (at your option) any later version. 2198 u16 version; local 2208 version = be16_to_cpu(version_be); 2209 switch (version) { 2269 printk("Unknown Micron Sensor 0x%04x\n", version);
|
/drivers/media/video/pwc/ |
H A D | pwc-dec23.c | 2 Decompression for chipset version 2 et 3 5 NOTE: this version of pwc is an unofficial (modified) release of pwc & pcwx 6 driver and thus may have bugs that are not present in the original version. 13 the Free Software Foundation; either version 2 of the License, or 14 (at your option) any later version. 36 * 0: use a C version of this tests: { a<0?0:(a>255?255:a) } 299 int flags, version, shift, i; local 316 version = cmd[2] >> 5; 317 build_table_color(KiaraRomTable[version][0], pdec->table_0004_pass1, pdec->table_8004_pass1); 318 build_table_color(KiaraRomTable[version][ [all...] |
/drivers/media/video/saa7164/ |
H A D | saa7164-api.c | 8 * the Free Software Foundation; either version 2 of the License, or 9 * (at your option) any later version. 799 int saa7164_api_get_fw_version(struct saa7164_dev *dev, u32 *version) argument 804 GET_FW_VERSION_CONTROL, sizeof(u32), version);
|
H A D | saa7164-core.c | 8 * the Free Software Foundation; either version 2 of the License, or 9 * (at your option) any later version. 769 dprintk(1, "Device running firmware version %d.%d.%d.%d (0x%x)\n", 1231 u32 version; local 1310 * firmware version, this checks the bus is running OK. 1312 version = 0; 1313 if (saa7164_api_get_fw_version(dev, &version) == SAA_OK) 1315 "version %d.%d.%d.%d (0x%x)\n", 1316 (version & 0x0000fc00) >> 10, 1317 (version [all...] |
/drivers/mmc/host/ |
H A D | ushc.c | 8 * the Free Software Foundation; either version 2 of the License, or (at 9 * your option) any later version. 12 * - Only version 2 devices are supported. 133 int version; local 143 version = ushc->caps & USHC_GET_CAPS_VERSION_MASK; 144 if (version != 0x02) { 145 dev_err(&ushc->usb_dev->dev, "controller version %d is not supported\n", version);
|