Home
last modified time | relevance | path

Searched refs:minor (Results 1 – 25 of 56) 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.c93 unsigned long major, minor; in sstate_init() local
99 minor = 0; in sstate_init()
100 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()
1254 unsigned long hv_ret, major, minor; in ds_init() local
1257 hv_ret = sun4v_get_version(HV_GRP_REBOOT_DATA, &major, &minor); in ds_init()
1260 major, minor); in ds_init()
/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/sh/boards/mach-landisk/
Dgio.c30 int minor = iminor(inode); in gio_open() local
34 if (minor < DEVCOUNT) { in gio_open()
48 int minor = iminor(inode); in gio_close() local
50 if (minor < DEVCOUNT) { in gio_close()
/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.h57 int minor; member
113 struct vpe *get_vpe(int minor);
115 struct vpe *alloc_vpe(int minor);
Dmips-cm.h156 #define CM_ENCODE_REV(major, minor) \ argument
158 FIELD_PREP(CM_GCR_REV_MINOR, minor))
/arch/mips/ath79/
Dsetup.c57 u32 minor; in ath79_detect_sys_type() local
66 minor = id & AR71XX_REV_ID_MINOR_MASK; in ath79_detect_sys_type()
69 switch (minor) { in ath79_detect_sys_type()
106 minor = id & AR913X_REV_ID_MINOR_MASK; in ath79_detect_sys_type()
109 switch (minor) { in ath79_detect_sys_type()
/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/powerpc/platforms/ps3/
Dsetup.c47 int ps3_compare_firmware_version(u16 major, u16 minor, u16 rev) in ps3_compare_firmware_version() argument
53 x.minor = minor; in ps3_compare_firmware_version()
230 ps3_firmware_version.minor, ps3_firmware_version.rev); in ps3_setup_arch()
/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/arm64/kvm/
Dpsci.c278 static int kvm_psci_1_x_call(struct kvm_vcpu *vcpu, u32 minor) in kvm_psci_1_x_call() argument
285 if (minor > 1) in kvm_psci_1_x_call()
290 val = minor == 0 ? KVM_ARM_PSCI_1_0 : KVM_ARM_PSCI_1_1; in kvm_psci_1_x_call()
316 if (minor >= 1) { in kvm_psci_1_x_call()
330 if (minor >= 1) { in kvm_psci_1_x_call()
/arch/x86/xen/
Denlighten_hvm.c89 int major, minor; in init_hvm_pv_info() local
96 minor = eax & 0xffff; in init_hvm_pv_info()
97 printk(KERN_INFO "Xen version %d.%d.\n", major, minor); in init_hvm_pv_info()
Denlighten.c279 bool xen_running_on_version_or_later(unsigned int major, unsigned int minor) in xen_running_on_version_or_later() argument
287 if ((((version >> 16) == major) && ((version & 0xffff) >= minor)) || in xen_running_on_version_or_later()
/arch/x86/kernel/cpu/resctrl/
Dpseudo_lock.c114 static int pseudo_lock_minor_get(unsigned int *minor) in pseudo_lock_minor_get() argument
124 *minor = first_bit; in pseudo_lock_minor_get()
133 static void pseudo_lock_minor_release(unsigned int minor) in pseudo_lock_minor_release() argument
135 __set_bit(minor, &pseudo_lock_minor_avail); in pseudo_lock_minor_release()
152 static struct rdtgroup *region_find_by_minor(unsigned int minor) in region_find_by_minor() argument
157 if (rdtgrp->plr && rdtgrp->plr->minor == minor) { in region_find_by_minor()
1375 plr->minor = new_minor; in rdtgroup_pseudo_lock_create()
1427 device_destroy(pseudo_lock_class, MKDEV(pseudo_lock_major, plr->minor)); in rdtgroup_pseudo_lock_remove()
1428 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/powerpc/include/asm/
Dvdso_datapage.h53 __u32 minor; /* Minor number 0x14 */ member
/arch/um/drivers/
Dharddog_kern.c170 .minor = WATCHDOG_MINOR,
Dmmapper_kern.c98 .minor = MISC_DYNAMIC_MINOR,

123