Home
last modified time | relevance | path

Searched refs:max_devices (Results 1 – 23 of 23) sorted by relevance

/OK3568_Linux_fs/kernel/samples/vfio-mdev/
H A Dmdpy.c46 static int max_devices = 4; variable
47 module_param_named(count, max_devices, int, 0444);
236 if (mdpy_count >= max_devices) in mdpy_create()
687 return sprintf(buf, "%d\n", max_devices - mdpy_count); in available_instances_show()
/OK3568_Linux_fs/external/xserver/hw/xwayland/
H A Dxwayland-glamor-gbm.c704 int i, n_devices, max_devices; in get_render_node_path() local
706 max_devices = drmGetDevices2(0, NULL, 0); in get_render_node_path()
707 if (max_devices <= 0) in get_render_node_path()
710 devices = calloc(max_devices, sizeof(drmDevicePtr)); in get_render_node_path()
714 n_devices = drmGetDevices2(0, devices, max_devices); in get_render_node_path()
/OK3568_Linux_fs/kernel/drivers/scsi/
H A Dhptiop.h187 __le32 max_devices; member
307 u32 max_devices; member
H A Dhptiop.c466 config->max_devices = info->max_devices; in iop_get_config_mvfrey()
1031 (scp->device->id > hba->max_devices) || in hptiop_queuecommand_lck()
1032 ((scp->device->id == (hba->max_devices-1)) && scp->device->lun)) { in hptiop_queuecommand_lck()
1371 hba->max_devices = le32_to_cpu(iop_config.max_devices); in hptiop_probe()
1396 host->max_id = le32_to_cpu(iop_config.max_devices); in hptiop_probe()
/OK3568_Linux_fs/kernel/include/linux/crush/
H A Dcrush.h245 __s32 max_devices; member
/OK3568_Linux_fs/kernel/drivers/pci/switch/
H A Dswitchtec.c24 static int max_devices = 16; variable
25 module_param(max_devices, int, 0644);
26 MODULE_PARM_DESC(max_devices, "max number of switchtec device instances");
1736 rc = alloc_chrdev_region(&switchtec_devt, 0, max_devices, in switchtec_init()
1759 unregister_chrdev_region(switchtec_devt, max_devices); in switchtec_init()
1769 unregister_chrdev_region(switchtec_devt, max_devices); in switchtec_exit()
/OK3568_Linux_fs/kernel/net/ceph/crush/
H A Dmapper.c519 if (item >= map->max_devices) { in crush_choose_firstn()
730 if (item >= map->max_devices) { in crush_choose_indep()
946 curstep->arg1 < map->max_devices) || in crush_do_rule()
/OK3568_Linux_fs/external/camera_engine_rkaiq/rkisp_demo/demo/include/
H A Dxf86drm.h892 extern int drmGetDevices(drmDevicePtr devices[], int max_devices);
897 extern int drmGetDevices2(uint32_t flags, drmDevicePtr devices[], int max_devices);
/OK3568_Linux_fs/external/linux-rga/samples/im2d_slt/third-party/libdrm/include/
H A Dxf86drm.h892 extern int drmGetDevices(drmDevicePtr devices[], int max_devices);
897 extern int drmGetDevices2(uint32_t flags, drmDevicePtr devices[], int max_devices);
/OK3568_Linux_fs/external/linux-rga/samples/utils/3rdparty/libdrm/include/
H A Dxf86drm.h892 extern int drmGetDevices(drmDevicePtr devices[], int max_devices);
897 extern int drmGetDevices2(uint32_t flags, drmDevicePtr devices[], int max_devices);
/OK3568_Linux_fs/buildroot/package/gpsd/
H A Dgpsd.mk190 GPSD_SCONS_OPTS += max_devices=$(BR2_PACKAGE_GPSD_MAX_DEV_VALUE)
/OK3568_Linux_fs/external/security/librkcrypto/third_party/libdrm/include/
H A Dxf86drm.h911 extern int drmGetDevices(drmDevicePtr devices[], int max_devices);
916 extern int drmGetDevices2(uint32_t flags, drmDevicePtr devices[], int max_devices);
/OK3568_Linux_fs/kernel/include/sound/
H A Dhda_codec.h358 u8 *dev_list, int max_devices);
/OK3568_Linux_fs/kernel/drivers/mmc/core/
H A Dblock.c94 static int max_devices; variable
2308 devidx = ida_simple_get(&mmc_blk_ida, 0, max_devices, GFP_KERNEL); in mmc_blk_alloc_req()
2567 devidx = ida_simple_get(&mmc_rpmb_ida, 0, max_devices, GFP_KERNEL); in mmc_blk_alloc_rpmb_part()
3096 max_devices = min(MAX_DEVICES, (1 << MINORBITS) / perdev_minors); in mmc_blk_init()
/OK3568_Linux_fs/kernel/fs/f2fs/
H A Dsuper.c3711 unsigned int max_devices = MAX_DEVICES; in f2fs_scan_devices() local
3718 max_devices = 1; in f2fs_scan_devices()
3726 array_size(max_devices, in f2fs_scan_devices()
3732 for (i = 0; i < max_devices; i++) { in f2fs_scan_devices()
3737 if (max_devices == 1) { in f2fs_scan_devices()
3779 if (max_devices == 1) in f2fs_scan_devices()
/OK3568_Linux_fs/external/security/librkcrypto/third_party/libdrm/src/
H A Dxf86drm.c4590 int max_devices) in drmGetDevices2() argument
4629 if ((devices != NULL) && (device_count < max_devices)) in drmGetDevices2()
4640 return MIN2(device_count, max_devices); in drmGetDevices2()
4657 drm_public int drmGetDevices(drmDevicePtr devices[], int max_devices) in drmGetDevices() argument
4659 return drmGetDevices2(DRM_DEVICE_GET_PCI_REVISION, devices, max_devices); in drmGetDevices()
/OK3568_Linux_fs/external/libmali/include/FBDEV/
H A Deglext.h621 typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYDEVICESEXTPROC) (EGLint max_devices, EGLDeviceEXT *devi…
626 EGLAPI EGLBoolean EGLAPIENTRY eglQueryDevicesEXT (EGLint max_devices, EGLDeviceEXT *devices, EGLint…
/OK3568_Linux_fs/external/libmali/include/EGL/
H A Deglext.h682 typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYDEVICESEXTPROC) (EGLint max_devices, EGLDeviceEXT *devi…
687 EGLAPI EGLBoolean EGLAPIENTRY eglQueryDevicesEXT (EGLint max_devices, EGLDeviceEXT *devices, EGLint…
/OK3568_Linux_fs/kernel/drivers/usb/misc/
H A Dftdi-elan.c2577 int max_devices = 0; in ftdi_elan_setupOHCI() local
2617 if (devices > max_devices) { in ftdi_elan_setupOHCI()
2618 max_devices = devices; in ftdi_elan_setupOHCI()
/OK3568_Linux_fs/kernel/drivers/scsi/pm8001/
H A Dpm8001_ctl.c226 static DEVICE_ATTR(max_devices, S_IRUGO, pm8001_ctl_max_devices_show, NULL);
/OK3568_Linux_fs/kernel/sound/pci/hda/
H A Dhda_codec.c327 u8 *dev_list, int max_devices) in snd_hda_get_devices() argument
337 dev_len = dev_len < max_devices ? dev_len : max_devices; in snd_hda_get_devices()
/OK3568_Linux_fs/buildroot/boot/grub2/
H A D0005-calloc-Use-calloc-at-most-places.patch808 max_devices = 2;
809 - enum_devices = grub_malloc (sizeof(struct device_info) * max_devices);
810 + enum_devices = grub_calloc (max_devices, sizeof(struct device_info));
/OK3568_Linux_fs/kernel/net/ceph/
H A Dosdmap.c449 c->max_devices = ceph_decode_32(p); in crush_decode()