Home
last modified time | relevance | path

Searched refs:__register_chrdev (Results 1 – 11 of 11) sorted by relevance

/linux-6.15/arch/x86/kernel/
H A Dcpuid.c155 if (__register_chrdev(CPUID_MAJOR, 0, NR_CPUS, in cpuid_init()
H A Dmsr.c266 if (__register_chrdev(MSR_MAJOR, 0, NR_CPUS, "cpu/msr", &msr_fops)) { in msr_init()
/linux-6.15/fs/
H A Dchar_dev.c268 int __register_chrdev(unsigned int major, unsigned int baseminor, in __register_chrdev() function
691 EXPORT_SYMBOL(__register_chrdev);
/linux-6.15/drivers/s390/char/
H A Dfs3270.c522 __register_chrdev(IBM_FS3270_MAJOR, minor, 1, "tub", &fs3270_fops); in fs3270_create_cb()
545 rc = __register_chrdev(IBM_FS3270_MAJOR, 0, 1, "fs3270", &fs3270_fops); in fs3270_init()
/linux-6.15/drivers/char/
H A Dmisc.c318 if (__register_chrdev(MISC_MAJOR, 0, MINORMASK + 1, "misc", &misc_fops)) in misc_init()
/linux-6.15/sound/
H A Dsound_core.c265 r = __register_chrdev(SOUND_MAJOR, s->unit_minor, 1, s->name, in sound_insert_unit()
/linux-6.15/drivers/pps/
H A Dpps.c470 pps_major = __register_chrdev(0, 0, PPS_MAX_SOURCES, "pps", in pps_init()
/linux-6.15/drivers/hwtracing/intel_th/
H A Dcore.c881 th->major = __register_chrdev(0, 0, TH_POSSIBLE_OUTPUTS, in intel_th_alloc()
/linux-6.15/drivers/net/wwan/
H A Dwwan_core.c1238 wwan_major = __register_chrdev(0, 0, WWAN_MAX_MINORS, "wwan_port", in wwan_init()
/linux-6.15/drivers/mtd/
H A Dmtdchar.c1423 ret = __register_chrdev(MTD_CHAR_MAJOR, 0, 1 << MINORBITS, in init_mtdchar()
/linux-6.15/include/linux/
H A Dfs.h2917 extern int __register_chrdev(unsigned int major, unsigned int baseminor,
2928 return __register_chrdev(major, 0, 256, name, fops); in register_chrdev()