Home
last modified time | relevance | path

Searched refs:iminor (Results 1 – 25 of 118) sorted by relevance

12345

/kernel/linux/linux-5.10/include/linux/
Dnsc_gpio.h25 u32 (*gpio_config) (unsigned iminor, u32 mask, u32 bits);
26 void (*gpio_dump) (struct nsc_gpio_ops *amp, unsigned iminor);
27 int (*gpio_get) (unsigned iminor);
28 void (*gpio_set) (unsigned iminor, int state);
29 void (*gpio_change) (unsigned iminor);
30 int (*gpio_current) (unsigned iminor);
Ddevice_cgroup.h36 return devcgroup_check_permission(type, imajor(inode), iminor(inode), in devcgroup_inode_permission()
/kernel/linux/linux-5.10/arch/x86/kernel/
Dmsr.c59 int cpu = iminor(file_inode(file)); in msr_read()
117 int cpu = iminor(file_inode(file)); in msr_write()
155 int cpu = iminor(file_inode(file)); in msr_ioctl()
211 unsigned int cpu = iminor(file_inode(file)); in msr_open()
Dcpuid.c67 int cpu = iminor(file_inode(file)); in cpuid_read()
107 cpu = iminor(file_inode(file)); in cpuid_open()
/kernel/linux/linux-5.10/arch/mips/kernel/
Drtlx.c331 return rtlx_open(iminor(inode), (filp->f_flags & O_NONBLOCK) ? 0 : 1); in file_open()
336 return rtlx_release(iminor(inode)); in file_release()
341 int minor = iminor(file_inode(file)); in file_poll()
364 int minor = iminor(file_inode(file)); in file_read()
376 int minor = iminor(file_inode(file)); in file_write()
/kernel/linux/linux-5.10/drivers/char/
Ddsp56k.c185 int dev = iminor(inode) & 0x0f; in dsp56k_read()
248 int dev = iminor(inode) & 0x0f; in dsp56k_write()
309 int dev = iminor(file_inode(file)) & 0x0f; in dsp56k_ioctl()
411 int dev = iminor(file_inode(file)) & 0x0f;
428 int dev = iminor(inode) & 0x0f; in dsp56k_open()
464 int dev = iminor(inode) & 0x0f; in dsp56k_release()
Dpc8736x_gpio.c117 static void select_pin(unsigned iminor) in select_pin() argument
122 ((iminor << 1) & 0xF0) | (iminor & 0x7)); in select_pin()
223 unsigned m = iminor(inode); in pc8736x_gpio_open()
Dtb0219.c155 minor = iminor(file_inode(file)); in tanbac_tb0219_read()
191 minor = iminor(file_inode(file)); in tanbac_tb0219_write()
227 minor = iminor(inode); in tanbac_tb0219_open()
Dnsc_gpio.c45 unsigned m = iminor(file_inode(file)); in nsc_gpio_write()
108 unsigned m = iminor(file_inode(file)); in nsc_gpio_read()
Ddtlk.c129 unsigned int minor = iminor(file_inode(file)); in dtlk_read()
181 if (iminor(file_inode(file)) != DTLK_MINOR) in dtlk_write()
302 switch (iminor(inode)) { in dtlk_open()
317 switch (iminor(inode)) { in dtlk_release()
Dlp.c302 unsigned int minor = iminor(file_inode(file)); in lp_write()
421 unsigned int minor=iminor(file_inode(file)); in lp_read()
498 unsigned int minor = iminor(inode); in lp_open()
568 unsigned int minor = iminor(inode); in lp_release()
729 minor = iminor(file_inode(file)); in lp_ioctl()
757 minor = iminor(file_inode(file)); in lp_compat_ioctl()
Dppdev.c118 unsigned int minor = iminor(file_inode(file)); in pp_read()
196 unsigned int minor = iminor(file_inode(file)); in pp_write()
354 unsigned int minor = iminor(file_inode(file)); in pp_do_ioctl()
679 unsigned int minor = iminor(inode); in pp_open()
708 unsigned int minor = iminor(inode); in pp_release()
Draw.c58 const int minor = iminor(inode); in raw_open()
112 const int minor= iminor(inode); in raw_release()
Dscx200_gpio.c52 unsigned m = iminor(inode); in scx200_gpio_open()
/kernel/linux/linux-5.10/drivers/s390/char/
Dtape_char.c278 iminor(file_inode(filp))); in tapechar_open()
283 minor = iminor(file_inode(filp)); in tapechar_open()
309 DBF_EVENT(6, "TCHAR:release: %x\n", iminor(inode)); in tapechar_release()
317 if ((iminor(inode) & 1) != 0) { in tapechar_release()
/kernel/linux/linux-5.10/drivers/misc/habanalabs/common/
Dhabanalabs_drv.c95 hdev = idr_find(&hl_devs_idr, iminor(inode)); in hl_device_open()
100 imajor(inode), iminor(inode)); in hl_device_open()
187 hdev = idr_find(&hl_devs_idr, iminor(inode)); in hl_device_open_ctrl()
192 imajor(inode), iminor(inode)); in hl_device_open_ctrl()
/kernel/linux/linux-5.10/drivers/hid/
Dhidraw.c105 unsigned int minor = iminor(file_inode(file)); in hidraw_send_report()
179 unsigned int minor = iminor(file_inode(file)); in hidraw_get_report()
264 unsigned int minor = iminor(inode); in hidraw_open()
346 unsigned int minor = iminor(inode); in hidraw_release()
370 unsigned int minor = iminor(inode); in hidraw_ioctl()
Dhid-roccat.c150 unsigned int minor = iminor(inode); in roccat_open()
205 unsigned int minor = iminor(inode); in roccat_release()
384 unsigned int minor = iminor(inode); in roccat_ioctl()
/kernel/linux/linux-5.10/drivers/sbus/char/
Ddisplay7seg.c76 if (D7S_MINOR != iminor(inode)) in d7s_open()
110 if (D7S_MINOR != iminor(file_inode(file))) in d7s_ioctl()
/kernel/linux/linux-5.10/drivers/dma-buf/
Ddma-heap.c71 heap = xa_load(&dma_heap_minors, iminor(inode)); in dma_heap_open()
73 pr_err("dma_heap: minor %d unknown.\n", iminor(inode)); in dma_heap_open()
/kernel/linux/linux-5.10/drivers/watchdog/
Dcpwd.c375 switch (iminor(inode)) { in cpwd_open()
416 int index = iminor(inode) - WD0_MINOR; in cpwd_ioctl()
487 int index = iminor(inode); in cpwd_write()
/kernel/linux/linux-5.10/block/
Dbsg.c257 hlist_add_head(&bd->dev_list, bsg_dev_idx_hash(iminor(inode))); in bsg_add_device()
292 bcd = idr_find(&bsg_minor_idr, iminor(inode)); in bsg_get_device()
299 bd = __bsg_get_device(iminor(inode), bcd->queue); in bsg_get_device()
/kernel/linux/linux-5.10/drivers/char/pcmcia/
Dcm4040_cs.c439 int minor = iminor(inode); in cm4040_open()
481 int minor = iminor(inode); in cm4040_close()
484 iminor(inode)); in cm4040_close()
/kernel/linux/linux-5.10/drivers/tty/vt/
Dvc_screen.c71 #define console(inode) (iminor(inode) & 63)
72 #define use_unicode(inode) (iminor(inode) & 64)
73 #define use_attributes(inode) (iminor(inode) & 128)
/kernel/linux/linux-5.10/drivers/i2c/
Di2c-dev.c149 iminor(file_inode(file)), count); in i2cdev_read()
174 iminor(file_inode(file)), count); in i2cdev_write()
588 unsigned int minor = iminor(inode); in i2cdev_open()

12345