/kernel/linux/linux-5.10/drivers/staging/media/rkisp1/ |
H A D | rkisp1-common.c | 20 const struct v4l2_rect *bounds) in rkisp1_sd_adjust_crop_rect() 23 v4l2_rect_map_inside(crop, bounds); in rkisp1_sd_adjust_crop_rect() 27 const struct v4l2_mbus_framefmt *bounds) in rkisp1_sd_adjust_crop() 32 .width = bounds->width, in rkisp1_sd_adjust_crop() 33 .height = bounds->height, in rkisp1_sd_adjust_crop() 19 rkisp1_sd_adjust_crop_rect(struct v4l2_rect *crop, const struct v4l2_rect *bounds) rkisp1_sd_adjust_crop_rect() argument 26 rkisp1_sd_adjust_crop(struct v4l2_rect *crop, const struct v4l2_mbus_framefmt *bounds) rkisp1_sd_adjust_crop() argument
|
H A D | rkisp1-common.h | 425 * @bounds: rectangle used as bounds. 428 const struct v4l2_rect *bounds); 434 * @bounds: media bus format used as bounds. 437 const struct v4l2_mbus_framefmt *bounds);
|
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/dispnv50/ |
H A D | head917d.c | 53 u32 bounds = 0; in head917d_base() local 58 case 8: bounds |= NVDEF(NV917D, HEAD_SET_BASE_CHANNEL_USAGE_BOUNDS, PIXEL_DEPTH, BPP_64); break; in head917d_base() 59 case 4: bounds |= NVDEF(NV917D, HEAD_SET_BASE_CHANNEL_USAGE_BOUNDS, PIXEL_DEPTH, BPP_32); break; in head917d_base() 60 case 2: bounds |= NVDEF(NV917D, HEAD_SET_BASE_CHANNEL_USAGE_BOUNDS, PIXEL_DEPTH, BPP_16); break; in head917d_base() 61 case 1: bounds |= NVDEF(NV917D, HEAD_SET_BASE_CHANNEL_USAGE_BOUNDS, PIXEL_DEPTH, BPP_8); break; in head917d_base() 66 bounds |= NVDEF(NV917D, HEAD_SET_BASE_CHANNEL_USAGE_BOUNDS, USABLE, TRUE); in head917d_base() 67 bounds |= NVDEF(NV917D, HEAD_SET_BASE_CHANNEL_USAGE_BOUNDS, BASE_LUT, USAGE_1025); in head917d_base() 73 PUSH_MTHD(push, NV917D, HEAD_SET_BASE_CHANNEL_USAGE_BOUNDS(i), bounds); in head917d_base()
|
H A D | head907d.c | 100 u32 bounds = 0; in head907d_ovly() local 105 case 8: bounds |= NVDEF(NV907D, HEAD_SET_OVERLAY_USAGE_BOUNDS, PIXEL_DEPTH, BPP_64); break; in head907d_ovly() 106 case 4: bounds |= NVDEF(NV907D, HEAD_SET_OVERLAY_USAGE_BOUNDS, PIXEL_DEPTH, BPP_32); break; in head907d_ovly() 107 case 2: bounds |= NVDEF(NV907D, HEAD_SET_OVERLAY_USAGE_BOUNDS, PIXEL_DEPTH, BPP_16); break; in head907d_ovly() 112 bounds |= NVDEF(NV907D, HEAD_SET_OVERLAY_USAGE_BOUNDS, USABLE, TRUE); in head907d_ovly() 114 bounds |= NVDEF(NV907D, HEAD_SET_OVERLAY_USAGE_BOUNDS, PIXEL_DEPTH, BPP_16); in head907d_ovly() 120 PUSH_MTHD(push, NV907D, HEAD_SET_OVERLAY_USAGE_BOUNDS(i), bounds); in head907d_ovly() 129 u32 bounds = 0; in head907d_base() local 134 case 8: bounds |= NVDEF(NV907D, HEAD_SET_BASE_CHANNEL_USAGE_BOUNDS, PIXEL_DEPTH, BPP_64); break; in head907d_base() 135 case 4: bounds | in head907d_base() [all...] |
H A D | head507d.c | 71 u32 bounds = 0; in head507d_ovly() local 76 case 4: bounds |= NVDEF(NV507D, HEAD_SET_BASE_CHANNEL_USAGE_BOUNDS, PIXEL_DEPTH, BPP_32); break; in head507d_ovly() 77 case 2: bounds |= NVDEF(NV507D, HEAD_SET_BASE_CHANNEL_USAGE_BOUNDS, PIXEL_DEPTH, BPP_16); break; in head507d_ovly() 82 bounds |= NVDEF(NV507D, HEAD_SET_BASE_CHANNEL_USAGE_BOUNDS, USABLE, TRUE); in head507d_ovly() 84 bounds |= NVDEF(NV507D, HEAD_SET_BASE_CHANNEL_USAGE_BOUNDS, PIXEL_DEPTH, BPP_16); in head507d_ovly() 90 PUSH_MTHD(push, NV507D, HEAD_SET_BASE_CHANNEL_USAGE_BOUNDS(i), bounds); in head507d_ovly() 99 u32 bounds = 0; in head507d_base() local 104 case 8: bounds |= NVDEF(NV507D, HEAD_SET_BASE_CHANNEL_USAGE_BOUNDS, PIXEL_DEPTH, BPP_64); break; in head507d_base() 105 case 4: bounds |= NVDEF(NV507D, HEAD_SET_BASE_CHANNEL_USAGE_BOUNDS, PIXEL_DEPTH, BPP_32); break; in head507d_base() 106 case 2: bounds | in head507d_base() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/dispnv50/ |
H A D | head917d.c | 53 u32 bounds = 0; in head917d_base() local 58 case 8: bounds |= NVDEF(NV917D, HEAD_SET_BASE_CHANNEL_USAGE_BOUNDS, PIXEL_DEPTH, BPP_64); break; in head917d_base() 59 case 4: bounds |= NVDEF(NV917D, HEAD_SET_BASE_CHANNEL_USAGE_BOUNDS, PIXEL_DEPTH, BPP_32); break; in head917d_base() 60 case 2: bounds |= NVDEF(NV917D, HEAD_SET_BASE_CHANNEL_USAGE_BOUNDS, PIXEL_DEPTH, BPP_16); break; in head917d_base() 61 case 1: bounds |= NVDEF(NV917D, HEAD_SET_BASE_CHANNEL_USAGE_BOUNDS, PIXEL_DEPTH, BPP_8); break; in head917d_base() 66 bounds |= NVDEF(NV917D, HEAD_SET_BASE_CHANNEL_USAGE_BOUNDS, USABLE, TRUE); in head917d_base() 67 bounds |= NVDEF(NV917D, HEAD_SET_BASE_CHANNEL_USAGE_BOUNDS, BASE_LUT, USAGE_1025); in head917d_base() 73 PUSH_MTHD(push, NV917D, HEAD_SET_BASE_CHANNEL_USAGE_BOUNDS(i), bounds); in head917d_base()
|
H A D | head907d.c | 100 u32 bounds = 0; in head907d_ovly() local 105 case 8: bounds |= NVDEF(NV907D, HEAD_SET_OVERLAY_USAGE_BOUNDS, PIXEL_DEPTH, BPP_64); break; in head907d_ovly() 106 case 4: bounds |= NVDEF(NV907D, HEAD_SET_OVERLAY_USAGE_BOUNDS, PIXEL_DEPTH, BPP_32); break; in head907d_ovly() 107 case 2: bounds |= NVDEF(NV907D, HEAD_SET_OVERLAY_USAGE_BOUNDS, PIXEL_DEPTH, BPP_16); break; in head907d_ovly() 112 bounds |= NVDEF(NV907D, HEAD_SET_OVERLAY_USAGE_BOUNDS, USABLE, TRUE); in head907d_ovly() 114 bounds |= NVDEF(NV907D, HEAD_SET_OVERLAY_USAGE_BOUNDS, PIXEL_DEPTH, BPP_16); in head907d_ovly() 120 PUSH_MTHD(push, NV907D, HEAD_SET_OVERLAY_USAGE_BOUNDS(i), bounds); in head907d_ovly() 129 u32 bounds = 0; in head907d_base() local 134 case 8: bounds |= NVDEF(NV907D, HEAD_SET_BASE_CHANNEL_USAGE_BOUNDS, PIXEL_DEPTH, BPP_64); break; in head907d_base() 135 case 4: bounds | in head907d_base() [all...] |
H A D | head507d.c | 71 u32 bounds = 0; in head507d_ovly() local 76 case 4: bounds |= NVDEF(NV507D, HEAD_SET_BASE_CHANNEL_USAGE_BOUNDS, PIXEL_DEPTH, BPP_32); break; in head507d_ovly() 77 case 2: bounds |= NVDEF(NV507D, HEAD_SET_BASE_CHANNEL_USAGE_BOUNDS, PIXEL_DEPTH, BPP_16); break; in head507d_ovly() 82 bounds |= NVDEF(NV507D, HEAD_SET_BASE_CHANNEL_USAGE_BOUNDS, USABLE, TRUE); in head507d_ovly() 84 bounds |= NVDEF(NV507D, HEAD_SET_BASE_CHANNEL_USAGE_BOUNDS, PIXEL_DEPTH, BPP_16); in head507d_ovly() 90 PUSH_MTHD(push, NV507D, HEAD_SET_BASE_CHANNEL_USAGE_BOUNDS(i), bounds); in head507d_ovly() 99 u32 bounds = 0; in head507d_base() local 104 case 8: bounds |= NVDEF(NV507D, HEAD_SET_BASE_CHANNEL_USAGE_BOUNDS, PIXEL_DEPTH, BPP_64); break; in head507d_base() 105 case 4: bounds |= NVDEF(NV507D, HEAD_SET_BASE_CHANNEL_USAGE_BOUNDS, PIXEL_DEPTH, BPP_32); break; in head507d_base() 106 case 2: bounds | in head507d_base() [all...] |
/kernel/linux/linux-6.6/drivers/media/platform/rockchip/rkisp1/ |
H A D | rkisp1-common.c | 163 const struct v4l2_rect *bounds) in rkisp1_sd_adjust_crop_rect() 166 v4l2_rect_map_inside(crop, bounds); in rkisp1_sd_adjust_crop_rect() 170 const struct v4l2_mbus_framefmt *bounds) in rkisp1_sd_adjust_crop() 175 .width = bounds->width, in rkisp1_sd_adjust_crop() 176 .height = bounds->height, in rkisp1_sd_adjust_crop() 162 rkisp1_sd_adjust_crop_rect(struct v4l2_rect *crop, const struct v4l2_rect *bounds) rkisp1_sd_adjust_crop_rect() argument 169 rkisp1_sd_adjust_crop(struct v4l2_rect *crop, const struct v4l2_mbus_framefmt *bounds) rkisp1_sd_adjust_crop() argument
|
/kernel/linux/linux-6.6/lib/zstd/compress/ |
H A D | zstd_compress.c | 378 ZSTD_bounds bounds = { 0, 0, 0 }; in ZSTD_cParam_getBounds() local 383 bounds.lowerBound = ZSTD_minCLevel(); in ZSTD_cParam_getBounds() 384 bounds.upperBound = ZSTD_maxCLevel(); in ZSTD_cParam_getBounds() 385 return bounds; in ZSTD_cParam_getBounds() 388 bounds.lowerBound = ZSTD_WINDOWLOG_MIN; in ZSTD_cParam_getBounds() 389 bounds.upperBound = ZSTD_WINDOWLOG_MAX; in ZSTD_cParam_getBounds() 390 return bounds; in ZSTD_cParam_getBounds() 393 bounds.lowerBound = ZSTD_HASHLOG_MIN; in ZSTD_cParam_getBounds() 394 bounds.upperBound = ZSTD_HASHLOG_MAX; in ZSTD_cParam_getBounds() 395 return bounds; in ZSTD_cParam_getBounds() 563 ZSTD_bounds const bounds = ZSTD_cParam_getBounds(cParam); ZSTD_cParam_clampBounds() local [all...] |
/kernel/linux/linux-6.6/lib/zstd/decompress/ |
H A D | zstd_decompress.c | 1633 ZSTD_bounds const bounds = ZSTD_dParam_getBounds(ZSTD_d_windowLogMax); in ZSTD_DCtx_setMaxWindowSize() local 1634 size_t const min = (size_t)1 << bounds.lowerBound; in ZSTD_DCtx_setMaxWindowSize() 1635 size_t const max = (size_t)1 << bounds.upperBound; in ZSTD_DCtx_setMaxWindowSize() 1650 ZSTD_bounds bounds = { 0, 0, 0 }; in ZSTD_dParam_getBounds() local 1653 bounds.lowerBound = ZSTD_WINDOWLOG_ABSOLUTEMIN; in ZSTD_dParam_getBounds() 1654 bounds.upperBound = ZSTD_WINDOWLOG_MAX; in ZSTD_dParam_getBounds() 1655 return bounds; in ZSTD_dParam_getBounds() 1657 bounds.lowerBound = (int)ZSTD_f_zstd1; in ZSTD_dParam_getBounds() 1658 bounds.upperBound = (int)ZSTD_f_zstd1_magicless; in ZSTD_dParam_getBounds() 1660 return bounds; in ZSTD_dParam_getBounds() 1684 ZSTD_bounds const bounds = ZSTD_dParam_getBounds(dParam); ZSTD_dParam_withinBounds() local [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/kvm/x86_64/ |
H A D | state_test.c | 177 uint64_t bounds[2] = { 10, 0xffffffffull }; in guest_code() local 199 asm volatile (".byte 0x66,0x0f,0x1a,0x08" :: "a" (bounds)); in guest_code() 207 GUEST_ASSERT_EQ(bounds[0], output[0]); in guest_code() 208 GUEST_ASSERT_EQ(bounds[1], output[1]); in guest_code()
|
/kernel/linux/linux-5.10/drivers/media/pci/bt8xx/ |
H A D | bttv-vbi.c | 177 bounds.top is the corresponding first field line number in vbi_buffer_prepare() 180 if (fh->vbi_fmt.end >= tvnorm->cropcap.bounds.top) in vbi_buffer_prepare() 181 min_vdelay += fh->vbi_fmt.end - tvnorm->cropcap.bounds.top; in vbi_buffer_prepare() 247 max_end = (tvnorm->cropcap.bounds.top in try_fmt() 248 + tvnorm->cropcap.bounds.height) >> 1; in try_fmt() 383 max_end = (tvnorm->cropcap.bounds.top in bttv_g_fmt_vbi_cap() 384 + tvnorm->cropcap.bounds.height) >> 1; in bttv_g_fmt_vbi_cap()
|
/kernel/linux/linux-5.10/security/selinux/ss/ |
H A D | policydb.h | 79 u32 bounds; /* boundary of role */ member 115 u32 bounds; /* boundary of type */ member 123 u32 bounds; /* bounds of user */ member
|
/kernel/linux/linux-6.6/security/selinux/ss/ |
H A D | policydb.h | 79 u32 bounds; /* boundary of role */ member 115 u32 bounds; /* boundary of type */ member 123 u32 bounds; /* bounds of user */ member
|
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/mt76x2/ |
H A D | eeprom.c | 474 u8 bounds; in mt76x2_get_temp_comp() local 488 bounds = mt76x02_eeprom_get(dev, MT_EE_TX_POWER_EXT_PA_5G); in mt76x2_get_temp_comp() 491 bounds = mt76x02_eeprom_get(dev, in mt76x2_get_temp_comp() 497 t->lower_bound = 0 - (bounds & 0xf); in mt76x2_get_temp_comp() 498 t->upper_bound = (bounds >> 4) & 0xf; in mt76x2_get_temp_comp()
|
/kernel/linux/linux-6.6/drivers/net/wireless/mediatek/mt76/mt76x2/ |
H A D | eeprom.c | 462 u8 bounds; in mt76x2_get_temp_comp() local 476 bounds = mt76x02_eeprom_get(dev, MT_EE_TX_POWER_EXT_PA_5G); in mt76x2_get_temp_comp() 479 bounds = mt76x02_eeprom_get(dev, in mt76x2_get_temp_comp() 485 t->lower_bound = 0 - (bounds & 0xf); in mt76x2_get_temp_comp() 486 t->upper_bound = (bounds >> 4) & 0xf; in mt76x2_get_temp_comp()
|
/kernel/linux/linux-6.6/drivers/media/platform/mediatek/mdp3/ |
H A D | mtk-mdp3-cmdq.c | 24 struct v4l2_rect bounds[IMG_MAX_HW_OUTPUTS]; member 454 path->bounds[i].left = 0; in mdp_cmdq_send() 455 path->bounds[i].top = 0; in mdp_cmdq_send() 456 path->bounds[i].width = in mdp_cmdq_send() 458 path->bounds[i].height = in mdp_cmdq_send() 461 param->composes[i] : &path->bounds[i]; in mdp_cmdq_send()
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | lockref.h | 19 #include <generated/bounds.h>
|
H A D | page-flags-layout.h | 6 #include <generated/bounds.h>
|
H A D | fortify-string.h | 72 * unsafe_memcpy - memcpy implementation with no FORTIFY bounds checking 81 * very rarely, and includes a place for justification detailing where bounds 105 #define __compiletime_lessthan(bounds, length) ( \ 106 __builtin_constant_p((bounds) < (length)) && \ 107 (bounds) < (length) \ 482 * can perform compile-time bounds checking where in fortify_memset_chk() 497 * so run-time bounds checking can be done where buffer sizes are in fortify_memset_chk() 552 * y = perform deterministic compile-time bounds checking 553 * n = cannot perform deterministic compile-time bounds checking 554 * n/a = no run-time bounds checkin [all...] |
/kernel/linux/linux-6.6/drivers/media/pci/bt8xx/ |
H A D | bttv-vbi.c | 193 max_end = (tvnorm->cropcap.bounds.top in try_fmt() 194 + tvnorm->cropcap.bounds.height) >> 1; in try_fmt() 323 max_end = (tvnorm->cropcap.bounds.top in bttv_g_fmt_vbi_cap() 324 + tvnorm->cropcap.bounds.height) >> 1; in bttv_g_fmt_vbi_cap()
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | lockref.h | 19 #include <generated/bounds.h>
|
H A D | page-flags-layout.h | 6 #include <generated/bounds.h>
|
/kernel/linux/linux-5.10/arch/s390/ |
H A D | Makefile | 40 KBUILD_CFLAGS += $(call cc-disable-warning, array-bounds) 41 KBUILD_CFLAGS_DECOMPRESSOR += $(call cc-disable-warning, array-bounds)
|