Home
last modified time | relevance | path

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

12345

/Linux-v6.6/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()
/Linux-v6.6/arch/x86/kernel/
Dmsr.c58 int cpu = iminor(file_inode(file)); in msr_read()
114 int cpu = iminor(file_inode(file)); in msr_write()
152 int cpu = iminor(file_inode(file)); in msr_ioctl()
208 unsigned int cpu = iminor(file_inode(file)); in msr_open()
Dcpuid.c66 int cpu = iminor(file_inode(file)); in cpuid_read()
105 cpu = iminor(file_inode(file)); in cpuid_open()
/Linux-v6.6/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()
/Linux-v6.6/drivers/char/
Ddsp56k.c187 int dev = iminor(inode) & 0x0f; in dsp56k_read()
250 int dev = iminor(inode) & 0x0f; in dsp56k_write()
311 int dev = iminor(file_inode(file)) & 0x0f; in dsp56k_ioctl()
413 int dev = iminor(file_inode(file)) & 0x0f;
430 int dev = iminor(inode) & 0x0f; in dsp56k_open()
466 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()
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.c304 unsigned int minor = iminor(file_inode(file)); in lp_write()
423 unsigned int minor=iminor(file_inode(file)); in lp_read()
500 unsigned int minor = iminor(inode); in lp_open()
570 unsigned int minor = iminor(inode); in lp_release()
730 minor = iminor(file_inode(file)); in lp_ioctl()
758 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()
Dscx200_gpio.c52 unsigned m = iminor(inode); in scx200_gpio_open()
/Linux-v6.6/arch/sh/boards/mach-landisk/
Dgio.c30 int minor = iminor(inode); in gio_open()
48 int minor = iminor(inode); in gio_close()
/Linux-v6.6/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()
/Linux-v6.6/drivers/staging/vme_user/
Dvme_user.c178 unsigned int minor = iminor(file_inode(file)); in vme_user_read()
221 unsigned int minor = iminor(file_inode(file)); in vme_user_write()
263 unsigned int minor = iminor(file_inode(file)); in vme_user_llseek()
297 unsigned int minor = iminor(inode); in vme_user_ioctl()
415 unsigned int minor = iminor(inode); in vme_user_unlocked_ioctl()
484 unsigned int minor = iminor(file_inode(file)); in vme_user_mmap()
/Linux-v6.6/drivers/sbus/char/
Ddisplay7seg.c75 if (D7S_MINOR != iminor(inode)) in d7s_open()
109 if (D7S_MINOR != iminor(file_inode(file))) in d7s_ioctl()
/Linux-v6.6/drivers/hid/
Dhidraw.c107 unsigned int minor = iminor(file_inode(file)); in hidraw_send_report()
181 unsigned int minor = iminor(file_inode(file)); in hidraw_get_report()
266 unsigned int minor = iminor(inode); in hidraw_open()
353 unsigned int minor = iminor(inode); in hidraw_release()
376 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()
/Linux-v6.6/drivers/accel/habanalabs/common/
Dhabanalabs_drv.c141 hdev = idr_find(&hl_devs_idr, iminor(inode)); in hl_device_open()
146 imajor(inode), iminor(inode)); in hl_device_open()
253 hdev = idr_find(&hl_devs_idr, iminor(inode)); in hl_device_open_ctrl()
258 imajor(inode), iminor(inode)); in hl_device_open_ctrl()
/Linux-v6.6/drivers/accel/
Ddrm_accel.c233 minor = accel_minor_acquire(iminor(inode)); in accel_open()
263 minor = accel_minor_acquire(iminor(inode)); in accel_stub_open()
/Linux-v6.6/drivers/dma-buf/
Ddma-heap.c83 heap = xa_load(&dma_heap_minors, iminor(inode)); in dma_heap_open()
85 pr_err("dma_heap: minor %d unknown.\n", iminor(inode)); in dma_heap_open()
/Linux-v6.6/drivers/watchdog/
Dcpwd.c374 switch (iminor(inode)) { in cpwd_open()
415 int index = iminor(inode) - WD0_MINOR; in cpwd_ioctl()
486 int index = iminor(inode); in cpwd_write()
/Linux-v6.6/drivers/usb/core/
Dfile.c39 new_fops = fops_get(usb_minors[iminor(inode)]); in usb_open()
/Linux-v6.6/drivers/i2c/
Di2c-dev.c149 pr_debug("i2c-%d reading %zu bytes.\n", iminor(file_inode(file)), count); in i2cdev_read()
173 pr_debug("i2c-%d writing %zu bytes.\n", iminor(file_inode(file)), count); in i2cdev_write()
587 unsigned int minor = iminor(inode); in i2cdev_open()
/Linux-v6.6/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)

12345