Home
last modified time | relevance | path

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

123

/arch/sparc/kernel/
Dhvapi.c20 unsigned long minor; member
78 p->major = p->minor = 0; in __put_ref()
94 unsigned long *minor) in sun4v_hvapi_register() argument
107 *minor = p->minor; in sun4v_hvapi_register()
114 hv_ret = sun4v_set_version(group, major, *minor, in sun4v_hvapi_register()
118 *minor = actual_minor; in sun4v_hvapi_register()
120 p->minor = actual_minor; in sun4v_hvapi_register()
127 p->minor = 0; in sun4v_hvapi_register()
128 *minor = 0; in sun4v_hvapi_register()
159 unsigned long *minor) in sun4v_hvapi_get() argument
[all …]
Dviohs.c46 static int send_version(struct vio_driver_state *vio, u16 major, u16 minor) in send_version() argument
55 pkt.minor = minor; in send_version()
59 major, minor, vio->dev_class); in send_version()
74 vio->ver_table[0].minor); in start_handshake()
251 pkt->major, pkt->minor, pkt->dev_class); in process_ver_info()
266 pkt->minor = 0; in process_ver_info()
272 pkt->minor = vap->minor; in process_ver_info()
274 pkt->major, pkt->minor); in process_ver_info()
279 .minor = pkt->minor, in process_ver_info()
281 if (ver.minor > vap->minor) in process_ver_info()
[all …]
Dsstate.c91 unsigned long major, minor; in sstate_init() local
97 minor = 0; in sstate_init()
98 if (sun4v_hvapi_register(HV_GRP_SOFT_STATE, major, &minor)) in sstate_init()
Dldc.c81 u16 minor; member
86 { .major = 1, .minor = 0 },
383 ver->major, ver->minor); in start_handshake()
397 u16 major, u16 minor) in send_version_nack() argument
404 ver.minor = minor; in send_version_nack()
410 ver.major, ver.minor); in send_version_nack()
427 vp->major, vp->minor); in send_version_ack()
585 vp->major, vp->minor); in process_ver_info()
596 err = send_version_nack(lp, vap->major, vap->minor); in process_ver_info()
599 if (ver.minor > vap->minor) in process_ver_info()
[all …]
Dds.c65 __u16 minor; member
75 __u16 minor; member
87 __u16 minor; member
94 __u16 minor; member
910 pbuf.req.minor = 0; in register_services()
1071 req.ver.minor = 0; in ds_up()
1258 unsigned long hv_ret, major, minor; in ds_init() local
1261 hv_ret = sun4v_get_version(HV_GRP_REBOOT_DATA, &major, &minor); in ds_init()
1264 major, minor); in ds_init()
/arch/sh/boards/mach-landisk/
Dgio.c34 int minor; in gio_open() local
38 minor = MINOR(inode->i_rdev); in gio_open()
39 if (minor < DEVCOUNT) { in gio_open()
53 int minor; in gio_close() local
55 minor = MINOR(inode->i_rdev); in gio_close()
56 if (minor < DEVCOUNT) { in gio_close()
/arch/mips/kernel/
Drtlx.c339 int minor = iminor(file_inode(file)); in file_poll() local
342 poll_wait(file, &channel_wqs[minor].rt_queue, wait); in file_poll()
343 poll_wait(file, &channel_wqs[minor].lx_queue, wait); in file_poll()
349 if (rtlx_read_poll(minor, 0)) in file_poll()
353 if (rtlx_write_poll(minor)) in file_poll()
362 int minor = iminor(file_inode(file)); in file_read() local
365 if (!rtlx_read_poll(minor, (file->f_flags & O_NONBLOCK) ? 0 : 1)) in file_read()
368 return rtlx_read(minor, buffer, count); in file_read()
374 int minor = iminor(file_inode(file)); in file_write() local
377 if (!rtlx_write_poll(minor)) { in file_write()
[all …]
/arch/cris/arch-v10/drivers/
Dgpio.c70 int minor; member
140 #define USE_PORTS(priv) ((priv)->minor <= GPIO_MINOR_B)
153 if (priv->minor == GPIO_MINOR_A) { in gpio_poll()
164 } else if (priv->minor == GPIO_MINOR_B) in gpio_poll()
166 else if (priv->minor == GPIO_MINOR_G) in gpio_poll()
197 else if (priv->minor == GPIO_MINOR_G) in etrax_gpio_wake_up_check()
202 DP(printk("etrax_gpio_wake_up_check %i\n",priv->minor)); in etrax_gpio_wake_up_check()
280 if (priv->minor != GPIO_MINOR_A && priv->minor != GPIO_MINOR_B) in gpio_write()
324 priv->minor = p; in gpio_open()
412 if (priv->minor != GPIO_MINOR_G) in setget_input()
[all …]
/arch/sparc/include/asm/
Dvio.h49 u16 minor; member
354 u16 minor; member
425 u16 major, u16 minor) in vio_version_before() argument
427 u32 have = (u32)vio->ver.major << 16 | vio->ver.minor; in vio_version_before()
428 u32 want = (u32)major << 16 | minor; in vio_version_before()
434 u16 major, u16 minor) in vio_version_after() argument
436 u32 have = (u32)vio->ver.major << 16 | vio->ver.minor; in vio_version_after()
437 u32 want = (u32)major << 16 | minor; in vio_version_after()
443 u16 major, u16 minor) in vio_version_after_eq() argument
445 u32 have = (u32)vio->ver.major << 16 | vio->ver.minor; in vio_version_after_eq()
[all …]
Dhypervisor.h3009 unsigned long *minor);
3012 unsigned long minor,
3016 unsigned long *minor);
3020 unsigned long *minor);
/arch/mips/include/asm/
Dvpe.h58 int minor; member
116 struct vpe *get_vpe(int minor);
118 struct vpe *alloc_vpe(int minor);
/arch/mips/ath79/
Dsetup.c65 u32 minor; in ath79_detect_sys_type() local
73 minor = id & AR71XX_REV_ID_MINOR_MASK; in ath79_detect_sys_type()
76 switch (minor) { in ath79_detect_sys_type()
113 minor = id & AR913X_REV_ID_MINOR_MASK; in ath79_detect_sys_type()
116 switch (minor) { in ath79_detect_sys_type()
/arch/sh/kernel/
Dtraps_64.c460 int major, minor; in misaligned_fixup() local
472 minor = (opcode >> 16) & 0xf; in misaligned_fixup()
499 switch (minor) { in misaligned_fixup()
519 switch (minor) { in misaligned_fixup()
545 switch (minor) { in misaligned_fixup()
570 switch (minor) { in misaligned_fixup()
652 unsigned long major, minor, combined; in do_reserved_inst() local
690 minor = (opcode >> 16) & 0xf; in do_reserved_inst()
691 combined = (major << 4) | minor; in do_reserved_inst()
693 shift = minor << 1; in do_reserved_inst()
/arch/powerpc/platforms/ps3/
Dsetup.c58 int ps3_compare_firmware_version(u16 major, u16 minor, u16 rev) in ps3_compare_firmware_version() argument
64 x.minor = minor; in ps3_compare_firmware_version()
202 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.h156 #define MK_BI_VERSION(major, minor) (((major) << 16) + (minor)) argument
/arch/mips/sibyte/common/
Dsb_tbprof.c403 int minor; in sbprof_tb_open() local
405 minor = iminor(inode); in sbprof_tb_open()
406 if (minor != 0) in sbprof_tb_open()
432 int minor; in sbprof_tb_release() local
434 minor = iminor(inode); in sbprof_tb_release()
435 if (minor != 0 || sbp.open != SB_CLOSED) in sbprof_tb_release()
/arch/sh/kernel/cpu/sh5/
Dunwind.c81 u8 major, minor; in lookup_prev_stack_frame() local
88 minor = (op >> 16) & 0xf; in lookup_prev_stack_frame()
108 switch (minor) { in lookup_prev_stack_frame()
/arch/metag/kernel/
Dsetup.c465 unsigned int txenable, thread_id, major, minor; in show_cpuinfo() local
476 minor = (txenable & TXENABLE_MINOR_REV_BITS) >> TXENABLE_MINOR_REV_S; in show_cpuinfo()
490 cpu, major, minor, i, in show_cpuinfo()
502 cpu, major, minor, thread_id, in show_cpuinfo()
/arch/blackfin/mach-bf561/
Dcoreb.c58 .minor = MISC_DYNAMIC_MINOR,
/arch/arc/kernel/
Darc_hostlink.c48 .minor = MISC_DYNAMIC_MINOR,
/arch/mn10300/boot/tools/
Dbuild.c89 minor_root = minor(sb.st_dev); in main()
96 minor_root = minor(sb.st_rdev); in main()
/arch/mips/include/asm/mach-ath25/
Dath25_platform.h20 u16 minor; /* Board minor number */ member
/arch/arm/mach-imx/
Dmach-qong.c37 #define QONG_FPGA_VERSION(major, minor, rev) \ argument
38 (((major & 0xF) << 12) | ((minor & 0xF) << 8) | (rev & 0xFF))
/arch/powerpc/include/asm/
Dvdso_datapage.h56 __u32 minor; /* Minor number 0x14 */ member

123