Home
last modified time | relevance | path

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

123

/openbmc/linux/drivers/iommu/
H A Diova.c650 struct iova_magazine *mag; in iova_magazine_alloc() local
652 mag = kmalloc(sizeof(*mag), flags); in iova_magazine_alloc()
653 if (mag) in iova_magazine_alloc()
654 mag->size = 0; in iova_magazine_alloc()
656 return mag; in iova_magazine_alloc()
659 static void iova_magazine_free(struct iova_magazine *mag) in iova_magazine_free() argument
661 kfree(mag); in iova_magazine_free()
665 iova_magazine_free_pfns(struct iova_magazine *mag, struct iova_domain *iovad) in iova_magazine_free_pfns() argument
672 for (i = 0 ; i < mag->size; ++i) { in iova_magazine_free_pfns()
673 struct iova *iova = private_find_iova(iovad, mag->pfns[i]); in iova_magazine_free_pfns()
[all …]
/openbmc/qemu/tests/qtest/
H A Dlsm303dlhc-mag-test.c60 qmp_lsm303dlhc_mag_set_property(LSM303DLHC_MAG_TEST_ID, "mag-x", 100000); in send_and_receive()
62 LSM303DLHC_MAG_TEST_ID, "mag-x"); in send_and_receive()
66 qmp_lsm303dlhc_mag_set_property(LSM303DLHC_MAG_TEST_ID, "mag-y", 150000); in send_and_receive()
68 LSM303DLHC_MAG_TEST_ID, "mag-y"); in send_and_receive()
72 qmp_lsm303dlhc_mag_set_property(LSM303DLHC_MAG_TEST_ID, "mag-z", 50000); in send_and_receive()
74 LSM303DLHC_MAG_TEST_ID, "mag-z"); in send_and_receive()
115 qmp_lsm303dlhc_mag_set_property(LSM303DLHC_MAG_TEST_ID, "mag-x", 100000); in reg_wraparound()
116 qmp_lsm303dlhc_mag_set_property(LSM303DLHC_MAG_TEST_ID, "mag-y", 150000); in reg_wraparound()
/openbmc/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/
H A 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()
/openbmc/qemu/target/s390x/kvm/
H A Dstsi-topology.c143 sysib->mag[S390_TOPOLOGY_MAG4] = current_machine->smp.drawers; in setup_stsi()
144 sysib->mag[S390_TOPOLOGY_MAG3] = current_machine->smp.books; in setup_stsi()
145 sysib->mag[S390_TOPOLOGY_MAG2] = current_machine->smp.sockets; in setup_stsi()
146 sysib->mag[S390_TOPOLOGY_MAG1] = current_machine->smp.cores; in setup_stsi()
149 sysib->mag[S390_TOPOLOGY_MAG3] = current_machine->smp.drawers * in setup_stsi()
151 sysib->mag[S390_TOPOLOGY_MAG2] = current_machine->smp.sockets; in setup_stsi()
152 sysib->mag[S390_TOPOLOGY_MAG1] = current_machine->smp.cores; in setup_stsi()
155 sysib->mag[S390_TOPOLOGY_MAG2] = current_machine->smp.drawers * in setup_stsi()
158 sysib->mag[S390_TOPOLOGY_MAG1] = current_machine->smp.cores; in setup_stsi()
/openbmc/linux/include/uapi/linux/
H A 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
/openbmc/qemu/hw/sensor/
H A Dlsm303dlhc_mag.c16 * Get and set functions for 'mag-x', 'mag-y' and 'mag-z' assume that
241 * that 'mag-x', 'mag-y', 'mag-z' and 'temperature' can continue to be in lsm303dlhc_mag_read()
513 object_property_add(obj, "mag-x", "int", in lsm303dlhc_mag_initfn()
517 object_property_add(obj, "mag-y", "int", in lsm303dlhc_mag_initfn()
521 object_property_add(obj, "mag-z", "int", in lsm303dlhc_mag_initfn()
/openbmc/linux/arch/s390/kernel/
H A Dtopology.c534 nr_masks = info->mag[TOPOLOGY_NR_MAG - offset]; in alloc_masks()
536 nr_masks *= info->mag[TOPOLOGY_NR_MAG - offset - 1 - i]; in alloc_masks()
567 info->mag[0], info->mag[1], info->mag[2], info->mag[3], in topology_init_early()
568 info->mag[4], info->mag[5], info->mnest); in topology_init_early()
/openbmc/linux/drivers/gpu/drm/arm/
H A 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()
/openbmc/linux/drivers/staging/media/meson/vdec/
H A 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()
/openbmc/linux/drivers/iio/imu/inv_mpu6050/
H A 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()
/openbmc/linux/drivers/iio/light/
H A 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()
/openbmc/linux/drivers/mfd/
H A Dti_am335x_tscadc.c266 /* TSC or MAG Cell */ in ti_tscadc_probe()
363 .secondary_feature_name = "TI-am43xx-mag",
364 .secondary_feature_compatible = "ti,am4372-mag",
/openbmc/u-boot/arch/arm/mach-versatile/
H A Dreset.S9 * Copyright (c) 2001 Marius Gröger <mag@sysgo.de>
/openbmc/linux/Documentation/devicetree/bindings/mfd/
H A Dti,am3359-tscadc.yaml51 mag:
/openbmc/openbmc/poky/meta/files/common-licenses/
H A DCC-BY-3.0-NL51 De Gebruiker mag deze rechten uitoefenen met behulp van alle thans bekende media, dragers en format…
55 …a. De Gebruiker mag het Werk uitsluitend verspreiden, in het openbaar tonen, op- of uitvoeren of o…
59 …Volledigheidshalve dient te worden vermeld dat de Gebruiker uitsluitend gebruik mag maken van de n…
/openbmc/linux/drivers/net/wireless/ath/ath9k/
H A 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()
H A 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()
/openbmc/u-boot/arch/arm/cpu/arm720t/
H A Dstart.S5 * Copyright (c) 2001 Marius Gröger <mag@sysgo.de>
/openbmc/u-boot/arch/arm/cpu/arm926ejs/spear/
H A Dstart.S9 * Copyright (c) 2001 Marius Gröger <mag@sysgo.de>
/openbmc/u-boot/arch/arm/cpu/arm926ejs/mxs/
H A Dstart.S9 * Copyright (c) 2001 Marius Groger <mag@sysgo.de>
/openbmc/linux/arch/arm64/boot/dts/qcom/
H A Dmsm8916-longcheer-l8910.dts181 mag_reset_default: mag-reset-default-state {
/openbmc/linux/arch/s390/include/asm/
H A Dsysinfo.h180 unsigned char mag[TOPOLOGY_NR_MAG]; member
/openbmc/u-boot/arch/arm/cpu/arm946es/
H A Dstart.S9 * Copyright (c) 2001 Marius Gröger <mag@sysgo.de>
/openbmc/u-boot/arch/arm/cpu/arm920t/
H A Dstart.S5 * Copyright (c) 2001 Marius Gröger <mag@sysgo.de>
/openbmc/u-boot/arch/arm/cpu/arm1136/
H A Dstart.S7 * Copyright (c) 2001 Marius Gröger <mag@sysgo.de>

123