/linux-4.1.27/arch/sparc/kernel/ |
H A D | hvapi.c | 15 * PRE_API flag set are major 1 minor 0. 19 unsigned long major; member in struct:api_info 78 p->major = p->minor = 0; __put_ref() 83 * API group and desired major+minor. 90 * API group/major/minor with the hypervisor, and errors returned 93 int sun4v_hvapi_register(unsigned long group, unsigned long major, sun4v_hvapi_register() argument 106 if (p->major == major) { sun4v_hvapi_register() 114 hv_ret = sun4v_set_version(group, major, *minor, sun4v_hvapi_register() 119 p->major = major; sun4v_hvapi_register() 125 if (major == 1) { sun4v_hvapi_register() 126 p->major = 1; sun4v_hvapi_register() 158 unsigned long *major, sun4v_hvapi_get() 169 *major = p->major; sun4v_hvapi_get() 181 unsigned long group, major, minor; sun4v_hvapi_init() local 184 major = 1; sun4v_hvapi_init() 186 if (sun4v_hvapi_register(group, major, &minor)) sun4v_hvapi_init() 190 major = 1; sun4v_hvapi_init() 192 if (sun4v_hvapi_register(group, major, &minor)) sun4v_hvapi_init() 199 "%lx with major(%lu) minor(%lu)\n", sun4v_hvapi_init() 200 group, major, minor); sun4v_hvapi_init() 157 sun4v_hvapi_get(unsigned long group, unsigned long *major, unsigned long *minor) sun4v_hvapi_get() argument
|
H A D | sstate.c | 91 unsigned long major, minor; sstate_init() local 96 major = 1; sstate_init() 98 if (sun4v_hvapi_register(HV_GRP_SOFT_STATE, major, &minor)) sstate_init()
|
H A D | viohs.c | 46 static int send_version(struct vio_driver_state *vio, u16 major, u16 minor) send_version() argument 54 pkt.major = major; send_version() 59 major, minor, vio->dev_class); send_version() 73 vio->ver_table[0].major, start_handshake() 229 u16 major) find_by_major() 236 if (v->major <= major) { find_by_major() 251 pkt->major, pkt->minor, pkt->dev_class); process_ver_info() 259 vap = find_by_major(vio, pkt->major); process_ver_info() 265 pkt->major = 0; process_ver_info() 269 } else if (vap->major != pkt->major) { process_ver_info() 271 pkt->major = vap->major; process_ver_info() 274 pkt->major, pkt->minor); process_ver_info() 278 .major = pkt->major, process_ver_info() 286 pkt->major, pkt->minor); process_ver_info() 303 pkt->major, pkt->minor, pkt->dev_class); process_ver_ack() 306 if (vio->ver.major != pkt->major || process_ver_ack() 313 vio->ver.major = pkt->major; process_ver_ack() 338 pkt->major, pkt->minor, pkt->dev_class); process_ver_nack() 340 if (pkt->major == 0 && pkt->minor == 0) process_ver_nack() 342 nver = find_by_major(vio, pkt->major); process_ver_nack() 346 if (send_version(vio, nver->major, nver->minor) < 0) process_ver_nack() 228 find_by_major(struct vio_driver_state *vio, u16 major) find_by_major() argument
|
H A D | ldc.c | 80 u16 major; member in struct:ldc_version 84 /* Ordered from largest major to lowest. */ 86 { .major = 1, .minor = 0 }, 383 ver->major, ver->minor); start_handshake() 397 u16 major, u16 minor) send_version_nack() 403 ver.major = major; send_version_nack() 410 ver.major, ver.minor); send_version_nack() 427 vp->major, vp->minor); send_version_ack() 564 static struct ldc_version *find_by_major(u16 major) find_by_major() argument 571 if (v->major <= major) { find_by_major() 584 ldcdbg(HS, "GOT VERSION INFO major[%x] minor[%x]\n", process_ver_info() 585 vp->major, vp->minor); process_ver_info() 592 vap = find_by_major(vp->major); process_ver_info() 595 } else if (vap->major != vp->major) { process_ver_info() 596 err = send_version_nack(lp, vap->major, vap->minor); process_ver_info() 615 ldcdbg(HS, "GOT VERSION ACK major[%x] minor[%x]\n", process_ver_ack() 616 vp->major, vp->minor); process_ver_ack() 619 if (lp->ver.major != vp->major || process_ver_ack() 637 if (vp->major == 0 && vp->minor == 0) process_ver_nack() 640 vap = find_by_major(vp->major); process_ver_nack() 2318 unsigned long major, minor; ldc_init() local 2337 major = 1; ldc_init() 2339 if (sun4v_hvapi_register(HV_GRP_LDOM, major, &minor)) { ldc_init() 396 send_version_nack(struct ldc_channel *lp, u16 major, u16 minor) send_version_nack() argument
|
H A D | ds.c | 64 __u16 major; member in struct:ds_version 80 __u16 major; member in struct:ds_ver_nack 86 __u16 major; member in struct:ds_reg_req 100 __u16 major; member in struct:ds_reg_nack 909 pbuf.req.major = 1; register_services() 1070 req.ver.major = 1; ds_up() 1258 unsigned long hv_ret, major, minor; ds_init() local 1261 hv_ret = sun4v_get_version(HV_GRP_REBOOT_DATA, &major, &minor); ds_init() 1264 major, minor); ds_init()
|
H A D | irq_64.c | 127 * 2) Second, and more importantly, with major version 2.0 these VIRQ 140 * To correct this, major version 3.0 was created which does actually 143 * negotiate major version 3.0 or later of HV_GRP_INTR. 154 unsigned long hv_error, major, minor = 0; irq_init_hv() local 160 major = hvirq_major; irq_init_hv() 162 major = 3; irq_init_hv() 164 hv_error = sun4v_hvapi_register(HV_GRP_INTR, major, &minor); irq_init_hv() 166 hv_irq_version = major; irq_init_hv() 170 pr_info("SUN4V: Using IRQ API major %d, cookie only virqs %s\n", irq_init_hv()
|
/linux-4.1.27/arch/mips/kernel/ |
H A D | rtlx-cmp.c | 20 static int major; variable 64 major = register_chrdev(0, RTLX_MODULE_NAME, &rtlx_fops); rtlx_module_init() 65 if (major < 0) { rtlx_module_init() 67 return major; rtlx_module_init() 77 dev = device_create(mt_class, NULL, MKDEV(major, i), NULL, rtlx_module_init() 81 device_destroy(mt_class, MKDEV(major, i)); rtlx_module_init() 105 device_destroy(mt_class, MKDEV(major, i)); rtlx_module_init() 107 unregister_chrdev(major, RTLX_MODULE_NAME); rtlx_module_init() 117 device_destroy(mt_class, MKDEV(major, i)); rtlx_module_exit() 119 unregister_chrdev(major, RTLX_MODULE_NAME); rtlx_module_exit()
|
H A D | rtlx-mt.c | 21 static int major; variable 90 major = register_chrdev(0, RTLX_MODULE_NAME, &rtlx_fops); rtlx_module_init() 91 if (major < 0) { rtlx_module_init() 93 return major; rtlx_module_init() 103 dev = device_create(mt_class, NULL, MKDEV(major, i), NULL, rtlx_module_init() 107 device_destroy(mt_class, MKDEV(major, i)); rtlx_module_init() 136 device_destroy(mt_class, MKDEV(major, i)); rtlx_module_init() 138 unregister_chrdev(major, RTLX_MODULE_NAME); rtlx_module_init() 148 device_destroy(mt_class, MKDEV(major, i)); rtlx_module_exit() 150 unregister_chrdev(major, RTLX_MODULE_NAME); rtlx_module_exit()
|
H A D | vpe-cmp.c | 17 static int major; variable 107 major = register_chrdev(0, VPE_MODULE_NAME, &vpe_fops); vpe_module_init() 108 if (major < 0) { vpe_module_init() 110 return major; vpe_module_init() 123 vpe_device.devt = MKDEV(major, VPE_MODULE_MINOR); vpe_module_init() 163 unregister_chrdev(major, VPE_MODULE_NAME); vpe_module_init() 174 unregister_chrdev(major, VPE_MODULE_NAME); vpe_module_exit()
|
H A D | vpe-mt.c | 20 static int major; variable 355 major = register_chrdev(0, VPE_MODULE_NAME, &vpe_fops); vpe_module_init() 356 if (major < 0) { vpe_module_init() 358 return major; vpe_module_init() 371 vpe_device.devt = MKDEV(major, VPE_MODULE_MINOR); vpe_module_init() 503 unregister_chrdev(major, VPE_MODULE_NAME); vpe_module_init() 514 unregister_chrdev(major, VPE_MODULE_NAME); vpe_module_exit()
|
H A D | mips-cm.c | 60 /* L2-only sync was introduced with CM major revision 6 */ mips_cm_probe_l2sync()
|
/linux-4.1.27/drivers/tty/ |
H A D | tty_audit.c | 19 int major, minor; /* The TTY which the data is from */ member in struct:tty_audit_buf 25 static struct tty_audit_buf *tty_audit_buf_alloc(int major, int minor, tty_audit_buf_alloc() argument 38 buf->major = major; tty_audit_buf_alloc() 63 static void tty_audit_log(const char *description, int major, int minor, tty_audit_log() argument 77 audit_log_format(ab, "%s pid=%u uid=%u auid=%u ses=%u major=%d" tty_audit_log() 79 loginuid, sessionid, major, minor); tty_audit_log() 102 tty_audit_log("tty", buf->major, buf->minor, buf->data, buf->valid); tty_audit_buf_push() 145 int major, minor, should_audit; tty_audit_tiocsti() local 155 major = tty->driver->major; tty_audit_tiocsti() 159 if (buf->major == major && buf->minor == minor) tty_audit_tiocsti() 171 tty_audit_log("ioctl=TIOCSTI", major, minor, &ch, 1); tty_audit_tiocsti() 237 buf2 = tty_audit_buf_alloc(tty->driver->major, tty_audit_buf_get() 272 int major, minor; tty_audit_add_data() local 294 major = tty->driver->major; tty_audit_add_data() 296 if (buf->major != major || buf->minor != minor tty_audit_add_data() 299 buf->major = major; tty_audit_add_data() 341 int major, minor; tty_audit_push() local 343 major = tty->driver->major; tty_audit_push() 346 if (buf->major == major && buf->minor == minor) tty_audit_push()
|
/linux-4.1.27/fs/ |
H A D | char_dev.c | 13 #include <linux/major.h> 33 unsigned int major; member in struct:char_device_struct 41 static inline int major_to_index(unsigned major) major_to_index() argument 43 return major % CHRDEV_MAJOR_HASH_SIZE; major_to_index() 55 seq_printf(f, "%3d %s\n", cd->major, cd->name); chrdev_show() 63 * Register a single major with a specified minor range. 65 * If major == 0 this functions will dynamically allocate a major and return 68 * If major > 0 this function will attempt to reserve the passed range of 74 __register_chrdev_region(unsigned int major, unsigned int baseminor, __register_chrdev_region() argument 88 if (major == 0) { __register_chrdev_region() 98 major = i; __register_chrdev_region() 101 cd->major = major; __register_chrdev_region() 106 i = major_to_index(major); __register_chrdev_region() 109 if ((*cp)->major > major || __register_chrdev_region() 110 ((*cp)->major == major && __register_chrdev_region() 116 if (*cp && (*cp)->major == major) { __register_chrdev_region() 146 __unregister_chrdev_region(unsigned major, unsigned baseminor, int minorct) __unregister_chrdev_region() argument 149 int i = major_to_index(major); __unregister_chrdev_region() 153 if ((*cp)->major == major && __unregister_chrdev_region() 168 * the major number. 206 * Allocates a range of char device numbers. The major number will be 217 *dev = MKDEV(cd->major, cd->baseminor); alloc_chrdev_region() 223 * @major: major device number or 0 for dynamic allocation 229 * If @major == 0 this functions will dynamically allocate a major and return 232 * If @major > 0 this function will attempt to reserve a device with the given 233 * major number and will return zero on success. 242 int __register_chrdev(unsigned int major, unsigned int baseminor, __register_chrdev() argument 250 cd = __register_chrdev_region(major, baseminor, count, name); __register_chrdev() 262 err = cdev_add(cdev, MKDEV(cd->major, baseminor), count); __register_chrdev() 268 return major ? 0 : cd->major; __register_chrdev() 272 kfree(__unregister_chrdev_region(cd->major, baseminor, count)); __register_chrdev() 300 * @major: major device number 306 * @major, @baseminor and @count. This function undoes what 309 void __unregister_chrdev(unsigned int major, unsigned int baseminor, __unregister_chrdev() argument 314 cd = __unregister_chrdev_region(major, baseminor, count); __unregister_chrdev() 548 if (request_module("char-major-%d-%d", MAJOR(dev), MINOR(dev)) > 0) base_probe() 550 request_module("char-major-%d", MAJOR(dev)); base_probe()
|
H A D | dax.c | 328 int major = 0; do_dax_fault() local 372 major = VM_FAULT_MAJOR; do_dax_fault() 406 if (!page && major) do_dax_fault() 433 return VM_FAULT_OOM | major; do_dax_fault() 436 return VM_FAULT_SIGBUS | major; do_dax_fault() 437 return VM_FAULT_NOPAGE | major; do_dax_fault()
|
/linux-4.1.27/drivers/char/ |
H A D | scx200_gpio.c | 32 static int major = 0; /* default to dynamic major */ variable 33 module_param(major, int, 0); 34 MODULE_PARM_DESC(major, "Major device number"); 97 if (major) { scx200_gpio_init() 98 devid = MKDEV(major, 0); scx200_gpio_init() 102 major = MAJOR(devid); scx200_gpio_init() 127 unregister_chrdev_region(MKDEV(major, 0), MAX_PINS); scx200_gpio_cleanup()
|
H A D | pc8736x_gpio.c | 31 static int major; /* default to dynamic major */ variable 32 module_param(major, int, 0); 33 MODULE_PARM_DESC(major, "Major device number"); 305 if (major) { pc8736x_gpio_init() 306 devid = MKDEV(major, 0); pc8736x_gpio_init() 310 major = MAJOR(devid); pc8736x_gpio_init() 317 if (!major) { pc8736x_gpio_init() 318 major = rc; pc8736x_gpio_init() 319 dev_dbg(&pdev->dev, "got dynamic major %d\n", major); pc8736x_gpio_init() 345 unregister_chrdev_region(MKDEV(major,0), PC8736X_GPIO_CT); pc8736x_gpio_cleanup()
|
H A D | tb0219.c | 34 static int major; /* default is dynamic major device number */ variable 35 module_param(major, int, 0); 36 MODULE_PARM_DESC(major, "Major device number"); 300 retval = register_chrdev(major, "TB0219", &tb0219_fops); tb0219_probe() 313 if (major == 0) { tb0219_probe() 314 major = retval; tb0219_probe() 315 printk(KERN_INFO "TB0219: major number %d\n", major); tb0219_probe()
|
H A D | raw.c | 13 #include <linux/major.h> 126 static int bind_set(int number, u64 major, u64 minor) bind_set() argument 128 dev_t dev = MKDEV(major, minor); bind_set() 135 if (MAJOR(dev) != major || MINOR(dev) != minor) bind_set() 151 * major/minor numbers make sense. bind_set()
|
H A D | misc.c | 42 #include <linux/major.h> 130 request_module("char-major-%d-%d", MISC_MAJOR, minor); misc_open() 295 printk("unable to get major %d for misc devices\n", MISC_MAJOR); misc_init()
|
H A D | toshiba.c | 315 3) BIOS version (major, minor) proc_toshiba_show() 430 int i,major,minor,day,year,month,flag; tosh_probe() local 474 major = readb(bios+0xe009)-'0'; tosh_probe() 476 tosh_bios = (major*0x100)+minor; tosh_probe()
|
/linux-4.1.27/security/keys/encrypted-keys/ |
H A D | ecryptfs_format.c | 33 void ecryptfs_get_versions(int *major, int *minor, int *file_version) ecryptfs_get_versions() argument 35 *major = ECRYPTFS_VERSION_MAJOR; ecryptfs_get_versions() 53 int major, minor; ecryptfs_fill_auth_tok() local 55 ecryptfs_get_versions(&major, &minor, NULL); ecryptfs_fill_auth_tok() 56 auth_tok->version = (((uint16_t)(major << 8) & 0xFF00) ecryptfs_fill_auth_tok()
|
H A D | ecryptfs_format.h | 26 void ecryptfs_get_versions(int *major, int *minor, int *file_version);
|
/linux-4.1.27/sound/pci/asihpi/ |
H A D | hpi_version.h | 22 /** Construct hpi version number from major, minor, release numbers */ 25 /** Extract major version from hpi version number */
|
/linux-4.1.27/drivers/s390/char/ |
H A D | tape_class.h | 15 #include <linux/major.h> 37 * The intended major/minor number. The major number may be 0 to 38 * get a dynamic major number.
|
H A D | tape_class.c | 34 * The intended major/minor number. The major number may be 0 to 35 * get a dynamic major number.
|
H A D | vmur.h | 90 * Device major/minor definitions. 93 #define UR_MAJOR 0 /* get dynamic major */
|
H A D | hmcdrv_dev.c | 34 * separated device class (and dynamically assigns a major number). If not 81 static dev_t hmcdrv_dev_no; /* device number (major/minor) */ 283 * device under /dev, using a dynamically allocated major number.
|
/linux-4.1.27/include/linux/ |
H A D | root_dev.h | 4 #include <linux/major.h>
|
H A D | kdev_t.h | 45 unsigned major = MAJOR(dev); new_encode_dev() local 47 return (minor & 0xff) | (major << 8) | ((minor & ~0xff) << 12); new_encode_dev() 52 unsigned major = (dev & 0xfff00) >> 8; new_decode_dev() local 54 return MKDEV(major, minor); new_decode_dev()
|
H A D | qcom_scm.h | 24 #define QCOM_SCM_VERSION(major, minor) (((major) << 16) | ((minor) & 0xFF))
|
H A D | miscdevice.h | 3 #include <linux/major.h> 73 MODULE_ALIAS("char-major-" __stringify(MISC_MAJOR) \
|
H A D | i2c-dev.h | 27 #define I2C_MAJOR 89 /* Device major number */
|
H A D | pe.h | 142 uint8_t ld_major; /* linker major version */ 154 uint16_t os_major; /* major OS version */ 156 uint16_t image_major; /* major image version */ 158 uint16_t subsys_major; /* major subsystem version */ 177 uint8_t ld_major; /* linker major version */ 188 uint16_t os_major; /* major OS version */ 190 uint16_t image_major; /* major image version */ 192 uint16_t subsys_major; /* major subsystem version */
|
H A D | ecryptfs.h | 93 u16 version; /* 8-bit major and 8-bit minor */
|
/linux-4.1.27/arch/alpha/include/uapi/asm/ |
H A D | types.h | 8 * not a major issue. However, for interoperability, libraries still
|
/linux-4.1.27/fs/f2fs/ |
H A D | trace.c | 29 last_io.major, last_io.minor, __print_last_io() 87 int major, minor; f2fs_trace_ios() local 97 major = MAJOR(inode->i_sb->s_dev); f2fs_trace_ios() 100 if (last_io.major == major && last_io.minor == minor && f2fs_trace_ios() 111 last_io.major = major; f2fs_trace_ios()
|
H A D | trace.h | 28 int major, minor; member in struct:last_io_info
|
/linux-4.1.27/drivers/gpu/drm/nouveau/include/nvkm/subdev/ |
H A D | bios.h | 14 u8 major; member in struct:nvkm_bios::__anon4134
|
/linux-4.1.27/include/linux/mtd/ |
H A D | qinfo.h | 31 * @major - major number of qinfo record 32 * @major - minor number of qinfo record 37 uint8_t major; member in struct:qinfo_query_info
|
/linux-4.1.27/security/ |
H A D | device_cgroup.c | 41 u32 major, minor; member in struct:dev_exception_item 107 if (walk->major != ex->major) dev_exception_add() 135 if (walk->major != ex->major) dev_exception_rm() 297 set_majmin(maj, ex->major); devcgroup_seq_show() 312 * @major: device file major number, ~0 to match all 322 u32 major, u32 minor, short access) match_exception() 331 if (ex->major != ~0 && ex->major != major) list_for_each_entry_rcu() 347 * @major: device file major number, ~0 to match all 359 u32 major, u32 minor, short access) match_exception_partial() 372 if (ex->major != ~0 && major != ~0 && ex->major != major) list_for_each_entry_rcu() 422 refex->major, verify_new_ex() 438 refex->major, refex->minor, verify_new_ex() 493 ex->major, ex->minor, ex->access); parent_allows_removal() 662 ex.major = ~0; devcgroup_update_access() 672 rc = kstrtou32(temp, 10, &ex.major); devcgroup_update_access() 806 * @major: device major number 812 static int __devcgroup_check_permission(short type, u32 major, u32 minor, __devcgroup_check_permission() argument 823 type, major, minor, access); __devcgroup_check_permission() 826 rc = match_exception(&dev_cgroup->exceptions, type, major, __devcgroup_check_permission() 321 match_exception(struct list_head *exceptions, short type, u32 major, u32 minor, short access) match_exception() argument 358 match_exception_partial(struct list_head *exceptions, short type, u32 major, u32 minor, short access) match_exception_partial() argument
|
/linux-4.1.27/drivers/platform/x86/ |
H A D | intel_scu_ipcutil.c | 27 static int major; variable 104 major = register_chrdev(0, "intel_mid_scu", &scu_ipc_fops); ipc_module_init() 105 if (major < 0) ipc_module_init() 106 return major; ipc_module_init() 113 unregister_chrdev(major, "intel_mid_scu"); ipc_module_exit()
|
/linux-4.1.27/drivers/mfd/ |
H A D | qcom-spmi-pmic.c | 63 unsigned int rev2, minor, major, type, subtype; pmic_spmi_show_revid() local 94 ret = regmap_read(map, PMIC_REV4, &major); pmic_spmi_show_revid() 99 * In early versions of PM8941 and PM8226, the major revision number pmic_spmi_show_revid() 101 * Increment the major revision number here if the chip is an early pmic_spmi_show_revid() 105 major < 0x02) pmic_spmi_show_revid() 106 major++; pmic_spmi_show_revid() 111 dev_dbg(dev, "%x: %s v%d.%d\n", subtype, name, major, minor); pmic_spmi_show_revid()
|
H A D | timberdale.c | 57 u32 major; member in struct:timberdale_device::__anon5971 644 return sprintf(buf, "%d.%d.%d\n", priv->fw.major, priv->fw.minor, show_fw_ver() 691 priv->fw.major = ioread32(priv->ctl_membase + TIMB_REV_MAJOR); timb_probe() 695 if (priv->fw.major > TIMB_SUPPORTED_MAJOR) { timb_probe() 698 "support %d.%d\n", priv->fw.major, priv->fw.minor); timb_probe() 701 if (priv->fw.major < TIMB_SUPPORTED_MAJOR || timb_probe() 705 priv->fw.major, priv->fw.minor, timb_probe() 781 priv->fw.major, priv->fw.minor, ip_setup); timb_probe() 815 priv->fw.major, priv->fw.minor, priv->fw.config); timb_probe()
|
H A D | kempld-core.c | 61 pld->info.major = KEMPLD_VERSION_GET_MAJOR(version); kempld_get_info_generic() 294 char major, minor; kempld_get_info() local 308 if (pld->info.major < 10) kempld_get_info() 309 major = pld->info.major + '0'; kempld_get_info() 311 major = (pld->info.major - 10) + 'A'; kempld_get_info() 318 "P%X%c%c.%04X", pld->info.number, major, minor, kempld_get_info()
|
H A D | si476x-i2c.c | 546 * @major: Firmware major number 557 int func, int major, si476x_core_fwver_to_revision() 562 switch (major) { si476x_core_fwver_to_revision() 573 switch (major) { si476x_core_fwver_to_revision() 584 switch (major) { si476x_core_fwver_to_revision() 604 major, minor1, minor2); si476x_core_fwver_to_revision() 637 info.firmware.major, si476x_core_get_revision_info() 556 si476x_core_fwver_to_revision(struct si476x_core *core, int func, int major, int minor1, int minor2) si476x_core_fwver_to_revision() argument
|
H A D | menf21bmc.c | 70 dev_err(&client->dev, "failed to get BMC major revision\n"); menf21bmc_probe()
|
H A D | viperboard.c | 75 /* get version information, major first, minor then */ vprbrd_probe()
|
/linux-4.1.27/drivers/hid/ |
H A D | hid-thingm.c | 24 /* Firmware major number of supported devices */ 29 char major; member in struct:thingm_fwinfo 36 .major = THINGM_MAJOR_MK1, 40 .major = THINGM_MAJOR_MK2, 66 char major; member in struct:thingm_device::__anon4657 117 tdev->version.major = buf[3]; thingm_version() 245 tdev->version.major, tdev->version.minor); thingm_probe() 248 if (thingm_fwinfo[i].major == tdev->version.major) thingm_probe() 252 hid_err(hdev, "unsupported firmware %c\n", tdev->version.major); thingm_probe()
|
/linux-4.1.27/arch/m68k/emu/ |
H A D | nfblock.c | 34 static inline s32 nfhd_read_write(u32 major, u32 minor, u32 rwflag, u32 recno, nfhd_read_write() argument 37 return nf_call(nfhd_id + NFHD_READ_WRITE, major, minor, rwflag, recno, nfhd_read_write() 41 static inline s32 nfhd_get_capacity(u32 major, u32 minor, u32 *blocks, nfhd_get_capacity() argument 44 return nf_call(nfhd_id + NFHD_GET_CAPACITY, major, minor, nfhd_get_capacity() 132 dev->disk->major = major_num; nfhd_init_one() 165 pr_warn("nfhd: unable to get major number\n"); nfhd_init()
|
/linux-4.1.27/arch/mips/fw/arc/ |
H A D | arc_con.c | 10 #include <linux/major.h>
|
/linux-4.1.27/fs/nfs/ |
H A D | netns.h | 14 uint32_t major, minor; member in struct:bl_dev_msg
|
/linux-4.1.27/arch/ia64/hp/sim/ |
H A D | hpsim_setup.c | 12 #include <linux/major.h>
|
/linux-4.1.27/arch/ia64/include/asm/ |
H A D | types.h | 4 * Linux specific so (user-) name space pollution is not a major issue.
|
/linux-4.1.27/arch/ia64/include/uapi/asm/ |
H A D | types.h | 4 * Linux specific so (user-) name space pollution is not a major issue.
|
/linux-4.1.27/include/linux/mfd/ |
H A D | kempld.h | 58 * @major: PLD major revision 63 * @spec_major: PLD FW specification major revision 68 unsigned int major; member in struct:kempld_info
|
/linux-4.1.27/arch/sparc/include/asm/ |
H A D | vio.h | 48 u16 major; member in struct:vio_ver_info 352 u16 major; member in struct:vio_version 424 u16 major, u16 minor) vio_version_before() 426 u32 have = (u32)vio->ver.major << 16 | vio->ver.minor; vio_version_before() 427 u32 want = (u32)major << 16 | minor; vio_version_before() 433 u16 major, u16 minor) vio_version_after() 435 u32 have = (u32)vio->ver.major << 16 | vio->ver.minor; vio_version_after() 436 u32 want = (u32)major << 16 | minor; vio_version_after() 442 u16 major, u16 minor) vio_version_after_eq() 444 u32 have = (u32)vio->ver.major << 16 | vio->ver.minor; vio_version_after_eq() 445 u32 want = (u32)major << 16 | minor; vio_version_after_eq() 423 vio_version_before(struct vio_driver_state *vio, u16 major, u16 minor) vio_version_before() argument 432 vio_version_after(struct vio_driver_state *vio, u16 major, u16 minor) vio_version_after() argument 441 vio_version_after_eq(struct vio_driver_state *vio, u16 major, u16 minor) vio_version_after_eq() argument
|
/linux-4.1.27/drivers/scsi/aic94xx/ |
H A D | aic94xx_seq.h | 41 /* numeric major version */ 42 u32 major; member in struct:sequencer_file_header
|
H A D | aic94xx_sds.c | 48 u8 major; /* 0 */ member in struct:asd_ocm_dir 111 u8 major; /* 1 */ member in struct:asd_bios_chim_struct 161 if (dir->major != 0) { asd_read_ocm_dir() 162 asd_printk("unsupported major version of ocm dir:0x%x\n", asd_read_ocm_dir() 163 dir->major); asd_read_ocm_dir() 247 if (bc_struct->major != 1) { asd_get_bios_chim() 248 asd_printk("BIOS_CHIM unsupported major version:0x%x\n", asd_get_bios_chim() 249 bc_struct->major); asd_get_bios_chim() 691 asd_printk("unsupported manuf. sector. major version:%x\n", asd_validate_ms() 803 asd_printk("unsupported manuf. phy param major version:0x%x\n", asd_ms_get_phy_params() 852 ASD_DPRINTK("ms: unsupported: connector map major version 0x%x" asd_ms_get_connector_map()
|
/linux-4.1.27/drivers/block/rsxx/ |
H A D | dev.c | 256 card->major = register_blkdev(0, DRIVER_NAME); rsxx_setup_dev() 257 if (card->major < 0) { rsxx_setup_dev() 258 dev_err(CARD_TO_DEV(card), "Failed to get major number\n"); rsxx_setup_dev() 265 unregister_blkdev(card->major, DRIVER_NAME); rsxx_setup_dev() 273 unregister_blkdev(card->major, DRIVER_NAME); rsxx_setup_dev() 304 card->gendisk->major = card->major; rsxx_setup_dev() 323 unregister_blkdev(card->major, DRIVER_NAME); rsxx_destroy_dev()
|
/linux-4.1.27/drivers/gpu/drm/msm/mdp/mdp5/ |
H A D | mdp5_cfg.c | 237 uint32_t major, uint32_t minor) mdp5_cfg_init() 251 if (major != 1) { mdp5_cfg_init() 252 dev_err(dev->dev, "unexpected MDP major version: v%d.%d\n", mdp5_cfg_init() 253 major, minor); mdp5_cfg_init() 268 major, minor); mdp5_cfg_init() 236 mdp5_cfg_init(struct mdp5_kms *mdp5_kms, uint32_t major, uint32_t minor) mdp5_cfg_init() argument
|
H A D | mdp5_kms.c | 381 uint32_t *major, uint32_t *minor) read_hw_revision() 389 *major = FIELD(version, MDSS_HW_VERSION_MAJOR); read_hw_revision() 392 DBG("MDP5 version v%d.%d", *major, *minor); read_hw_revision() 415 uint32_t major, minor; mdp5_kms_init() local 483 read_hw_revision(mdp5_kms, &major, &minor); mdp5_kms_init() 485 mdp5_kms->cfg = mdp5_cfg_init(mdp5_kms, major, minor); mdp5_kms_init() 380 read_hw_revision(struct mdp5_kms *mdp5_kms, uint32_t *major, uint32_t *minor) read_hw_revision() argument
|
H A D | mdp5_cfg.h | 107 uint32_t major, uint32_t minor);
|
/linux-4.1.27/include/uapi/linux/raid/ |
H A D | md_u.h | 19 * Different major versions are not compatible. 67 /* 63 partitions with the alternate major number (mdp) */ 71 int major; member in struct:mdu_version_s 125 int major; member in struct:mdu_disk_info_s 136 int major; member in struct:mdu_start_info_s
|
H A D | md_p.h | 95 __u32 major; /* 1 Device major number */ member in struct:mdp_device_descriptor_s 129 __u32 major_version; /* 1 major version to which the set conforms */
|
/linux-4.1.27/sound/core/ |
H A D | sound.c | 35 static int major = CONFIG_SND_MAJOR; variable 44 module_param(major, int, 0444); 45 MODULE_PARM_DESC(major, "Major # for sound driver."); 288 device->devt = MKDEV(major, minor); snd_register_device() 416 snd_major = major; alsa_sound_init() 418 if (register_chrdev(major, "alsa", &snd_fops)) { alsa_sound_init() 419 pr_err("ALSA core: unable to register native major device number %d\n", major); alsa_sound_init() 423 unregister_chrdev(major, "alsa"); alsa_sound_init() 437 unregister_chrdev(major, "alsa"); alsa_sound_exit()
|
/linux-4.1.27/block/ |
H A D | genhd.c | 28 /* for extended dynamic devt allocation, currently only one major is used */ 245 int major; member in struct:blk_major_name 250 static inline int major_to_index(unsigned major) major_to_index() argument 252 return major % BLKDEV_MAJOR_HASH_SIZE; major_to_index() 263 seq_printf(seqf, "%3d %s\n", dp->major, dp->name); blkdev_show() 272 * @major: the requested major device number [1..255]. If @major=0, try to 273 * allocate any unused major number. 278 * The return value depends on the @major input parameter. 279 * - if a major device number was requested in range [1..255] then the 281 * - if any unused major number was requested with @major=0 parameter 282 * then the return value is the allocated major number in range 285 int register_blkdev(unsigned int major, const char *name) register_blkdev() argument 293 if (major == 0) { register_blkdev() 300 printk("register_blkdev: failed to get major for %s\n", register_blkdev() 305 major = index; register_blkdev() 306 ret = major; register_blkdev() 315 p->major = major; register_blkdev() 318 index = major_to_index(major); register_blkdev() 321 if ((*n)->major == major) register_blkdev() 330 printk("register_blkdev: cannot get major %d for %s\n", register_blkdev() 331 major, name); register_blkdev() 341 void unregister_blkdev(unsigned int major, const char *name) unregister_blkdev() argument 345 int index = major_to_index(major); unregister_blkdev() 349 if ((*n)->major == major) unregister_blkdev() 418 *devt = MKDEV(disk->major, disk->first_minor + part->partno); blk_alloc_devt() 592 WARN_ON(disk->minors && !(disk->major || disk->first_minor)); add_disk() 604 /* ->major and ->first_minor aren't supposed to be add_disk() 607 disk->major = MAJOR(devt); add_disk() 840 seq_puts(seqf, "major minor #blocks name\n\n"); show_partition_start() 893 if (request_module("block-major-%d-%d", MAJOR(devt), MINOR(devt)) > 0) base_probe() 895 request_module("block-major-%d", MAJOR(devt)); base_probe() 1157 seq_puts(seqf, "major minor name" diskstats_show()
|
/linux-4.1.27/drivers/net/wireless/iwlwifi/ |
H A D | iwl-devtrace-iwlwifi.h | 119 u32 gp1, u32 gp2, u32 gp3, u32 major, u32 minor, u32 hw_ver, 123 gp3, major, minor, hw_ver, brd_ver), 139 __field(u32, major) 159 __entry->major = major; 166 "bcon_tm %010u gp 0x%08X 0x%08X 0x%08X major 0x%08X " 173 __entry->gp3, __entry->major, __entry->minor,
|
/linux-4.1.27/include/uapi/drm/ |
H A D | drm_fourcc.h | 170 * in row-major layout. Within the tile bytes are laid out row-major, with 184 * in row-major layout. Within the tile bytes are laid out in OWORD (16 bytes) 185 * chunks column-major, with a platform-dependent height. On top of that the 198 * This is a tiled layout using 4Kb tiles in row-major layout. 200 * are arranged in four groups (two wide, two high) with column-major layout. 202 * out as 2x2 column-major.
|
/linux-4.1.27/drivers/staging/fsl-mc/include/ |
H A D | dpmng.h | 49 * @major: Major version number: incremented on API compatibility changes 51 * backward compatible); reset when major version is incremented 56 uint32_t major; member in struct:mc_version
|
/linux-4.1.27/include/uapi/linux/ |
H A D | fuse.h | 122 * If the major versions match then both shall use the smallest 125 * If the kernel supports a larger major version, then userspace shall 126 * reply with the major version it supports, ignore the rest of the 128 * matching major version. 130 * If the library supports a larger major version, then it shall fall 131 * back to the major protocol version sent by the kernel for 132 * communication and reply with that major version (and an arbitrary 572 uint32_t major; member in struct:fuse_init_in 582 uint32_t major; member in struct:fuse_init_out 596 uint32_t major; member in struct:cuse_init_in 603 uint32_t major; member in struct:cuse_init_out 609 uint32_t dev_major; /* chardev major */
|
H A D | media.h | 88 __u32 major; member in struct:media_entity_desc::__anon13421::__anon13422 119 * be just major/minor inside the struct, as this is enough 123 __u32 major; member in struct:media_entity_desc::__anon13421::__anon13424 127 __u32 major; member in struct:media_entity_desc::__anon13421::__anon13425
|
H A D | vm_sockets.h | 124 /* The major (second) component of the vSockets version. A single byte 125 * representing the major component of the vSockets version. Typically 126 * changes for every major release of a product.
|
/linux-4.1.27/init/ |
H A D | initramfs.c | 57 int ino, minor, major; member in struct:hash 63 static inline int hash(int major, int minor, int ino) hash() argument 65 unsigned long tmp = ino + minor + (major << 3); hash() 70 static char __init *find_link(int major, int minor, int ino, find_link() argument 74 for (p = head + hash(major, minor, ino); *p; p = &(*p)->next) { find_link() 79 if ((*p)->major != major) find_link() 88 q->major = major; find_link() 155 static __initdata unsigned long ino, major, minor, nlink; variable 180 major = parsed[7]; parse_header() 305 char *old = find_link(major, minor, ino, mode, collected); maybe_link()
|
H A D | do_mounts.h | 8 #include <linux/major.h>
|
/linux-4.1.27/drivers/block/paride/ |
H A D | pg.c | 43 the 'major' parameter to install the driver on a different 44 major number.) 87 major You may use this parameter to overide the 88 default major number (97) that this driver 141 static int major = PG_MAJOR; variable 172 module_param(major, int, 0); 482 printk("%s: %s version %s, major %d\n", name, name, PG_VERSION, major); pg_detect() 674 err = register_chrdev(major, name, &pg_fops); pg_init() 676 printk("pg_init: unable to get major number %d\n", major); pg_init() 684 major = err; /* In case the user specified `major=0' (dynamic) */ pg_init() 693 device_create(pg_class, NULL, MKDEV(major, unit), NULL, pg_init() 700 unregister_chrdev(major, "pg"); pg_init() 712 device_destroy(pg_class, MKDEV(major, unit)); pg_exit() 715 unregister_chrdev(major, name); pg_exit()
|
H A D | pt.c | 64 major You may use this parameter to overide the 65 default major number (96) that this driver 121 static int major = PT_MAJOR; variable 156 module_param(major, int, 0); 606 printk("%s: %s version %s, major %d\n", name, name, PT_VERSION, major); pt_detect() 969 err = register_chrdev(major, name, &pt_fops); pt_init() 971 printk("pt_init: unable to get major number %d\n", major); pt_init() 977 major = err; pt_init() 986 device_create(pt_class, NULL, MKDEV(major, unit), NULL, pt_init() 988 device_create(pt_class, NULL, MKDEV(major, unit + 128), pt_init() 994 unregister_chrdev(major, "pt"); pt_init() 1004 device_destroy(pt_class, MKDEV(major, unit)); pt_exit() 1005 device_destroy(pt_class, MKDEV(major, unit + 128)); pt_exit() 1008 unregister_chrdev(major, name); pt_exit()
|
H A D | pcd.c | 53 major You may use this parameter to overide the 54 default major number (46) that this driver 115 static int major = PCD_MAJOR; variable 148 module_param(major, int, 0); 318 disk->major = major; pcd_init_units() 690 printk("%s: %s version %s, major %d, nice %d\n", pcd_detect() 691 name, name, PCD_VERSION, major, nice); pcd_detect() 946 if (register_blkdev(major, name)) { pcd_init() 954 unregister_blkdev(major, name); pcd_init() 986 unregister_blkdev(major, name); pcd_exit()
|
H A D | pd.c | 64 major You may use this parameter to overide the 65 default major number (45) that this driver 130 static int major = PD_MAJOR; variable 165 module_param(major, int, 0); 839 p->major = major; pd_probe_drive() 921 if (register_blkdev(major, name)) pd_init() 924 printk("%s: %s version %s, major %d, cluster %d, nice %d\n", pd_init() 925 name, name, PD_VERSION, major, cluster, nice); pd_init() 932 unregister_blkdev(major, name); pd_init() 943 unregister_blkdev(major, name); pd_exit()
|
H A D | pf.c | 62 major You may use this parameter to overide the 63 default major number (47) that this driver 130 static int major = PF_MAJOR; variable 164 module_param(major, int, 0); 295 disk->major = major; pf_init_units() 703 printk("%s: %s version %s, major %d, cluster %d, nice %d\n", pf_detect() 704 name, name, PF_VERSION, major, cluster, nice); pf_detect() 963 if (register_blkdev(major, name)) { pf_init() 970 unregister_blkdev(major, name); pf_init() 994 unregister_blkdev(major, name); pf_exit()
|
/linux-4.1.27/drivers/block/xen-blkback/ |
H A D | xenbus.c | 33 unsigned major; member in struct:backend_info 371 VBD_SHOW(physical_device, "%x:%x\n", be->major, be->minor); 414 unsigned major, unsigned minor, int readonly, xen_vbd_create() 426 vbd->pdevice = MKDEV(major, minor); xen_vbd_create() 468 if (be->major || be->minor) xen_blkbk_remove() 564 * the device's physical major and minor numbers. Switch to InitWait. 622 unsigned major; backend_changed() local 634 &major, &minor); backend_changed() 648 if (be->major | be->minor) { backend_changed() 649 if (be->major != major || be->minor != minor) backend_changed() 651 be->major, be->minor, major, minor); backend_changed() 674 be->major = major; backend_changed() 677 err = xen_vbd_create(be->blkif, handle, major, minor, backend_changed() 693 be->major = 0; backend_changed() 413 xen_vbd_create(struct xen_blkif *blkif, blkif_vdev_t handle, unsigned major, unsigned minor, int readonly, int cdrom) xen_vbd_create() argument
|
/linux-4.1.27/drivers/isdn/hardware/eicon/ |
H A D | divamnt.c | 28 static int major; variable 184 unregister_chrdev(major, DEVNAME); divas_maint_unregister_chrdev() 189 if ((major = register_chrdev(0, DEVNAME, &divas_maint_fops)) < 0) divas_maint_register_chrdev() 239 (diva_dbg_mem == 0) ? "internal" : "external", major); maint_init()
|
H A D | divasi.c | 31 static int major; variable 99 seq_printf(m, "major : %d\n", major); um_idi_proc_show() 146 unregister_chrdev(major, DEVNAME); divas_idi_unregister_chrdev() 151 if ((major = register_chrdev(0, DEVNAME, &divas_idi_fops)) < 0) divas_idi_register_chrdev() 195 printk(KERN_INFO "%s: started with major %d\n", DRIVERLNAME, major); divasi_init()
|
H A D | divasmain.c | 41 static int major; variable 195 sprintf(p, "%s: %s(%s) %s(%s) major=%d\n", DRIVERLNAME, DRIVERRELEASE_DIVAS, divas_get_version() 196 getrev(tmprev), diva_xdi_common_code_build, DIVA_BUILD, major); divas_get_version() 673 unregister_chrdev(major, DEVNAME); divas_unregister_chrdev() 678 if ((major = register_chrdev(0, DEVNAME, &divas_fops)) < 0) divas_register_chrdev() 824 printk(KERN_INFO "%s: started with major %d\n", DRIVERLNAME, major); divas_init()
|
/linux-4.1.27/drivers/mtd/ |
H A D | mtdsuper.c | 20 #include <linux/major.h> 127 int ret, major; mount_mtd() local 189 major = MAJOR(bdev->bd_dev); mount_mtd() 193 if (major != MTD_BLOCK_MAJOR) mount_mtd()
|
H A D | mtdblock_ro.c | 27 #include <linux/major.h> 74 .major = MTD_BLOCK_MAJOR,
|
H A D | mtd_blkdevs.c | 389 gd->major = tr->major; add_mtd_blktrans_dev() 543 ret = register_blkdev(tr->major, tr->name); register_mtd_blktrans() 545 printk(KERN_WARNING "Unable to register %s block device on major %d: %d\n", register_mtd_blktrans() 546 tr->name, tr->major, ret); register_mtd_blktrans() 552 tr->major = ret; register_mtd_blktrans() 579 unregister_blkdev(tr->major, tr->name); deregister_mtd_blktrans()
|
/linux-4.1.27/drivers/scsi/ufs/ |
H A D | ufs-qcom.h | 111 u8 *major, u16 *minor, u16 *step) ufs_qcom_get_controller_revision() 115 *major = (ver & UFS_HW_VER_MAJOR_MASK) >> UFS_HW_VER_MAJOR_SHFT; ufs_qcom_get_controller_revision() 154 /* Host controller hardware version: major.minor.step */ 158 u8 major; member in struct:ufs_hw_version 110 ufs_qcom_get_controller_revision(struct ufs_hba *hba, u8 *major, u16 *minor, u16 *step) ufs_qcom_get_controller_revision() argument
|
/linux-4.1.27/drivers/block/aoe/ |
H A D | aoechr.c | 82 int major, minor, n; revalidate() local 94 n = sscanf(buf, "e%d.%d", &major, &minor); revalidate() 99 d = aoedev_by_aoeaddr(major, minor, 0); revalidate() 104 aoecmd_cfg(major, minor); revalidate()
|
H A D | aoemain.c | 92 printk(KERN_ERR "aoe: can't register major\n"); aoe_init()
|
/linux-4.1.27/include/xen/interface/ |
H A D | version.h | 15 /* arg == NULL; returns major:minor (16:16). */
|
/linux-4.1.27/arch/powerpc/platforms/ps3/ |
H A D | setup.c | 58 int ps3_compare_firmware_version(u16 major, u16 minor, u16 rev) ps3_compare_firmware_version() argument 63 x.major = major; ps3_compare_firmware_version() 202 ps3_firmware_version.major, ps3_firmware_version.minor, ps3_setup_arch()
|
/linux-4.1.27/arch/powerpc/include/asm/ |
H A D | types.h | 5 * not a major issue. However, for interoperability, libraries still
|
H A D | vdso_datapage.h | 33 * If the major version changes we are incompatible. 55 __u32 major; /* Major number 0x10 */ member in struct:vdso_data::__anon2341
|
/linux-4.1.27/drivers/block/ |
H A D | ida_ioctl.h | 43 * the major,minor number of the fd passed to ioctl. If you need to send 47 * determined by the major number of the open device.
|
H A D | osdblk.c | 44 - blkdev assigned major 105 int major; /* blkdev assigned major */ member in struct:osdblk_device 413 disk->major = osdev->major; osdblk_init_disk() 487 osdev->major, class_osdblk_list() 566 osdev->major = irc; class_osdblk_add() 576 unregister_blkdev(osdev->major, osdev->name); class_osdblk_add() 629 unregister_blkdev(osdev->major, osdev->name); class_osdblk_remove()
|
H A D | virtio_blk.c | 20 static int major; variable 655 vblk->disk->major = major; virtblk_probe() 872 major = register_blkdev(0, "virtblk"); init() 873 if (major < 0) { init() 874 error = major; init() 884 unregister_blkdev(major, "virtblk"); init() 893 unregister_blkdev(major, "virtblk"); fini()
|
H A D | sx8.c | 273 int major; member in struct:carm_host 1514 disk->major = host->major; carm_init_disks() 1653 * Figure out which major to use: 160, 161, or dynamic carm_init_one() 1656 host->major = 160; carm_init_one() 1658 host->major = 161; carm_init_one() 1665 rc = register_blkdev(host->major, host->name); carm_init_one() 1669 host->major = rc; carm_init_one() 1691 printk(KERN_INFO "%s: pci %s, ports %d, io %llx, irq %u, major %d\n", carm_init_one() 1694 pdev->irq, host->major); carm_init_one() 1704 unregister_blkdev(host->major, host->name); carm_init_one() 1706 if (host->major == 160) carm_init_one() 1708 else if (host->major == 161) carm_init_one() 1736 unregister_blkdev(host->major, host->name); carm_remove_one() 1737 if (host->major == 160) carm_remove_one() 1739 else if (host->major == 161) carm_remove_one()
|
/linux-4.1.27/arch/mips/include/asm/mach-ath25/ |
H A D | ath25_platform.h | 19 u16 major; /* Board major number */ member in struct:ath25_boarddata
|
/linux-4.1.27/arch/arm/firmware/ |
H A D | trusted_foundations.c | 90 err = of_property_read_u32(node, "tlm,version-major", of_register_trusted_foundations() 93 panic("Trusted Foundation: missing version-major property\n"); of_register_trusted_foundations()
|
/linux-4.1.27/sound/isa/sb/ |
H A D | sb_common.c | 108 int major, minor; snd_sbdsp_probe() local 127 major = version >> 8; snd_sbdsp_probe() 130 chip->port, major, minor); snd_sbdsp_probe() 134 switch (major) { snd_sbdsp_probe() 158 chip->port, major, minor); snd_sbdsp_probe() 181 chip->version = (major << 8) | minor; snd_sbdsp_probe()
|
/linux-4.1.27/drivers/char/pcmcia/ |
H A D | cm4040_cs.c | 64 static int major; variable 598 device_create(cmx_class, NULL, MKDEV(major, i), NULL, "cmx%d", i); 621 device_destroy(cmx_class, MKDEV(major, devno)); 660 major = register_chrdev(0, DEVICE_NAME, &reader_fops); 661 if (major < 0) { 663 ": could not get major number\n"); 665 return major; 670 unregister_chrdev(major, DEVICE_NAME); 681 unregister_chrdev(major, DEVICE_NAME);
|
/linux-4.1.27/arch/powerpc/sysdev/ |
H A D | axonram.c | 8 * Block devices are called axonram?, their major and minor numbers are 221 bank->disk->major = azfs_major; axon_ram_probe() 274 if (bank->disk->major > 0) axon_ram_probe() 275 unregister_blkdev(bank->disk->major, axon_ram_probe() 332 printk(KERN_ERR "%s cannot become block device major number\n", axon_ram_init()
|
/linux-4.1.27/sound/oss/ |
H A D | sb_common.c | 258 devc->major = devc->minor = 0; dsp_get_vers() 265 if (devc->major == 0) dsp_get_vers() 266 devc->major = inb(DSP_READ); dsp_get_vers() 275 DDB(printk("DSP version %d.%02d\n", devc->major, devc->minor)); dsp_get_vers() 573 devc->major = 0; sb_dsp_detect() 576 if (devc->major == 0 || (devc->major == 3 && devc->minor == 1)) sb_dsp_detect() 579 if (devc->major == 0 && (devc->type == MDL_ESS || devc->type == 0)) sb_dsp_detect() 590 if (devc->major == 0) sb_dsp_detect() 593 if (devc->major == 3 && devc->minor == 1) sb_dsp_detect() 631 MDB(printk(KERN_INFO "SB %d.%02d detected OK (%x)\n", devc->major, devc->minor, hw_config->io_base)); sb_dsp_detect() 686 if (devc->major == 4) sb_dsp_init() 694 devc->major == 3 && devc->minor == 1) sb_dsp_init() 706 if (devc->major == 4 && devc->minor <= 11 ) /* Won't work */ sb_dsp_init() 732 switch (devc->major) sb_dsp_init() 814 if (devc->major == 3 || devc->major == 4) sb_dsp_init() 823 sprintf(name, "%s (%d.%02d)", hw_config->name, devc->major, devc->minor); sb_dsp_init() 835 if (devc->major == 3 && devc->minor != 1) /* "True" SB Pro should have v3.1 (rare ones may have 3.2). */ sb_dsp_init() 844 printk(KERN_INFO "SB DSP version is just %d.%02d which means that your card is\n", devc->major, devc->minor); sb_dsp_init()
|
/linux-4.1.27/drivers/s390/block/ |
H A D | dasd_genhd.c | 45 gdp->major = DASD_MAJOR; dasd_gendisk_alloc() 187 /* Register to static dasd major 94 */ dasd_gendisk_init() 190 pr_warning("Registering the device driver with major number " dasd_gendisk_init()
|
/linux-4.1.27/drivers/phy/ |
H A D | phy-qcom-ufs-qmp-20nm.c | 25 u8 major = ufs_qcom_phy->host_ctrl_rev_major; ufs_qcom_phy_qmp_20nm_phy_calibrate() local 30 if ((major == 0x1) && (minor == 0x002) && (step == 0x0000)) { ufs_qcom_phy_qmp_20nm_phy_calibrate() 33 } else if ((major == 0x1) && (minor == 0x003) && (step == 0x0000)) { ufs_qcom_phy_qmp_20nm_phy_calibrate()
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/bios/ |
H A D | base.c | 149 bios->version.major = nv_ro08(bios, bit_i.offset + 3); nvkm_bios_ctor() 156 bios->version.major = nv_ro08(bios, bios->bmp_offset + 13); nvkm_bios_ctor() 163 bios->version.major, bios->version.chip, nvkm_bios_ctor()
|
/linux-4.1.27/arch/mips/ath79/ |
H A D | setup.c | 59 u32 major; ath79_detect_sys_type() local 64 major = id & REV_ID_MAJOR_MASK; ath79_detect_sys_type() 66 switch (major) { ath79_detect_sys_type()
|
/linux-4.1.27/arch/m68k/include/uapi/asm/ |
H A D | bootinfo.h | 148 * If incompatible changes are made to the bootinfo interface, the major 156 #define MK_BI_VERSION(major, minor) (((major) << 16) + (minor))
|
/linux-4.1.27/drivers/staging/unisys/visorchipset/ |
H A D | file.c | 145 /* dynamic major device number registration required */ visorchipset_file_init() 149 /* static major device number registration required */ visorchipset_file_init()
|
/linux-4.1.27/drivers/gpu/drm/i915/ |
H A D | i915_vgpu.h | 39 #define INTEL_VGT_IF_VERSION_ENCODE(major, minor) ((major) << 16 | (minor))
|
/linux-4.1.27/include/uapi/linux/nfsd/ |
H A D | nfsfh.h | 49 * 0 - 4 byte device id (ms-2-bytes major, ls-2-bytes minor), 4byte inode number 53 * 2 - 4 byte major, 4 byte minor, 4 byte inode number - DEPRECATED
|
/linux-4.1.27/arch/m68k/mvme16x/ |
H A D | rtc.c | 26 * We sponge a minor off of the misc major. No need slurping 27 * up another valuable major dev number for this. If you add
|
/linux-4.1.27/drivers/mtd/lpddr/ |
H A D | qinfo_probe.c | 63 int major, minor; lpddr_get_qinforec_pos() local 67 major = qinfo_array[i].major & ((1 << bankwidth) - 1); lpddr_get_qinforec_pos() 69 return minor | (major << bankwidth); lpddr_get_qinforec_pos()
|
/linux-4.1.27/drivers/staging/vt6655/ |
H A D | device_cfg.h | 34 unsigned char major; member in struct:_version
|
/linux-4.1.27/drivers/crypto/qce/ |
H A D | core.c | 153 u32 major, minor, step; qce_check_version() local 155 qce_get_version(qce, &major, &minor, &step); qce_check_version() 161 if (major != QCE_MAJOR_VERSION5 || minor == 0) qce_check_version() 168 major, minor, step); qce_check_version()
|
H A D | common.h | 98 void qce_get_version(struct qce_device *qce, u32 *major, u32 *minor, u32 *step);
|
/linux-4.1.27/arch/xtensa/platforms/iss/ |
H A D | setup.c | 25 #include <linux/major.h>
|
/linux-4.1.27/drivers/gpu/drm/msm/adreno/ |
H A D | adreno_device.c | 91 _rev_match(info->rev.major, rev.major) && adreno_info() 120 rev.core, rev.major, rev.minor, rev.patchid); adreno_load_gpu() 124 DBG("Found GPU: %u.%u.%u.%u", rev.core, rev.major, adreno_load_gpu()
|
H A D | adreno_gpu.h | 107 uint8_t major; member in struct:adreno_rev 112 #define ADRENO_REV(core, major, minor, patchid) \ 113 ((struct adreno_rev){ core, major, minor, patchid })
|
H A D | adreno_gpu.c | 41 (adreno_gpu->rev.major << 16) | adreno_get_param() 224 adreno_gpu->rev.major, adreno_gpu->rev.minor, adreno_show() 260 adreno_gpu->rev.major, adreno_gpu->rev.minor, adreno_dump()
|
/linux-4.1.27/drivers/uwb/i1480/dfu/ |
H A D | i1480-dfu.h | 206 __le16 mac_fw_rev; /* major = v >> 8; minor = v & 0xff */ 209 u8 phy_rev; /* major v = >> 8; minor = v & 0xff */ 220 __le16 mac_fw_rev; /* major = v >> 8; minor = v & 0xff */ 221 __le16 phy_fw_rev; /* major v = >> 8; minor = v & 0xff */
|
/linux-4.1.27/fs/proc/ |
H A D | consoles.c | 39 dev = MKDEV(driver->major, driver->minor_start); show_console_dev()
|
/linux-4.1.27/include/linux/phy/ |
H A D | phy-qcom-ufs.h | 57 u8 major, u16 minor, u16 step);
|
/linux-4.1.27/include/linux/sunrpc/ |
H A D | auth_gss.h | 55 u32 gr_major; /* major status */
|
/linux-4.1.27/arch/powerpc/platforms/83xx/ |
H A D | mpc834x_itx.c | 21 #include <linux/major.h>
|
H A D | sbc834x.c | 23 #include <linux/major.h>
|
H A D | mpc832x_mds.c | 20 #include <linux/major.h>
|
H A D | mpc834x_mds.c | 21 #include <linux/major.h>
|
/linux-4.1.27/arch/powerpc/include/uapi/asm/ |
H A D | types.h | 5 * not a major issue. However, for interoperability, libraries still
|
/linux-4.1.27/arch/m68k/sun3/prom/ |
H A D | misc.c | 75 /* Get the major prom version number. */
|
/linux-4.1.27/arch/arm/mach-rpc/include/mach/ |
H A D | hardware.h | 23 /* Hardware addresses of major areas.
|
/linux-4.1.27/arch/arm/plat-iop/ |
H A D | i2c.c | 15 #include <linux/major.h>
|
/linux-4.1.27/arch/arm/mach-iop33x/ |
H A D | uart.c | 14 #include <linux/major.h>
|
/linux-4.1.27/fs/cifs/ |
H A D | cifs_debug.h | 51 /* information message: e.g., configuration, major event */
|
/linux-4.1.27/fs/ocfs2/ |
H A D | stack_user.c | 58 * SETV<space><2-char-hex-major><space><2-char-hex-minor><newline> 64 * version advertised in /sys/fs/ocfs2/max_locking_protocol. The major 144 /* SETV<space><2-char-hex-major><space><2-char-hex-minor><newline> */ 148 char major[OCFS2_CONTROL_MESSAGE_VERNUM_LEN]; member in struct:ocfs2_control_message_setv 402 long major, minor; ocfs2_control_do_setversion_msg() local 421 major = simple_strtol(msg->major, &ptr, 16); ocfs2_control_do_setversion_msg() 429 * The major must be between 1 and 255, inclusive. The minor ocfs2_control_do_setversion_msg() 433 if ((major == LONG_MIN) || (major == LONG_MAX) || ocfs2_control_do_setversion_msg() 434 (major > (u8)-1) || (major < 1)) ocfs2_control_do_setversion_msg() 439 if ((major != max->pv_major) || ocfs2_control_do_setversion_msg() 443 p->op_proto.pv_major = major; ocfs2_control_do_setversion_msg() 785 * If the major numbers are different, they are incompatible.
|
/linux-4.1.27/drivers/mtd/ubi/ |
H A D | build.c | 44 #include <linux/major.h> 284 * ubi_get_by_major - get UBI device by character device major number. 285 * @major: major number 288 * by its major number. 290 struct ubi_device *ubi_get_by_major(int major) ubi_get_by_major() argument 298 if (ubi && MAJOR(ubi->cdev.dev) == major) { ubi_get_by_major() 312 * ubi_major2num - get UBI device number by character device major number. 313 * @major: major number 315 * This function searches UBI device number object by its major number. If UBI 319 int ubi_major2num(int major) ubi_major2num() argument 327 if (ubi && MAJOR(ubi->cdev.dev) == major) { ubi_major2num() 515 * volume character devices start from 1. Thus, we allocate one major uif_init() 526 dbg_gen("%s major is %u", ubi->ubi_name, MAJOR(dev)); uif_init() 1163 int err, major, minor, mode; open_mtd_by_chdev() local 1171 /* MTD device number is defined by the major / minor numbers */ open_mtd_by_chdev() 1172 major = imajor(d_backing_inode(path.dentry)); open_mtd_by_chdev() 1176 if (major != MTD_CHAR_MAJOR || !S_ISCHR(mode)) open_mtd_by_chdev()
|
/linux-4.1.27/usr/ |
H A D | gen_init_cpio.c | 87 0, /* major */ cpio_trailer() 119 3, /* major */ cpio_mkslink() 168 3, /* major */ cpio_mkgeneric() 262 3, /* major */ cpio_mknod() 352 3, /* major */ cpio_mkfile() 475 "<maj> major number of nod\n" usage()
|
/linux-4.1.27/drivers/gpu/drm/msm/dsi/ |
H A D | dsi_host.c | 54 u32 major; member in struct:dsi_config 64 .major = MSM_DSI_VER_MAJOR_6G, 79 .major = MSM_DSI_VER_MAJOR_6G, 94 .major = MSM_DSI_VER_MAJOR_6G, 109 .major = MSM_DSI_VER_MAJOR_6G, 124 .major = MSM_DSI_VER_MAJOR_6G, 140 static int dsi_get_version(const void __iomem *base, u32 *major, u32 *minor) dsi_get_version() argument 145 if (!major || !minor) dsi_get_version() 157 *major = ver; dsi_get_version() 168 *major = ver; dsi_get_version() 273 u32 major = 0, minor = 0; dsi_get_config() local 294 ret = dsi_get_version(msm_host->ctrl_base, &major, &minor); dsi_get_config() 306 if ((cfg->major == major) && (cfg->minor == minor)) dsi_get_config() 309 pr_err("%s: Version %x:%x not support\n", __func__, major, minor); dsi_get_config() 753 if ((msm_host->cfg->major == MSM_DSI_VER_MAJOR_6G) && dsi_ctrl_config() 1726 if ((msm_host->cfg->major == MSM_DSI_VER_MAJOR_6G) && msm_dsi_host_cmd_rx()
|
/linux-4.1.27/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_adminq.h | 94 u16 fw_maj_ver; /* firmware major version */ 97 u16 api_maj_ver; /* api major version */
|
/linux-4.1.27/drivers/net/ethernet/intel/i40evf/ |
H A D | i40e_adminq.h | 94 u16 fw_maj_ver; /* firmware major version */ 97 u16 api_maj_ver; /* api major version */
|
/linux-4.1.27/arch/x86/kernel/ |
H A D | cpuid.c | 36 #include <linux/major.h> 190 printk(KERN_ERR "cpuid: unable to get major %d for cpuid\n", cpuid_init()
|
/linux-4.1.27/arch/sh/kernel/ |
H A D | traps_64.c | 460 int major, minor; misaligned_fixup() local 471 major = (opcode >> 26) & 0x3f; misaligned_fixup() 474 switch (major) { misaligned_fixup() 628 Form a 10-bit value by concatenating the major/minor opcodes i.e. 652 unsigned long major, minor, combined; do_reserved_inst() local 689 major = (opcode >> 26) & 0x3f; do_reserved_inst() 691 combined = (major << 4) | minor; do_reserved_inst() 692 index = major; do_reserved_inst()
|
/linux-4.1.27/arch/um/drivers/ |
H A D | ssl.c | 9 #include <linux/major.h> 47 .major = TTY_MAJOR,
|
H A D | stdio_console.c | 10 #include <linux/major.h> 52 .major = TTY_MAJOR,
|
H A D | ubd_kern.c | 275 int major; ubd_setup_common() local 284 major = simple_strtoul(str, &end, 0); ubd_setup_common() 286 *error_out = "Didn't parse major number"; ubd_setup_common() 292 *error_out = "Can't assign a fake major twice"; ubd_setup_common() 296 fake_major = major; ubd_setup_common() 298 printk(KERN_INFO "Setting extra ubd major number to %d\n", ubd_setup_common() 299 major); ubd_setup_common() 805 static int ubd_disk_register(int major, u64 size, int unit, ubd_disk_register() argument 814 disk->major = major; ubd_disk_register() 818 if (major == UBD_MAJOR) ubd_disk_register() 824 if (major == UBD_MAJOR) { ubd_disk_register()
|
H A D | line.h | 22 const short major; member in struct:line_driver
|
/linux-4.1.27/include/sound/ |
H A D | snd_wavefront.h | 83 char fw_version[2]; /* major = [0], minor = [1] */ 84 char hw_version[2]; /* major = [0], minor = [1] */
|
/linux-4.1.27/arch/powerpc/xmon/ |
H A D | ppc-dis.c | 50 /* Get the major opcode of the instruction. */ print_insn_powerpc() 54 a bit by doing a binary search on the major opcode. */ print_insn_powerpc()
|
/linux-4.1.27/arch/s390/appldata/ |
H A D | appldata_mem.c | 63 u64 pgfault; /* page faults (major+minor) */ 64 u64 pgmajfault; /* page faults (major only) */
|
/linux-4.1.27/arch/mn10300/boot/tools/ |
H A D | build.c | 88 major_root = major(sb.st_dev); main() 95 major_root = major(sb.st_rdev); main()
|
/linux-4.1.27/arch/m68k/bvme6000/ |
H A D | rtc.c | 27 * We sponge a minor off of the misc major. No need slurping 28 * up another valuable major dev number for this. If you add
|
/linux-4.1.27/arch/arm/mach-imx/ |
H A D | mach-qong.c | 37 #define QONG_FPGA_VERSION(major, minor, rev) \ 38 (((major & 0xF) << 12) | ((minor & 0xF) << 8) | (rev & 0xFF))
|
/linux-4.1.27/security/tomoyo/ |
H A D | file.c | 200 r->param.mkdev.mode, r->param.mkdev.major, tomoyo_audit_mkdev_log() 319 tomoyo_compare_number_union(r->param.mkdev.major, tomoyo_check_mkdev_acl() 320 &acl->major) && tomoyo_check_mkdev_acl() 411 tomoyo_same_number_union(&p1->major, &p2->major) && tomoyo_same_mkdev_acl() 461 !tomoyo_parse_number_union(param, &e.major) || tomoyo_update_mkdev_acl() 470 tomoyo_put_number_union(&e.major); tomoyo_update_mkdev_acl() 864 r.param.mkdev.major = MAJOR(dev); tomoyo_mkdev_perm()
|
/linux-4.1.27/drivers/mtd/maps/ |
H A D | uclinux.c | 17 #include <linux/major.h>
|
/linux-4.1.27/drivers/net/wireless/ath/ath10k/ |
H A D | htt.c | 83 ath10k_err(ar, "unsupported htt major version %d. supported versions are 2 and 3\n", ath10k_htt_verify_version()
|
/linux-4.1.27/drivers/gpu/drm/mgag200/ |
H A D | mgag200_drv.c | 99 .major = DRIVER_MAJOR,
|
/linux-4.1.27/arch/sparc/prom/ |
H A D | misc_32.c | 108 /* Get the major prom version number. */
|
/linux-4.1.27/drivers/gpu/drm/savage/ |
H A D | savage_drv.c | 67 .major = DRIVER_MAJOR,
|
/linux-4.1.27/drivers/gpu/drm/tdfx/ |
H A D | tdfx_drv.c | 64 .major = DRIVER_MAJOR,
|
/linux-4.1.27/drivers/gpu/drm/udl/ |
H A D | udl_drv.c | 62 .major = DRIVER_MAJOR,
|
/linux-4.1.27/drivers/gpu/drm/vmwgfx/ |
H A D | svga_escape.h | 47 * guideline we're using the high word and low word as a major and
|
/linux-4.1.27/arch/mips/include/asm/ |
H A D | vpe.h | 78 /* the list of who wants to know when something major happens */
|
/linux-4.1.27/arch/m68k/atari/ |
H A D | atasound.c | 21 #include <linux/major.h>
|
/linux-4.1.27/net/irda/irnet/ |
H A D | irnet_ppp.h | 111 /* Structure so that the misc major (drivers/char/misc.c) take care of us... */
|
/linux-4.1.27/drivers/char/tpm/ |
H A D | tpm-chip.c | 28 #include <linux/major.h> 147 "unable to cdev_add() %s, major %d, minor %d, err=%d\n", tpm_dev_add_device() 158 "unable to device_register() %s, major %d, minor %d, err=%d\n", tpm_dev_add_device()
|
/linux-4.1.27/drivers/usb/core/ |
H A D | file.c | 121 printk(KERN_ERR "Unable to get major %d for usb devices\n", usb_major_init() 137 * This should be called by all USB drivers that use the USB major number. 226 * This should be called by all drivers that use the USB major number.
|
/linux-4.1.27/arch/mips/include/asm/sn/sn0/ |
H A D | addrs.h | 19 * to reference into the major address spaces (CAC, HSPEC, IO, MSPEC, 21 * for "major" statically locatable PROM/Kernel data structures, such as 129 * The following define the major position-independent aliases used
|
/linux-4.1.27/drivers/char/xillybus/ |
H A D | xillybus_core.c | 1414 int major = imajor(inode); xillybus_open() local 1421 if ((ep_iter->major == major) && xillybus_open() 1432 pr_err("xillybus: open() failed to find a device for major=%d and minor=%d\n", xillybus_open() 1433 major, minor); xillybus_open() 1808 int devnum, i, minor, major; xillybus_init_chrdev() local 1816 dev_warn(endpoint->dev, "Failed to obtain major/minors"); xillybus_init_chrdev() 1820 endpoint->major = major = MAJOR(dev); xillybus_init_chrdev() 1825 rc = cdev_add(&endpoint->cdev, MKDEV(major, minor), xillybus_init_chrdev() 1846 MKDEV(major, i), xillybus_init_chrdev() 1866 device_destroy(xillybus_class, MKDEV(major, i)); xillybus_init_chrdev() 1870 unregister_chrdev_region(MKDEV(major, minor), endpoint->num_channels); xillybus_init_chrdev() 1882 device_destroy(xillybus_class, MKDEV(endpoint->major, minor)); xillybus_cleanup_chrdev() 1884 unregister_chrdev_region(MKDEV(endpoint->major, xillybus_cleanup_chrdev()
|
H A D | xillybus.h | 111 int major; member in struct:xilly_endpoint
|
/linux-4.1.27/drivers/crypto/qat/qat_common/ |
H A D | adf_ctl_drv.c | 75 unsigned int major; member in struct:adf_ctl_drv_info 84 device_destroy(adf_ctl_drv.drv_class, MKDEV(adf_ctl_drv.major, 0)); adf_chr_drv_destroy() 87 unregister_chrdev_region(MKDEV(adf_ctl_drv.major, 0), 1); adf_chr_drv_destroy() 105 adf_ctl_drv.major = MAJOR(dev_id); adf_chr_drv_create() 113 MKDEV(adf_ctl_drv.major, 0), adf_chr_drv_create()
|
/linux-4.1.27/drivers/gpu/drm/msm/mdp/mdp4/ |
H A D | mdp4_kms.c | 29 uint32_t version, major, minor, dmap_cfg, vg_cfg; mdp4_hw_init() local 39 major = FIELD(version, MDP4_VERSION_MAJOR); mdp4_hw_init() 42 DBG("found MDP4 version v%d.%d", major, minor); mdp4_hw_init() 44 if (major != 4) { mdp4_hw_init() 46 major, minor); mdp4_hw_init()
|
/linux-4.1.27/fs/squashfs/ |
H A D | super.c | 53 major, short minor, short id) supported_squashfs_filesystem() 57 if (major < SQUASHFS_MAJOR) { supported_squashfs_filesystem() 59 "filesystems are unsupported\n", major, minor); supported_squashfs_filesystem() 61 } else if (major > SQUASHFS_MAJOR || minor > SQUASHFS_MINOR) { supported_squashfs_filesystem() 63 "%d.%d filesystem\n", major, minor); supported_squashfs_filesystem() 52 supported_squashfs_filesystem(short major, short minor, short id) supported_squashfs_filesystem() argument
|
/linux-4.1.27/sound/isa/galaxy/ |
H A D | galaxy.c | 127 static int dsp_get_version(void __iomem *port, u8 *major, u8 *minor) dsp_get_version() argument 135 err = dsp_get_byte(port, major); dsp_get_version() 384 u8 major; galaxy_init() local 392 err = dsp_get_version(galaxy->port, &major, &minor); galaxy_init() 396 if (major != GALAXY_DSP_MAJOR || minor != GALAXY_DSP_MINOR) galaxy_init()
|
/linux-4.1.27/sound/ |
H A D | sound_core.c | 14 #include <linux/major.h> 134 * aliases instead of the standard char-major-* ones. This behavior 616 * for removal in favor of the standard char-major-* soundcore_open() 621 if (request_module("char-major-%d-%d", SOUND_MAJOR, unit) > 0) soundcore_open() 622 request_module("char-major-%d", SOUND_MAJOR); soundcore_open()
|
/linux-4.1.27/drivers/memstick/core/ |
H A D | mspro_block.c | 27 static int major; variable 28 module_param(major, int, 0644); 1241 msb->disk->major = major; mspro_block_init_disk() 1460 rc = register_blkdev(major, DRIVER_NAME); mspro_block_init() 1463 "major %d, error %d\n", major, rc); mspro_block_init() 1466 if (!major) mspro_block_init() 1467 major = rc; mspro_block_init() 1471 unregister_blkdev(major, DRIVER_NAME); mspro_block_init() 1478 unregister_blkdev(major, DRIVER_NAME); mspro_block_exit()
|
/linux-4.1.27/drivers/net/wireless/orinoco/ |
H A D | hw.c | 47 u16 id, variant, major, minor; member in struct:comp_id 54 else if (nic_id->id == 0x8000 && nic_id->major == 0) determine_firmware_type() 90 le16_to_cpus(&nic_id.major); determine_fw_capabilities() 93 nic_id.id, nic_id.variant, nic_id.major, nic_id.minor); determine_fw_capabilities() 98 ((nic_id.major & 0xff) << 8) | determine_fw_capabilities() 113 le16_to_cpus(&sta_id.major); determine_fw_capabilities() 116 sta_id.id, sta_id.variant, sta_id.major, sta_id.minor); determine_fw_capabilities() 153 sta_id.major, sta_id.minor); determine_fw_capabilities() 155 firmver = ((unsigned long)sta_id.major << 16) | sta_id.minor; determine_fw_capabilities() 243 sta_id.major, sta_id.minor, sta_id.variant); determine_fw_capabilities() 245 firmver = ((unsigned long)sta_id.major << 16) | determine_fw_capabilities()
|
/linux-4.1.27/drivers/usb/gadget/function/ |
H A D | f_hid.c | 29 static int major, minors; variable 669 dev = MKDEV(major, hidg->minor); hidg_bind() 918 device_destroy(hidg_class, MKDEV(major, hidg->minor)); hidg_unbind() 999 major = MAJOR(dev); ghid_setup() 1007 if (major) { ghid_cleanup() 1008 unregister_chrdev_region(MKDEV(major, 0), minors); ghid_cleanup() 1009 major = minors = 0; ghid_cleanup()
|
/linux-4.1.27/drivers/hv/ |
H A D | channel_mgmt.c | 85 if ((negop->icversion_data[i].major == fw_major) && vmbus_prep_negotiate_resp() 87 icframe_major = negop->icversion_data[i].major; vmbus_prep_negotiate_resp() 100 if ((negop->icversion_data[i].major == srv_major) && vmbus_prep_negotiate_resp() 102 icmsg_major = negop->icversion_data[i].major; vmbus_prep_negotiate_resp() 122 negop->icversion_data[0].major = icframe_major; vmbus_prep_negotiate_resp() 124 negop->icversion_data[1].major = icmsg_major; vmbus_prep_negotiate_resp()
|
/linux-4.1.27/drivers/net/wireless/ |
H A D | at76c50x-usb.h | 314 u8 major; member in struct:mib_fw_version 344 u8 major; /* firmware major version */ member in struct:at76_fw_header
|
/linux-4.1.27/drivers/net/wireless/rsi/ |
H A D | rsi_91x_debugfs.c | 86 common->driver_ver.major = 0; rsi_version_read() 91 common->driver_ver.major, rsi_version_read() 95 common->fw_ver.major, rsi_version_read()
|
/linux-4.1.27/drivers/staging/fsl-mc/bus/ |
H A D | dpmcp.h | 289 * @major: DPMCP major version 293 uint16_t major; member in struct:dpmcp_attr::__anon9788
|
H A D | dpmng.c | 53 mc_ver_info->major = mc_dec(cmd.params[0], 32, 32); mc_get_version()
|
/linux-4.1.27/arch/xtensa/variants/fsf/include/variant/ |
H A D | core.h | 97 #define XCHAL_HW_VERSION_MAJOR 2200 /* major ver# of targeted hw */ 104 #define XCHAL_HW_MIN_VERSION_MAJOR 2200 /* major v of earliest tgt hw */ 106 #define XCHAL_HW_MAX_VERSION_MAJOR 2200 /* major v of latest tgt hw */
|
/linux-4.1.27/arch/sh/kernel/cpu/sh5/ |
H A D | unwind.c | 81 u8 major, minor; lookup_prev_stack_frame() local 86 major = (op >> 26) & 0x3f; lookup_prev_stack_frame() 106 switch (major) { lookup_prev_stack_frame()
|
/linux-4.1.27/arch/um/os-Linux/ |
H A D | file.c | 580 return major(dev); os_major() 588 unsigned long long os_makedev(unsigned major, unsigned minor) os_makedev() argument 590 return makedev(major, minor); os_makedev()
|
/linux-4.1.27/arch/parisc/include/asm/ |
H A D | pdc_chassis.h | 260 #define PDC_CHASSIS_DT_STATE_CHG (20ULL << 59) /* major changes in system state */ 265 /* System states - part of major changes in system state data field */ 268 #define PDC_CHASSIS_SYSTATE_CHANGE (2ULL << 0) /* major change */
|
/linux-4.1.27/drivers/isdn/hardware/avm/ |
H A D | avm_cs.c | 19 #include <linux/major.h>
|
/linux-4.1.27/drivers/isdn/isdnloop/ |
H A D | isdnloop.h | 38 #include <linux/major.h>
|
/linux-4.1.27/drivers/nfc/nfcmrvl/ |
H A D | main.c | 2 * Marvell NFC driver: major functions
|
/linux-4.1.27/drivers/gpu/drm/bochs/ |
H A D | bochs_drv.c | 90 .major = 1,
|
/linux-4.1.27/drivers/gpu/drm/cirrus/ |
H A D | cirrus_drv.c | 141 .major = DRIVER_MAJOR,
|
/linux-4.1.27/drivers/gpu/drm/ |
H A D | drm_platform.c | 61 driver->name, driver->major, driver->minor, driver->patchlevel, drm_get_platform_dev()
|
/linux-4.1.27/drivers/gpu/drm/i810/ |
H A D | i810_drv.c | 74 .major = DRIVER_MAJOR,
|
/linux-4.1.27/arch/x86/include/asm/ |
H A D | olpc.h | 23 * OLPC board IDs contain the major build number within the mask 0x0ff0,
|
/linux-4.1.27/arch/x86/include/asm/xen/ |
H A D | cpuid.h | 58 * EAX[31:16]: Xen major version.
|
/linux-4.1.27/arch/xtensa/platforms/xt2000/ |
H A D | setup.c | 24 #include <linux/major.h>
|
/linux-4.1.27/arch/xtensa/variants/dc232b/include/variant/ |
H A D | core.h | 101 #define XCHAL_HW_VERSION_MAJOR 2210 /* major ver# of targeted hw */ 103 #define XCHAL_HW_VERSION 221001 /* major*100+minor */ 109 #define XCHAL_HW_MIN_VERSION_MAJOR 2210 /* major v of earliest tgt hw */ 112 #define XCHAL_HW_MAX_VERSION_MAJOR 2210 /* major v of latest tgt hw */
|
/linux-4.1.27/arch/xtensa/variants/dc233c/include/variant/ |
H A D | core.h | 140 #define XCHAL_HW_VERSION_MAJOR 2400 /* major ver# of targeted hw */ 142 #define XCHAL_HW_VERSION 240001 /* major*100+minor */ 148 #define XCHAL_HW_MIN_VERSION_MAJOR 2400 /* major v of earliest tgt hw */ 151 #define XCHAL_HW_MAX_VERSION_MAJOR 2400 /* major v of latest tgt hw */
|
/linux-4.1.27/drivers/gpu/drm/r128/ |
H A D | r128_drv.c | 79 .major = DRIVER_MAJOR,
|
/linux-4.1.27/drivers/char/hw_random/ |
H A D | n2rng.h | 83 /* Registered hypervisor group API major and minor version. */
|