Home
last modified time | relevance | path

Searched refs:major (Results 1 – 25 of 1051) sorted by relevance

12345678910>>...43

/linux-6.3-rc2/arch/sparc/kernel/
A Dhvapi.c20 unsigned long major; member
81 p->major = p->minor = 0; in __put_ref()
109 if (p->major == major) { in sun4v_hvapi_register()
122 p->major = major; in sun4v_hvapi_register()
128 if (major == 1) { in sun4v_hvapi_register()
129 p->major = 1; in sun4v_hvapi_register()
161 unsigned long *major, in sun4v_hvapi_get() argument
172 *major = p->major; in sun4v_hvapi_get()
187 major = 1; in sun4v_hvapi_init()
193 major = 1; in sun4v_hvapi_init()
[all …]
A Dviohs.c56 pkt.major = major; in send_version()
75 vio->ver_table[0].major, in start_handshake()
240 u16 major) in find_by_major() argument
247 if (v->major <= major) { in find_by_major()
276 pkt->major = 0; in process_ver_info()
280 } else if (vap->major != pkt->major) { in process_ver_info()
282 pkt->major = vap->major; in process_ver_info()
285 pkt->major, pkt->minor); in process_ver_info()
289 .major = pkt->major, in process_ver_info()
318 if (vio->ver.major != pkt->major || in process_ver_ack()
[all …]
/linux-6.3-rc2/fs/
A Dchar_dev.c36 unsigned int major; member
57 if (cd->major == offset) in chrdev_show()
78 if (cd->major == i) in find_dynamic_major()
122 if (major == 0) { in __register_chrdev_region()
129 major = ret; in __register_chrdev_region()
133 i = major_to_index(major); in __register_chrdev_region()
135 if (curr->major < major) in __register_chrdev_region()
138 if (curr->major > major) in __register_chrdev_region()
150 cd->major = major; in __register_chrdev_region()
179 if ((*cp)->major == major && in __unregister_chrdev_region()
[all …]
/linux-6.3-rc2/drivers/net/can/usb/etas_es58x/
A Des58x_devlink.c46 int major, minor, revision; in es58x_parse_sw_version() local
66 if (sscanf(prod_info, "%2u.%2u.%2u", &major, &minor, &revision) != 3) in es58x_parse_sw_version()
69 version->major = major; in es58x_parse_sw_version()
97 int major, minor; in es58x_parse_hw_rev() local
109 if (sscanf(prod_info, "%c%3u/%3u", &letter, &major, &minor) != 3) in es58x_parse_hw_rev()
113 es58x_dev->hardware_revision.major = major; in es58x_parse_hw_rev()
162 return sw_ver->major || sw_ver->minor || sw_ver->revision; in es58x_sw_version_is_set()
202 fw_ver->major, fw_ver->minor, fw_ver->revision); in es58x_devlink_info_get()
212 bl_ver->major, bl_ver->minor, bl_ver->revision); in es58x_devlink_info_get()
222 hw_rev->letter, hw_rev->major, hw_rev->minor); in es58x_devlink_info_get()
/linux-6.3-rc2/arch/mips/kernel/
A Drtlx-cmp.c20 static int major; variable
64 major = register_chrdev(0, RTLX_MODULE_NAME, &rtlx_fops); in rtlx_module_init()
65 if (major < 0) { in rtlx_module_init()
67 return major; in rtlx_module_init()
77 dev = device_create(mt_class, NULL, MKDEV(major, i), NULL, in rtlx_module_init()
81 device_destroy(mt_class, MKDEV(major, i)); in rtlx_module_init()
105 device_destroy(mt_class, MKDEV(major, i)); in rtlx_module_init()
107 unregister_chrdev(major, RTLX_MODULE_NAME); in rtlx_module_init()
117 device_destroy(mt_class, MKDEV(major, i)); in rtlx_module_exit()
119 unregister_chrdev(major, RTLX_MODULE_NAME); in rtlx_module_exit()
A Drtlx-mt.c21 static int major; variable
85 major = register_chrdev(0, RTLX_MODULE_NAME, &rtlx_fops); in rtlx_module_init()
86 if (major < 0) { in rtlx_module_init()
88 return major; in rtlx_module_init()
98 dev = device_create(mt_class, NULL, MKDEV(major, i), NULL, in rtlx_module_init()
102 device_destroy(mt_class, MKDEV(major, i)); in rtlx_module_init()
130 device_destroy(mt_class, MKDEV(major, i)); in rtlx_module_init()
132 unregister_chrdev(major, RTLX_MODULE_NAME); in rtlx_module_init()
142 device_destroy(mt_class, MKDEV(major, i)); in rtlx_module_exit()
144 unregister_chrdev(major, RTLX_MODULE_NAME); in rtlx_module_exit()
A Dvpe-cmp.c17 static int major; variable
106 major = register_chrdev(0, VPE_MODULE_NAME, &vpe_fops); in vpe_module_init()
107 if (major < 0) { in vpe_module_init()
109 return major; in vpe_module_init()
122 vpe_device.devt = MKDEV(major, VPE_MODULE_MINOR); in vpe_module_init()
163 unregister_chrdev(major, VPE_MODULE_NAME); in vpe_module_init()
174 unregister_chrdev(major, VPE_MODULE_NAME); in vpe_module_exit()
/linux-6.3-rc2/security/
A Ddevice_cgroup.c36 u32 major, minor; member
113 if (walk->major != ex->major) in dev_exception_add()
141 if (walk->major != ex->major) in dev_exception_rm()
303 set_majmin(maj, ex->major); in devcgroup_seq_show()
337 if (ex->major != ~0 && ex->major != major) in match_exception()
379 if (ex->major != ~0 && major != ~0 && ex->major != major) in match_exception_partial()
429 refex->major, in verify_new_ex()
445 refex->major, refex->minor, in verify_new_ex()
500 ex->major, ex->minor, ex->access); in parent_allows_removal()
683 ex.major = ~0; in devcgroup_update_access()
[all …]
/linux-6.3-rc2/drivers/gpu/drm/i915/gt/uc/
A Dintel_uc_fw.c179 u8 major; member
186 .major = major_, \
296 uc_fw->file_wanted.ver.major = blob->major; in __uc_fw_auto_select()
328 if (fw_blobs[i].blob.major < fw_blobs[i - 1].blob.major) in __uc_fw_auto_select()
340 if (fw_blobs[i].blob.major == fw_blobs[i - 1].blob.major) in __uc_fw_auto_select()
345 if (fw_blobs[i].blob.major != fw_blobs[i - 1].blob.major) in __uc_fw_auto_select()
768 if (uc_fw->file_wanted.ver.major && uc_fw->file_selected.ver.major) { in intel_uc_fw_fetch()
770 if (uc_fw->file_selected.ver.major != uc_fw->file_wanted.ver.major) { in intel_uc_fw_fetch()
1221 if (uc_fw->file_selected.ver.major < uc_fw->file_wanted.ver.major) in intel_uc_fw_dump()
1223 else if ((uc_fw->file_selected.ver.major == uc_fw->file_wanted.ver.major) && in intel_uc_fw_dump()
[all …]
/linux-6.3-rc2/tools/lib/bpf/
A Dlibbpf_common.h22 #define LIBBPF_DEPRECATED_SINCE(major, minor, msg) \ argument
23 __LIBBPF_MARK_DEPRECATED_ ## major ## _ ## minor \
24 (LIBBPF_DEPRECATED("libbpf v" # major "." # minor "+: " msg))
26 #define __LIBBPF_CURRENT_VERSION_GEQ(major, minor) \ argument
27 (LIBBPF_MAJOR_VERSION > (major) || \
28 (LIBBPF_MAJOR_VERSION == (major) && LIBBPF_MINOR_VERSION >= (minor)))
A Dlibbpf_probes.c34 __u32 major, minor, patch; in get_ubuntu_kernel_version() local
45 ret = fscanf(f, "%*s %*s %u.%u.%u\n", &major, &minor, &patch); in get_ubuntu_kernel_version()
50 return KERNEL_VERSION(major, minor, patch); in get_ubuntu_kernel_version()
65 __u32 major, minor, patch; in get_debian_kernel_version() local
74 if (sscanf(p, "Debian %u.%u.%u", &major, &minor, &patch) != 3) in get_debian_kernel_version()
77 return KERNEL_VERSION(major, minor, patch); in get_debian_kernel_version()
82 __u32 major, minor, patch, version; in get_kernel_version() local
97 if (sscanf(info.release, "%u.%u.%u", &major, &minor, &patch) != 3) in get_kernel_version()
100 return KERNEL_VERSION(major, minor, patch); in get_kernel_version()
/linux-6.3-rc2/drivers/char/
A Dscx200_gpio.c33 static int major = 0; /* default to dynamic major */ variable
34 module_param(major, int, 0);
35 MODULE_PARM_DESC(major, "Major device number");
98 if (major) { in scx200_gpio_init()
99 devid = MKDEV(major, 0); in scx200_gpio_init()
103 major = MAJOR(devid); in scx200_gpio_init()
128 unregister_chrdev_region(MKDEV(major, 0), MAX_PINS); in scx200_gpio_cleanup()
A Dpc8736x_gpio.c32 static int major; /* default to dynamic major */ variable
33 module_param(major, int, 0);
34 MODULE_PARM_DESC(major, "Major device number");
306 if (major) { in pc8736x_gpio_init()
307 devid = MKDEV(major, 0); in pc8736x_gpio_init()
311 major = MAJOR(devid); in pc8736x_gpio_init()
318 if (!major) { in pc8736x_gpio_init()
319 major = rc; in pc8736x_gpio_init()
320 dev_dbg(&pdev->dev, "got dynamic major %d\n", major); in pc8736x_gpio_init()
346 unregister_chrdev_region(MKDEV(major,0), PC8736X_GPIO_CT); in pc8736x_gpio_cleanup()
/linux-6.3-rc2/drivers/char/xillybus/
A Dxillybus_class.c36 int major; member
87 unit->major = MAJOR(mdev); in xillybus_init_chrdev()
100 rc = cdev_add(unit->cdev, MKDEV(unit->major, unit->lowest_minor), in xillybus_init_chrdev()
126 MKDEV(unit->major, in xillybus_init_chrdev()
155 device_destroy(xillybus_class, MKDEV(unit->major, in xillybus_init_chrdev()
161 unregister_chrdev_region(MKDEV(unit->major, unit->lowest_minor), in xillybus_init_chrdev()
196 device_destroy(xillybus_class, MKDEV(unit->major, minor)); in xillybus_cleanup_chrdev()
200 unregister_chrdev_region(MKDEV(unit->major, unit->lowest_minor), in xillybus_cleanup_chrdev()
217 int major = imajor(inode); in xillybus_find_inode() local
223 if (iter->major == major && in xillybus_find_inode()
/linux-6.3-rc2/Documentation/
A Dconf.py32 major, minor, patch = sphinx.version_info[:3] variable
38 if (major < 2) or (major == 2 and minor < 4):
60 if major >= 3:
61 if (major > 3) or (minor > 0 or patch >= 2):
149 load_imgmath = (load_imgmath or (major == 1 and minor < 8)
321 if major <= 1 and minor < 8:
398 if major == 1:
/linux-6.3-rc2/security/keys/encrypted-keys/
A Decryptfs_format.c31 void ecryptfs_get_versions(int *major, int *minor, int *file_version) in ecryptfs_get_versions() argument
33 *major = ECRYPTFS_VERSION_MAJOR; in ecryptfs_get_versions()
51 int major, minor; in ecryptfs_fill_auth_tok() local
53 ecryptfs_get_versions(&major, &minor, NULL); in ecryptfs_fill_auth_tok()
54 auth_tok->version = (((uint16_t)(major << 8) & 0xFF00) in ecryptfs_fill_auth_tok()
/linux-6.3-rc2/Documentation/driver-api/firmware/
A Dfirmware-usage-guidelines.rst17 versioned with at least a major/minor version. It is suggested that
19 specific name, and just the major version. The firmware version should
23 overwritten with the newest compatible major version. Newer major
25 that major number.
30 This means no major version bumps without the kernel retaining
31 backwards compatibility for the older major versions. Minor version
36 be successful, then all supported major versions in the linux-firmware
42 deprecating old major versions, then this should only be done as a
/linux-6.3-rc2/drivers/staging/media/atomisp/pci/
A Dcss_trace.h28 u8 major; member
266 #define PACK_TRACEPOINT(tid, major, minor, value) \ argument
267 (FIELD_TID_PACK(tid) | FIELD_MAJOR_PACK(major) | FIELD_MINOR_PACK(minor) | FIELD_VALUE_PACK(value))
269 #define PACK_QUICK_TRACEPOINT(major, minor) \ argument
270 (FIELD_FULL_MAJOR_PACK(major) | FIELD_MINOR_PACK(minor))
272 #define PACK_FORMATTED_TRACEPOINT(format, major, minor, value) \ argument
273 …(FIELD_TID_PACK(FIELD_TID_SEL_FORMAT_PAT) | FIELD_FORMAT_PACK(format) | FIELD_MAJOR_PACK(major) | …
275 #define PACK_TRACE_VALUE24(major, value) \ argument
276 (FIELD_TID_PACK(FIELD_TID_SEL_FORMAT_PAT) | FIELD_MAJOR_PACK(major) | FIELD_VALUE_24_PACK(value))
/linux-6.3-rc2/drivers/platform/x86/
A Dintel_scu_ipcutil.c23 static int major; variable
135 major = register_chrdev(0, "intel_mid_scu", &scu_ipc_fops); in ipc_module_init()
136 if (major < 0) in ipc_module_init()
137 return major; in ipc_module_init()
144 unregister_chrdev(major, "intel_mid_scu"); in ipc_module_exit()
/linux-6.3-rc2/block/
A Dgenhd.c164 int major; member
186 if (dp->major == offset) in blkdev_show()
227 if (major == 0) { in __register_blkdev()
239 major = index; in __register_blkdev()
240 ret = major; in __register_blkdev()
257 p->major = major; in __register_blkdev()
267 if ((*n)->major == major) in __register_blkdev()
278 major, name); in __register_blkdev()
296 if ((*n)->major == major) in unregister_blkdev()
431 if (disk->major) { in device_add_disk()
[all …]
/linux-6.3-rc2/drivers/soc/fsl/qbman/
A Dbman_ccsr.c89 static void bm_get_version(u16 *id, u8 *major, u8 *minor) in bm_get_version() argument
93 *major = (v >> 8) & 0xff; in bm_get_version()
215 u8 major, minor; in fsl_bman_probe() local
229 bm_get_version(&id, &major, &minor); in fsl_bman_probe()
230 if (major == 1 && minor == 0) { in fsl_bman_probe()
233 } else if (major == 2 && minor == 0) { in fsl_bman_probe()
236 } else if (major == 2 && minor == 1) { in fsl_bman_probe()
241 id, major, minor); in fsl_bman_probe()
/linux-6.3-rc2/sound/core/
A Dsound.c21 static int major = CONFIG_SND_MAJOR; variable
30 module_param(major, int, 0444);
31 MODULE_PARM_DESC(major, "Major # for sound driver.");
280 device->devt = MKDEV(major, minor); in snd_register_device()
397 snd_major = major; in alsa_sound_init()
399 if (register_chrdev(major, "alsa", &snd_fops)) { in alsa_sound_init()
400 pr_err("ALSA core: unable to register native major device number %d\n", major); in alsa_sound_init()
404 unregister_chrdev(major, "alsa"); in alsa_sound_init()
423 unregister_chrdev(major, "alsa"); in alsa_sound_exit()
/linux-6.3-rc2/arch/sparc/include/asm/
A Dvio.h49 u16 major; member
373 u16 major; 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 …]
/linux-6.3-rc2/Documentation/admin-guide/aoe/
A Dautoload.sh12 grep major-152 $f >/dev/null
14 echo alias block-major-152 aoe >> $f
15 echo alias char-major-152 aoe >> $f
/linux-6.3-rc2/drivers/gpu/drm/logicvc/
A Dlogicvc_drm.c54 .major = 1,
242 .major = 3,
246 .major = 4,
250 .major = 5,
260 unsigned int major, minor; in logicvc_drm_caps_match() local
267 major = FIELD_GET(LOGICVC_IP_VERSION_MAJOR_MASK, version); in logicvc_drm_caps_match()
272 if (logicvc_drm_caps[i].major && in logicvc_drm_caps_match()
273 logicvc_drm_caps[i].major != major) in logicvc_drm_caps_match()
287 drm_info(drm_dev, "LogiCVC version %d.%02d.%c\n", major, minor, level); in logicvc_drm_caps_match()

Completed in 41 milliseconds

12345678910>>...43