/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/engine/gr/ |
H A D | ctxgk104.c | 931 u64 amask = 0, bmask = 0; in gk104_grctx_generate_alpha_beta_tables() local 952 bmask |= (u64)pmask << (gpc * 8); in gk104_grctx_generate_alpha_beta_tables() 961 for (j = 0; j < gr->gpc_nr; j += 4, amask >>= 32, bmask >>= 32) { in gk104_grctx_generate_alpha_beta_tables() 963 nvkm_wr32(device, 0x406c00 + (i * 0x20) + j, bmask); in gk104_grctx_generate_alpha_beta_tables()
|
H A D | ctxgf100.c | 1257 u32 abits[GPC_MAX] = {}, amask = 0, bmask = 0; in gf100_grctx_generate_alpha_beta_tables() local 1276 bmask |= ((1 << bbits) - 1) << abits[gpc] << (gpc * 8); in gf100_grctx_generate_alpha_beta_tables() 1280 nvkm_wr32(device, 0x406c00 + (i * 0x20), bmask); in gf100_grctx_generate_alpha_beta_tables()
|
/openbmc/linux/include/linux/ceph/ |
H A D | rados.h | 98 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()
|
/openbmc/linux/arch/sparc/kernel/ |
H A D | visemul.c | 406 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()
|
/openbmc/linux/arch/x86/boot/ |
H A D | vesa.h | 54 u8 bmask; /* 35 */ member
|
/openbmc/linux/drivers/gpu/drm/tegra/ |
H A D | firewall.c | 85 unsigned long bmask = mask; in fw_check_regs_mask() local 88 for_each_set_bit(bit, &bmask, 16) { in fw_check_regs_mask()
|
/openbmc/linux/drivers/infiniband/hw/bnxt_re/ |
H A D | qplib_fp.c | 1273 u32 bmask; in bnxt_qplib_modify_qp() local 1282 bmask = qp->modify_flags; in bnxt_qplib_modify_qp() 1285 if (bmask & CMDQ_MODIFY_QP_MODIFY_MASK_STATE) { in bnxt_qplib_modify_qp() 1293 if (bmask & CMDQ_MODIFY_QP_MODIFY_MASK_ACCESS) in bnxt_qplib_modify_qp() 1296 if (bmask & CMDQ_MODIFY_QP_MODIFY_MASK_PKEY) in bnxt_qplib_modify_qp() 1299 if (bmask & CMDQ_MODIFY_QP_MODIFY_MASK_QKEY) in bnxt_qplib_modify_qp() 1302 if (bmask & CMDQ_MODIFY_QP_MODIFY_MASK_DGID) { in bnxt_qplib_modify_qp() 1322 if (bmask & CMDQ_MODIFY_QP_MODIFY_MASK_DEST_MAC) in bnxt_qplib_modify_qp() 1328 if (bmask & CMDQ_MODIFY_QP_MODIFY_MASK_TIMEOUT) in bnxt_qplib_modify_qp() 1340 if (bmask & CMDQ_MODIFY_QP_MODIFY_MASK_RQ_PSN) in bnxt_qplib_modify_qp() [all …]
|
/openbmc/qemu/include/ui/ |
H A D | qemu-pixman.h | 66 uint32_t rmask, gmask, bmask, amask; member
|
/openbmc/linux/drivers/net/wireless/broadcom/b43/ |
H A D | tables_nphy.h | 26 u16 bmask; member
|
H A D | phy_n.c | 304 b43_phy_maskset(dev, addr, ~(rf_ctrl->bmask), in b43_nphy_rf_ctl_override() 3601 u16 bmask, val, tmp; in b43_nphy_tx_power_ctrl() local 3656 bmask = B43_NPHY_TXPCTL_CMD_COEFF | in b43_nphy_tx_power_ctrl() 3661 bmask |= B43_NPHY_TXPCTL_CMD_PCTLEN; in b43_nphy_tx_power_ctrl() 3665 b43_phy_maskset(dev, B43_NPHY_TXPCTL_CMD, ~(bmask), val); in b43_nphy_tx_power_ctrl()
|
/openbmc/linux/fs/jfs/ |
H A D | namei.c | 888 int bmask = 0, xsize; in jfs_symlink() local 984 bmask = JFS_SBI(sb)->bsize - 1; in jfs_symlink() 985 xsize = (ssize + bmask) & ~bmask; in jfs_symlink()
|
/openbmc/linux/lib/842/ |
H A D | 842_compress.c | 150 static u8 bmask[8] = { 0x00, 0x80, 0xc0, 0xe0, 0xf0, 0xf8, 0xfc, 0xfe }; variable 191 o = *out & bmask[b]; in add_bits()
|
/openbmc/linux/drivers/scsi/ |
H A D | qlogicpti.c | 787 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()
|
/openbmc/qemu/ui/ |
H A D | qemu-pixman.c | 63 pf.bmask = pf.bmax << pf.bshift; in qemu_pixelformat_from_pixman()
|
H A D | vnc.c | 2313 vs->client_pf.bmask = blue_max << blue_shift; in set_pixel_format()
|
/openbmc/linux/drivers/isdn/hardware/mISDN/ |
H A D | hfcmulti.c | 206 static uint bmask[MAX_FRAGS]; variable 235 module_param_array(bmask, uint, NULL, S_IRUGO | S_IWUSR); 3844 if (!((1 << i) & hc->bmask[pt])) /* skip unused chan */ in hfcmulti_initmode() 4536 if (!((1 << i) & hc->bmask[pt])) /* skip unused chan */ in release_port() 4795 if (!((1 << ch) & hc->bmask[pt])) /* skip unused channel */ in init_e1_port() 5013 hc->bmask[pt] = bmask[bmask_cnt++]; in hfcmulti_init() 5014 if ((maskcheck & hc->bmask[pt]) in hfcmulti_init() 5015 || (dmask[E1_cnt] & hc->bmask[pt])) { in hfcmulti_init() 5022 maskcheck |= hc->bmask[pt]; in hfcmulti_init() 5025 E1_cnt + 1, ch, hc->bmask[pt]); in hfcmulti_init() [all …]
|
H A D | hfc_multi.h | 213 u_int bmask[32]; /* bitmask of bchannels for port */ member
|
/openbmc/linux/drivers/net/ethernet/microchip/vcap/ |
H A D | vcap_api.c | 177 u8 total = 0, bmask = 0xff; in vcap_bitarray_zero() local 183 bmask = (1 << rwidth) - 1; in vcap_bitarray_zero() 184 total += value[idx] & bmask; in vcap_bitarray_zero() 1054 u8 bmask; in vcap_apply_width() local 1060 bmask = (1 << width) - 1; in vcap_apply_width() 1062 bmask = ~0; in vcap_apply_width() 1064 bmask = 0; in vcap_apply_width() 1065 dst[idx] &= bmask; in vcap_apply_width()
|
/openbmc/qemu/target/arm/tcg/ |
H A D | mve_helper.c | 730 uint16_t bmask = expand_pred_b(mask); in mergemask_uh() local 731 *d = (*d & ~bmask) | (r & bmask); in mergemask_uh() 741 uint32_t bmask = expand_pred_b(mask); in mergemask_uw() local 742 *d = (*d & ~bmask) | (r & bmask); in mergemask_uw() 752 uint64_t bmask = expand_pred_b(mask); in mergemask_uq() local 753 *d = (*d & ~bmask) | (r & bmask); in mergemask_uq()
|
/openbmc/linux/drivers/net/ethernet/netronome/nfp/bpf/ |
H A D | jit.c | 488 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()
|
/openbmc/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
H A D | sdio.c | 699 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()
|
/openbmc/linux/drivers/md/ |
H A D | md.c | 1607 int bmask; in super_1_load() local 1674 bmask = queue_logical_block_size(rdev->bdev->bd_disk->queue)-1; in super_1_load() 1675 if (rdev->sb_size & bmask) in super_1_load() 1676 rdev->sb_size = (rdev->sb_size | bmask) + 1; in super_1_load() 2116 int bmask; in super_1_sync() local 2119 bmask = queue_logical_block_size(rdev->bdev->bd_disk->queue)-1; in super_1_sync() 2120 if (rdev->sb_size & bmask) in super_1_sync() 2121 rdev->sb_size = (rdev->sb_size | bmask) + 1; in super_1_sync()
|
/openbmc/qemu/hw/display/ |
H A D | vmware_vga.c | 868 ret = pf.bmask; in vmsvga_value_read()
|
/openbmc/linux/drivers/net/ethernet/stmicro/stmmac/ |
H A D | stmmac_selftests.c | 1457 struct flow_dissector_key_basic bmask; in __stmmac_test_l4filt() member
|
/openbmc/linux/drivers/scsi/lpfc/ |
H A D | lpfc_sli.c | 6414 unsigned long *bmask; in lpfc_sli4_alloc_extent() local 6504 bmask = phba->sli4_hba.rpi_bmask; in lpfc_sli4_alloc_extent() 6524 bmask = phba->vpi_bmask; in lpfc_sli4_alloc_extent() 6547 bmask = phba->sli4_hba.xri_bmask; in lpfc_sli4_alloc_extent() 6569 bmask = phba->sli4_hba.vfi_bmask; in lpfc_sli4_alloc_extent() 6576 bmask = NULL; in lpfc_sli4_alloc_extent() 6599 kfree(bmask); in lpfc_sli4_alloc_extent()
|