Home
last modified time | relevance | path

Searched full:mag (Results 1 – 25 of 50) sorted by relevance

12

/linux-6.12.1/drivers/iommu/
Diova.c602 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-6.12.1/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/
Dphy_qmath.c217 * mag*(2^x) format. mag is any number in the range 2^30-(2^31 - 1).
218 * Then log2(mag * 2^x) = log2(mag) + x is computed. From that
219 * log10(mag * 2^x) = log2(mag * 2^x) * log10(2) is computed.
277 * log2(mag * 2^x) = log2(mag) + x in qm_log10()
289 * as log10(mag * 2^x) = log2(mag * 2^x) * log10(2) in qm_log10()
/linux-6.12.1/include/uapi/linux/
Dmtio.h16 * Structures and definitions for mag tape io control commands
19 /* structure for MTIOCTOP - mag tape op command */
69 /* structure for MTIOCGET - mag tape get status command */
121 /* structure for MTIOCPOS - mag tape get position command */
128 /* mag tape io control commands */
129 #define MTIOCTOP _IOW('m', 1, struct mtop) /* do a mag tape op */
134 /* Generic Mag Tape (device independent) status macros for examining
/linux-6.12.1/arch/s390/kernel/
Dtopology.c545 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()
Dsysinfo.c163 seq_printf(m, " %d", info->mag[i]); in stsi_15_1_x()
169 seq_printf(m, " %d", info->mag[i]); in stsi_15_1_x()
/linux-6.12.1/drivers/gpu/drm/arm/
Dmalidp_crtc.c230 u32 mag = ((((u64)val) & ~BIT_ULL(63)) >> 20) & in malidp_crtc_atomic_check_ctm() local
238 * mag == 0x2000 in malidp_crtc_atomic_check_ctm()
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-6.12.1/drivers/staging/media/meson/vdec/
Desparser.c87 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-6.12.1/drivers/iio/imu/inv_mpu6050/
Dinv_mpu_magn.c166 /* check and init mag chip */ in inv_mpu_magn_probe()
243 * update i2c master delay to limit mag sampling to max frequency in inv_mpu_magn_set_rate()
333 /* Mag data: XH,XL,YH,YL,ZH,ZL */ in inv_mpu_magn_read()
Dinv_mpu_trigger.c100 /* mag first sample is always not ready, skip it */ in inv_compute_skip_samples()
/linux-6.12.1/drivers/iio/light/
Dsi1133.c212 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-6.12.1/drivers/mfd/
Dti_am335x_tscadc.c266 /* TSC or MAG Cell */ in ti_tscadc_probe()
361 .secondary_feature_name = "TI-am43xx-mag",
362 .secondary_feature_compatible = "ti,am4372-mag",
/linux-6.12.1/Documentation/devicetree/bindings/mfd/
Dti,am3359-tscadc.yaml51 mag:
/linux-6.12.1/drivers/net/wireless/ath/ath9k/
Dcommon-spectral.c173 ath_dbg(common, SPECTRAL_SCAN, "FFT HT20 frame: max mag 0x%X," in ath_cmn_process_ht20_fft()
312 ath_dbg(common, SPECTRAL_SCAN, "FFT HT20/40 frame: lower mag 0x%X," in ath_cmn_process_ht20_40_fft()
313 "lower_mag_idx %i, upper mag 0x%X," in ath_cmn_process_ht20_40_fft()
360 "Got lower mag: 0x%X at index %i\n", in ath_cmn_process_ht20_40_fft()
389 "Got upper mag: 0x%X at index %i\n", in ath_cmn_process_ht20_40_fft()
Dar9003_calib.c576 /* mag mismatch, tx */ in ar9003_hw_solve_iq_cal()
584 /* mag mismatch, rx */ in ar9003_hw_solve_iq_cal()
748 /* normalization sin and cos by mag */ in ar9003_hw_calc_iq_corr()
772 "chain %d: mag mismatch=%d phase mismatch=%d\n", in ar9003_hw_calc_iq_corr()
789 ath_dbg(common, CALIBRATE, "tx chain %d: mag corr=%d phase corr=%d\n", in ar9003_hw_calc_iq_corr()
820 ath_dbg(common, CALIBRATE, "rx chain %d: mag corr=%d phase corr=%d\n", in ar9003_hw_calc_iq_corr()
1029 "IQCAL: Median [ch%d][gain%d]: mag = %d phase = %d\n", in __ar955x_tx_iq_cal_sort()
/linux-6.12.1/arch/arm/boot/dts/qcom/
Dmsm8226-motorola-falcon.dts361 mag_int_default: mag-int-default-state {
369 mag_reset_default: mag-reset-default-state {
Dqcom-msm8926-motorola-peregrine.dts369 mag_int_default: mag-int-default-state {
377 mag_reset_default: mag-reset-default-state {
/linux-6.12.1/arch/s390/include/asm/
Dsysinfo.h184 unsigned char mag[TOPOLOGY_NR_MAG]; member
/linux-6.12.1/arch/arm64/boot/dts/qcom/
Dmsm8916-asus-z00l.dts221 mag_reset_default: mag-reset-default-state {
Dmsm8916-longcheer-l8910.dts316 mag_reset_default: mag-reset-default-state {
/linux-6.12.1/drivers/iio/imu/
Dkmx61.c725 * Notice that when ACC power state needs to be set to ON and MAG is in
727 * so we must set ACC OPERATION mode here. The same happens when MAG power
1371 "Failed to setup mag triggered buffer\n"); in kmx61_probe()
1392 dev_err(&client->dev, "Failed to register mag iio device\n"); in kmx61_probe()
/linux-6.12.1/drivers/platform/chrome/
Dcros_ec_sensorhub.c86 name = "cros-ec-mag"; in cros_ec_sensorhub_register()
/linux-6.12.1/drivers/media/platform/mediatek/mdp/
Dmtk_mdp_core.c208 dev_err(&pdev->dev, "Failed to set vb2 dma mag seg size\n"); in mtk_mdp_probe()
/linux-6.12.1/drivers/gpu/drm/
Ddrm_color_mgmt.c136 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-6.12.1/drivers/iio/resolver/
Dad2s1210.c35 * Sine/cosine inputs clipped [3] | D7 | altvoltage1 | mag | either
38 * Sine/cosine inputs exceed DOS mismatch | D4 | altvoltage0 | mag | rising
40 * Velocity exceeds maximum tracking rate | D2 | anglvel0 | mag | rising
41 * Phase error exceeds phase lock range | D1 | phase0 | mag | rising
/linux-6.12.1/drivers/input/joystick/iforce/
Diforce-usb.c274 { USB_DEVICE(0x05ef, 0x8884) }, /* AVB Mag Turbo Force */

12