Home
last modified time | relevance | path

Searched refs:bmask (Results 1 – 19 of 19) sorted by relevance

/linux/drivers/gpu/drm/nouveau/nvkm/engine/gr/
A Dctxgk104.c939 u64 amask = 0, bmask = 0; in gk104_grctx_generate_alpha_beta_tables() local
960 bmask |= (u64)pmask << (gpc * 8); in gk104_grctx_generate_alpha_beta_tables()
969 for (j = 0; j < gr->gpc_nr; j += 4, amask >>= 32, bmask >>= 32) { in gk104_grctx_generate_alpha_beta_tables()
971 nvkm_wr32(device, 0x406c00 + (i * 0x20) + j, bmask); in gk104_grctx_generate_alpha_beta_tables()
A Dctxgf100.c1279 u32 abits[GPC_MAX] = {}, amask = 0, bmask = 0; in gf100_grctx_generate_alpha_beta_tables() local
1298 bmask |= ((1 << bbits) - 1) << abits[gpc] << (gpc * 8); in gf100_grctx_generate_alpha_beta_tables()
1302 nvkm_wr32(device, 0x406c00 + (i * 0x20), bmask); in gf100_grctx_generate_alpha_beta_tables()
/linux/include/linux/ceph/
A Drados.h98 static inline int ceph_stable_mod(int x, int b, int bmask) in ceph_stable_mod() argument
100 if ((x & bmask) < b) in ceph_stable_mod()
101 return x & bmask; in ceph_stable_mod()
103 return x & (bmask >> 1); in ceph_stable_mod()
/linux/drivers/infiniband/hw/bnxt_re/
A Dqplib_fp.c1237 u32 bmask; in bnxt_qplib_modify_qp() local
1244 bmask = qp->modify_flags; in bnxt_qplib_modify_qp()
1247 if (bmask & CMDQ_MODIFY_QP_MODIFY_MASK_STATE) { in bnxt_qplib_modify_qp()
1255 if (bmask & CMDQ_MODIFY_QP_MODIFY_MASK_ACCESS) in bnxt_qplib_modify_qp()
1258 if (bmask & CMDQ_MODIFY_QP_MODIFY_MASK_PKEY) { in bnxt_qplib_modify_qp()
1263 if (bmask & CMDQ_MODIFY_QP_MODIFY_MASK_QKEY) in bnxt_qplib_modify_qp()
1266 if (bmask & CMDQ_MODIFY_QP_MODIFY_MASK_DGID) { in bnxt_qplib_modify_qp()
1286 if (bmask & CMDQ_MODIFY_QP_MODIFY_MASK_DEST_MAC) in bnxt_qplib_modify_qp()
1292 if (bmask & CMDQ_MODIFY_QP_MODIFY_MASK_TIMEOUT) in bnxt_qplib_modify_qp()
1304 if (bmask & CMDQ_MODIFY_QP_MODIFY_MASK_RQ_PSN) in bnxt_qplib_modify_qp()
[all …]
/linux/arch/sparc/kernel/
A Dvisemul.c406 static void bmask(struct pt_regs *regs, unsigned int insn) in bmask() function
426 unsigned long bmask, i; in bshuffle() local
428 bmask = current_thread_info()->gsr[0] >> 32UL; in bshuffle()
435 unsigned long which = (bmask >> (i * 4)) & 0xf; in bshuffle()
888 bmask(regs, insn); in vis_emul()
/linux/drivers/gpu/drm/tegra/
A Dfirewall.c85 unsigned long bmask = mask; in fw_check_regs_mask() local
88 for_each_set_bit(bit, &bmask, 16) { in fw_check_regs_mask()
/linux/arch/x86/boot/
A Dvesa.h54 u8 bmask; /* 35 */ member
/linux/fs/jfs/
A Dnamei.c883 int bmask = 0, xsize; in jfs_symlink() local
979 bmask = JFS_SBI(sb)->bsize - 1; in jfs_symlink()
980 xsize = (ssize + bmask) & ~bmask; in jfs_symlink()
/linux/drivers/net/wireless/broadcom/b43/
A Dtables_nphy.h26 u16 bmask; member
A Dphy_n.c304 b43_phy_maskset(dev, addr, ~(rf_ctrl->bmask), in b43_nphy_rf_ctl_override()
3605 u16 bmask, val, tmp; in b43_nphy_tx_power_ctrl() local
3660 bmask = B43_NPHY_TXPCTL_CMD_COEFF | in b43_nphy_tx_power_ctrl()
3665 bmask |= B43_NPHY_TXPCTL_CMD_PCTLEN; in b43_nphy_tx_power_ctrl()
3669 b43_phy_maskset(dev, B43_NPHY_TXPCTL_CMD, ~(bmask), val); in b43_nphy_tx_power_ctrl()
/linux/drivers/scsi/
A Dqlogicpti.c787 u8 bursts, bmask; in qpti_get_bursts() local
790 bmask = of_getintprop_default(op->dev.of_node->parent, "burst-sizes", 0xff); in qpti_get_bursts()
791 if (bmask != 0xff) in qpti_get_bursts()
792 bursts &= bmask; in qpti_get_bursts()
/linux/lib/842/
A D842_compress.c150 static u8 bmask[8] = { 0x00, 0x80, 0xc0, 0xe0, 0xf0, 0xf8, 0xfc, 0xfe }; variable
191 o = *out & bmask[b]; in add_bits()
/linux/drivers/isdn/hardware/mISDN/
A Dhfcmulti.c206 static uint bmask[MAX_FRAGS]; variable
235 module_param_array(bmask, uint, NULL, S_IRUGO | S_IWUSR);
3867 if (!((1 << i) & hc->bmask[pt])) /* skip unused chan */ in hfcmulti_initmode()
4559 if (!((1 << i) & hc->bmask[pt])) /* skip unused chan */ in release_port()
4818 if (!((1 << ch) & hc->bmask[pt])) /* skip unused channel */ in init_e1_port()
5036 hc->bmask[pt] = bmask[bmask_cnt++]; in hfcmulti_init()
5037 if ((maskcheck & hc->bmask[pt]) in hfcmulti_init()
5038 || (dmask[E1_cnt] & hc->bmask[pt])) { in hfcmulti_init()
5045 maskcheck |= hc->bmask[pt]; in hfcmulti_init()
5048 E1_cnt + 1, ch, hc->bmask[pt]); in hfcmulti_init()
[all …]
A Dhfc_multi.h213 u_int bmask[32]; /* bitmask of bchannels for port */ member
/linux/drivers/net/ethernet/netronome/nfp/bpf/
A Djit.c488 u8 areg, u8 bmask, u8 breg, u8 shift, bool imm8, in __emit_ld_field() argument
501 FIELD_PREP(OP_LDF_BMASK, bmask) | in __emit_ld_field()
511 emit_ld_field_any(struct nfp_prog *nfp_prog, swreg dst, u8 bmask, swreg src, in emit_ld_field_any() argument
524 __emit_ld_field(nfp_prog, sc, reg.areg, bmask, reg.breg, shift, in emit_ld_field_any()
530 emit_ld_field(struct nfp_prog *nfp_prog, swreg dst, u8 bmask, swreg src, in emit_ld_field() argument
533 emit_ld_field_any(nfp_prog, dst, bmask, src, sc, shift, false); in emit_ld_field()
/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
A Dsdio.c699 u8 wr_val = 0, rd_val, cmp_val, bmask; in brcmf_sdio_kso_control() local
731 bmask = cmp_val; in brcmf_sdio_kso_control()
739 bmask = SBSDIO_FUNC1_SLEEPCSR_KSO_MASK; in brcmf_sdio_kso_control()
751 if ((rd_val & bmask) == cmp_val) in brcmf_sdio_kso_control()
/linux/drivers/md/
A Dmd.c1620 int bmask; in super_1_load() local
1687 bmask = queue_logical_block_size(rdev->bdev->bd_disk->queue)-1; in super_1_load()
1688 if (rdev->sb_size & bmask) in super_1_load()
1689 rdev->sb_size = (rdev->sb_size | bmask) + 1; in super_1_load()
2097 int bmask; in super_1_sync() local
2100 bmask = queue_logical_block_size(rdev->bdev->bd_disk->queue)-1; in super_1_sync()
2101 if (rdev->sb_size & bmask) in super_1_sync()
2102 rdev->sb_size = (rdev->sb_size | bmask) + 1; in super_1_sync()
/linux/drivers/net/ethernet/stmicro/stmmac/
A Dstmmac_selftests.c1458 struct flow_dissector_key_basic bmask; in __stmmac_test_l4filt() member
/linux/drivers/scsi/lpfc/
A Dlpfc_sli.c6336 unsigned long *bmask; in lpfc_sli4_alloc_extent() local
6426 bmask = phba->sli4_hba.rpi_bmask; in lpfc_sli4_alloc_extent()
6446 bmask = phba->vpi_bmask; in lpfc_sli4_alloc_extent()
6469 bmask = phba->sli4_hba.xri_bmask; in lpfc_sli4_alloc_extent()
6491 bmask = phba->sli4_hba.vfi_bmask; in lpfc_sli4_alloc_extent()
6498 bmask = NULL; in lpfc_sli4_alloc_extent()
6521 kfree(bmask); in lpfc_sli4_alloc_extent()

Completed in 109 milliseconds