limits            846 arch/um/drivers/ubd_kern.c 		ubd_dev->queue->limits.discard_granularity = SECTOR_SIZE;
limits            847 arch/um/drivers/ubd_kern.c 		ubd_dev->queue->limits.discard_alignment = SECTOR_SIZE;
limits            935 block/blk-core.c 		if (!q->limits.max_write_same_sectors)
limits            947 block/blk-core.c 		if (!q->limits.max_write_zeroes_sectors)
limits            178 block/blk-integrity.c 	    q->limits.max_integrity_segments)
limits            208 block/blk-integrity.c 	    q->limits.max_integrity_segments)
limits             74 block/blk-merge.c 	granularity = max(q->limits.discard_granularity >> 9, 1U);
limits             76 block/blk-merge.c 	max_discard_sectors = min(q->limits.max_discard_sectors,
limits             94 block/blk-merge.c 	alignment = (q->limits.discard_alignment >> 9) % granularity;
limits            110 block/blk-merge.c 	if (!q->limits.max_write_zeroes_sectors)
limits            113 block/blk-merge.c 	if (bio_sectors(bio) <= q->limits.max_write_zeroes_sectors)
limits            116 block/blk-merge.c 	return bio_split(bio, q->limits.max_write_zeroes_sectors, GFP_NOIO, bs);
limits            126 block/blk-merge.c 	if (!q->limits.max_write_same_sectors)
limits            129 block/blk-merge.c 	if (bio_sectors(bio) <= q->limits.max_write_same_sectors)
limits            132 block/blk-merge.c 	return bio_split(bio, q->limits.max_write_same_sectors, GFP_NOIO, bs);
limits            121 block/blk-settings.c 	blk_set_default_limits(&q->limits);
limits            150 block/blk-settings.c 	q->limits.bounce_pfn = max(max_low_pfn, b_pfn);
limits            154 block/blk-settings.c 	q->limits.bounce_pfn = b_pfn;
limits            159 block/blk-settings.c 		q->limits.bounce_pfn = b_pfn;
limits            185 block/blk-settings.c 	struct queue_limits *limits = &q->limits;
limits            194 block/blk-settings.c 	limits->max_hw_sectors = max_hw_sectors;
limits            195 block/blk-settings.c 	max_sectors = min_not_zero(max_hw_sectors, limits->max_dev_sectors);
limits            197 block/blk-settings.c 	limits->max_sectors = max_sectors;
limits            218 block/blk-settings.c 	q->limits.chunk_sectors = chunk_sectors;
limits            230 block/blk-settings.c 	q->limits.max_hw_discard_sectors = max_discard_sectors;
limits            231 block/blk-settings.c 	q->limits.max_discard_sectors = max_discard_sectors;
limits            243 block/blk-settings.c 	q->limits.max_write_same_sectors = max_write_same_sectors;
limits            256 block/blk-settings.c 	q->limits.max_write_zeroes_sectors = max_write_zeroes_sectors;
limits            277 block/blk-settings.c 	q->limits.max_segments = max_segments;
limits            293 block/blk-settings.c 	q->limits.max_discard_segments = max_segments;
limits            315 block/blk-settings.c 	WARN_ON_ONCE(q->limits.virt_boundary_mask);
limits            317 block/blk-settings.c 	q->limits.max_segment_size = max_size;
limits            333 block/blk-settings.c 	q->limits.logical_block_size = size;
limits            335 block/blk-settings.c 	if (q->limits.physical_block_size < size)
limits            336 block/blk-settings.c 		q->limits.physical_block_size = size;
limits            338 block/blk-settings.c 	if (q->limits.io_min < q->limits.physical_block_size)
limits            339 block/blk-settings.c 		q->limits.io_min = q->limits.physical_block_size;
limits            355 block/blk-settings.c 	q->limits.physical_block_size = size;
limits            357 block/blk-settings.c 	if (q->limits.physical_block_size < q->limits.logical_block_size)
limits            358 block/blk-settings.c 		q->limits.physical_block_size = q->limits.logical_block_size;
limits            360 block/blk-settings.c 	if (q->limits.io_min < q->limits.physical_block_size)
limits            361 block/blk-settings.c 		q->limits.io_min = q->limits.physical_block_size;
limits            378 block/blk-settings.c 	q->limits.alignment_offset =
limits            379 block/blk-settings.c 		offset & (q->limits.physical_block_size - 1);
limits            380 block/blk-settings.c 	q->limits.misaligned = 0;
limits            395 block/blk-settings.c void blk_limits_io_min(struct queue_limits *limits, unsigned int min)
limits            397 block/blk-settings.c 	limits->io_min = min;
limits            399 block/blk-settings.c 	if (limits->io_min < limits->logical_block_size)
limits            400 block/blk-settings.c 		limits->io_min = limits->logical_block_size;
limits            402 block/blk-settings.c 	if (limits->io_min < limits->physical_block_size)
limits            403 block/blk-settings.c 		limits->io_min = limits->physical_block_size;
limits            423 block/blk-settings.c 	blk_limits_io_min(&q->limits, min);
limits            440 block/blk-settings.c void blk_limits_io_opt(struct queue_limits *limits, unsigned int opt)
limits            442 block/blk-settings.c 	limits->io_opt = opt;
limits            461 block/blk-settings.c 	blk_limits_io_opt(&q->limits, opt);
limits            472 block/blk-settings.c 	blk_stack_limits(&t->limits, &b->limits, 0);
limits            639 block/blk-settings.c 	return blk_stack_limits(t, &bq->limits, start);
limits            658 block/blk-settings.c 	if (bdev_stack_limits(&t->limits, bdev, offset >> 9) < 0) {
limits            669 block/blk-settings.c 		t->limits.max_sectors >> (PAGE_SHIFT - 9);
limits            740 block/blk-settings.c 	q->limits.seg_boundary_mask = mask;
limits            751 block/blk-settings.c 	q->limits.virt_boundary_mask = mask;
limits            760 block/blk-settings.c 		q->limits.max_segment_size = UINT_MAX;
limits            130 block/blk-sysfs.c 	return queue_var_show(q->limits.max_integrity_segments, (page));
limits            150 block/blk-sysfs.c 	return queue_var_show(q->limits.chunk_sectors, page);
limits            165 block/blk-sysfs.c 	return queue_var_show(q->limits.discard_granularity, page);
limits            172 block/blk-sysfs.c 		(unsigned long long)q->limits.max_hw_discard_sectors << 9);
limits            178 block/blk-sysfs.c 		       (unsigned long long)q->limits.max_discard_sectors << 9);
limits            190 block/blk-sysfs.c 	if (max_discard & (q->limits.discard_granularity - 1))
limits            197 block/blk-sysfs.c 	if (max_discard > q->limits.max_hw_discard_sectors)
limits            198 block/blk-sysfs.c 		max_discard = q->limits.max_hw_discard_sectors;
limits            200 block/blk-sysfs.c 	q->limits.max_discard_sectors = max_discard;
limits            212 block/blk-sysfs.c 		(unsigned long long)q->limits.max_write_same_sectors << 9);
limits            218 block/blk-sysfs.c 		(unsigned long long)q->limits.max_write_zeroes_sectors << 9);
limits            233 block/blk-sysfs.c 					 q->limits.max_dev_sectors >> 1);
limits            239 block/blk-sysfs.c 	q->limits.max_sectors = max_sectors_kb << 1;
limits            301 block/bounce.c 		if (page_to_pfn(from.bv_page) > q->limits.bounce_pfn)
limits            324 block/bounce.c 		if (page_to_pfn(page) <= q->limits.bounce_pfn)
limits            376 block/bounce.c 		if (q->limits.bounce_pfn >= blk_max_pfn)
limits            343 block/partition-generic.c 		queue_limit_alignment_offset(&disk->queue->limits, start);
limits            345 block/partition-generic.c 		queue_limit_discard_alignment(&disk->queue->limits, start);
limits            927 drivers/block/drbd/drbd_main.c 		p->qlim->write_same_capable = !!q->limits.max_write_same_sectors;
limits           1192 drivers/block/drbd/drbd_nl.c 	q->limits.discard_granularity = granularity;
limits           1229 drivers/block/drbd/drbd_nl.c 		q->limits.max_discard_sectors = drbd_max_discard_sectors(connection);
limits           1231 drivers/block/drbd/drbd_nl.c 		q->limits.max_write_zeroes_sectors = drbd_max_discard_sectors(connection);
limits           1235 drivers/block/drbd/drbd_nl.c 		q->limits.max_discard_sectors = 0;
limits           1236 drivers/block/drbd/drbd_nl.c 		q->limits.max_write_zeroes_sectors = 0;
limits           1262 drivers/block/drbd/drbd_nl.c 		q->limits.max_write_zeroes_sectors = DRBD_MAX_BBIO_SECTORS;
limits           1264 drivers/block/drbd/drbd_nl.c 		q->limits.max_write_zeroes_sectors = 0;
limits           1274 drivers/block/drbd/drbd_nl.c 	bool can_do = b ? b->limits.max_write_same_sectors : true;
limits           1354 drivers/block/drbd/drbd_nl.c 		blk_set_stacking_limits(&q->limits);
limits           1533 drivers/block/drbd/drbd_nl.c 		if (q->limits.discard_granularity > disk_conf->rs_discard_granularity)
limits           1534 drivers/block/drbd/drbd_nl.c 			disk_conf->rs_discard_granularity = q->limits.discard_granularity;
limits           1536 drivers/block/drbd/drbd_nl.c 		remainder = disk_conf->rs_discard_granularity % q->limits.discard_granularity;
limits           1539 drivers/block/drbd/drbd_nl.c 		if (disk_conf->rs_discard_granularity > q->limits.max_discard_sectors << 9)
limits           1540 drivers/block/drbd/drbd_nl.c 			disk_conf->rs_discard_granularity = q->limits.max_discard_sectors << 9;
limits           1524 drivers/block/drbd/drbd_receiver.c 	granularity = max(q->limits.discard_granularity >> 9, 1U);
limits           1527 drivers/block/drbd/drbd_receiver.c 	max_discard_sectors = min(q->limits.max_discard_sectors, (1U << 22));
limits            879 drivers/block/loop.c 			backingq->limits.max_write_zeroes_sectors);
limits            882 drivers/block/loop.c 			backingq->limits.max_write_zeroes_sectors);
limits            891 drivers/block/loop.c 		q->limits.discard_granularity = 0;
limits            892 drivers/block/loop.c 		q->limits.discard_alignment = 0;
limits            897 drivers/block/loop.c 		q->limits.discard_granularity = inode->i_sb->s_blocksize;
limits            898 drivers/block/loop.c 		q->limits.discard_alignment = 0;
limits            904 drivers/block/loop.c 	if (q->limits.max_write_zeroes_sectors)
limits           1559 drivers/block/loop.c 	if (lo->lo_queue->limits.logical_block_size != arg) {
limits           1567 drivers/block/loop.c 	if (lo->lo_queue->limits.logical_block_size != arg &&
limits            305 drivers/block/nbd.c 		nbd->disk->queue->limits.discard_granularity = config->blksize;
limits            306 drivers/block/nbd.c 		nbd->disk->queue->limits.discard_alignment = config->blksize;
limits           1214 drivers/block/nbd.c 		nbd->disk->queue->limits.discard_granularity = 0;
limits           1215 drivers/block/nbd.c 		nbd->disk->queue->limits.discard_alignment = 0;
limits           1714 drivers/block/nbd.c 	disk->queue->limits.discard_granularity = 0;
limits           1715 drivers/block/nbd.c 	disk->queue->limits.discard_alignment = 0;
limits           1720 drivers/block/nbd.c 	disk->queue->limits.max_sectors = 256;
limits           1422 drivers/block/null_blk_main.c 	nullb->q->limits.discard_granularity = nullb->dev->blocksize;
limits           1423 drivers/block/null_blk_main.c 	nullb->q->limits.discard_alignment = nullb->dev->blocksize;
limits           1703 drivers/block/null_blk_main.c 		nullb->q->limits.zoned = BLK_ZONED_HM;
limits           5166 drivers/block/rbd.c 	q->limits.max_sectors = queue_max_hw_sectors(q);
limits           5174 drivers/block/rbd.c 		q->limits.discard_granularity = rbd_dev->opts->alloc_size;
limits            282 drivers/block/rsxx/dev.c 		card->queue->limits.discard_granularity = RSXX_HW_BLK_SIZE;
limits            283 drivers/block/rsxx/dev.c 		card->queue->limits.discard_alignment   = RSXX_HW_BLK_SIZE;
limits            956 drivers/block/virtio_blk.c 		q->limits.discard_granularity = blk_size;
limits            960 drivers/block/virtio_blk.c 		q->limits.discard_alignment = v ? v << SECTOR_SHIFT : 0;
limits            558 drivers/block/xen-blkback/xenbus.c 			q->limits.discard_granularity);
limits            565 drivers/block/xen-blkback/xenbus.c 			q->limits.discard_alignment);
limits            939 drivers/block/xen-blkfront.c 		rq->limits.discard_granularity = info->discard_granularity;
limits            940 drivers/block/xen-blkfront.c 		rq->limits.discard_alignment = info->discard_alignment;
limits           1936 drivers/block/zram/zram_drv.c 	zram->disk->queue->limits.discard_granularity = PAGE_SIZE;
limits           2252 drivers/cpufreq/cpufreq.c 	if (policy->governor->limits)
limits           2253 drivers/cpufreq/cpufreq.c 		policy->governor->limits(policy);
limits           2276 drivers/cpufreq/cpufreq.c 	if (policy->governor->limits)
limits           2277 drivers/cpufreq/cpufreq.c 		policy->governor->limits(policy);
limits            165 drivers/cpufreq/cpufreq_governor.h 		.limits = cpufreq_dbs_governor_limits,			\
limits             23 drivers/cpufreq/cpufreq_performance.c 	.limits		= cpufreq_gov_performance_limits,
limits             22 drivers/cpufreq/cpufreq_powersave.c 	.limits		= cpufreq_gov_powersave_limits,
limits            123 drivers/cpufreq/cpufreq_userspace.c 	.limits		= cpufreq_userspace_policy_limits,
limits            336 drivers/firmware/arm_scmi/perf.c 	struct scmi_perf_set_limits *limits;
limits            339 drivers/firmware/arm_scmi/perf.c 				 sizeof(*limits), 0, &t);
limits            343 drivers/firmware/arm_scmi/perf.c 	limits = t->tx.buf;
limits            344 drivers/firmware/arm_scmi/perf.c 	limits->domain = cpu_to_le32(domain);
limits            345 drivers/firmware/arm_scmi/perf.c 	limits->max_level = cpu_to_le32(max_perf);
limits            346 drivers/firmware/arm_scmi/perf.c 	limits->min_level = cpu_to_le32(min_perf);
limits            375 drivers/firmware/arm_scmi/perf.c 	struct scmi_perf_get_limits *limits;
limits            386 drivers/firmware/arm_scmi/perf.c 		limits = t->rx.buf;
limits            388 drivers/firmware/arm_scmi/perf.c 		*max_perf = le32_to_cpu(limits->max_level);
limits            389 drivers/firmware/arm_scmi/perf.c 		*min_perf = le32_to_cpu(limits->min_level);
limits            484 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c 			ATOM_PPLIB_VCE_Clock_Voltage_Limit_Table *limits =
limits            494 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c 				 1 + (limits->numEntries * sizeof(ATOM_PPLIB_VCE_Clock_Voltage_Limit_Record)));
limits            498 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c 			u32 size = limits->numEntries *
limits            507 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c 				limits->numEntries;
limits            508 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c 			entry = &limits->entries[0];
limits            510 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c 			for (i = 0; i < limits->numEntries; i++) {
limits            547 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c 			ATOM_PPLIB_UVD_Clock_Voltage_Limit_Table *limits =
limits            553 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c 			u32 size = limits->numEntries *
limits            562 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c 				limits->numEntries;
limits            563 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c 			entry = &limits->entries[0];
limits            564 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c 			for (i = 0; i < limits->numEntries; i++) {
limits            580 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c 			ATOM_PPLIB_SAMClk_Voltage_Limit_Table *limits =
limits            585 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c 			u32 size = limits->numEntries *
limits            594 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c 				limits->numEntries;
limits            595 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c 			entry = &limits->entries[0];
limits            596 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c 			for (i = 0; i < limits->numEntries; i++) {
limits            638 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c 			ATOM_PPLIB_ACPClk_Voltage_Limit_Table *limits =
limits            643 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c 			u32 size = limits->numEntries *
limits            652 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c 				limits->numEntries;
limits            653 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c 			entry = &limits->entries[0];
limits            654 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c 			for (i = 0; i < limits->numEntries; i++) {
limits           4357 drivers/gpu/drm/amd/amdgpu/si_dpm.c 					      const struct amdgpu_phase_shedding_limits_table *limits)
limits           4361 drivers/gpu/drm/amd/amdgpu/si_dpm.c 	if ((table == NULL) || (limits == NULL))
limits           4376 drivers/gpu/drm/amd/amdgpu/si_dpm.c 	if (limits->count != (num_levels - 1))
limits           4672 drivers/gpu/drm/amd/amdgpu/si_dpm.c 					    const struct amdgpu_phase_shedding_limits_table *limits,
limits           4678 drivers/gpu/drm/amd/amdgpu/si_dpm.c 	for (i = 0; i < limits->count; i++) {
limits           4679 drivers/gpu/drm/amd/amdgpu/si_dpm.c 		if ((voltage <= limits->entries[i].voltage) &&
limits           4680 drivers/gpu/drm/amd/amdgpu/si_dpm.c 		    (sclk <= limits->entries[i].sclk) &&
limits           4681 drivers/gpu/drm/amd/amdgpu/si_dpm.c 		    (mclk <= limits->entries[i].mclk))
limits            667 drivers/gpu/drm/amd/include/pptable.h       ATOM_PPLIB_SAMClk_Voltage_Limit_Table limits;
limits            685 drivers/gpu/drm/amd/include/pptable.h       ATOM_PPLIB_ACPClk_Voltage_Limit_Table limits;
limits            351 drivers/gpu/drm/amd/powerplay/hwmgr/process_pptables_v1_0.c 		struct phm_clock_and_voltage_limits *limits,
limits            358 drivers/gpu/drm/amd/powerplay/hwmgr/process_pptables_v1_0.c 	limits->sclk = le32_to_cpu(limitable->entries[0].ulSCLKLimit);
limits            359 drivers/gpu/drm/amd/powerplay/hwmgr/process_pptables_v1_0.c 	limits->mclk = le32_to_cpu(limitable->entries[0].ulMCLKLimit);
limits            360 drivers/gpu/drm/amd/powerplay/hwmgr/process_pptables_v1_0.c 	limits->vddc = le16_to_cpu(limitable->entries[0].usVddcLimit);
limits            361 drivers/gpu/drm/amd/powerplay/hwmgr/process_pptables_v1_0.c 	limits->vddci = le16_to_cpu(limitable->entries[0].usVddciLimit);
limits            362 drivers/gpu/drm/amd/powerplay/hwmgr/process_pptables_v1_0.c 	limits->vddgfx = le16_to_cpu(limitable->entries[0].usVddgfxLimit);
limits            429 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c 			struct phm_clock_and_voltage_limits *limits,
limits            432 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c 	limits->sclk = ((unsigned long)table->entries[0].ucSclkHigh << 16) |
limits            434 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c 	limits->mclk = ((unsigned long)table->entries[0].ucMclkHigh << 16) |
limits            436 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c 	limits->vddc = (unsigned long)le16_to_cpu(table->entries[0].usVddc);
limits            437 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c 	limits->vddci = (unsigned long)le16_to_cpu(table->entries[0].usVddci);
limits           1478 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c 	const struct phm_clock_and_voltage_limits *limits =
limits           1481 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c 	info->engine_max_clock = limits->sclk;
limits           1482 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c 	info->memory_max_clock = limits->mclk;
limits           1485 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c 		if (limits->vddc >= table->entries[i].v) {
limits           1636 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c 	const struct phm_clock_and_voltage_limits *limits =
limits           1649 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c 	clocks->memory_max_clock = limits->mclk;
limits            856 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_processpptables.c 		struct phm_clock_and_voltage_limits *limits,
limits            863 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_processpptables.c 	limits->sclk = le32_to_cpu(limit_table->entries[0].ulSOCCLKLimit);
limits            864 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_processpptables.c 	limits->mclk = le32_to_cpu(limit_table->entries[0].ulMCLKLimit);
limits            865 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_processpptables.c 	limits->gfxclk = le32_to_cpu(limit_table->entries[0].ulGFXCLKLimit);
limits            866 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_processpptables.c 	limits->vddc = le16_to_cpu(limit_table->entries[0].usVddcLimit);
limits            867 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_processpptables.c 	limits->vddci = le16_to_cpu(limit_table->entries[0].usVddciLimit);
limits            868 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_processpptables.c 	limits->vddmem = le16_to_cpu(limit_table->entries[0].usVddMemLimit);
limits           1262 drivers/gpu/drm/exynos/exynos_drm_fimc.c 	const struct drm_exynos_ipp_limit *limits;
limits           1289 drivers/gpu/drm/exynos/exynos_drm_fimc.c 		limits = fimc_4210_limits_v1;
limits           1292 drivers/gpu/drm/exynos/exynos_drm_fimc.c 		limits = fimc_4210_limits_v2;
limits           1299 drivers/gpu/drm/exynos/exynos_drm_fimc.c 		formats[i].limits = limits;
limits           1305 drivers/gpu/drm/exynos/exynos_drm_fimc.c 		limits = fimc_4210_limits_tiled_v1;
limits           1308 drivers/gpu/drm/exynos/exynos_drm_fimc.c 		limits = fimc_4210_limits_tiled_v2;
limits           1316 drivers/gpu/drm/exynos/exynos_drm_fimc.c 		formats[j].limits = limits;
limits            125 drivers/gpu/drm/exynos/exynos_drm_gsc.c 	const struct drm_exynos_ipp_limit *limits;
limits           1242 drivers/gpu/drm/exynos/exynos_drm_gsc.c 		formats[i].limits = driver_data->limits;
limits           1252 drivers/gpu/drm/exynos/exynos_drm_gsc.c 		formats[j].limits = driver_data->limits;
limits           1388 drivers/gpu/drm/exynos/exynos_drm_gsc.c 	.limits = gsc_5250_limits,
limits           1395 drivers/gpu/drm/exynos/exynos_drm_gsc.c 	.limits = gsc_5420_limits,
limits           1402 drivers/gpu/drm/exynos/exynos_drm_gsc.c 	.limits = gsc_5433_limits,
limits            243 drivers/gpu/drm/exynos/exynos_drm_ipp.c 		if (copy_to_user((void __user *)ptr, format->limits,
limits            244 drivers/gpu/drm/exynos/exynos_drm_ipp.c 				 sizeof(*format->limits) * format->num_limits))
limits            429 drivers/gpu/drm/exynos/exynos_drm_ipp.c static void __get_size_limit(const struct drm_exynos_ipp_limit *limits,
limits            433 drivers/gpu/drm/exynos/exynos_drm_ipp.c 	const struct drm_exynos_ipp_limit *l = limits;
limits            438 drivers/gpu/drm/exynos/exynos_drm_ipp.c 		for (l = limits; l - limits < num_limits; l++) {
limits            475 drivers/gpu/drm/exynos/exynos_drm_ipp.c 	const struct drm_exynos_ipp_limit *limits, unsigned int num_limits,
limits            483 drivers/gpu/drm/exynos/exynos_drm_ipp.c 	if (!limits)
limits            486 drivers/gpu/drm/exynos/exynos_drm_ipp.c 	__get_size_limit(limits, num_limits, IPP_LIMIT_BUFFER, &l);
limits            495 drivers/gpu/drm/exynos/exynos_drm_ipp.c 	__get_size_limit(limits, num_limits, id, &l);
limits            522 drivers/gpu/drm/exynos/exynos_drm_ipp.c 				const struct drm_exynos_ipp_limit *limits,
limits            528 drivers/gpu/drm/exynos/exynos_drm_ipp.c 	for (; num_limits; limits++, num_limits--)
limits            529 drivers/gpu/drm/exynos/exynos_drm_ipp.c 		if ((limits->type & DRM_EXYNOS_IPP_LIMIT_TYPE_MASK) ==
limits            535 drivers/gpu/drm/exynos/exynos_drm_ipp.c 	lh = (!swap) ? &limits->h : &limits->v;
limits            536 drivers/gpu/drm/exynos/exynos_drm_ipp.c 	lv = (!swap) ? &limits->v : &limits->h;
limits            589 drivers/gpu/drm/exynos/exynos_drm_ipp.c 	ret = exynos_drm_ipp_check_size_limits(buf, fmt->limits,
limits            596 drivers/gpu/drm/exynos/exynos_drm_ipp.c 						fmt->limits,
limits            107 drivers/gpu/drm/exynos/exynos_drm_ipp.h 	const struct drm_exynos_ipp_limit *limits;
limits            113 drivers/gpu/drm/exynos/exynos_drm_ipp.h 	.fourcc = DRM_FORMAT_##f, .modifier = m, .limits = l, \
limits           1897 drivers/gpu/drm/i915/display/intel_dp.c 				  struct link_config_limits *limits)
limits           1903 drivers/gpu/drm/i915/display/intel_dp.c 		limits->min_bpp = limits->max_bpp = bpp;
limits           1922 drivers/gpu/drm/i915/display/intel_dp.c 				limits->min_clock = limits->max_clock = index;
limits           1923 drivers/gpu/drm/i915/display/intel_dp.c 			limits->min_lane_count = limits->max_lane_count =
limits           1946 drivers/gpu/drm/i915/display/intel_dp.c 				  const struct link_config_limits *limits)
limits           1952 drivers/gpu/drm/i915/display/intel_dp.c 	for (bpp = limits->max_bpp; bpp >= limits->min_bpp; bpp -= 2 * 3) {
limits           1958 drivers/gpu/drm/i915/display/intel_dp.c 		for (clock = limits->min_clock; clock <= limits->max_clock; clock++) {
limits           1959 drivers/gpu/drm/i915/display/intel_dp.c 			for (lane_count = limits->min_lane_count;
limits           1960 drivers/gpu/drm/i915/display/intel_dp.c 			     lane_count <= limits->max_lane_count;
limits           1998 drivers/gpu/drm/i915/display/intel_dp.c 				       struct link_config_limits *limits)
limits           2028 drivers/gpu/drm/i915/display/intel_dp.c 	pipe_config->port_clock = intel_dp->common_rates[limits->max_clock];
limits           2029 drivers/gpu/drm/i915/display/intel_dp.c 	pipe_config->lane_count = limits->max_lane_count;
limits           2108 drivers/gpu/drm/i915/display/intel_dp.c 	struct link_config_limits limits;
limits           2118 drivers/gpu/drm/i915/display/intel_dp.c 	limits.min_clock = 0;
limits           2119 drivers/gpu/drm/i915/display/intel_dp.c 	limits.max_clock = common_len - 1;
limits           2121 drivers/gpu/drm/i915/display/intel_dp.c 	limits.min_lane_count = 1;
limits           2122 drivers/gpu/drm/i915/display/intel_dp.c 	limits.max_lane_count = intel_dp_max_lane_count(intel_dp);
limits           2124 drivers/gpu/drm/i915/display/intel_dp.c 	limits.min_bpp = intel_dp_min_bpp(pipe_config);
limits           2125 drivers/gpu/drm/i915/display/intel_dp.c 	limits.max_bpp = intel_dp_compute_bpp(intel_dp, pipe_config);
limits           2135 drivers/gpu/drm/i915/display/intel_dp.c 		limits.min_lane_count = limits.max_lane_count;
limits           2136 drivers/gpu/drm/i915/display/intel_dp.c 		limits.min_clock = limits.max_clock;
limits           2139 drivers/gpu/drm/i915/display/intel_dp.c 	intel_dp_adjust_compliance_config(intel_dp, pipe_config, &limits);
limits           2143 drivers/gpu/drm/i915/display/intel_dp.c 		      limits.max_lane_count,
limits           2144 drivers/gpu/drm/i915/display/intel_dp.c 		      intel_dp->common_rates[limits.max_clock],
limits           2145 drivers/gpu/drm/i915/display/intel_dp.c 		      limits.max_bpp, adjusted_mode->crtc_clock);
limits           2151 drivers/gpu/drm/i915/display/intel_dp.c 	ret = intel_dp_compute_link_config_wide(intel_dp, pipe_config, &limits);
limits           2157 drivers/gpu/drm/i915/display/intel_dp.c 						  conn_state, &limits);
limits             34 drivers/gpu/drm/i915/display/intel_dp.h 				       struct link_config_limits *limits);
limits             43 drivers/gpu/drm/i915/display/intel_dp_mst.c 					    struct link_config_limits *limits)
limits             57 drivers/gpu/drm/i915/display/intel_dp_mst.c 	crtc_state->lane_count = limits->max_lane_count;
limits             58 drivers/gpu/drm/i915/display/intel_dp_mst.c 	crtc_state->port_clock = limits->max_clock;
limits             60 drivers/gpu/drm/i915/display/intel_dp_mst.c 	for (bpp = limits->max_bpp; bpp >= limits->min_bpp; bpp -= 2 * 3) {
limits            104 drivers/gpu/drm/i915/display/intel_dp_mst.c 	struct link_config_limits limits;
limits            124 drivers/gpu/drm/i915/display/intel_dp_mst.c 	limits.min_clock =
limits            125 drivers/gpu/drm/i915/display/intel_dp_mst.c 	limits.max_clock = intel_dp_max_link_rate(intel_dp);
limits            127 drivers/gpu/drm/i915/display/intel_dp_mst.c 	limits.min_lane_count =
limits            128 drivers/gpu/drm/i915/display/intel_dp_mst.c 	limits.max_lane_count = intel_dp_max_lane_count(intel_dp);
limits            130 drivers/gpu/drm/i915/display/intel_dp_mst.c 	limits.min_bpp = intel_dp_min_bpp(pipe_config);
limits            139 drivers/gpu/drm/i915/display/intel_dp_mst.c 	limits.max_bpp = min(pipe_config->pipe_bpp, 24);
limits            141 drivers/gpu/drm/i915/display/intel_dp_mst.c 	intel_dp_adjust_compliance_config(intel_dp, pipe_config, &limits);
limits            144 drivers/gpu/drm/i915/display/intel_dp_mst.c 					       conn_state, &limits);
limits           6545 drivers/gpu/drm/i915/intel_pm.c 	u32 limits;
limits           6554 drivers/gpu/drm/i915/intel_pm.c 		limits = (rps->max_freq_softlimit) << 23;
limits           6556 drivers/gpu/drm/i915/intel_pm.c 			limits |= (rps->min_freq_softlimit) << 14;
limits           6558 drivers/gpu/drm/i915/intel_pm.c 		limits = rps->max_freq_softlimit << 24;
limits           6560 drivers/gpu/drm/i915/intel_pm.c 			limits |= rps->min_freq_softlimit << 16;
limits           6563 drivers/gpu/drm/i915/intel_pm.c 	return limits;
limits            254 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gf100.c 	struct nvbios_pll limits;
limits            257 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gf100.c 	ret = nvbios_pll_parse(bios, 0x137000 + (idx * 0x20), &limits);
limits            261 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gf100.c 	limits.refclk = read_div(clk, idx, 0x137120, 0x137140);
limits            262 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gf100.c 	if (!limits.refclk)
limits            265 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gf100.c 	ret = gt215_pll_calc(subdev, &limits, freq, &N, NULL, &M, &P);
limits            267 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk104.c 	struct nvbios_pll limits;
limits            270 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk104.c 	ret = nvbios_pll_parse(bios, 0x137000 + (idx * 0x20), &limits);
limits            274 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk104.c 	limits.refclk = read_div(clk, idx, 0x137120, 0x137140);
limits            275 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk104.c 	if (!limits.refclk)
limits            278 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk104.c 	ret = gt215_pll_calc(subdev, &limits, freq, &N, NULL, &M, &P);
limits            240 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gt215.c 	struct nvbios_pll limits;
limits            255 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gt215.c 	ret = nvbios_pll_parse(subdev->device->bios, pll, &limits);
limits            259 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gt215.c 	ret = gt215_clk_info(&clk->base, idx - 0x10, limits.refclk, info);
limits            260 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gt215.c 	if (ret != limits.refclk)
limits            263 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gt215.c 	ret = gt215_pll_calc(subdev, &limits, khz, &N, NULL, &M, &P);
limits           2148 drivers/gpu/drm/omapdrm/dss/dispc.c 	static const u8 limits[3] = { 8, 10, 20 };
limits           2162 drivers/gpu/drm/omapdrm/dss/dispc.c 	DSSDBG("blanking period + ppl = %llu (limit = %u)\n", blank, limits[i]);
limits           2163 drivers/gpu/drm/omapdrm/dss/dispc.c 	if (blank <= limits[i])
limits           2380 drivers/gpu/drm/radeon/ci_dpm.c 						  const struct radeon_phase_shedding_limits_table *limits,
limits           2388 drivers/gpu/drm/radeon/ci_dpm.c 	for (i = 0; i < limits->count; i++) {
limits           2389 drivers/gpu/drm/radeon/ci_dpm.c 		if (sclk < limits->entries[i].sclk) {
limits           2397 drivers/gpu/drm/radeon/ci_dpm.c 						  const struct radeon_phase_shedding_limits_table *limits,
limits           2405 drivers/gpu/drm/radeon/ci_dpm.c 	for (i = 0; i < limits->count; i++) {
limits           2406 drivers/gpu/drm/radeon/ci_dpm.c 		if (mclk < limits->entries[i].mclk) {
limits            626 drivers/gpu/drm/radeon/pptable.h       ATOM_PPLIB_SAMClk_Voltage_Limit_Table limits;
limits            644 drivers/gpu/drm/radeon/pptable.h       ATOM_PPLIB_ACPClk_Voltage_Limit_Table limits;
limits           1077 drivers/gpu/drm/radeon/r600_dpm.c 			ATOM_PPLIB_VCE_Clock_Voltage_Limit_Table *limits =
limits           1087 drivers/gpu/drm/radeon/r600_dpm.c 				 1 + (limits->numEntries * sizeof(ATOM_PPLIB_VCE_Clock_Voltage_Limit_Record)));
limits           1091 drivers/gpu/drm/radeon/r600_dpm.c 			u32 size = limits->numEntries *
limits           1100 drivers/gpu/drm/radeon/r600_dpm.c 				limits->numEntries;
limits           1101 drivers/gpu/drm/radeon/r600_dpm.c 			entry = &limits->entries[0];
limits           1103 drivers/gpu/drm/radeon/r600_dpm.c 			for (i = 0; i < limits->numEntries; i++) {
limits           1139 drivers/gpu/drm/radeon/r600_dpm.c 			ATOM_PPLIB_UVD_Clock_Voltage_Limit_Table *limits =
limits           1145 drivers/gpu/drm/radeon/r600_dpm.c 			u32 size = limits->numEntries *
limits           1154 drivers/gpu/drm/radeon/r600_dpm.c 				limits->numEntries;
limits           1155 drivers/gpu/drm/radeon/r600_dpm.c 			entry = &limits->entries[0];
limits           1156 drivers/gpu/drm/radeon/r600_dpm.c 			for (i = 0; i < limits->numEntries; i++) {
limits           1172 drivers/gpu/drm/radeon/r600_dpm.c 			ATOM_PPLIB_SAMClk_Voltage_Limit_Table *limits =
limits           1177 drivers/gpu/drm/radeon/r600_dpm.c 			u32 size = limits->numEntries *
limits           1186 drivers/gpu/drm/radeon/r600_dpm.c 				limits->numEntries;
limits           1187 drivers/gpu/drm/radeon/r600_dpm.c 			entry = &limits->entries[0];
limits           1188 drivers/gpu/drm/radeon/r600_dpm.c 			for (i = 0; i < limits->numEntries; i++) {
limits           1230 drivers/gpu/drm/radeon/r600_dpm.c 			ATOM_PPLIB_ACPClk_Voltage_Limit_Table *limits =
limits           1235 drivers/gpu/drm/radeon/r600_dpm.c 			u32 size = limits->numEntries *
limits           1244 drivers/gpu/drm/radeon/r600_dpm.c 				limits->numEntries;
limits           1245 drivers/gpu/drm/radeon/r600_dpm.c 			entry = &limits->entries[0];
limits           1246 drivers/gpu/drm/radeon/r600_dpm.c 			for (i = 0; i < limits->numEntries; i++) {
limits           3895 drivers/gpu/drm/radeon/si_dpm.c 					      const struct radeon_phase_shedding_limits_table *limits)
limits           3899 drivers/gpu/drm/radeon/si_dpm.c 	if ((table == NULL) || (limits == NULL))
limits           3914 drivers/gpu/drm/radeon/si_dpm.c 	if (limits->count != (num_levels - 1))
limits           4210 drivers/gpu/drm/radeon/si_dpm.c 					    const struct radeon_phase_shedding_limits_table *limits,
limits           4216 drivers/gpu/drm/radeon/si_dpm.c 	for (i = 0; i < limits->count; i++) {
limits           4217 drivers/gpu/drm/radeon/si_dpm.c 		if ((voltage <= limits->entries[i].voltage) &&
limits           4218 drivers/gpu/drm/radeon/si_dpm.c 		    (sclk <= limits->entries[i].sclk) &&
limits           4219 drivers/gpu/drm/radeon/si_dpm.c 		    (mclk <= limits->entries[i].mclk))
limits             98 drivers/infiniband/hw/mthca/mthca_av.c 		if (dev->limits.stat_rate_support == 0x3 && mthca_rate)
limits            147 drivers/infiniband/hw/mthca/mthca_av.c 	if (!(dev->limits.stat_rate_support & (1 << rate)))
limits            212 drivers/infiniband/hw/mthca/mthca_av.c 				  dev->limits.gid_table_len +
limits            317 drivers/infiniband/hw/mthca/mthca_av.c 				(dev->limits.gid_table_len - 1),
limits           1097 drivers/infiniband/hw/mthca/mthca_cmd.c 					       dev->limits.mtt_seg_size) / dev->limits.mtt_seg_size;
limits            221 drivers/infiniband/hw/mthca/mthca_cq.c 	cq = mthca_array_get(&dev->cq_table.cq, cqn & (dev->limits.num_cqs - 1));
limits            241 drivers/infiniband/hw/mthca/mthca_cq.c 	cq = mthca_array_get(&dev->cq_table.cq, cqn & (dev->limits.num_cqs - 1));
limits            522 drivers/infiniband/hw/mthca/mthca_cq.c 					  (dev->limits.num_qps - 1));
limits            850 drivers/infiniband/hw/mthca/mthca_cq.c 			    cq->cqn & (dev->limits.num_cqs - 1),
limits            927 drivers/infiniband/hw/mthca/mthca_cq.c 			  cq->cqn & (dev->limits.num_cqs - 1));
limits            958 drivers/infiniband/hw/mthca/mthca_cq.c 			       dev->limits.num_cqs,
limits            960 drivers/infiniband/hw/mthca/mthca_cq.c 			       dev->limits.reserved_cqs);
limits            965 drivers/infiniband/hw/mthca/mthca_cq.c 			       dev->limits.num_cqs);
limits            974 drivers/infiniband/hw/mthca/mthca_cq.c 	mthca_array_cleanup(&dev->cq_table.cq, dev->limits.num_cqs);
limits            337 drivers/infiniband/hw/mthca/mthca_dev.h 	struct mthca_limits limits;
limits            774 drivers/infiniband/hw/mthca/mthca_eq.c 			       dev->limits.num_eqs,
limits            775 drivers/infiniband/hw/mthca/mthca_eq.c 			       dev->limits.num_eqs - 1,
limits            776 drivers/infiniband/hw/mthca/mthca_eq.c 			       dev->limits.reserved_eqs);
limits            797 drivers/infiniband/hw/mthca/mthca_eq.c 	err = mthca_create_eq(dev, dev->limits.num_cqs + MTHCA_NUM_SPARE_EQE,
limits            303 drivers/infiniband/hw/mthca/mthca_mad.c 	for (p = 0; p < dev->limits.num_ports; ++p)
limits            317 drivers/infiniband/hw/mthca/mthca_mad.c 	for (p = 1; p <= dev->limits.num_ports; ++p) {
limits            329 drivers/infiniband/hw/mthca/mthca_mad.c 	for (p = 0; p < dev->limits.num_ports; ++p)
limits            342 drivers/infiniband/hw/mthca/mthca_mad.c 	for (p = 0; p < dev->limits.num_ports; ++p) {
limits            168 drivers/infiniband/hw/mthca/mthca_main.c 	mdev->limits.mtt_seg_size = (1 << log_mtts_per_seg) * 8;
limits            196 drivers/infiniband/hw/mthca/mthca_main.c 	mdev->limits.num_ports      	= dev_lim->num_ports;
limits            197 drivers/infiniband/hw/mthca/mthca_main.c 	mdev->limits.vl_cap             = dev_lim->max_vl;
limits            198 drivers/infiniband/hw/mthca/mthca_main.c 	mdev->limits.mtu_cap            = dev_lim->max_mtu;
limits            199 drivers/infiniband/hw/mthca/mthca_main.c 	mdev->limits.gid_table_len  	= dev_lim->max_gids;
limits            200 drivers/infiniband/hw/mthca/mthca_main.c 	mdev->limits.pkey_table_len 	= dev_lim->max_pkeys;
limits            201 drivers/infiniband/hw/mthca/mthca_main.c 	mdev->limits.local_ca_ack_delay = dev_lim->local_ca_ack_delay;
limits            207 drivers/infiniband/hw/mthca/mthca_main.c 	mdev->limits.max_sg		= min_t(int, dev_lim->max_sg,
limits            214 drivers/infiniband/hw/mthca/mthca_main.c 	mdev->limits.max_wqes           = dev_lim->max_qp_sz;
limits            215 drivers/infiniband/hw/mthca/mthca_main.c 	mdev->limits.max_qp_init_rdma   = dev_lim->max_requester_per_qp;
limits            216 drivers/infiniband/hw/mthca/mthca_main.c 	mdev->limits.reserved_qps       = dev_lim->reserved_qps;
limits            217 drivers/infiniband/hw/mthca/mthca_main.c 	mdev->limits.max_srq_wqes       = dev_lim->max_srq_sz;
limits            218 drivers/infiniband/hw/mthca/mthca_main.c 	mdev->limits.reserved_srqs      = dev_lim->reserved_srqs;
limits            219 drivers/infiniband/hw/mthca/mthca_main.c 	mdev->limits.reserved_eecs      = dev_lim->reserved_eecs;
limits            220 drivers/infiniband/hw/mthca/mthca_main.c 	mdev->limits.max_desc_sz        = dev_lim->max_desc_sz;
limits            221 drivers/infiniband/hw/mthca/mthca_main.c 	mdev->limits.max_srq_sge	= mthca_max_srq_sge(mdev);
limits            227 drivers/infiniband/hw/mthca/mthca_main.c 	mdev->limits.max_cqes           = dev_lim->max_cq_sz - 1;
limits            228 drivers/infiniband/hw/mthca/mthca_main.c 	mdev->limits.reserved_cqs       = dev_lim->reserved_cqs;
limits            229 drivers/infiniband/hw/mthca/mthca_main.c 	mdev->limits.reserved_eqs       = dev_lim->reserved_eqs;
limits            230 drivers/infiniband/hw/mthca/mthca_main.c 	mdev->limits.reserved_mtts      = dev_lim->reserved_mtts;
limits            231 drivers/infiniband/hw/mthca/mthca_main.c 	mdev->limits.reserved_mrws      = dev_lim->reserved_mrws;
limits            232 drivers/infiniband/hw/mthca/mthca_main.c 	mdev->limits.reserved_uars      = dev_lim->reserved_uars;
limits            233 drivers/infiniband/hw/mthca/mthca_main.c 	mdev->limits.reserved_pds       = dev_lim->reserved_pds;
limits            234 drivers/infiniband/hw/mthca/mthca_main.c 	mdev->limits.port_width_cap     = dev_lim->max_port_width;
limits            235 drivers/infiniband/hw/mthca/mthca_main.c 	mdev->limits.page_size_cap      = ~(u32) (dev_lim->min_page_sz - 1);
limits            236 drivers/infiniband/hw/mthca/mthca_main.c 	mdev->limits.flags              = dev_lim->flags;
limits            244 drivers/infiniband/hw/mthca/mthca_main.c 		mdev->limits.stat_rate_support = dev_lim->stat_rate_support;
limits            246 drivers/infiniband/hw/mthca/mthca_main.c 		mdev->limits.stat_rate_support = 0xf;
limits            248 drivers/infiniband/hw/mthca/mthca_main.c 		mdev->limits.stat_rate_support = 0x3;
limits            418 drivers/infiniband/hw/mthca/mthca_main.c 	mdev->limits.reserved_mtts = ALIGN(mdev->limits.reserved_mtts * mdev->limits.mtt_seg_size,
limits            419 drivers/infiniband/hw/mthca/mthca_main.c 					   dma_get_cache_alignment()) / mdev->limits.mtt_seg_size;
limits            422 drivers/infiniband/hw/mthca/mthca_main.c 							 mdev->limits.mtt_seg_size,
limits            423 drivers/infiniband/hw/mthca/mthca_main.c 							 mdev->limits.num_mtt_segs,
limits            424 drivers/infiniband/hw/mthca/mthca_main.c 							 mdev->limits.reserved_mtts,
limits            434 drivers/infiniband/hw/mthca/mthca_main.c 							 mdev->limits.num_mpts,
limits            435 drivers/infiniband/hw/mthca/mthca_main.c 							 mdev->limits.reserved_mrws,
limits            445 drivers/infiniband/hw/mthca/mthca_main.c 							mdev->limits.num_qps,
limits            446 drivers/infiniband/hw/mthca/mthca_main.c 							mdev->limits.reserved_qps,
limits            456 drivers/infiniband/hw/mthca/mthca_main.c 							 mdev->limits.num_qps,
limits            457 drivers/infiniband/hw/mthca/mthca_main.c 							 mdev->limits.reserved_qps,
limits            467 drivers/infiniband/hw/mthca/mthca_main.c 							 mdev->limits.num_qps <<
limits            478 drivers/infiniband/hw/mthca/mthca_main.c 						     mdev->limits.num_cqs,
limits            479 drivers/infiniband/hw/mthca/mthca_main.c 						     mdev->limits.reserved_cqs,
limits            491 drivers/infiniband/hw/mthca/mthca_main.c 					      mdev->limits.num_srqs,
limits            492 drivers/infiniband/hw/mthca/mthca_main.c 					      mdev->limits.reserved_srqs,
limits            509 drivers/infiniband/hw/mthca/mthca_main.c 						      mdev->limits.num_mgms +
limits            510 drivers/infiniband/hw/mthca/mthca_main.c 						      mdev->limits.num_amgms,
limits            511 drivers/infiniband/hw/mthca/mthca_main.c 						      mdev->limits.num_mgms +
limits            512 drivers/infiniband/hw/mthca/mthca_main.c 						      mdev->limits.num_amgms,
limits           1090 drivers/infiniband/hw/mthca/mthca_main.c 		for (p = 1; p <= mdev->limits.num_ports; ++p)
limits            205 drivers/infiniband/hw/mthca/mthca_mcg.c 		BUG_ON(index < dev->limits.num_mgms);
limits            285 drivers/infiniband/hw/mthca/mthca_mcg.c 			BUG_ON(amgm_index_to_free < dev->limits.num_mgms);
limits            304 drivers/infiniband/hw/mthca/mthca_mcg.c 		BUG_ON(index < dev->limits.num_mgms);
limits            318 drivers/infiniband/hw/mthca/mthca_mcg.c 	int table_size = dev->limits.num_mgms + dev->limits.num_amgms;
limits            323 drivers/infiniband/hw/mthca/mthca_mcg.c 			       dev->limits.num_mgms);
limits            223 drivers/infiniband/hw/mthca/mthca_mr.c 	for (i = dev->limits.mtt_seg_size / 8; i < size; i <<= 1)
limits            269 drivers/infiniband/hw/mthca/mthca_mr.c 					   mtt->first_seg * dev->limits.mtt_seg_size +
limits            322 drivers/infiniband/hw/mthca/mthca_mr.c 	mtts = dev->mr_table.tavor_fmr.mtt_base + mtt->first_seg * dev->limits.mtt_seg_size +
limits            341 drivers/infiniband/hw/mthca/mthca_mr.c 	BUG_ON(s % dev->limits.mtt_seg_size);
limits            344 drivers/infiniband/hw/mthca/mthca_mr.c 				s / dev->limits.mtt_seg_size, &dma_handle);
limits            478 drivers/infiniband/hw/mthca/mthca_mr.c 				    mr->mtt->first_seg * dev->limits.mtt_seg_size);
limits            492 drivers/infiniband/hw/mthca/mthca_mr.c 			      key & (dev->limits.num_mpts - 1));
limits            559 drivers/infiniband/hw/mthca/mthca_mr.c 			      (dev->limits.num_mpts - 1));
limits            593 drivers/infiniband/hw/mthca/mthca_mr.c 	idx = key & (dev->limits.num_mpts - 1);
limits            613 drivers/infiniband/hw/mthca/mthca_mr.c 	mtt_seg = mr->mtt->first_seg * dev->limits.mtt_seg_size;
limits            655 drivers/infiniband/hw/mthca/mthca_mr.c 			      key & (dev->limits.num_mpts - 1));
limits            733 drivers/infiniband/hw/mthca/mthca_mr.c 	key += dev->limits.num_mpts;
limits            776 drivers/infiniband/hw/mthca/mthca_mr.c 		key += dev->limits.num_mpts;
limits            833 drivers/infiniband/hw/mthca/mthca_mr.c 			       dev->limits.num_mpts,
limits            834 drivers/infiniband/hw/mthca/mthca_mr.c 			       ~0, dev->limits.reserved_mrws);
limits            840 drivers/infiniband/hw/mthca/mthca_mr.c 		dev->limits.fmr_reserved_mtts = 0;
limits            848 drivers/infiniband/hw/mthca/mthca_mr.c 			       fls(dev->limits.num_mtt_segs - 1));
limits            856 drivers/infiniband/hw/mthca/mthca_mr.c 	if (dev->limits.fmr_reserved_mtts) {
limits            857 drivers/infiniband/hw/mthca/mthca_mr.c 		i = fls(dev->limits.fmr_reserved_mtts - 1);
limits            866 drivers/infiniband/hw/mthca/mthca_mr.c 		mtts = dev->limits.num_mtt_segs;
limits            867 drivers/infiniband/hw/mthca/mthca_mr.c 		mpts = dev->limits.num_mpts;
limits            891 drivers/infiniband/hw/mthca/mthca_mr.c 			ioremap(addr, mtts * dev->limits.mtt_seg_size);
limits            899 drivers/infiniband/hw/mthca/mthca_mr.c 	if (dev->limits.fmr_reserved_mtts) {
limits            915 drivers/infiniband/hw/mthca/mthca_mr.c 	if (dev->limits.reserved_mtts) {
limits            916 drivers/infiniband/hw/mthca/mthca_mr.c 		i = fls(dev->limits.reserved_mtts - 1);
limits            931 drivers/infiniband/hw/mthca/mthca_mr.c 	if (dev->limits.fmr_reserved_mtts)
limits            954 drivers/infiniband/hw/mthca/mthca_mr.c 	if (dev->limits.fmr_reserved_mtts)
limits             72 drivers/infiniband/hw/mthca/mthca_pd.c 				dev->limits.num_pds,
limits             74 drivers/infiniband/hw/mthca/mthca_pd.c 				dev->limits.reserved_pds);
limits             96 drivers/infiniband/hw/mthca/mthca_profile.c 	profile[MTHCA_RES_MTT].size  = dev->limits.mtt_seg_size;
limits            175 drivers/infiniband/hw/mthca/mthca_profile.c 			dev->limits.num_qps   = profile[i].num;
limits            180 drivers/infiniband/hw/mthca/mthca_profile.c 			dev->limits.num_eecs   = profile[i].num;
limits            185 drivers/infiniband/hw/mthca/mthca_profile.c 			dev->limits.num_srqs   = profile[i].num;
limits            190 drivers/infiniband/hw/mthca/mthca_profile.c 			dev->limits.num_cqs   = profile[i].num;
limits            201 drivers/infiniband/hw/mthca/mthca_profile.c 			dev->limits.num_eqs   = profile[i].num;
limits            214 drivers/infiniband/hw/mthca/mthca_profile.c 			dev->limits.num_mgms      = profile[i].num >> 1;
limits            215 drivers/infiniband/hw/mthca/mthca_profile.c 			dev->limits.num_amgms     = profile[i].num >> 1;
limits            222 drivers/infiniband/hw/mthca/mthca_profile.c 			dev->limits.num_mpts   = profile[i].num;
limits            228 drivers/infiniband/hw/mthca/mthca_profile.c 			dev->limits.num_mtt_segs = profile[i].num;
limits            231 drivers/infiniband/hw/mthca/mthca_profile.c 			init_hca->mtt_seg_sz     = ffs(dev->limits.mtt_seg_size) - 7;
limits            234 drivers/infiniband/hw/mthca/mthca_profile.c 			dev->limits.num_uars       = profile[i].num;
limits            257 drivers/infiniband/hw/mthca/mthca_profile.c 	dev->limits.num_pds = MTHCA_NUM_PDS;
limits            275 drivers/infiniband/hw/mthca/mthca_profile.c 		dev->limits.fmr_reserved_mtts = 0;
limits            277 drivers/infiniband/hw/mthca/mthca_profile.c 		dev->limits.fmr_reserved_mtts = request->fmr_reserved_mtts;
limits             97 drivers/infiniband/hw/mthca/mthca_provider.c 	props->page_size_cap       = mdev->limits.page_size_cap;
limits             98 drivers/infiniband/hw/mthca/mthca_provider.c 	props->max_qp              = mdev->limits.num_qps - mdev->limits.reserved_qps;
limits             99 drivers/infiniband/hw/mthca/mthca_provider.c 	props->max_qp_wr           = mdev->limits.max_wqes;
limits            100 drivers/infiniband/hw/mthca/mthca_provider.c 	props->max_send_sge        = mdev->limits.max_sg;
limits            101 drivers/infiniband/hw/mthca/mthca_provider.c 	props->max_recv_sge        = mdev->limits.max_sg;
limits            102 drivers/infiniband/hw/mthca/mthca_provider.c 	props->max_sge_rd          = mdev->limits.max_sg;
limits            103 drivers/infiniband/hw/mthca/mthca_provider.c 	props->max_cq              = mdev->limits.num_cqs - mdev->limits.reserved_cqs;
limits            104 drivers/infiniband/hw/mthca/mthca_provider.c 	props->max_cqe             = mdev->limits.max_cqes;
limits            105 drivers/infiniband/hw/mthca/mthca_provider.c 	props->max_mr              = mdev->limits.num_mpts - mdev->limits.reserved_mrws;
limits            106 drivers/infiniband/hw/mthca/mthca_provider.c 	props->max_pd              = mdev->limits.num_pds - mdev->limits.reserved_pds;
limits            108 drivers/infiniband/hw/mthca/mthca_provider.c 	props->max_qp_init_rd_atom = mdev->limits.max_qp_init_rdma;
limits            110 drivers/infiniband/hw/mthca/mthca_provider.c 	props->max_srq             = mdev->limits.num_srqs - mdev->limits.reserved_srqs;
limits            111 drivers/infiniband/hw/mthca/mthca_provider.c 	props->max_srq_wr          = mdev->limits.max_srq_wqes;
limits            112 drivers/infiniband/hw/mthca/mthca_provider.c 	props->max_srq_sge         = mdev->limits.max_srq_sge;
limits            113 drivers/infiniband/hw/mthca/mthca_provider.c 	props->local_ca_ack_delay  = mdev->limits.local_ca_ack_delay;
limits            114 drivers/infiniband/hw/mthca/mthca_provider.c 	props->atomic_cap          = mdev->limits.flags & DEV_LIM_FLAG_ATOMIC ?
limits            116 drivers/infiniband/hw/mthca/mthca_provider.c 	props->max_pkeys           = mdev->limits.pkey_table_len;
limits            117 drivers/infiniband/hw/mthca/mthca_provider.c 	props->max_mcast_grp       = mdev->limits.num_mgms + mdev->limits.num_amgms;
limits            130 drivers/infiniband/hw/mthca/mthca_provider.c 			(1 << (32 - ilog2(mdev->limits.num_mpts))) - 1;
limits            169 drivers/infiniband/hw/mthca/mthca_provider.c 	props->gid_tbl_len       = to_mdev(ibdev)->limits.gid_table_len;
limits            171 drivers/infiniband/hw/mthca/mthca_provider.c 	props->pkey_tbl_len      = to_mdev(ibdev)->limits.pkey_table_len;
limits            315 drivers/infiniband/hw/mthca/mthca_provider.c 	uresp.qp_tab_size = to_mdev(ibdev)->limits.num_qps;
limits            620 drivers/infiniband/hw/mthca/mthca_provider.c 	if (entries < 1 || entries > to_mdev(ibdev)->limits.max_cqes)
limits            733 drivers/infiniband/hw/mthca/mthca_provider.c 	if (entries < 1 || entries > dev->limits.max_cqes)
limits           1261 drivers/infiniband/hw/mthca/mthca_provider.c 	dev->ib_dev.phys_port_cnt        = dev->limits.num_ports;
limits            245 drivers/infiniband/hw/mthca/mthca_qp.c 	qp = mthca_array_get(&dev->qp_table.qp, qpn & (dev->limits.num_qps - 1));
limits            317 drivers/infiniband/hw/mthca/mthca_qp.c 	param.port_width = dev->limits.port_width_cap;
limits            318 drivers/infiniband/hw/mthca/mthca_qp.c 	param.vl_cap     = dev->limits.vl_cap;
limits            319 drivers/infiniband/hw/mthca/mthca_qp.c 	param.mtu_cap    = dev->limits.mtu_cap;
limits            320 drivers/infiniband/hw/mthca/mthca_qp.c 	param.gid_cap    = dev->limits.gid_table_len;
limits            321 drivers/infiniband/hw/mthca/mthca_qp.c 	param.pkey_cap   = dev->limits.pkey_table_len;
limits            405 drivers/infiniband/hw/mthca/mthca_qp.c 	if (port_num == 0 || port_num > dev->limits.num_ports)
limits            423 drivers/infiniband/hw/mthca/mthca_qp.c 				(dev->limits.gid_table_len - 1),
limits            533 drivers/infiniband/hw/mthca/mthca_qp.c 		if (grh->sgid_index >= dev->limits.gid_table_len) {
limits            536 drivers/infiniband/hw/mthca/mthca_qp.c 				  dev->limits.gid_table_len - 1);
limits            686 drivers/infiniband/hw/mthca/mthca_qp.c 		if (attr->alt_pkey_index >= dev->limits.pkey_table_len) {
limits            688 drivers/infiniband/hw/mthca/mthca_qp.c 				  attr->alt_pkey_index, dev->limits.pkey_table_len-1);
limits            692 drivers/infiniband/hw/mthca/mthca_qp.c 		if (attr->alt_port_num == 0 || attr->alt_port_num > dev->limits.num_ports) {
limits            771 drivers/infiniband/hw/mthca/mthca_qp.c 			    ((qp->qpn & (dev->limits.num_qps - 1)) * MTHCA_RDB_ENTRY_SIZE <<
limits            889 drivers/infiniband/hw/mthca/mthca_qp.c 	     attr->pkey_index >= dev->limits.pkey_table_len) {
limits            891 drivers/infiniband/hw/mthca/mthca_qp.c 			  attr->pkey_index, dev->limits.pkey_table_len-1);
limits            896 drivers/infiniband/hw/mthca/mthca_qp.c 	    (attr->port_num == 0 || attr->port_num > dev->limits.num_ports)) {
limits            902 drivers/infiniband/hw/mthca/mthca_qp.c 	    attr->max_rd_atomic > dev->limits.max_qp_init_rdma) {
limits            904 drivers/infiniband/hw/mthca/mthca_qp.c 			  attr->max_rd_atomic, dev->limits.max_qp_init_rdma);
limits            967 drivers/infiniband/hw/mthca/mthca_qp.c 						min(dev->limits.max_desc_sz,
limits            972 drivers/infiniband/hw/mthca/mthca_qp.c 	qp->sq.max_gs = min_t(int, dev->limits.max_sg,
limits            974 drivers/infiniband/hw/mthca/mthca_qp.c 	qp->rq.max_gs = min_t(int, dev->limits.max_sg,
limits            975 drivers/infiniband/hw/mthca/mthca_qp.c 			       (min(dev->limits.max_desc_sz, 1 << qp->rq.wqe_shift) -
limits            998 drivers/infiniband/hw/mthca/mthca_qp.c 	if (size > dev->limits.max_desc_sz)
limits           1042 drivers/infiniband/hw/mthca/mthca_qp.c 	if (size > dev->limits.max_desc_sz)
limits           1252 drivers/infiniband/hw/mthca/mthca_qp.c 	int max_data_size = mthca_max_data_size(dev, qp, dev->limits.max_desc_sz);
limits           1255 drivers/infiniband/hw/mthca/mthca_qp.c 	if (cap->max_send_wr  	 > dev->limits.max_wqes ||
limits           1256 drivers/infiniband/hw/mthca/mthca_qp.c 	    cap->max_recv_wr  	 > dev->limits.max_wqes ||
limits           1257 drivers/infiniband/hw/mthca/mthca_qp.c 	    cap->max_send_sge 	 > dev->limits.max_sg   ||
limits           1258 drivers/infiniband/hw/mthca/mthca_qp.c 	    cap->max_recv_sge 	 > dev->limits.max_sg   ||
limits           1266 drivers/infiniband/hw/mthca/mthca_qp.c 	if (qp->transport == MLX && cap->max_send_sge + 2 > dev->limits.max_sg)
limits           1327 drivers/infiniband/hw/mthca/mthca_qp.c 			qp->qpn & (dev->limits.num_qps - 1), qp);
limits           1459 drivers/infiniband/hw/mthca/mthca_qp.c 			  qp->qpn & (dev->limits.num_qps - 1));
limits           2269 drivers/infiniband/hw/mthca/mthca_qp.c 	dev->qp_table.sqp_start = (dev->limits.reserved_qps + 1) & ~1UL;
limits           2271 drivers/infiniband/hw/mthca/mthca_qp.c 			       dev->limits.num_qps,
limits           2279 drivers/infiniband/hw/mthca/mthca_qp.c 			       dev->limits.num_qps);
limits           2300 drivers/infiniband/hw/mthca/mthca_qp.c 	mthca_array_cleanup(&dev->qp_table.qp, dev->limits.num_qps);
limits           2313 drivers/infiniband/hw/mthca/mthca_qp.c 	mthca_array_cleanup(&dev->qp_table.qp, dev->limits.num_qps);
limits            215 drivers/infiniband/hw/mthca/mthca_srq.c 	if (attr->max_wr  > dev->limits.max_srq_wqes ||
limits            216 drivers/infiniband/hw/mthca/mthca_srq.c 	    attr->max_sge > dev->limits.max_srq_sge)
limits            232 drivers/infiniband/hw/mthca/mthca_srq.c 	if (!mthca_is_memfree(dev) && (ds > dev->limits.max_desc_sz))
limits            285 drivers/infiniband/hw/mthca/mthca_srq.c 			    srq->srqn & (dev->limits.num_srqs - 1),
limits            355 drivers/infiniband/hw/mthca/mthca_srq.c 			  srq->srqn & (dev->limits.num_srqs - 1));
limits            437 drivers/infiniband/hw/mthca/mthca_srq.c 	srq = mthca_array_get(&dev->srq_table.srq, srqn & (dev->limits.num_srqs - 1));
limits            645 drivers/infiniband/hw/mthca/mthca_srq.c 		return dev->limits.max_sg;
limits            661 drivers/infiniband/hw/mthca/mthca_srq.c 	return min_t(int, dev->limits.max_sg,
limits            662 drivers/infiniband/hw/mthca/mthca_srq.c 		     ((1 << (fls(dev->limits.max_desc_sz) - 1)) -
limits            677 drivers/infiniband/hw/mthca/mthca_srq.c 			       dev->limits.num_srqs,
limits            678 drivers/infiniband/hw/mthca/mthca_srq.c 			       dev->limits.num_srqs - 1,
limits            679 drivers/infiniband/hw/mthca/mthca_srq.c 			       dev->limits.reserved_srqs);
limits            684 drivers/infiniband/hw/mthca/mthca_srq.c 			       dev->limits.num_srqs);
limits            696 drivers/infiniband/hw/mthca/mthca_srq.c 	mthca_array_cleanup(&dev->srq_table.srq, dev->limits.num_srqs);
limits             59 drivers/infiniband/hw/mthca/mthca_uar.c 			       dev->limits.num_uars,
limits             60 drivers/infiniband/hw/mthca/mthca_uar.c 			       dev->limits.num_uars - 1,
limits             61 drivers/infiniband/hw/mthca/mthca_uar.c 			       dev->limits.reserved_uars + 1);
limits           1247 drivers/lightnvm/pblk-init.c 	tqueue->limits.discard_granularity = geo->clba * geo->csecs;
limits           1248 drivers/lightnvm/pblk-init.c 	tqueue->limits.discard_alignment = 0;
limits             79 drivers/macintosh/therm_adt746x.c 	u8			limits[3];
limits            218 drivers/macintosh/therm_adt746x.c 				 th->limits[0],  th->limits[1],  th->limits[2],
limits            236 drivers/macintosh/therm_adt746x.c 		int var = th->temps[i] - th->limits[i];
limits            313 drivers/macintosh/therm_adt746x.c 	th->limits[i] = default_limits_chip[i] + limit_adjust;
limits            314 drivers/macintosh/therm_adt746x.c 	write_reg(th, LIMIT_REG[i], th->limits[i]);
limits            317 drivers/macintosh/therm_adt746x.c 	th->limits[i] = default_limits_local[i] + limit_adjust;
limits            377 drivers/macintosh/therm_adt746x.c BUILD_SHOW_FUNC_INT(sensor1_limit,		 th->limits[1])
limits            378 drivers/macintosh/therm_adt746x.c BUILD_SHOW_FUNC_INT(sensor2_limit,		 th->limits[2])
limits            534 drivers/macintosh/therm_adt746x.c 			 th->initial_limits[2], th->limits[0], th->limits[1],
limits            535 drivers/macintosh/therm_adt746x.c 			 th->limits[2]);
limits            579 drivers/macintosh/therm_adt746x.c 		th->limits[0], th->limits[1], th->limits[2],
limits            869 drivers/md/bcache/super.c 	q->limits.max_hw_sectors	= UINT_MAX;
limits            870 drivers/md/bcache/super.c 	q->limits.max_sectors		= UINT_MAX;
limits            871 drivers/md/bcache/super.c 	q->limits.max_segment_size	= UINT_MAX;
limits            872 drivers/md/bcache/super.c 	q->limits.max_segments		= BIO_MAX_PAGES;
limits            874 drivers/md/bcache/super.c 	q->limits.discard_granularity	= 512;
limits            875 drivers/md/bcache/super.c 	q->limits.io_min		= block_size;
limits            876 drivers/md/bcache/super.c 	q->limits.logical_block_size	= block_size;
limits            877 drivers/md/bcache/super.c 	q->limits.physical_block_size	= block_size;
limits           1327 drivers/md/bcache/super.c 	dc->disk.stripe_size = q->limits.io_opt >> 9;
limits           1331 drivers/md/bcache/super.c 			q->limits.raid_partial_stripes_expensive;
limits           3449 drivers/md/dm-cache-target.c 	struct queue_limits *origin_limits = &bdev_get_queue(origin_bdev)->limits;
limits           3469 drivers/md/dm-cache-target.c static void set_discard_limits(struct cache *cache, struct queue_limits *limits)
limits           3472 drivers/md/dm-cache-target.c 	struct queue_limits *origin_limits = &bdev_get_queue(origin_bdev)->limits;
limits           3476 drivers/md/dm-cache-target.c 		limits->max_discard_sectors = min_t(sector_t, cache->discard_block_size * 1024,
limits           3478 drivers/md/dm-cache-target.c 		limits->discard_granularity = cache->discard_block_size << SECTOR_SHIFT;
limits           3486 drivers/md/dm-cache-target.c 	limits->max_discard_sectors = origin_limits->max_discard_sectors;
limits           3487 drivers/md/dm-cache-target.c 	limits->max_hw_discard_sectors = origin_limits->max_hw_discard_sectors;
limits           3488 drivers/md/dm-cache-target.c 	limits->discard_granularity = origin_limits->discard_granularity;
limits           3489 drivers/md/dm-cache-target.c 	limits->discard_alignment = origin_limits->discard_alignment;
limits           3490 drivers/md/dm-cache-target.c 	limits->discard_misaligned = origin_limits->discard_misaligned;
limits           3493 drivers/md/dm-cache-target.c static void cache_io_hints(struct dm_target *ti, struct queue_limits *limits)
limits           3496 drivers/md/dm-cache-target.c 	uint64_t io_opt_sectors = limits->io_opt >> SECTOR_SHIFT;
limits           3504 drivers/md/dm-cache-target.c 		blk_limits_io_min(limits, cache->sectors_per_block << SECTOR_SHIFT);
limits           3505 drivers/md/dm-cache-target.c 		blk_limits_io_opt(limits, cache->sectors_per_block << SECTOR_SHIFT);
limits           3509 drivers/md/dm-cache-target.c 	set_discard_limits(cache, limits);
limits           2052 drivers/md/dm-clone-target.c 	struct queue_limits *dest_limits = &bdev_get_queue(dest_dev)->limits;
limits           2071 drivers/md/dm-clone-target.c static void set_discard_limits(struct clone *clone, struct queue_limits *limits)
limits           2074 drivers/md/dm-clone-target.c 	struct queue_limits *dest_limits = &bdev_get_queue(dest_bdev)->limits;
limits           2078 drivers/md/dm-clone-target.c 		limits->discard_granularity = clone->region_size << SECTOR_SHIFT;
limits           2079 drivers/md/dm-clone-target.c 		limits->max_discard_sectors = round_down(UINT_MAX >> SECTOR_SHIFT, clone->region_size);
limits           2088 drivers/md/dm-clone-target.c 	limits->max_discard_sectors = dest_limits->max_discard_sectors;
limits           2089 drivers/md/dm-clone-target.c 	limits->max_hw_discard_sectors = dest_limits->max_hw_discard_sectors;
limits           2090 drivers/md/dm-clone-target.c 	limits->discard_granularity = dest_limits->discard_granularity;
limits           2091 drivers/md/dm-clone-target.c 	limits->discard_alignment = dest_limits->discard_alignment;
limits           2092 drivers/md/dm-clone-target.c 	limits->discard_misaligned = dest_limits->discard_misaligned;
limits           2093 drivers/md/dm-clone-target.c 	limits->max_discard_segments = dest_limits->max_discard_segments;
limits           2096 drivers/md/dm-clone-target.c static void clone_io_hints(struct dm_target *ti, struct queue_limits *limits)
limits           2099 drivers/md/dm-clone-target.c 	u64 io_opt_sectors = limits->io_opt >> SECTOR_SHIFT;
limits           2107 drivers/md/dm-clone-target.c 		blk_limits_io_min(limits, clone->region_size << SECTOR_SHIFT);
limits           2108 drivers/md/dm-clone-target.c 		blk_limits_io_opt(limits, clone->region_size << SECTOR_SHIFT);
limits           2112 drivers/md/dm-clone-target.c 	set_discard_limits(clone, limits);
limits           2947 drivers/md/dm-crypt.c static void crypt_io_hints(struct dm_target *ti, struct queue_limits *limits)
limits           2957 drivers/md/dm-crypt.c 	limits->max_segment_size = PAGE_SIZE;
limits           2959 drivers/md/dm-crypt.c 	limits->logical_block_size =
limits           2960 drivers/md/dm-crypt.c 		max_t(unsigned short, limits->logical_block_size, cc->sector_size);
limits           2961 drivers/md/dm-crypt.c 	limits->physical_block_size =
limits           2962 drivers/md/dm-crypt.c 		max_t(unsigned, limits->physical_block_size, cc->sector_size);
limits           2963 drivers/md/dm-crypt.c 	limits->io_min = max_t(unsigned, limits->io_min, cc->sector_size);
limits           1674 drivers/md/dm-era-target.c static void era_io_hints(struct dm_target *ti, struct queue_limits *limits)
limits           1677 drivers/md/dm-era-target.c 	uint64_t io_opt_sectors = limits->io_opt >> SECTOR_SHIFT;
limits           1685 drivers/md/dm-era-target.c 		blk_limits_io_min(limits, 0);
limits           1686 drivers/md/dm-era-target.c 		blk_limits_io_opt(limits, era->sectors_per_block << SECTOR_SHIFT);
limits           2996 drivers/md/dm-integrity.c static void dm_integrity_io_hints(struct dm_target *ti, struct queue_limits *limits)
limits           3001 drivers/md/dm-integrity.c 		limits->logical_block_size = ic->sectors_per_block << SECTOR_SHIFT;
limits           3002 drivers/md/dm-integrity.c 		limits->physical_block_size = ic->sectors_per_block << SECTOR_SHIFT;
limits           3003 drivers/md/dm-integrity.c 		blk_limits_io_min(limits, ic->sectors_per_block << SECTOR_SHIFT);
limits            315 drivers/md/dm-io.c 		special_cmd_max_sectors = q->limits.max_discard_sectors;
limits            317 drivers/md/dm-io.c 		special_cmd_max_sectors = q->limits.max_write_zeroes_sectors;
limits            319 drivers/md/dm-io.c 		special_cmd_max_sectors = q->limits.max_write_same_sectors;
limits            887 drivers/md/dm-log-writes.c static void log_writes_io_hints(struct dm_target *ti, struct queue_limits *limits)
limits            894 drivers/md/dm-log-writes.c 		limits->discard_granularity = lc->sectorsize;
limits            895 drivers/md/dm-log-writes.c 		limits->max_discard_sectors = (UINT_MAX >> SECTOR_SHIFT);
limits            897 drivers/md/dm-log-writes.c 	limits->logical_block_size = bdev_logical_block_size(lc->dev->bdev);
limits            898 drivers/md/dm-log-writes.c 	limits->physical_block_size = bdev_physical_block_size(lc->dev->bdev);
limits            899 drivers/md/dm-log-writes.c 	limits->io_min = limits->physical_block_size;
limits           3738 drivers/md/dm-raid.c static void raid_io_hints(struct dm_target *ti, struct queue_limits *limits)
limits           3743 drivers/md/dm-raid.c 	blk_limits_io_min(limits, chunk_size_bytes);
limits           3744 drivers/md/dm-raid.c 	blk_limits_io_opt(limits, chunk_size_bytes * mddev_data_stripes(rs));
limits           3751 drivers/md/dm-raid.c 		limits->discard_granularity = chunk_size_bytes;
limits           3752 drivers/md/dm-raid.c 		limits->max_discard_sectors = rs->md.chunk_sectors;
limits            226 drivers/md/dm-rq.c 		    !clone->q->limits.max_discard_sectors)
limits            229 drivers/md/dm-rq.c 			 !clone->q->limits.max_write_same_sectors)
limits            232 drivers/md/dm-rq.c 			 !clone->q->limits.max_write_zeroes_sectors)
limits           2384 drivers/md/dm-snap.c static void snapshot_io_hints(struct dm_target *ti, struct queue_limits *limits)
limits           2398 drivers/md/dm-snap.c 		limits->discard_granularity = snap->store->chunk_size;
limits           2399 drivers/md/dm-snap.c 		limits->max_discard_sectors = snap->store->chunk_size;
limits            478 drivers/md/dm-stripe.c 			    struct queue_limits *limits)
limits            483 drivers/md/dm-stripe.c 	blk_limits_io_min(limits, chunk_size);
limits            484 drivers/md/dm-stripe.c 	blk_limits_io_opt(limits, chunk_size * sc->stripes);
limits            283 drivers/md/dm-table.c 	struct queue_limits *limits = data;
limits            288 drivers/md/dm-table.c 		limits->logical_block_size >> SECTOR_SHIFT;
limits            361 drivers/md/dm-table.c 		       limits->logical_block_size, bdevname(bdev, b));
limits            370 drivers/md/dm-table.c 		       limits->logical_block_size, bdevname(bdev, b));
limits            470 drivers/md/dm-table.c 	struct queue_limits *limits = data;
limits            481 drivers/md/dm-table.c 	if (bdev_stack_limits(limits, bdev, start) < 0)
limits            486 drivers/md/dm-table.c 		       q->limits.physical_block_size,
limits            487 drivers/md/dm-table.c 		       q->limits.logical_block_size,
limits            488 drivers/md/dm-table.c 		       q->limits.alignment_offset,
limits            491 drivers/md/dm-table.c 	limits->zoned = blk_queue_zoned_model(q);
limits            642 drivers/md/dm-table.c 						 struct queue_limits *limits)
limits            649 drivers/md/dm-table.c 		limits->logical_block_size >> SECTOR_SHIFT;
limits            701 drivers/md/dm-table.c 		       limits->logical_block_size);
limits           1505 drivers/md/dm-table.c 			      struct queue_limits *limits)
limits           1513 drivers/md/dm-table.c 	blk_set_stacking_limits(limits);
limits           1555 drivers/md/dm-table.c 		if (blk_stack_limits(limits, &ti_limits, 0) < 0)
limits           1567 drivers/md/dm-table.c 		if (limits->zoned == BLK_ZONED_NONE && ti_limits.zoned != BLK_ZONED_NONE) {
limits           1576 drivers/md/dm-table.c 			limits->zoned = ti_limits.zoned;
limits           1587 drivers/md/dm-table.c 	if (limits->zoned != BLK_ZONED_NONE) {
limits           1592 drivers/md/dm-table.c 		zoned_model = limits->zoned;
limits           1593 drivers/md/dm-table.c 		zone_sectors = limits->chunk_sectors;
limits           1598 drivers/md/dm-table.c 	return validate_hardware_logical_block_alignment(table, limits);
limits           1751 drivers/md/dm-table.c 	return q && !q->limits.max_write_same_sectors;
limits           1778 drivers/md/dm-table.c 	return q && !q->limits.max_write_zeroes_sectors;
limits           1892 drivers/md/dm-table.c 			       struct queue_limits *limits)
limits           1900 drivers/md/dm-table.c 	q->limits = *limits;
limits           1905 drivers/md/dm-table.c 		q->limits.max_discard_sectors = 0;
limits           1906 drivers/md/dm-table.c 		q->limits.max_hw_discard_sectors = 0;
limits           1907 drivers/md/dm-table.c 		q->limits.discard_granularity = 0;
limits           1908 drivers/md/dm-table.c 		q->limits.discard_alignment = 0;
limits           1909 drivers/md/dm-table.c 		q->limits.discard_misaligned = 0;
limits           1941 drivers/md/dm-table.c 		q->limits.max_write_same_sectors = 0;
limits           1943 drivers/md/dm-table.c 		q->limits.max_write_zeroes_sectors = 0;
limits           1976 drivers/md/dm-table.c 	q->backing_dev_info->io_pages = limits->max_sectors >> (PAGE_SHIFT - 9);
limits           2859 drivers/md/dm-thin.c 	struct queue_limits *data_limits = &bdev_get_queue(data_bdev)->limits;
limits           4061 drivers/md/dm-thin.c static void pool_io_hints(struct dm_target *ti, struct queue_limits *limits)
limits           4065 drivers/md/dm-thin.c 	sector_t io_opt_sectors = limits->io_opt >> SECTOR_SHIFT;
limits           4076 drivers/md/dm-thin.c 	if (limits->max_sectors < pool->sectors_per_block) {
limits           4077 drivers/md/dm-thin.c 		while (!is_factor(pool->sectors_per_block, limits->max_sectors)) {
limits           4078 drivers/md/dm-thin.c 			if ((limits->max_sectors & (limits->max_sectors - 1)) == 0)
limits           4079 drivers/md/dm-thin.c 				limits->max_sectors--;
limits           4080 drivers/md/dm-thin.c 			limits->max_sectors = rounddown_pow_of_two(limits->max_sectors);
limits           4090 drivers/md/dm-thin.c 		if (is_factor(pool->sectors_per_block, limits->max_sectors))
limits           4091 drivers/md/dm-thin.c 			blk_limits_io_min(limits, limits->max_sectors << SECTOR_SHIFT);
limits           4093 drivers/md/dm-thin.c 			blk_limits_io_min(limits, pool->sectors_per_block << SECTOR_SHIFT);
limits           4094 drivers/md/dm-thin.c 		blk_limits_io_opt(limits, pool->sectors_per_block << SECTOR_SHIFT);
limits           4109 drivers/md/dm-thin.c 		limits->discard_granularity = 0;
limits           4490 drivers/md/dm-thin.c static void thin_io_hints(struct dm_target *ti, struct queue_limits *limits)
limits           4498 drivers/md/dm-thin.c 	limits->discard_granularity = pool->sectors_per_block << SECTOR_SHIFT;
limits           4499 drivers/md/dm-thin.c 	limits->max_discard_sectors = 2048 * 1024 * 16; /* 16G */
limits            171 drivers/md/dm-unstripe.c 			       struct queue_limits *limits)
limits            175 drivers/md/dm-unstripe.c 	limits->chunk_sectors = uc->chunk_size;
limits            767 drivers/md/dm-verity-target.c static void verity_io_hints(struct dm_target *ti, struct queue_limits *limits)
limits            771 drivers/md/dm-verity-target.c 	if (limits->logical_block_size < 1 << v->data_dev_block_bits)
limits            772 drivers/md/dm-verity-target.c 		limits->logical_block_size = 1 << v->data_dev_block_bits;
limits            774 drivers/md/dm-verity-target.c 	if (limits->physical_block_size < 1 << v->data_dev_block_bits)
limits            775 drivers/md/dm-verity-target.c 		limits->physical_block_size = 1 << v->data_dev_block_bits;
limits            777 drivers/md/dm-verity-target.c 	blk_limits_io_min(limits, limits->logical_block_size);
limits           1315 drivers/md/dm-writecache.c static void writecache_io_hints(struct dm_target *ti, struct queue_limits *limits)
limits           1319 drivers/md/dm-writecache.c 	if (limits->logical_block_size < wc->block_size)
limits           1320 drivers/md/dm-writecache.c 		limits->logical_block_size = wc->block_size;
limits           1322 drivers/md/dm-writecache.c 	if (limits->physical_block_size < wc->block_size)
limits           1323 drivers/md/dm-writecache.c 		limits->physical_block_size = wc->block_size;
limits           1325 drivers/md/dm-writecache.c 	if (limits->io_min < wc->block_size)
limits           1326 drivers/md/dm-writecache.c 		limits->io_min = wc->block_size;
limits            895 drivers/md/dm-zoned-target.c static void dmz_io_hints(struct dm_target *ti, struct queue_limits *limits)
limits            900 drivers/md/dm-zoned-target.c 	limits->logical_block_size = DMZ_BLOCK_SIZE;
limits            901 drivers/md/dm-zoned-target.c 	limits->physical_block_size = DMZ_BLOCK_SIZE;
limits            903 drivers/md/dm-zoned-target.c 	blk_limits_io_min(limits, DMZ_BLOCK_SIZE);
limits            904 drivers/md/dm-zoned-target.c 	blk_limits_io_opt(limits, DMZ_BLOCK_SIZE);
limits            906 drivers/md/dm-zoned-target.c 	limits->discard_alignment = DMZ_BLOCK_SIZE;
limits            907 drivers/md/dm-zoned-target.c 	limits->discard_granularity = DMZ_BLOCK_SIZE;
limits            908 drivers/md/dm-zoned-target.c 	limits->max_discard_sectors = chunk_sectors;
limits            909 drivers/md/dm-zoned-target.c 	limits->max_hw_discard_sectors = chunk_sectors;
limits            910 drivers/md/dm-zoned-target.c 	limits->max_write_zeroes_sectors = chunk_sectors;
limits            913 drivers/md/dm-zoned-target.c 	limits->chunk_sectors = chunk_sectors;
limits            914 drivers/md/dm-zoned-target.c 	limits->max_sectors = chunk_sectors;
limits            917 drivers/md/dm-zoned-target.c 	limits->zoned = BLK_ZONED_NONE;
limits            950 drivers/md/dm.c 	struct queue_limits *limits = dm_get_queue_limits(md);
limits            953 drivers/md/dm.c 	limits->max_discard_sectors = 0;
limits            959 drivers/md/dm.c 	struct queue_limits *limits = dm_get_queue_limits(md);
limits            962 drivers/md/dm.c 	limits->max_write_same_sectors = 0;
limits            967 drivers/md/dm.c 	struct queue_limits *limits = dm_get_queue_limits(md);
limits            970 drivers/md/dm.c 	limits->max_write_zeroes_sectors = 0;
limits            983 drivers/md/dm.c 		    !bio->bi_disk->queue->limits.max_discard_sectors)
limits            986 drivers/md/dm.c 			 !bio->bi_disk->queue->limits.max_write_same_sectors)
limits            989 drivers/md/dm.c 			 !bio->bi_disk->queue->limits.max_write_zeroes_sectors)
limits           2126 drivers/md/dm.c 			       struct queue_limits *limits)
limits           2178 drivers/md/dm.c 	dm_table_set_restrictions(t, q, limits);
limits           2262 drivers/md/dm.c 	return &md->queue->limits;
limits           2278 drivers/md/dm.c 	struct queue_limits limits;
limits           2300 drivers/md/dm.c 	r = dm_calculate_queue_limits(t, &limits);
limits           2305 drivers/md/dm.c 	dm_table_set_restrictions(t, md->queue, &limits);
limits           2499 drivers/md/dm.c 	struct queue_limits limits;
limits           2517 drivers/md/dm.c 			limits = md->queue->limits;
limits           2522 drivers/md/dm.c 		r = dm_calculate_queue_limits(table, &limits);
limits           2529 drivers/md/dm.c 	map = __bind(md, table, &limits);
limits             58 drivers/md/dm.h 			      struct queue_limits *limits);
limits             60 drivers/md/dm.h 			       struct queue_limits *limits);
limits           3975 drivers/md/md.c 	blk_set_stacking_limits(&mddev->queue->limits);
limits           5487 drivers/md/md.c 	blk_set_stacking_limits(&mddev->queue->limits);
limits            783 drivers/md/md.h 	    !bio->bi_disk->queue->limits.max_write_same_sectors)
limits            784 drivers/md/md.h 		mddev->queue->limits.max_write_same_sectors = 0;
limits            790 drivers/md/md.h 	    !bio->bi_disk->queue->limits.max_write_zeroes_sectors)
limits            791 drivers/md/md.h 		mddev->queue->limits.max_write_zeroes_sectors = 0;
limits           7440 drivers/md/raid5.c 		mddev->queue->limits.raid_partial_stripes_expensive = 1;
limits           7450 drivers/md/raid5.c 		mddev->queue->limits.discard_alignment = stripe;
limits           7451 drivers/md/raid5.c 		mddev->queue->limits.discard_granularity = stripe;
limits           7479 drivers/md/raid5.c 		    mddev->queue->limits.max_discard_sectors >= (stripe >> 9) &&
limits           7480 drivers/md/raid5.c 		    mddev->queue->limits.discard_granularity >= stripe)
limits             17 drivers/media/i2c/aptina-pll.c 			 const struct aptina_pll_limits *limits,
limits             30 drivers/media/i2c/aptina-pll.c 	if (pll->ext_clock < limits->ext_clock_min ||
limits             31 drivers/media/i2c/aptina-pll.c 	    pll->ext_clock > limits->ext_clock_max) {
limits             36 drivers/media/i2c/aptina-pll.c 	if (pll->pix_clock == 0 || pll->pix_clock > limits->pix_clock_max) {
limits             56 drivers/media/i2c/aptina-pll.c 	mf_min = DIV_ROUND_UP(limits->m_min, pll->m);
limits             57 drivers/media/i2c/aptina-pll.c 	mf_min = max(mf_min, limits->out_clock_min /
limits             58 drivers/media/i2c/aptina-pll.c 		     (pll->ext_clock / limits->n_min * pll->m));
limits             59 drivers/media/i2c/aptina-pll.c 	mf_min = max(mf_min, limits->n_min * limits->p1_min / div);
limits             60 drivers/media/i2c/aptina-pll.c 	mf_max = limits->m_max / pll->m;
limits             61 drivers/media/i2c/aptina-pll.c 	mf_max = min(mf_max, limits->out_clock_max /
limits             62 drivers/media/i2c/aptina-pll.c 		    (pll->ext_clock / limits->n_max * pll->m));
limits             63 drivers/media/i2c/aptina-pll.c 	mf_max = min(mf_max, DIV_ROUND_UP(limits->n_max * limits->p1_max, div));
limits            123 drivers/media/i2c/aptina-pll.c 	if (limits->p1_min == 0) {
limits            128 drivers/media/i2c/aptina-pll.c 	p1_min = max(limits->p1_min, DIV_ROUND_UP(limits->out_clock_min * div,
limits            130 drivers/media/i2c/aptina-pll.c 	p1_max = min(limits->p1_max, limits->out_clock_max * div /
limits            139 drivers/media/i2c/aptina-pll.c 					limits->int_clock_max * div)), mf_inc);
limits            141 drivers/media/i2c/aptina-pll.c 			      (limits->int_clock_min * div));
limits             40 drivers/media/i2c/aptina-pll.h 			 const struct aptina_pll_limits *limits,
limits            251 drivers/media/i2c/mt9m032.c 	static const struct aptina_pll_limits limits = {
limits            276 drivers/media/i2c/mt9m032.c 	ret = aptina_pll_calculate(&client->dev, &limits, &pll);
limits            214 drivers/media/i2c/mt9p031.c 	static const struct aptina_pll_limits limits = {
limits            245 drivers/media/i2c/mt9p031.c 	if (pdata->ext_freq > limits.ext_clock_max) {
limits            261 drivers/media/i2c/mt9p031.c 	return aptina_pll_calculate(&client->dev, &limits, &mt9p031->pll);
limits             78 drivers/media/i2c/smiapp-pll.c 			    const struct smiapp_pll_limits *limits,
limits             86 drivers/media/i2c/smiapp-pll.c 			    limits->min_pll_ip_freq_hz,
limits             87 drivers/media/i2c/smiapp-pll.c 			    limits->max_pll_ip_freq_hz,
limits             92 drivers/media/i2c/smiapp-pll.c 			limits->min_pll_multiplier, limits->max_pll_multiplier,
limits             97 drivers/media/i2c/smiapp-pll.c 			limits->min_pll_op_freq_hz, limits->max_pll_op_freq_hz,
limits            127 drivers/media/i2c/smiapp-pll.c 			limits->vt.min_sys_clk_freq_hz,
limits            128 drivers/media/i2c/smiapp-pll.c 			limits->vt.max_sys_clk_freq_hz,
limits            133 drivers/media/i2c/smiapp-pll.c 			limits->vt.min_pix_clk_freq_hz,
limits            134 drivers/media/i2c/smiapp-pll.c 			limits->vt.max_pix_clk_freq_hz,
limits            152 drivers/media/i2c/smiapp-pll.c 	struct device *dev, const struct smiapp_pll_limits *limits,
limits            179 drivers/media/i2c/smiapp-pll.c 	more_mul_max = limits->max_pll_multiplier / mul;
limits            186 drivers/media/i2c/smiapp-pll.c 		      limits->max_pll_op_freq_hz
limits            198 drivers/media/i2c/smiapp-pll.c 			   DIV_ROUND_UP(limits->max_pll_multiplier, mul));
limits            203 drivers/media/i2c/smiapp-pll.c 	more_mul_min = DIV_ROUND_UP(limits->min_pll_op_freq_hz,
limits            210 drivers/media/i2c/smiapp-pll.c 			   DIV_ROUND_UP(limits->min_pll_multiplier, mul));
limits            267 drivers/media/i2c/smiapp-pll.c 	if (limits->min_line_length_pck_bin > limits->min_line_length_pck
limits            295 drivers/media/i2c/smiapp-pll.c 				      limits->vt.max_pix_clk_freq_hz));
limits            299 drivers/media/i2c/smiapp-pll.c 			   limits->vt.min_pix_clk_div
limits            300 drivers/media/i2c/smiapp-pll.c 			   * limits->vt.min_sys_clk_div);
limits            303 drivers/media/i2c/smiapp-pll.c 	max_vt_div = limits->vt.max_sys_clk_div * limits->vt.max_pix_clk_div;
limits            307 drivers/media/i2c/smiapp-pll.c 				      limits->vt.min_pix_clk_freq_hz));
limits            315 drivers/media/i2c/smiapp-pll.c 	min_sys_div = limits->vt.min_sys_clk_div;
limits            319 drivers/media/i2c/smiapp-pll.c 				       limits->vt.max_pix_clk_div));
limits            323 drivers/media/i2c/smiapp-pll.c 			  / limits->vt.max_sys_clk_freq_hz);
limits            328 drivers/media/i2c/smiapp-pll.c 	max_sys_div = limits->vt.max_sys_clk_div;
limits            332 drivers/media/i2c/smiapp-pll.c 				       limits->vt.min_pix_clk_div));
limits            336 drivers/media/i2c/smiapp-pll.c 				       limits->vt.min_pix_clk_freq_hz));
limits            351 drivers/media/i2c/smiapp-pll.c 			if (pix_div < limits->vt.min_pix_clk_div
limits            352 drivers/media/i2c/smiapp-pll.c 			    || pix_div > limits->vt.max_pix_clk_div) {
limits            356 drivers/media/i2c/smiapp-pll.c 					limits->vt.min_pix_clk_div,
limits            357 drivers/media/i2c/smiapp-pll.c 					limits->vt.max_pix_clk_div);
limits            383 drivers/media/i2c/smiapp-pll.c 	return check_all_bounds(dev, limits, op_limits, pll, op_pll);
limits            387 drivers/media/i2c/smiapp-pll.c 			 const struct smiapp_pll_limits *limits,
limits            390 drivers/media/i2c/smiapp-pll.c 	const struct smiapp_pll_branch_limits *op_limits = &limits->op;
limits            405 drivers/media/i2c/smiapp-pll.c 		op_limits = &limits->vt;
limits            435 drivers/media/i2c/smiapp-pll.c 		limits->min_pre_pll_clk_div, limits->max_pre_pll_clk_div);
limits            437 drivers/media/i2c/smiapp-pll.c 		min_t(uint16_t, limits->max_pre_pll_clk_div,
limits            439 drivers/media/i2c/smiapp-pll.c 				   limits->min_pll_ip_freq_hz));
limits            441 drivers/media/i2c/smiapp-pll.c 		max_t(uint16_t, limits->min_pre_pll_clk_div,
limits            444 drivers/media/i2c/smiapp-pll.c 					   limits->max_pll_ip_freq_hz)));
limits            457 drivers/media/i2c/smiapp-pll.c 					   limits->max_pll_op_freq_hz)));
limits            464 drivers/media/i2c/smiapp-pll.c 		rval = __smiapp_pll_calculate(dev, limits, op_limits, pll,
limits             96 drivers/media/i2c/smiapp-pll.h 			 const struct smiapp_pll_limits *limits,
limits            243 drivers/media/i2c/smiapp/smiapp-core.c 		.min_pre_pll_clk_div = sensor->limits[SMIAPP_LIMIT_MIN_PRE_PLL_CLK_DIV],
limits            244 drivers/media/i2c/smiapp/smiapp-core.c 		.max_pre_pll_clk_div = sensor->limits[SMIAPP_LIMIT_MAX_PRE_PLL_CLK_DIV],
limits            245 drivers/media/i2c/smiapp/smiapp-core.c 		.min_pll_ip_freq_hz = sensor->limits[SMIAPP_LIMIT_MIN_PLL_IP_FREQ_HZ],
limits            246 drivers/media/i2c/smiapp/smiapp-core.c 		.max_pll_ip_freq_hz = sensor->limits[SMIAPP_LIMIT_MAX_PLL_IP_FREQ_HZ],
limits            247 drivers/media/i2c/smiapp/smiapp-core.c 		.min_pll_multiplier = sensor->limits[SMIAPP_LIMIT_MIN_PLL_MULTIPLIER],
limits            248 drivers/media/i2c/smiapp/smiapp-core.c 		.max_pll_multiplier = sensor->limits[SMIAPP_LIMIT_MAX_PLL_MULTIPLIER],
limits            249 drivers/media/i2c/smiapp/smiapp-core.c 		.min_pll_op_freq_hz = sensor->limits[SMIAPP_LIMIT_MIN_PLL_OP_FREQ_HZ],
limits            250 drivers/media/i2c/smiapp/smiapp-core.c 		.max_pll_op_freq_hz = sensor->limits[SMIAPP_LIMIT_MAX_PLL_OP_FREQ_HZ],
limits            252 drivers/media/i2c/smiapp/smiapp-core.c 		.op.min_sys_clk_div = sensor->limits[SMIAPP_LIMIT_MIN_OP_SYS_CLK_DIV],
limits            253 drivers/media/i2c/smiapp/smiapp-core.c 		.op.max_sys_clk_div = sensor->limits[SMIAPP_LIMIT_MAX_OP_SYS_CLK_DIV],
limits            254 drivers/media/i2c/smiapp/smiapp-core.c 		.op.min_pix_clk_div = sensor->limits[SMIAPP_LIMIT_MIN_OP_PIX_CLK_DIV],
limits            255 drivers/media/i2c/smiapp/smiapp-core.c 		.op.max_pix_clk_div = sensor->limits[SMIAPP_LIMIT_MAX_OP_PIX_CLK_DIV],
limits            256 drivers/media/i2c/smiapp/smiapp-core.c 		.op.min_sys_clk_freq_hz = sensor->limits[SMIAPP_LIMIT_MIN_OP_SYS_CLK_FREQ_HZ],
limits            257 drivers/media/i2c/smiapp/smiapp-core.c 		.op.max_sys_clk_freq_hz = sensor->limits[SMIAPP_LIMIT_MAX_OP_SYS_CLK_FREQ_HZ],
limits            258 drivers/media/i2c/smiapp/smiapp-core.c 		.op.min_pix_clk_freq_hz = sensor->limits[SMIAPP_LIMIT_MIN_OP_PIX_CLK_FREQ_HZ],
limits            259 drivers/media/i2c/smiapp/smiapp-core.c 		.op.max_pix_clk_freq_hz = sensor->limits[SMIAPP_LIMIT_MAX_OP_PIX_CLK_FREQ_HZ],
limits            261 drivers/media/i2c/smiapp/smiapp-core.c 		.vt.min_sys_clk_div = sensor->limits[SMIAPP_LIMIT_MIN_VT_SYS_CLK_DIV],
limits            262 drivers/media/i2c/smiapp/smiapp-core.c 		.vt.max_sys_clk_div = sensor->limits[SMIAPP_LIMIT_MAX_VT_SYS_CLK_DIV],
limits            263 drivers/media/i2c/smiapp/smiapp-core.c 		.vt.min_pix_clk_div = sensor->limits[SMIAPP_LIMIT_MIN_VT_PIX_CLK_DIV],
limits            264 drivers/media/i2c/smiapp/smiapp-core.c 		.vt.max_pix_clk_div = sensor->limits[SMIAPP_LIMIT_MAX_VT_PIX_CLK_DIV],
limits            265 drivers/media/i2c/smiapp/smiapp-core.c 		.vt.min_sys_clk_freq_hz = sensor->limits[SMIAPP_LIMIT_MIN_VT_SYS_CLK_FREQ_HZ],
limits            266 drivers/media/i2c/smiapp/smiapp-core.c 		.vt.max_sys_clk_freq_hz = sensor->limits[SMIAPP_LIMIT_MAX_VT_SYS_CLK_FREQ_HZ],
limits            267 drivers/media/i2c/smiapp/smiapp-core.c 		.vt.min_pix_clk_freq_hz = sensor->limits[SMIAPP_LIMIT_MIN_VT_PIX_CLK_FREQ_HZ],
limits            268 drivers/media/i2c/smiapp/smiapp-core.c 		.vt.max_pix_clk_freq_hz = sensor->limits[SMIAPP_LIMIT_MAX_VT_PIX_CLK_FREQ_HZ],
limits            270 drivers/media/i2c/smiapp/smiapp-core.c 		.min_line_length_pck_bin = sensor->limits[SMIAPP_LIMIT_MIN_LINE_LENGTH_PCK_BIN],
limits            271 drivers/media/i2c/smiapp/smiapp-core.c 		.min_line_length_pck = sensor->limits[SMIAPP_LIMIT_MIN_LINE_LENGTH_PCK],
limits            314 drivers/media/i2c/smiapp/smiapp-core.c 		- sensor->limits[SMIAPP_LIMIT_COARSE_INTEGRATION_TIME_MAX_MARGIN];
limits            537 drivers/media/i2c/smiapp/smiapp-core.c 		sensor->limits[SMIAPP_LIMIT_ANALOGUE_GAIN_CODE_MIN],
limits            538 drivers/media/i2c/smiapp/smiapp-core.c 		sensor->limits[SMIAPP_LIMIT_ANALOGUE_GAIN_CODE_MAX],
limits            539 drivers/media/i2c/smiapp/smiapp-core.c 		max(sensor->limits[SMIAPP_LIMIT_ANALOGUE_GAIN_CODE_STEP], 1U),
limits            540 drivers/media/i2c/smiapp/smiapp-core.c 		sensor->limits[SMIAPP_LIMIT_ANALOGUE_GAIN_CODE_MIN]);
limits            659 drivers/media/i2c/smiapp/smiapp-core.c 		sensor->limits[limit[i]] = val;
limits            679 drivers/media/i2c/smiapp/smiapp-core.c 	if (sensor->limits[SMIAPP_LIMIT_SCALER_N_MIN] == 0)
limits            688 drivers/media/i2c/smiapp/smiapp-core.c 	static u32 const limits[] = {
limits            709 drivers/media/i2c/smiapp/smiapp-core.c 	if (sensor->limits[SMIAPP_LIMIT_BINNING_CAPABILITY] ==
limits            711 drivers/media/i2c/smiapp/smiapp-core.c 		for (i = 0; i < ARRAY_SIZE(limits); i++)
limits            712 drivers/media/i2c/smiapp/smiapp-core.c 			sensor->limits[limits[i]] =
limits            713 drivers/media/i2c/smiapp/smiapp-core.c 				sensor->limits[limits_replace[i]];
limits            718 drivers/media/i2c/smiapp/smiapp-core.c 	rval = smiapp_get_limits(sensor, limits, ARRAY_SIZE(limits));
limits            726 drivers/media/i2c/smiapp/smiapp-core.c 	if (sensor->limits[SMIAPP_LIMIT_MIN_FRAME_LENGTH_LINES_BIN]
limits            727 drivers/media/i2c/smiapp/smiapp-core.c 	    && sensor->limits[SMIAPP_LIMIT_MIN_LINE_LENGTH_PCK_BIN]
limits            728 drivers/media/i2c/smiapp/smiapp-core.c 	    && sensor->limits[SMIAPP_LIMIT_MIN_LINE_BLANKING_PCK_BIN])
limits            731 drivers/media/i2c/smiapp/smiapp-core.c 	for (i = 0; i < ARRAY_SIZE(limits); i++) {
limits            734 drivers/media/i2c/smiapp/smiapp-core.c 			smiapp_reg_limits[limits[i]].addr,
limits            735 drivers/media/i2c/smiapp/smiapp-core.c 			smiapp_reg_limits[limits[i]].what,
limits            736 drivers/media/i2c/smiapp/smiapp-core.c 			sensor->limits[limits_replace[i]],
limits            737 drivers/media/i2c/smiapp/smiapp-core.c 			sensor->limits[limits_replace[i]]);
limits            738 drivers/media/i2c/smiapp/smiapp-core.c 		sensor->limits[limits[i]] =
limits            739 drivers/media/i2c/smiapp/smiapp-core.c 			sensor->limits[limits_replace[i]];
limits            897 drivers/media/i2c/smiapp/smiapp-core.c 		    sensor->limits[SMIAPP_LIMIT_MIN_FRAME_BLANKING_LINES],
limits            898 drivers/media/i2c/smiapp/smiapp-core.c 		    sensor->limits[SMIAPP_LIMIT_MIN_FRAME_LENGTH_LINES_BIN] -
limits            900 drivers/media/i2c/smiapp/smiapp-core.c 	max = sensor->limits[SMIAPP_LIMIT_MAX_FRAME_LENGTH_LINES_BIN] -
limits            906 drivers/media/i2c/smiapp/smiapp-core.c 		    sensor->limits[SMIAPP_LIMIT_MIN_LINE_LENGTH_PCK_BIN] -
limits            908 drivers/media/i2c/smiapp/smiapp-core.c 		    sensor->limits[SMIAPP_LIMIT_MIN_LINE_BLANKING_PCK_BIN]);
limits            909 drivers/media/i2c/smiapp/smiapp-core.c 	max = sensor->limits[SMIAPP_LIMIT_MAX_LINE_LENGTH_PCK_BIN] -
limits           1436 drivers/media/i2c/smiapp/smiapp-core.c 	if (sensor->limits[SMIAPP_LIMIT_DIGITAL_CROP_CAPABILITY]
limits           1464 drivers/media/i2c/smiapp/smiapp-core.c 	if (sensor->limits[SMIAPP_LIMIT_SCALING_CAPABILITY]
limits           1487 drivers/media/i2c/smiapp/smiapp-core.c 	if ((sensor->limits[SMIAPP_LIMIT_FLASH_MODE_CAPABILITY] &
limits           1710 drivers/media/i2c/smiapp/smiapp-core.c 					sensor->limits[
limits           1823 drivers/media/i2c/smiapp/smiapp-core.c 		      sensor->limits[SMIAPP_LIMIT_MIN_X_OUTPUT_SIZE],
limits           1824 drivers/media/i2c/smiapp/smiapp-core.c 		      sensor->limits[SMIAPP_LIMIT_MAX_X_OUTPUT_SIZE]);
limits           1827 drivers/media/i2c/smiapp/smiapp-core.c 		      sensor->limits[SMIAPP_LIMIT_MIN_Y_OUTPUT_SIZE],
limits           1828 drivers/media/i2c/smiapp/smiapp-core.c 		      sensor->limits[SMIAPP_LIMIT_MAX_Y_OUTPUT_SIZE]);
limits           1881 drivers/media/i2c/smiapp/smiapp-core.c 	if (w < sensor->limits[SMIAPP_LIMIT_MIN_X_OUTPUT_SIZE])
limits           1947 drivers/media/i2c/smiapp/smiapp-core.c 	u32 scale_m = sensor->limits[SMIAPP_LIMIT_SCALER_N_MIN];
limits           1960 drivers/media/i2c/smiapp/smiapp-core.c 		* sensor->limits[SMIAPP_LIMIT_SCALER_N_MIN] / sel->r.width;
limits           1962 drivers/media/i2c/smiapp/smiapp-core.c 		* sensor->limits[SMIAPP_LIMIT_SCALER_N_MIN] / sel->r.height;
limits           1964 drivers/media/i2c/smiapp/smiapp-core.c 		* sensor->limits[SMIAPP_LIMIT_SCALER_N_MIN]
limits           1965 drivers/media/i2c/smiapp/smiapp-core.c 		/ sensor->limits[SMIAPP_LIMIT_MIN_X_OUTPUT_SIZE];
limits           1967 drivers/media/i2c/smiapp/smiapp-core.c 	a = clamp(a, sensor->limits[SMIAPP_LIMIT_SCALER_M_MIN],
limits           1968 drivers/media/i2c/smiapp/smiapp-core.c 		  sensor->limits[SMIAPP_LIMIT_SCALER_M_MAX]);
limits           1969 drivers/media/i2c/smiapp/smiapp-core.c 	b = clamp(b, sensor->limits[SMIAPP_LIMIT_SCALER_M_MIN],
limits           1970 drivers/media/i2c/smiapp/smiapp-core.c 		  sensor->limits[SMIAPP_LIMIT_SCALER_M_MAX]);
limits           1971 drivers/media/i2c/smiapp/smiapp-core.c 	max_m = clamp(max_m, sensor->limits[SMIAPP_LIMIT_SCALER_M_MIN],
limits           1972 drivers/media/i2c/smiapp/smiapp-core.c 		      sensor->limits[SMIAPP_LIMIT_SCALER_M_MAX]);
limits           1999 drivers/media/i2c/smiapp/smiapp-core.c 			* sensor->limits[SMIAPP_LIMIT_SCALER_N_MIN],
limits           2013 drivers/media/i2c/smiapp/smiapp-core.c 		if (sensor->limits[SMIAPP_LIMIT_SCALING_CAPABILITY]
limits           2020 drivers/media/i2c/smiapp/smiapp-core.c 			* sensor->limits[SMIAPP_LIMIT_SCALER_N_MIN],
limits           2024 drivers/media/i2c/smiapp/smiapp-core.c 			* sensor->limits[SMIAPP_LIMIT_SCALER_N_MIN],
limits           2038 drivers/media/i2c/smiapp/smiapp-core.c 		 * sensor->limits[SMIAPP_LIMIT_SCALER_N_MIN]) & ~1;
limits           2043 drivers/media/i2c/smiapp/smiapp-core.c 			 * sensor->limits[SMIAPP_LIMIT_SCALER_N_MIN])
limits           2099 drivers/media/i2c/smiapp/smiapp-core.c 		    && sensor->limits[SMIAPP_LIMIT_DIGITAL_CROP_CAPABILITY]
limits           2115 drivers/media/i2c/smiapp/smiapp-core.c 		    && sensor->limits[SMIAPP_LIMIT_SCALING_CAPABILITY]
limits           2180 drivers/media/i2c/smiapp/smiapp-core.c 	r->width = ssd->sensor->limits[SMIAPP_LIMIT_X_ADDR_MAX] + 1;
limits           2181 drivers/media/i2c/smiapp/smiapp-core.c 	r->height = ssd->sensor->limits[SMIAPP_LIMIT_Y_ADDR_MAX] + 1;
limits           2266 drivers/media/i2c/smiapp/smiapp-core.c 			     sensor->limits[SMIAPP_LIMIT_MIN_X_OUTPUT_SIZE],
limits           2269 drivers/media/i2c/smiapp/smiapp-core.c 			      sensor->limits[SMIAPP_LIMIT_MIN_Y_OUTPUT_SIZE],
limits           2965 drivers/media/i2c/smiapp/smiapp-core.c 	rval = smiapp_call_quirk(sensor, limits);
limits           2971 drivers/media/i2c/smiapp/smiapp-core.c 	if (sensor->limits[SMIAPP_LIMIT_BINNING_CAPABILITY]) {
limits           3025 drivers/media/i2c/smiapp/smiapp-core.c 	if (!sensor->limits[SMIAPP_LIMIT_MIN_OP_SYS_CLK_DIV] ||
limits           3026 drivers/media/i2c/smiapp/smiapp-core.c 	    !sensor->limits[SMIAPP_LIMIT_MAX_OP_SYS_CLK_DIV] ||
limits           3027 drivers/media/i2c/smiapp/smiapp-core.c 	    !sensor->limits[SMIAPP_LIMIT_MIN_OP_PIX_CLK_DIV] ||
limits           3028 drivers/media/i2c/smiapp/smiapp-core.c 	    !sensor->limits[SMIAPP_LIMIT_MAX_OP_PIX_CLK_DIV]) {
limits           3030 drivers/media/i2c/smiapp/smiapp-core.c 	} else if (sensor->limits[SMIAPP_LIMIT_SCALING_CAPABILITY]
limits           3032 drivers/media/i2c/smiapp/smiapp-core.c 		if (sensor->limits[SMIAPP_LIMIT_SCALING_CAPABILITY]
limits           3039 drivers/media/i2c/smiapp/smiapp-core.c 	} else if (sensor->limits[SMIAPP_LIMIT_DIGITAL_CROP_CAPABILITY]
limits           3049 drivers/media/i2c/smiapp/smiapp-core.c 	sensor->scale_m = sensor->limits[SMIAPP_LIMIT_SCALER_N_MIN];
limits           3055 drivers/media/i2c/smiapp/smiapp-core.c 	sensor->pll.scale_n = sensor->limits[SMIAPP_LIMIT_SCALER_N_MIN];
limits             47 drivers/media/i2c/smiapp/smiapp-quirk.c 	sensor->limits[limit] = val;
limits            103 drivers/media/i2c/smiapp/smiapp-quirk.c 	.limits = jt8ew9_limits,
limits            215 drivers/media/i2c/smiapp/smiapp-quirk.c 	.limits = jt8ev1_limits,
limits            230 drivers/media/i2c/smiapp/smiapp-quirk.c 	.limits = tcm8500md_limits,
limits             40 drivers/media/i2c/smiapp/smiapp-quirk.h 	int (*limits)(struct smiapp_sensor *sensor);
limits            184 drivers/media/i2c/smiapp/smiapp.h 	u32 limits[SMIAPP_LIMIT_LAST];
limits             61 drivers/mfd/max14577.c int maxim_charger_calc_reg_current(const struct maxim_charger_current *limits,
limits             69 drivers/mfd/max14577.c 	if (min_ua > limits->max || max_ua < limits->min)
limits             72 drivers/mfd/max14577.c 	if (max_ua < limits->high_start) {
limits             82 drivers/mfd/max14577.c 	max_ua = min(limits->max, max_ua);
limits             83 drivers/mfd/max14577.c 	max_ua -= limits->high_start;
limits             89 drivers/mfd/max14577.c 	current_bits = max_ua / limits->high_step;
limits            184 drivers/mmc/core/queue.c 	q->limits.discard_granularity = card->pref_erase << 9;
limits            187 drivers/mmc/core/queue.c 		q->limits.discard_granularity = 0;
limits           8376 drivers/net/wireless/ath/ath10k/mac.c 		.limits = ath10k_if_limits,
limits           8386 drivers/net/wireless/ath/ath10k/mac.c 		.limits = ath10k_10x_if_limits,
limits           8460 drivers/net/wireless/ath/ath10k/mac.c 		.limits = ath10k_tlv_if_limit,
limits           8466 drivers/net/wireless/ath/ath10k/mac.c 		.limits = ath10k_tlv_if_limit_ibss,
limits           8475 drivers/net/wireless/ath/ath10k/mac.c 		.limits = ath10k_tlv_if_limit,
limits           8481 drivers/net/wireless/ath/ath10k/mac.c 		.limits = ath10k_tlv_qcs_if_limit,
limits           8487 drivers/net/wireless/ath/ath10k/mac.c 		.limits = ath10k_tlv_if_limit_ibss,
limits           8510 drivers/net/wireless/ath/ath10k/mac.c 		.limits = ath10k_10_4_if_limits,
limits           8528 drivers/net/wireless/ath/ath10k/mac.c 		.limits = ath10k_10_4_if_limits,
limits           2522 drivers/net/wireless/ath/ath5k/base.c 	.limits = if_limits,
limits            708 drivers/net/wireless/ath/ath9k/htc_drv_init.c 	.limits = if_limits,
limits            855 drivers/net/wireless/ath/ath9k/init.c 		.limits = if_limits_multi,
limits            867 drivers/net/wireless/ath/ath9k/init.c 		.limits = if_limits,
limits            880 drivers/net/wireless/ath/ath9k/init.c 		.limits = wds_limits,
limits            216 drivers/net/wireless/ath/carl9170/fw.c 	ar->if_combs[0].limits = ar->if_comb_limits;
limits           2694 drivers/net/wireless/ath/wil6210/cfg80211.c 		limit = combo->limits + combo->n_limits;
limits           2719 drivers/net/wireless/ath/wil6210/cfg80211.c 		limit = combo->limits;
limits           2727 drivers/net/wireless/ath/wil6210/cfg80211.c 		iface_combinations[i].limits = iface_limit;
limits             94 drivers/net/wireless/ath/wil6210/fw.h 	struct wil_fw_concurrency_limit limits[0];
limits            232 drivers/net/wireless/ath/wil6210/fw_inc.c 		limit = combo->limits;
limits           6517 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 	combo[c].limits = c0_limits;
limits           6536 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 		combo[c].limits = p2p_limits;
limits           6551 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 		combo[c].limits = mbss_limits;
limits           7003 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 			kfree(wiphy->iface_combinations[i].limits);
limits             69 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c 	  .limits = iwlagn_sta_ap_limits,
limits             74 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c 	  .limits = iwlagn_2sta_limits,
limits            365 drivers/net/wireless/intel/iwlwifi/dvm/scan.c 	int limits[NUM_IWL_RXON_CTX] = {};
limits            399 drivers/net/wireless/intel/iwlwifi/dvm/scan.c 		limits[n_active++] = ctx->beacon_int ?: IWL_PASSIVE_DWELL_BASE;
limits            406 drivers/net/wireless/intel/iwlwifi/dvm/scan.c 		limit = (limits[1] * 98) / 100 - IWL_CHANNEL_TUNE_TIME * 2;
limits            411 drivers/net/wireless/intel/iwlwifi/dvm/scan.c 		limit = (limits[0] * 98) / 100 - IWL_CHANNEL_TUNE_TIME * 2;
limits            107 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 		.limits = iwl_mvm_limits,
limits            452 drivers/net/wireless/intersil/p54/fwio.c 			struct pda_channel_output_limit *limits =
limits            457 drivers/net/wireless/intersil/p54/fwio.c 				limits->val_bpsk;
limits            459 drivers/net/wireless/intersil/p54/fwio.c 				limits->val_qpsk;
limits            461 drivers/net/wireless/intersil/p54/fwio.c 				limits->val_16qam;
limits            463 drivers/net/wireless/intersil/p54/fwio.c 				limits->val_64qam;
limits           2868 drivers/net/wireless/mac80211_hwsim.c 	data->if_combination.limits = data->if_limits;
limits             39 drivers/net/wireless/marvell/mwifiex/cfg80211.c 	.limits = mwifiex_ap_sta_limits,
limits             51 drivers/net/wireless/marvell/mwifiex/cfg80211.c 	.limits = mwifiex_ap_sta_limits,
limits             64 drivers/net/wireless/marvell/mwifiex/cfg80211.c 	.limits = mwifiex_ap_sta_limits,
limits           6064 drivers/net/wireless/marvell/mwl8k.c 	.limits = ap_if_limits,
limits            349 drivers/net/wireless/mediatek/mt76/mt7603/init.c 		.limits = if_limits,
limits            172 drivers/net/wireless/mediatek/mt76/mt7615/init.c 		.limits = if_limits,
limits             69 drivers/net/wireless/mediatek/mt76/mt76x02_util.c 		.limits = mt76x02_if_limits,
limits             83 drivers/net/wireless/mediatek/mt76/mt76x02_util.c 		.limits = mt76x02u_if_limits,
limits           1066 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c 			interface_modes |= if_comb[i].limits[j].types;
limits            994 drivers/net/wireless/quantenna/qtnfmac/commands.c 	struct ieee80211_iface_limit *limits;
limits           1102 drivers/net/wireless/quantenna/qtnfmac/commands.c 			limits = kcalloc(rec->n_limits, sizeof(*limits),
limits           1104 drivers/net/wireless/quantenna/qtnfmac/commands.c 			if (!limits)
limits           1112 drivers/net/wireless/quantenna/qtnfmac/commands.c 			comb[n_comb].limits = limits;
limits           1115 drivers/net/wireless/quantenna/qtnfmac/commands.c 				lim = &rec->limits[i];
limits           1116 drivers/net/wireless/quantenna/qtnfmac/commands.c 				limits[i].max = le16_to_cpu(lim->max_num);
limits           1117 drivers/net/wireless/quantenna/qtnfmac/commands.c 				limits[i].types =
limits           1121 drivers/net/wireless/quantenna/qtnfmac/commands.c 					 limits[i].max, limits[i].types);
limits            292 drivers/net/wireless/quantenna/qtnfmac/core.c 			kfree(comb->limits);
limits            293 drivers/net/wireless/quantenna/qtnfmac/core.c 			comb->limits = NULL;
limits           1230 drivers/net/wireless/quantenna/qtnfmac/qlink.h 	struct qlink_iface_limit limits[0];
limits           1337 drivers/net/wireless/ralink/rt2x00/rt2x00dev.c 	if_combination->limits = if_limit;
limits           2482 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c 		s8 limits[10] = {0};
limits           2486 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c 			limits[i] = rtlphy->txpwr_limit_2_4g[i][bdwidth]
limits           2490 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c 			_rtl8812ae_phy_get_world_wide_limit(limits) :
limits           2494 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c 		s8 limits[10] = {0};
limits           2498 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c 			limits[i] = rtlphy->txpwr_limit_5g[i][bdwidth]
limits           2502 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c 			_rtl8812ae_phy_get_world_wide_limit(limits) :
limits            164 drivers/net/wireless/rsi/rsi_91x_mac80211.c 		.limits = rsi_iface_limits,
limits           1753 drivers/net/wireless/ti/wl12xx/main.c 		.limits = wl12xx_iface_limits,
limits           1854 drivers/net/wireless/ti/wl18xx/main.c 		.limits = wl18xx_iface_limits,
limits           1860 drivers/net/wireless/ti/wl18xx/main.c 		.limits = wl18xx_iface_ap_limits,
limits           1699 drivers/nvme/host/core.c 	queue->limits.discard_alignment = 0;
limits           1700 drivers/nvme/host/core.c 	queue->limits.discard_granularity = size;
limits            388 drivers/nvme/host/multipath.c 	blk_set_stacking_limits(&q->limits);
limits             13 drivers/nvme/target/io-cmd-bdev.c 	const struct queue_limits *ql = &bdev_get_queue(bdev)->limits;
limits            320 drivers/platform/x86/intel_ips.c 	struct ips_mcp_limits *limits;
limits            631 drivers/platform/x86/intel_ips.c 	if (avg > (ips->limits->core_temp_limit * 100))
limits            655 drivers/platform/x86/intel_ips.c 	if (ips->mch_avg_temp > (ips->limits->mch_temp_limit * 100))
limits            674 drivers/platform/x86/intel_ips.c 	if (ips->mcp_power_limit < ips->limits->mcp_power_limit ||
limits            676 drivers/platform/x86/intel_ips.c 		ips->mcp_power_limit = ips->limits->mcp_power_limit;
limits            678 drivers/platform/x86/intel_ips.c 	if (ips->mcp_temp_limit < ips->limits->core_temp_limit ||
limits            679 drivers/platform/x86/intel_ips.c 	    ips->mcp_temp_limit < ips->limits->mch_temp_limit ||
limits            681 drivers/platform/x86/intel_ips.c 		ips->mcp_temp_limit = min(ips->limits->core_temp_limit,
limits            682 drivers/platform/x86/intel_ips.c 					  ips->limits->mch_temp_limit);
limits           1303 drivers/platform/x86/intel_ips.c 	struct ips_mcp_limits *limits = NULL;
limits           1323 drivers/platform/x86/intel_ips.c 		limits = &ips_sv_limits;
limits           1325 drivers/platform/x86/intel_ips.c 		limits = &ips_lv_limits;
limits           1327 drivers/platform/x86/intel_ips.c 		limits = &ips_ulv_limits;
limits           1337 drivers/platform/x86/intel_ips.c 	if (limits->core_power_limit != (tdp / 8) * 1000) {
limits           1340 drivers/platform/x86/intel_ips.c 			 tdp / 8, limits->core_power_limit / 1000);
limits           1341 drivers/platform/x86/intel_ips.c 		limits->core_power_limit = (tdp / 8) * 1000;
limits           1344 drivers/platform/x86/intel_ips.c 	return limits;
limits           1457 drivers/platform/x86/intel_ips.c 	ips->limits = ips_detect_cpu(ips);
limits           1458 drivers/platform/x86/intel_ips.c 	if (!ips->limits) {
limits            306 drivers/power/supply/max14577_charger.c 	const struct maxim_charger_current *limits =
limits            309 drivers/power/supply/max14577_charger.c 	ret = maxim_charger_calc_reg_current(limits, uamp, uamp, &reg_data);
limits            531 drivers/powercap/intel_rapl_common.c 		if (rp->priv->limits[i] == 2) {
limits            656 drivers/powercap/intel_rapl_common.c 	if (prim == FW_LOCK && rd->rp->priv->limits[rd->id] == 2) {
limits             45 drivers/powercap/intel_rapl_msr.c 	.limits[RAPL_DOMAIN_PACKAGE] = 2,
limits             41 drivers/regulator/max14577-regulator.c 	const struct maxim_charger_current *limits =
limits             50 drivers/regulator/max14577-regulator.c 		return limits->min;
limits             54 drivers/regulator/max14577-regulator.c 	return limits->high_start + reg_data * limits->high_step;
limits             63 drivers/regulator/max14577-regulator.c 	const struct maxim_charger_current *limits =
limits             69 drivers/regulator/max14577-regulator.c 	ret = maxim_charger_calc_reg_current(limits, min_uA, max_uA, &reg_data);
limits            225 drivers/regulator/max77802-regulator.c 				    const unsigned int limits[], int size,
limits            231 drivers/regulator/max77802-regulator.c 		if (ramp_delay <= limits[i])
limits            629 drivers/s390/block/dasd_diag.c 	q->limits.max_dev_sectors = max;
limits           6649 drivers/s390/block/dasd_eckd.c 	q->limits.max_dev_sectors = max;
limits            784 drivers/s390/block/dasd_fba.c 	q->limits.max_dev_sectors = max;
limits            792 drivers/s390/block/dasd_fba.c 	q->limits.discard_granularity = logical_block_size;
limits            793 drivers/s390/block/dasd_fba.c 	q->limits.discard_alignment = PAGE_SIZE;
limits            776 drivers/scsi/sd.c 	q->limits.discard_alignment =
limits            778 drivers/scsi/sd.c 	q->limits.discard_granularity =
limits           2949 drivers/scsi/sd.c 		q->limits.zoned = BLK_ZONED_HM;
limits           2954 drivers/scsi/sd.c 			q->limits.zoned = BLK_ZONED_HA;
limits           2960 drivers/scsi/sd.c 			q->limits.zoned = BLK_ZONED_NONE;
limits           2964 drivers/scsi/sd.c 		      q->limits.zoned == BLK_ZONED_HM ? "managed" : "aware");
limits           3169 drivers/scsi/sd.c 	q->limits.max_dev_sectors = logical_to_sectors(sdp, dev_max);
limits           3172 drivers/scsi/sd.c 		q->limits.io_opt = logical_to_bytes(sdp, sdkp->opt_xfer_blocks);
limits           3175 drivers/scsi/sd.c 		q->limits.io_opt = 0;
limits           3188 drivers/scsi/sd.c 	    q->limits.max_sectors > q->limits.max_dev_sectors ||
limits           3189 drivers/scsi/sd.c 	    q->limits.max_sectors > q->limits.max_hw_sectors)
limits           3190 drivers/scsi/sd.c 		q->limits.max_sectors = rw_max;
limits           1751 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c 		s8 limits[10] = {0}; u8 i = 0;
limits           1754 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c 			limits[i] = hal_data->TxPwrLimit_2_4G[i]
limits           1761 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c 			phy_GetWorldWideLimit(limits) :
limits           1769 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c 		s8 limits[10] = {0}; u8 i = 0;
limits           1772 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c 			limits[i] = hal_data->TxPwrLimit_5G[i]
limits           1779 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c 			phy_GetWorldWideLimit(limits) :
limits            824 drivers/target/target_core_device.c 		q->limits.max_discard_sectors >> (ilog2(block_size) - 9);
limits            829 drivers/target/target_core_device.c 	attrib->unmap_granularity = q->limits.discard_granularity / block_size;
limits            830 drivers/target/target_core_device.c 	attrib->unmap_granularity_alignment = q->limits.discard_alignment /
limits            832 drivers/target/target_core_device.c 	attrib->unmap_zeroes_data = (q->limits.max_write_zeroes_sectors);
limits             74 drivers/thermal/intel/int340x_thermal/processor_thermal_device.c 	int limits[RAPL_DOMAIN_MAX];
limits            550 drivers/thermal/intel/int340x_thermal/processor_thermal_device.c 		rapl_mmio_priv.limits[domain] = rapl_regs->limits[domain];
limits            588 drivers/thermal/intel/int340x_thermal/processor_thermal_device.c 	.limits[RAPL_DOMAIN_PACKAGE] = 2,
limits            589 drivers/thermal/intel/int340x_thermal/processor_thermal_device.c 	.limits[RAPL_DOMAIN_DRAM] = 2,
limits            870 drivers/thermal/thermal_core.c 		   unsigned long *limits,
limits            881 drivers/thermal/thermal_core.c 			if (limits) {
limits            882 drivers/thermal/thermal_core.c 				lower = limits[i * 2];
limits            883 drivers/thermal/thermal_core.c 				upper = limits[i * 2 + 1];
limits            394 drivers/video/fbdev/matrox/g450_pll.c 			pi = &minfo->limits.pixel;
limits            406 drivers/video/fbdev/matrox/g450_pll.c 			pi = &minfo->limits.system;
limits            426 drivers/video/fbdev/matrox/g450_pll.c 			pi = &minfo->limits.video;
limits            467 drivers/video/fbdev/matrox/matroxfb_base.h 			      } limits;
limits            543 drivers/video/fbdev/matrox/matroxfb_misc.c 	minfo->limits.pixel.vcomax = maxdac;
limits            555 drivers/video/fbdev/matrox/matroxfb_misc.c 	minfo->limits.pixel.vcomax	= 220000;
limits            564 drivers/video/fbdev/matrox/matroxfb_misc.c 	minfo->limits.pixel.vcomax	=
limits            565 drivers/video/fbdev/matrox/matroxfb_misc.c 	minfo->limits.system.vcomax	= (bd->pins[41] == 0xFF) ? 230000 : ((bd->pins[41] + 100) * 1000);
limits            578 drivers/video/fbdev/matrox/matroxfb_misc.c 	minfo->limits.pixel.vcomax	=
limits            579 drivers/video/fbdev/matrox/matroxfb_misc.c 	minfo->limits.system.vcomax	= 230000;
limits            588 drivers/video/fbdev/matrox/matroxfb_misc.c 	minfo->limits.pixel.vcomax	=
limits            589 drivers/video/fbdev/matrox/matroxfb_misc.c 	minfo->limits.system.vcomax	= (bd->pins[36] == 0xFF) ? 230000			: ((bd->pins[36] + 100) * 1000);
limits            606 drivers/video/fbdev/matrox/matroxfb_misc.c 	minfo->limits.pixel.vcomax	=
limits            607 drivers/video/fbdev/matrox/matroxfb_misc.c 	minfo->limits.system.vcomax	= 230000;
limits            618 drivers/video/fbdev/matrox/matroxfb_misc.c 	minfo->limits.pixel.vcomax	= (bd->pins[ 39] == 0xFF) ? 230000			: bd->pins[ 39] * 4000;
limits            619 drivers/video/fbdev/matrox/matroxfb_misc.c 	minfo->limits.system.vcomax	= (bd->pins[ 38] == 0xFF) ? minfo->limits.pixel.vcomax	: bd->pins[ 38] * 4000;
limits            637 drivers/video/fbdev/matrox/matroxfb_misc.c 	minfo->limits.pixel.vcomax	=
limits            638 drivers/video/fbdev/matrox/matroxfb_misc.c 	minfo->limits.system.vcomax	= 252000;
limits            654 drivers/video/fbdev/matrox/matroxfb_misc.c 	minfo->limits.pixel.vcomax	= (bd->pins[ 38] == 0xFF) ? 600000			: bd->pins[ 38] * mult;
limits            655 drivers/video/fbdev/matrox/matroxfb_misc.c 	minfo->limits.system.vcomax	= (bd->pins[ 36] == 0xFF) ? minfo->limits.pixel.vcomax	: bd->pins[ 36] * mult;
limits            656 drivers/video/fbdev/matrox/matroxfb_misc.c 	minfo->limits.video.vcomax	= (bd->pins[ 37] == 0xFF) ? minfo->limits.system.vcomax	: bd->pins[ 37] * mult;
limits            657 drivers/video/fbdev/matrox/matroxfb_misc.c 	minfo->limits.pixel.vcomin	= (bd->pins[123] == 0xFF) ? 256000			: bd->pins[123] * mult;
limits            658 drivers/video/fbdev/matrox/matroxfb_misc.c 	minfo->limits.system.vcomin	= (bd->pins[121] == 0xFF) ? minfo->limits.pixel.vcomin	: bd->pins[121] * mult;
limits            659 drivers/video/fbdev/matrox/matroxfb_misc.c 	minfo->limits.video.vcomin	= (bd->pins[122] == 0xFF) ? minfo->limits.system.vcomin	: bd->pins[122] * mult;
limits            687 drivers/video/fbdev/matrox/matroxfb_misc.c 	minfo->limits.pixel.vcomax	=
limits            688 drivers/video/fbdev/matrox/matroxfb_misc.c 	minfo->limits.system.vcomax	=
limits            689 drivers/video/fbdev/matrox/matroxfb_misc.c 	minfo->limits.video.vcomax	= 600000;
limits            690 drivers/video/fbdev/matrox/matroxfb_misc.c 	minfo->limits.pixel.vcomin	=
limits            691 drivers/video/fbdev/matrox/matroxfb_misc.c 	minfo->limits.system.vcomin	=
limits            692 drivers/video/fbdev/matrox/matroxfb_misc.c 	minfo->limits.video.vcomin	= 256000;
limits           2146 drivers/video/fbdev/omap2/omapfb/dss/dispc.c 	static const u8 limits[3] = { 8, 10, 20 };
limits           2158 drivers/video/fbdev/omap2/omapfb/dss/dispc.c 	DSSDBG("blanking period + ppl = %llu (limit = %u)\n", blank, limits[i]);
limits           2159 drivers/video/fbdev/omap2/omapfb/dss/dispc.c 	if (blank <= limits[i])
limits           1373 drivers/video/fbdev/via/hw.c static struct via_pll_config get_pll_config(struct pll_limit *limits, int size,
limits           1381 drivers/video/fbdev/via/hw.c 		cur.rshift = limits[i].rshift;
limits           1382 drivers/video/fbdev/via/hw.c 		cur.divisor = limits[i].divisor;
limits           1393 drivers/video/fbdev/via/hw.c 		if (cur.multiplier < limits[i].multiplier_min)
limits           1394 drivers/video/fbdev/via/hw.c 			cur.multiplier = limits[i].multiplier_min;
limits           1395 drivers/video/fbdev/via/hw.c 		else if (cur.multiplier > limits[i].multiplier_max)
limits           1396 drivers/video/fbdev/via/hw.c 			cur.multiplier = limits[i].multiplier_max;
limits            514 fs/btrfs/ioctl.c 			minlen = min_t(u64, q->limits.discard_granularity,
limits           1124 fs/ext4/ioctl.c 				   q->limits.discard_granularity);
limits           2144 fs/f2fs/file.c 				q->limits.discard_granularity);
limits           1121 fs/f2fs/segment.c 			SECTOR_TO_BLOCK(q->limits.max_discard_sectors);
limits           1303 fs/f2fs/segment.c 			SECTOR_TO_BLOCK(q->limits.max_discard_sectors);
limits            144 fs/fat/file.c  			     q->limits.discard_granularity);
limits           1426 fs/gfs2/rgrp.c 		       q->limits.discard_granularity) >> bs_shift;
limits            142 fs/jfs/ioctl.c 			q->limits.discard_granularity);
limits           1084 fs/nilfs2/ioctl.c 	range.minlen = max_t(u64, range.minlen, q->limits.discard_granularity);
limits            934 fs/ocfs2/ioctl.c 		range.minlen = max_t(u64, q->limits.discard_granularity,
limits           4526 fs/xfs/libxfs/xfs_btree.c 	uint			*limits,
limits           4532 fs/xfs/libxfs/xfs_btree.c 	maxblocks = (len + limits[0] - 1) / limits[0];
limits           4534 fs/xfs/libxfs/xfs_btree.c 		maxblocks = (maxblocks + limits[1] - 1) / limits[1];
limits           4831 fs/xfs/libxfs/xfs_btree.c 	uint			*limits,
limits           4838 fs/xfs/libxfs/xfs_btree.c 	maxrecs = limits[0];
limits           4842 fs/xfs/libxfs/xfs_btree.c 		maxrecs = limits[1];
limits            464 fs/xfs/libxfs/xfs_btree.h uint xfs_btree_compute_maxlevels(uint *limits, unsigned long len);
limits            465 fs/xfs/libxfs/xfs_btree.h unsigned long long xfs_btree_calc_size(uint *limits, unsigned long long len);
limits            151 fs/xfs/xfs_discard.c 	unsigned int		granularity = q->limits.discard_granularity;
limits            500 include/linux/blkdev.h 	struct queue_limits	limits;
limits            692 include/linux/blkdev.h 	return q->limits.zoned;
limits            708 include/linux/blkdev.h 	return blk_queue_is_zoned(q) ? q->limits.chunk_sectors : 0;
limits            722 include/linux/blkdev.h 	return sector >> ilog2(q->limits.chunk_sectors);
limits            997 include/linux/blkdev.h 		return min(q->limits.max_discard_sectors,
limits           1001 include/linux/blkdev.h 		return q->limits.max_write_same_sectors;
limits           1004 include/linux/blkdev.h 		return q->limits.max_write_zeroes_sectors;
limits           1006 include/linux/blkdev.h 	return q->limits.max_sectors;
limits           1016 include/linux/blkdev.h 	if (!q->limits.chunk_sectors)
limits           1017 include/linux/blkdev.h 		return q->limits.max_sectors;
limits           1019 include/linux/blkdev.h 	return min(q->limits.max_sectors, (unsigned int)(q->limits.chunk_sectors -
limits           1020 include/linux/blkdev.h 			(offset & (q->limits.chunk_sectors - 1))));
limits           1029 include/linux/blkdev.h 		return q->limits.max_hw_sectors;
limits           1031 include/linux/blkdev.h 	if (!q->limits.chunk_sectors ||
limits           1087 include/linux/blkdev.h extern void blk_limits_io_min(struct queue_limits *limits, unsigned int min);
limits           1089 include/linux/blkdev.h extern void blk_limits_io_opt(struct queue_limits *limits, unsigned int opt);
limits           1264 include/linux/blkdev.h 	return q->limits.seg_boundary_mask;
limits           1269 include/linux/blkdev.h 	return q->limits.virt_boundary_mask;
limits           1274 include/linux/blkdev.h 	return q->limits.max_sectors;
limits           1279 include/linux/blkdev.h 	return q->limits.max_hw_sectors;
limits           1284 include/linux/blkdev.h 	return q->limits.max_segments;
limits           1289 include/linux/blkdev.h 	return q->limits.max_discard_segments;
limits           1294 include/linux/blkdev.h 	return q->limits.max_segment_size;
limits           1301 include/linux/blkdev.h 	if (q && q->limits.logical_block_size)
limits           1302 include/linux/blkdev.h 		retval = q->limits.logical_block_size;
limits           1314 include/linux/blkdev.h 	return q->limits.physical_block_size;
limits           1324 include/linux/blkdev.h 	return q->limits.io_min;
limits           1334 include/linux/blkdev.h 	return q->limits.io_opt;
limits           1344 include/linux/blkdev.h 	if (q->limits.misaligned)
limits           1347 include/linux/blkdev.h 	return q->limits.alignment_offset;
limits           1363 include/linux/blkdev.h 	if (q->limits.misaligned)
limits           1369 include/linux/blkdev.h 	return q->limits.alignment_offset;
limits           1374 include/linux/blkdev.h 	if (q->limits.discard_misaligned)
limits           1377 include/linux/blkdev.h 	return q->limits.discard_alignment;
limits           1410 include/linux/blkdev.h 	return q->limits.discard_alignment;
limits           1418 include/linux/blkdev.h 		return q->limits.max_write_same_sectors;
limits           1428 include/linux/blkdev.h 		return q->limits.max_write_zeroes_sectors;
limits           1573 include/linux/blkdev.h 	q->limits.max_integrity_segments = segs;
limits           1579 include/linux/blkdev.h 	return q->limits.max_integrity_segments;
limits            552 include/linux/cpufreq.h 	void	(*limits)(struct cpufreq_policy *policy);
limits            125 include/linux/device-mapper.h 				struct queue_limits *limits);
limits            120 include/linux/intel_rapl.h 	int limits[RAPL_DOMAIN_MAX];
limits             95 include/linux/mfd/max14577.h extern int maxim_charger_calc_reg_current(const struct maxim_charger_current *limits,
limits           4101 include/net/cfg80211.h 	const struct ieee80211_iface_limit *limits;
limits            902 kernel/sched/cpufreq_schedutil.c 	.limits			= sugov_limits,
limits           1013 net/mac80211/main.c 			if ((c->limits[j].types & BIT(NL80211_IFTYPE_ADHOC)) &&
limits           1014 net/mac80211/main.c 			    c->limits[j].max > 1)
limits             92 net/openvswitch/conntrack.c 	struct hlist_head *limits;
limits           1088 net/openvswitch/conntrack.c 	return &info->limits[zone & (CT_LIMIT_HASH_BUCKETS - 1)];
limits           1859 net/openvswitch/conntrack.c 	ovs_net->ct_limit_info->limits =
limits           1862 net/openvswitch/conntrack.c 	if (!ovs_net->ct_limit_info->limits) {
limits           1868 net/openvswitch/conntrack.c 		INIT_HLIST_HEAD(&ovs_net->ct_limit_info->limits[i]);
limits           1875 net/openvswitch/conntrack.c 		kfree(ovs_net->ct_limit_info->limits);
limits           1890 net/openvswitch/conntrack.c 		struct hlist_head *head = &info->limits[i];
limits           1897 net/openvswitch/conntrack.c 	kfree(ovs_net->ct_limit_info->limits);
limits           2103 net/openvswitch/conntrack.c 		head = &info->limits[i];
limits            585 net/wireless/core.c 			u16 types = c->limits[j].types;
limits            592 net/wireless/core.c 			if (WARN_ON(!c->limits[j].max))
limits            601 net/wireless/core.c 				    c->limits[j].max > 1))
limits            606 net/wireless/core.c 				    c->limits[j].max > 1))
limits            624 net/wireless/core.c 			cnt += c->limits[j].max;
limits           1376 net/wireless/nl80211.c 					c->limits[j].max))
limits           1379 net/wireless/nl80211.c 						c->limits[j].types))
limits           1761 net/wireless/util.c 		struct ieee80211_iface_limit *limits;
limits           1771 net/wireless/util.c 		limits = kmemdup(c->limits, sizeof(limits[0]) * c->n_limits,
limits           1773 net/wireless/util.c 		if (!limits)
limits           1780 net/wireless/util.c 				all_iftypes |= limits[j].types;
limits           1781 net/wireless/util.c 				if (!(limits[j].types & BIT(iftype)))
limits           1783 net/wireless/util.c 				if (limits[j].max < params->iftype_num[iftype])
limits           1785 net/wireless/util.c 				limits[j].max -= params->iftype_num[iftype];
limits           1819 net/wireless/util.c 		kfree(limits);
limits             30 security/apparmor/include/resource.h 	struct rlimit limits[RLIM_NLIMITS];
limits            636 security/apparmor/policy_unpack.c 			profile->rlimits.limits[a].rlim_max = tmp2;
limits             87 security/apparmor/resource.c 	    profile->rlimits.limits[resource].rlim_max)
limits            182 security/apparmor/resource.c 					     new->rlimits.limits[j].rlim_max);