/linux/drivers/iommu/ |
H A D | iova.c | 602 struct iova_magazine *mag; in iova_magazine_alloc() local 604 mag = kmem_cache_alloc(iova_magazine_cache, flags); in iova_magazine_alloc() 605 if (mag) in iova_magazine_alloc() 606 mag->size = 0; in iova_magazine_alloc() 608 return mag; in iova_magazine_alloc() 611 static void iova_magazine_free(struct iova_magazine *mag) in iova_magazine_free() argument 613 kmem_cache_free(iova_magazine_cache, mag); in iova_magazine_free() 617 iova_magazine_free_pfns(struct iova_magazine *mag, struct iova_domain *iovad) in iova_magazine_free_pfns() argument 624 for (i = 0 ; i < mag->size; ++i) { in iova_magazine_free_pfns() 625 struct iova *iova = private_find_iova(iovad, mag->pfns[i]); in iova_magazine_free_pfns() [all …]
|
/linux/arch/s390/kernel/ |
H A D | topology.c | 545 nr_masks = info->mag[TOPOLOGY_NR_MAG - offset]; in alloc_masks() 547 nr_masks *= info->mag[TOPOLOGY_NR_MAG - offset - 1 - i]; in alloc_masks() 578 info->mag[0], info->mag[1], info->mag[2], info->mag[3], in topology_init_early() 579 info->mag[4], info->mag[5], info->mnest); in topology_init_early()
|
/linux/drivers/gpu/drm/arm/ |
H A D | malidp_crtc.c | 230 u32 mag = ((((u64)val) & ~BIT_ULL(63)) >> 20) & in malidp_crtc_atomic_check_ctm() local 241 mag = ~mag + 1; in malidp_crtc_atomic_check_ctm() 242 if (!!(val & BIT_ULL(63)) != !!(mag & BIT(14))) in malidp_crtc_atomic_check_ctm() 244 mc->coloradj_coeffs[i] = mag; in malidp_crtc_atomic_check_ctm()
|
/linux/drivers/staging/media/meson/vdec/ |
H A D | esparser.c | 87 int cur_mag, mag, mag_ptr; in vp9_update_header() local 104 mag = ((marker >> 3) & 0x3) + 1; in vp9_update_header() 105 mag_ptr = dsize - mag * num_frames - 2; in vp9_update_header() 112 for (cur_mag = 0; cur_mag < mag; cur_mag++) { in vp9_update_header()
|
/linux/drivers/iio/light/ |
H A D | si1133.c | 212 u16 mag; member 240 static int si1133_calculate_polynomial_inner(s32 input, u8 fraction, u16 mag, in si1133_calculate_polynomial_inner() argument 243 return ((input << fraction) / mag) << shift; in si1133_calculate_polynomial_inner() 263 coeffs->mag, shift); in si1133_calculate_output() 270 coeffs->mag, shift); in si1133_calculate_output() 301 sign * coeffs->mag << SI1133_LUX_OUTPUT_FRACTION; in si1133_calc_polynomial()
|
/linux/arch/s390/include/asm/ |
H A D | sysinfo.h | 184 unsigned char mag[TOPOLOGY_NR_MAG]; member
|
/linux/drivers/gpu/drm/ |
H A D | drm_color_mgmt.c | 136 u64 mag = (user_input & ~BIT_ULL(63)) >> (32 - n); in drm_color_ctm_s31_32_to_qm_n() local 142 val = clamp_val(mag, 0, negative ? in drm_color_ctm_s31_32_to_qm_n()
|
/linux/arch/arm/boot/dts/qcom/ |
H A D | msm8226-motorola-falcon.dts | 361 mag_int_default: mag-int-default-state { 369 mag_reset_default: mag-reset-default-state {
|
H A D | qcom-msm8926-motorola-peregrine.dts | 369 mag_int_default: mag-int-default-state { 377 mag_reset_default: mag-reset-default-state {
|
/linux/tools/testing/selftests/sysctl/ |
H A D | sysctl.sh | 351 for mag in "${magnitudes[@]}"; do 352 check_failure "${sign}${mag}"
|
/linux/arch/arm64/boot/dts/qcom/ |
H A D | msm8916-asus-z00l.dts | 221 mag_reset_default: mag-reset-default-state {
|
H A D | msm8916-longcheer-l8910.dts | 316 mag_reset_default: mag-reset-default-state {
|
H A D | msm8939-longcheer-l9100.dts | 376 mag_reset_default: mag-reset-default-state {
|
H A D | msm8916-huawei-g7.dts | 384 mag_reset_default: mag-reset-default-state {
|
H A D | msm8916-alcatel-idol347.dts | 428 mag_reset_default: mag-reset-default-state {
|
/linux/arch/arm/boot/dts/samsung/ |
H A D | exynos4210-i9100.dts | 799 mag_mhl_gpio: mag-mhl-pins {
|
/linux/arch/arm/boot/dts/ti/omap/ |
H A D | am437x-l4.dtsi | 2404 mag { 2405 compatible = "ti,am4372-mag";
|