Home
last modified time | relevance | path

Searched refs:minor (Results 1 – 25 of 52) sorted by relevance

123

/arch/sparc/kernel/
Dhvapi.c21 unsigned long minor; member
81 p->major = p->minor = 0; in __put_ref()
97 unsigned long *minor) in sun4v_hvapi_register() argument
110 *minor = p->minor; in sun4v_hvapi_register()
117 hv_ret = sun4v_set_version(group, major, *minor, in sun4v_hvapi_register()
121 *minor = actual_minor; in sun4v_hvapi_register()
123 p->minor = actual_minor; in sun4v_hvapi_register()
130 p->minor = 0; in sun4v_hvapi_register()
131 *minor = 0; in sun4v_hvapi_register()
162 unsigned long *minor) in sun4v_hvapi_get() argument
[all …]
Dviohs.c48 static int send_version(struct vio_driver_state *vio, u16 major, u16 minor) in send_version() argument
57 pkt.minor = minor; in send_version()
61 major, minor, vio->dev_class); in send_version()
76 vio->ver_table[0].minor); in start_handshake()
262 pkt->major, pkt->minor, pkt->dev_class); in process_ver_info()
277 pkt->minor = 0; in process_ver_info()
283 pkt->minor = vap->minor; in process_ver_info()
285 pkt->major, pkt->minor); in process_ver_info()
290 .minor = pkt->minor, in process_ver_info()
292 if (ver.minor > vap->minor) in process_ver_info()
[all …]
Dsstate.c92 unsigned long major, minor; in sstate_init() local
98 minor = 0; in sstate_init()
99 if (sun4v_hvapi_register(HV_GRP_SOFT_STATE, major, &minor)) in sstate_init()
Dldc.c81 u16 minor; member
86 { .major = 1, .minor = 0 },
376 ver->major, ver->minor); in start_handshake()
390 u16 major, u16 minor) in send_version_nack() argument
397 ver.minor = minor; in send_version_nack()
403 ver.major, ver.minor); in send_version_nack()
420 vp->major, vp->minor); in send_version_ack()
579 vp->major, vp->minor); in process_ver_info()
590 err = send_version_nack(lp, vap->major, vap->minor); in process_ver_info()
593 if (ver.minor > vap->minor) in process_ver_info()
[all …]
Dds.c67 __u16 minor; member
77 __u16 minor; member
89 __u16 minor; member
96 __u16 minor; member
912 pbuf.req.minor = 0; in register_services()
1073 req.ver.minor = 0; in ds_up()
1260 unsigned long hv_ret, major, minor; in ds_init() local
1263 hv_ret = sun4v_get_version(HV_GRP_REBOOT_DATA, &major, &minor); in ds_init()
1266 major, minor); in ds_init()
/arch/sh/boards/mach-landisk/
Dgio.c30 int minor; in gio_open() local
34 minor = MINOR(inode->i_rdev); in gio_open()
35 if (minor < DEVCOUNT) { in gio_open()
49 int minor; in gio_close() local
51 minor = MINOR(inode->i_rdev); in gio_close()
52 if (minor < DEVCOUNT) { in gio_close()
/arch/mips/kernel/
Drtlx.c341 int minor = iminor(file_inode(file)); in file_poll() local
344 poll_wait(file, &channel_wqs[minor].rt_queue, wait); in file_poll()
345 poll_wait(file, &channel_wqs[minor].lx_queue, wait); in file_poll()
351 if (rtlx_read_poll(minor, 0)) in file_poll()
355 if (rtlx_write_poll(minor)) in file_poll()
364 int minor = iminor(file_inode(file)); in file_read() local
367 if (!rtlx_read_poll(minor, (file->f_flags & O_NONBLOCK) ? 0 : 1)) in file_read()
370 return rtlx_read(minor, buffer, count); in file_read()
376 int minor = iminor(file_inode(file)); in file_write() local
379 if (!rtlx_write_poll(minor)) { in file_write()
[all …]
/arch/sparc/include/asm/
Dvio.h50 u16 minor; member
374 u16 minor; member
445 u16 major, u16 minor) in vio_version_before() argument
447 u32 have = (u32)vio->ver.major << 16 | vio->ver.minor; in vio_version_before()
448 u32 want = (u32)major << 16 | minor; in vio_version_before()
454 u16 major, u16 minor) in vio_version_after() argument
456 u32 have = (u32)vio->ver.major << 16 | vio->ver.minor; in vio_version_after()
457 u32 want = (u32)major << 16 | minor; in vio_version_after()
463 u16 major, u16 minor) in vio_version_after_eq() argument
465 u32 have = (u32)vio->ver.major << 16 | vio->ver.minor; in vio_version_after_eq()
[all …]
Dhypervisor.h3512 unsigned long *minor);
3515 unsigned long minor,
3519 unsigned long *minor);
3523 unsigned long *minor);
/arch/mips/include/asm/
Dvpe.h58 int minor; member
115 struct vpe *get_vpe(int minor);
117 struct vpe *alloc_vpe(int minor);
/arch/mips/ath79/
Dsetup.c58 u32 minor; in ath79_detect_sys_type() local
67 minor = id & AR71XX_REV_ID_MINOR_MASK; in ath79_detect_sys_type()
70 switch (minor) { in ath79_detect_sys_type()
107 minor = id & AR913X_REV_ID_MINOR_MASK; in ath79_detect_sys_type()
110 switch (minor) { in ath79_detect_sys_type()
/arch/sh/kernel/
Dtraps_64.c458 int major, minor; in misaligned_fixup() local
470 minor = (opcode >> 16) & 0xf; in misaligned_fixup()
497 switch (minor) { in misaligned_fixup()
517 switch (minor) { in misaligned_fixup()
543 switch (minor) { in misaligned_fixup()
568 switch (minor) { in misaligned_fixup()
650 unsigned long major, minor, combined; in do_reserved_inst() local
688 minor = (opcode >> 16) & 0xf; in do_reserved_inst()
689 combined = (major << 4) | minor; in do_reserved_inst()
691 shift = minor << 1; in do_reserved_inst()
/arch/powerpc/platforms/ps3/
Dsetup.c46 int ps3_compare_firmware_version(u16 major, u16 minor, u16 rev) in ps3_compare_firmware_version() argument
52 x.minor = minor; in ps3_compare_firmware_version()
194 ps3_firmware_version.major, ps3_firmware_version.minor, in ps3_setup_arch()
/arch/m68k/emu/
Dnfblock.c34 static inline s32 nfhd_read_write(u32 major, u32 minor, u32 rwflag, u32 recno, in nfhd_read_write() argument
37 return nf_call(nfhd_id + NFHD_READ_WRITE, major, minor, rwflag, recno, in nfhd_read_write()
41 static inline s32 nfhd_get_capacity(u32 major, u32 minor, u32 *blocks, in nfhd_get_capacity() argument
44 return nf_call(nfhd_id + NFHD_GET_CAPACITY, major, minor, in nfhd_get_capacity()
/arch/m68k/include/uapi/asm/
Dbootinfo.h158 #define MK_BI_VERSION(major, minor) (((major) << 16) + (minor)) argument
/arch/mips/sibyte/common/
Dsb_tbprof.c391 int minor; in sbprof_tb_open() local
393 minor = iminor(inode); in sbprof_tb_open()
394 if (minor != 0) in sbprof_tb_open()
420 int minor; in sbprof_tb_release() local
422 minor = iminor(inode); in sbprof_tb_release()
423 if (minor != 0 || sbp.open != SB_CLOSED) in sbprof_tb_release()
/arch/sh/kernel/cpu/sh5/
Dunwind.c78 u8 major, minor; in lookup_prev_stack_frame() local
85 minor = (op >> 16) & 0xf; in lookup_prev_stack_frame()
105 switch (minor) { in lookup_prev_stack_frame()
/arch/x86/xen/
Denlighten_hvm.c87 int major, minor; in init_hvm_pv_info() local
94 minor = eax & 0xffff; in init_hvm_pv_info()
95 printk(KERN_INFO "Xen version %d.%d.\n", major, minor); in init_hvm_pv_info()
/arch/x86/kernel/cpu/resctrl/
Dpseudo_lock.c113 static int pseudo_lock_minor_get(unsigned int *minor) in pseudo_lock_minor_get() argument
123 *minor = first_bit; in pseudo_lock_minor_get()
132 static void pseudo_lock_minor_release(unsigned int minor) in pseudo_lock_minor_release() argument
134 __set_bit(minor, &pseudo_lock_minor_avail); in pseudo_lock_minor_release()
151 static struct rdtgroup *region_find_by_minor(unsigned int minor) in region_find_by_minor() argument
156 if (rdtgrp->plr && rdtgrp->plr->minor == minor) { in region_find_by_minor()
1369 plr->minor = new_minor; in rdtgroup_pseudo_lock_create()
1421 device_destroy(pseudo_lock_class, MKDEV(pseudo_lock_major, plr->minor)); in rdtgroup_pseudo_lock_remove()
1422 pseudo_lock_minor_release(plr->minor); in rdtgroup_pseudo_lock_remove()
/arch/arc/kernel/
Darc_hostlink.c45 .minor = MISC_DYNAMIC_MINOR,
/arch/mips/include/asm/mach-ath25/
Dath25_platform.h21 u16 minor; /* Board minor number */ member
/arch/arm/mach-imx/
Dmach-qong.c28 #define QONG_FPGA_VERSION(major, minor, rev) \ argument
29 (((major & 0xF) << 12) | ((minor & 0xF) << 8) | (rev & 0xFF))
/arch/powerpc/include/asm/
Dvdso_datapage.h52 __u32 minor; /* Minor number 0x14 */ member
/arch/um/drivers/
Dharddog_kern.c174 .minor = WATCHDOG_MINOR,
Dmmapper_kern.c98 .minor = MISC_DYNAMIC_MINOR,

123