/linux/drivers/iommu/intel/ |
A D | cap_audit.h | 67 #define DO_CHECK_FEATURE_MISMATCH(a, b, cap, feature, MASK) \ argument 70 intel_iommu_##cap##_sanity &= ~(MASK); \ 75 #define CHECK_FEATURE_MISMATCH(a, b, cap, feature, MASK) \ argument 78 #define CHECK_FEATURE_MISMATCH_HOTPLUG(b, cap, feature, MASK) \ argument 82 (b)->cap, cap, feature, MASK); \ 85 #define MINIMAL_FEATURE_IOMMU(iommu, cap, MASK) \ argument 87 u64 min_feature = intel_iommu_##cap##_sanity & (MASK); \ 88 min_feature = min_t(u64, min_feature, (iommu)->cap & (MASK)); \ 95 if ((intel_iommu_##cap##_sanity & (MASK)) > \ 99 (iommu)->cap = ((iommu)->cap & ~(MASK)) | \ [all …]
|
/linux/include/linux/soc/ti/ |
A D | knav_dma.h | 25 #define MASK(x) (BIT(x) - 1) macro 26 #define KNAV_DMA_DESC_PKT_LEN_MASK MASK(22) 30 #define KNAV_DMA_DESC_TAG_MASK MASK(8) 38 #define KNAV_DMA_DESC_PSLEN_MASK MASK(6) 40 #define KNAV_DMA_DESC_ERR_FLAG_MASK MASK(4) 42 #define KNAV_DMA_DESC_PSFLAG_MASK MASK(4) 44 #define KNAV_DMA_DESC_RETQ_MASK MASK(14) 45 #define KNAV_DMA_DESC_BUF_LEN_MASK MASK(22) 46 #define KNAV_DMA_DESC_EFLAGS_MASK MASK(4)
|
/linux/arch/x86/kernel/cpu/mce/ |
A D | severity.c | 66 #define MASK(x, y) .mask = x, .result = y macro 115 SER, MASK(MCI_UC_AR|MCACOD_SCRUBMSK, MCI_STATUS_UC|MCACOD_SCRUB) 119 SER, MASK(MCI_UC_AR|MCACOD, MCI_STATUS_UC|MCACOD_L3WB) 130 SER, MASK(MCI_STATUS_UC|MCI_ADDR|0xffffeff0, MCI_ADDR|0x001000c0), 137 SER, MASK(MCI_UC_SAR, MCI_STATUS_UC) 142 MASK(MCI_STATUS_OVER|MCI_UC_SAR, MCI_STATUS_UC|MCI_STATUS_AR) 158 SER, MASK(MCI_STATUS_OVER|MCI_UC_SAR|MCI_ADDR, MCI_UC_SAR|MCI_ADDR), 163 SER, MASK(MCI_STATUS_OVER|MCI_UC_SAR|MCI_ADDR|MCACOD, MCI_UC_SAR|MCI_ADDR|MCACOD_DATA), 189 SER, MASK(MCI_STATUS_OVER|MCI_UC_SAR, MCI_UC_SAR) 194 SER, MASK(MCI_STATUS_OVER|MCI_UC_SAR, MCI_UC_S) [all …]
|
/linux/arch/arm/mach-rpc/ |
A D | irq.c | 15 #define MASK 0x08 macro 37 val = readb(base + MASK); in iomd_irq_mask_ack() 38 writeb(val & ~mask, base + MASK); in iomd_irq_mask_ack() 47 val = readb(base + MASK); in iomd_irq_mask() 48 writeb(val & ~mask, base + MASK); in iomd_irq_mask() 56 val = readb(base + MASK); in iomd_irq_unmask() 57 writeb(val | mask, base + MASK); in iomd_irq_unmask()
|
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/clk/ |
A D | gk20a.h | 30 #define MASK(w) ((1 << (w)) - 1) macro 49 (MASK(GPCPLL_CFG3_VCO_CTRL_WIDTH) << GPCPLL_CFG3_VCO_CTRL_SHIFT) 59 (MASK(GPCPLL_COEFF_N_WIDTH) << GPCPLL_COEFF_N_SHIFT) 87 #define GPC2CLK_OUT_VCODIV_MASK (MASK(GPC2CLK_OUT_VCODIV_WIDTH) << \ 92 #define GPC2CLK_OUT_INIT_MASK ((MASK(GPC2CLK_OUT_SDIV14_INDIV4_WIDTH) << \ 94 | (MASK(GPC2CLK_OUT_VCODIV_WIDTH) << GPC2CLK_OUT_VCODIV_SHIFT)\ 95 | (MASK(GPC2CLK_OUT_BYPDIV_WIDTH) << GPC2CLK_OUT_BYPDIV_SHIFT))
|
A D | gm20b.c | 41 (MASK(GPCPLL_CFG2_SDM_DIN_WIDTH) << GPCPLL_CFG2_SDM_DIN_SHIFT) 45 (MASK(GPCPLL_CFG2_SDM_DIN_NEW_WIDTH) << GPCPLL_CFG2_SDM_DIN_NEW_SHIFT) 53 (MASK(GPCPLL_DVFS0_DFS_COEFF_WIDTH) << GPCPLL_DVFS0_DFS_COEFF_SHIFT) 169 MASK(GPCPLL_CFG2_SDM_DIN_WIDTH); in gm20b_pllg_read_mnp() 254 rem = ((u32)n) & MASK(DFS_DET_RANGE); in gm20b_dvfs_calc_ndiv() 788 data &= MASK(GPCPLL_CFG3_PLL_DFS_TESTOUT_WIDTH); in gm20b_clk_init_dvfs() 951 MASK(FUSE_RESERVED_CALIB0_FUSE_REV_WIDTH); in gm20b_clk_init_fused_params() 960 MASK(FUSE_RESERVED_CALIB0_SLOPE_INT_WIDTH)) * 1000 + in gm20b_clk_init_fused_params() 962 MASK(FUSE_RESERVED_CALIB0_SLOPE_FRAC_WIDTH)); in gm20b_clk_init_fused_params() 966 MASK(FUSE_RESERVED_CALIB0_INTERCEPT_INT_WIDTH)) * 1000 + in gm20b_clk_init_fused_params() [all …]
|
/linux/arch/x86/crypto/ |
A D | poly1305-x86_64-cryptogams.pl | 1169 vpand $MASK,$H3,$H3 1173 vpand $MASK,$H0,$H0 1177 vpand $MASK,$H4,$H4 1180 vpand $MASK,$H1,$H1 1188 vpand $MASK,$H2,$H2 1192 vpand $MASK,$H0,$H0 1196 vpand $MASK,$H3,$H3 1399 vpand $MASK,$D3,$D3 1403 vpand $MASK,$D0,$D0 1519 my $S4=$MASK; [all …]
|
/linux/drivers/gpu/drm/amd/display/dc/gpio/ |
A D | hw_gpio.c | 45 REG_GET(MASK_reg, MASK, &gpio->store.mask); in store_registers() 54 REG_UPDATE(MASK_reg, MASK, gpio->store.mask); in restore_registers() 152 REG_UPDATE(MASK_reg, MASK, 1); in dal_hw_gpio_config_mode() 158 REG_UPDATE(MASK_reg, MASK, 1); in dal_hw_gpio_config_mode() 164 REG_UPDATE(MASK_reg, MASK, 1); in dal_hw_gpio_config_mode() 168 REG_UPDATE(MASK_reg, MASK, 0); in dal_hw_gpio_config_mode() 172 REG_UPDATE(MASK_reg, MASK, 0); in dal_hw_gpio_config_mode()
|
/linux/drivers/scsi/sym53c8xx_2/ |
A D | sym_fw2.h | 228 SCR_INT ^ IFTRUE (MASK (SEM, SEM)), 438 SCR_JUMPR ^ IFTRUE (MASK (IRST, IRST)), 462 SCR_JUMP ^ IFTRUE (MASK (WSR, WSR)), 521 SCR_JUMP ^ IFTRUE (MASK (WSS, WSS)), 898 SCR_JUMP ^ IFTRUE (MASK (0x80, 0xbf)), 904 SCR_INT ^ IFFALSE (MASK (0x80, 0x80)), 1269 SCR_JUMP ^ IFTRUE (MASK (0x00, 0xf0)), 1271 SCR_JUMP ^ IFTRUE (MASK (0x10, 0xf0)), 1464 SCR_JUMPR ^ IFFALSE (MASK (WSR, WSR)), 1675 SCR_CALL ^ IFTRUE (MASK (WSR, WSR)), [all …]
|
A D | sym_fw1.h | 236 SCR_INT ^ IFTRUE (MASK (SEM, SEM)), 453 SCR_JUMPR ^ IFTRUE (MASK (IRST, IRST)), 478 SCR_JUMP ^ IFTRUE (MASK (WSR, WSR)), 538 SCR_JUMP ^ IFTRUE (MASK (WSS, WSS)), 949 SCR_JUMP ^ IFTRUE (MASK (0x80, 0xbf)), 955 SCR_INT ^ IFFALSE (MASK (0x80, 0x80)), 1207 SCR_JUMP ^ IFTRUE (MASK (HF_DATA_IN, HF_DATA_IN)), 1390 SCR_JUMP ^ IFTRUE (MASK (0x00, 0xf0)), 1392 SCR_JUMP ^ IFTRUE (MASK (0x10, 0xf0)), 1398 SCR_JUMP ^ IFFALSE (MASK (0x20, 0xf0)), [all …]
|
/linux/tools/testing/selftests/bpf/progs/ |
A D | test_pkt_md_access.c | 11 #define TEST_FIELD(TYPE, FIELD, MASK) \ argument 14 if (tmp != ((*(volatile __u32 *)&skb->FIELD) & MASK)) \ 19 #define TEST_FIELD(TYPE, FIELD, MASK) \ argument 23 if (tmp != ((*(volatile __u32 *)&skb->FIELD) & MASK)) \
|
/linux/include/linux/irqchip/ |
A D | arm-gic-v3.h | 179 GIC_BASER_CACHEABILITY(GICR_PROPBASER, INNER, MASK) 181 GIC_BASER_CACHEABILITY(GICR_PROPBASER, OUTER, MASK) 206 GIC_BASER_CACHEABILITY(GICR_PENDBASER, INNER, MASK) 208 GIC_BASER_CACHEABILITY(GICR_PENDBASER, OUTER, MASK) 275 GIC_BASER_CACHEABILITY(GICR_VPROPBASER, INNER, MASK) 277 GIC_BASER_CACHEABILITY(GICR_VPROPBASER, OUTER, MASK) 313 GIC_BASER_CACHEABILITY(GICR_VPENDBASER, INNER, MASK) 417 GIC_BASER_CACHEABILITY(GITS_CBASER, INNER, MASK) 419 GIC_BASER_CACHEABILITY(GITS_CBASER, OUTER, MASK) 444 GIC_BASER_CACHEABILITY(GITS_BASER, INNER, MASK) [all …]
|
/linux/arch/arm/crypto/ |
A D | poly1305-armv4.pl | 1101 vorn $MASK,$MASK,$MASK @ all-ones, can be redundant 1103 vshr.u64 $MASK,$MASK,#38 1145 vorn $MASK,$MASK,$MASK @ all-ones 1147 vshr.u64 $MASK,$MASK,#38 1166 vand.i64 $D3,$D3,$MASK 1168 vand.i64 $D0,$D0,$MASK 1173 vand.i64 $D4,$D4,$MASK 1175 vand.i64 $D1,$D1,$MASK 1181 vand.i64 $D2,$D2,$MASK 1186 vand.i64 $D0,$D0,$MASK [all …]
|
/linux/arch/arm64/crypto/ |
A D | poly1305-armv8.pl | 267 my ($T0,$T1,$MASK) = map("v$_",(29..31)); 542 movi $MASK.2d,#-1 546 ushr $MASK.2d,$MASK.2d,#38 708 and $ACC0,$ACC0,$MASK.2d 848 and $ACC3,$ACC3,$MASK.2d 850 and $ACC0,$ACC0,$MASK.2d 856 and $ACC4,$ACC4,$MASK.2d 858 and $ACC1,$ACC1,$MASK.2d 864 and $ACC2,$ACC2,$MASK.2d 869 and $ACC0,$ACC0,$MASK.2d [all …]
|
/linux/drivers/gpu/drm/hisilicon/kirin/ |
A D | kirin_ade_reg.h | 13 #define MASK(x) (BIT(x) - 1) macro 17 #define FRM_END_START_MASK MASK(2) 50 #define CH_OVLY_SEL_MASK MASK(2) 99 #define QOSGENERATOR_MODE_MASK MASK(2)
|
/linux/drivers/dma/dw/ |
A D | core.c | 124 channel_set_bit(dw, MASK.XFER, dwc->mask); in dwc_initialize() 125 channel_set_bit(dw, MASK.ERROR, dwc->mask); in dwc_initialize() 490 channel_set_bit(dw, MASK.XFER, dw->all_chan_mask); in dw_dma_tasklet() 491 channel_set_bit(dw, MASK.ERROR, dw->all_chan_mask); in dw_dma_tasklet() 514 channel_clear_bit(dw, MASK.XFER, dw->all_chan_mask); in dw_dma_interrupt() 525 channel_clear_bit(dw, MASK.XFER, (1 << 8) - 1); in dw_dma_interrupt() 526 channel_clear_bit(dw, MASK.BLOCK, (1 << 8) - 1); in dw_dma_interrupt() 529 channel_clear_bit(dw, MASK.ERROR, (1 << 8) - 1); in dw_dma_interrupt() 1035 channel_clear_bit(dw, MASK.XFER, dwc->mask); in dwc_free_chan_resources() 1036 channel_clear_bit(dw, MASK.BLOCK, dwc->mask); in dwc_free_chan_resources() [all …]
|
/linux/drivers/clk/tegra/ |
A D | clk-tegra-periph.c | 130 #define MASK(x) (BIT(x) - 1) macro 135 30, MASK(2), 0, 0, 8, 1, TEGRA_DIVIDER_ROUND_UP, \ 142 30, MASK(2), 0, 0, 8, 1, TEGRA_DIVIDER_ROUND_UP,\ 149 29, MASK(3), 0, 0, 8, 1, TEGRA_DIVIDER_ROUND_UP,\ 168 30, MASK(2), 0, 0, 8, 1, TEGRA_DIVIDER_INT| \ 175 30, MASK(2), 0, 0, 8, 1, TEGRA_DIVIDER_INT| \ 182 29, MASK(3), 0, 0, 8, 1, TEGRA_DIVIDER_INT| \ 189 30, MASK(2), 0, 0, 16, 1, TEGRA_DIVIDER_UART| \ 196 29, MASK(3), 0, 0, 16, 1, TEGRA_DIVIDER_UART| \ 203 30, MASK(2), 0, 0, 16, 0, TEGRA_DIVIDER_ROUND_UP,\ [all …]
|
/linux/net/openvswitch/ |
A D | datapath.h | 279 #define OVS_MASKED(OLD, KEY, MASK) ((KEY) | ((OLD) & ~(MASK))) argument 280 #define OVS_SET_MASKED(OLD, KEY, MASK) ((OLD) = OVS_MASKED(OLD, KEY, MASK)) argument
|
/linux/drivers/scsi/ |
A D | vmw_pvscsi.h | 31 #define MASK(n) ((1 << (n)) - 1) /* make an n-bit mask */ macro 410 #define PVSCSI_INTR_CMPL_MASK MASK(2) 414 #define PVSCSI_INTR_MSG_MASK (MASK(2) << 2) 416 #define PVSCSI_INTR_ALL_SUPPORTED MASK(4)
|
/linux/lib/raid6/ |
A D | s390vx.uc | 38 * For each of the 16 bytes in the vector register y the MASK() 43 static inline void MASK(int x, int y) 101 MASK(16+$$,8+$$); 135 MASK(16+$$,8+$$); 145 MASK(16+$$,8+$$);
|
A D | int.uc | 69 * The MASK() operation returns 0xFF in any byte for which the high 72 static inline __attribute_const__ unative_t MASK(unative_t v) 99 w2$$ = MASK(wq$$); 129 w2$$ = MASK(wq$$); 137 w2$$ = MASK(wq$$);
|
A D | neon.uc | 43 * The MASK() operation returns 0xFF in any byte for which the high 46 static inline unative_t MASK(unative_t v) 74 w2$$ = MASK(wq$$); 108 w2$$ = MASK(wq$$); 140 w2$$ = MASK(wq$$);
|
/linux/tools/testing/selftests/ftrace/test.d/ftrace/ |
A D | func_cpumask.tc | 29 MASK=0x`cat tracing_cpumask` 30 test `printf "%d" $MASK` -eq 2 || do_reset
|
/linux/include/video/ |
A D | gbe.h | 81 #define MASK(msb, lsb) \ macro 84 ( ((u32)(v) & MASK(msb,lsb)) >> (lsb) ) 86 ( (v) = ((v)&~MASK(msb,lsb)) | (( (u32)(f)<<(lsb) ) & MASK(msb,lsb)) )
|
/linux/drivers/gpu/drm/i915/ |
A D | i915_syncmap.c | 33 #define MASK (KSYNCMAP - 1) macro 114 return (id >> p->height) & MASK; in __sync_branch_idx() 121 return id & MASK; in __sync_leaf_idx() 305 idx = p->prefix >> (above - SHIFT) & MASK; in __sync_set()
|