Home
last modified time | relevance | path

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

/drivers/gpu/drm/nouveau/nvkm/engine/gr/
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()
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()
/drivers/infiniband/hw/bnxt_re/
Dqplib_fp.c1189 u32 bmask; in bnxt_qplib_modify_qp() local
1196 bmask = qp->modify_flags; in bnxt_qplib_modify_qp()
1199 if (bmask & CMDQ_MODIFY_QP_MODIFY_MASK_STATE) { in bnxt_qplib_modify_qp()
1207 if (bmask & CMDQ_MODIFY_QP_MODIFY_MASK_ACCESS) in bnxt_qplib_modify_qp()
1210 if (bmask & CMDQ_MODIFY_QP_MODIFY_MASK_PKEY) { in bnxt_qplib_modify_qp()
1215 if (bmask & CMDQ_MODIFY_QP_MODIFY_MASK_QKEY) in bnxt_qplib_modify_qp()
1218 if (bmask & CMDQ_MODIFY_QP_MODIFY_MASK_DGID) { in bnxt_qplib_modify_qp()
1225 if (bmask & CMDQ_MODIFY_QP_MODIFY_MASK_FLOW_LABEL) in bnxt_qplib_modify_qp()
1228 if (bmask & CMDQ_MODIFY_QP_MODIFY_MASK_SGID_INDEX) in bnxt_qplib_modify_qp()
1232 if (bmask & CMDQ_MODIFY_QP_MODIFY_MASK_HOP_LIMIT) in bnxt_qplib_modify_qp()
[all …]
/drivers/net/wireless/broadcom/b43/
Dtables_nphy.h26 u16 bmask; member
Dphy_n.c304 b43_phy_maskset(dev, addr, ~(rf_ctrl->bmask), in b43_nphy_rf_ctl_override()
3604 u16 bmask, val, tmp; in b43_nphy_tx_power_ctrl() local
3659 bmask = B43_NPHY_TXPCTL_CMD_COEFF | in b43_nphy_tx_power_ctrl()
3664 bmask |= B43_NPHY_TXPCTL_CMD_PCTLEN; in b43_nphy_tx_power_ctrl()
3668 b43_phy_maskset(dev, B43_NPHY_TXPCTL_CMD, ~(bmask), val); in b43_nphy_tx_power_ctrl()
/drivers/scsi/
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()
/drivers/isdn/hardware/mISDN/
Dhfcmulti.c206 static uint bmask[MAX_FRAGS]; variable
235 module_param_array(bmask, uint, NULL, S_IRUGO | S_IWUSR);
3869 if (!((1 << i) & hc->bmask[pt])) /* skip unused chan */ in hfcmulti_initmode()
4561 if (!((1 << i) & hc->bmask[pt])) /* skip unused chan */ in release_port()
4820 if (!((1 << ch) & hc->bmask[pt])) /* skip unused channel */ in init_e1_port()
5038 hc->bmask[pt] = bmask[bmask_cnt++]; in hfcmulti_init()
5039 if ((maskcheck & hc->bmask[pt]) in hfcmulti_init()
5040 || (dmask[E1_cnt] & hc->bmask[pt])) { in hfcmulti_init()
5047 maskcheck |= hc->bmask[pt]; in hfcmulti_init()
5050 E1_cnt + 1, ch, hc->bmask[pt]); in hfcmulti_init()
[all …]
Dhfc_multi.h213 u_int bmask[32]; /* bitmask of bchannels for port */ member
/drivers/net/ethernet/netronome/nfp/bpf/
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()
/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dsdio.c663 u8 wr_val = 0, rd_val, cmp_val, bmask; in brcmf_sdio_kso_control() local
695 bmask = cmp_val; in brcmf_sdio_kso_control()
703 bmask = SBSDIO_FUNC1_SLEEPCSR_KSO_MASK; in brcmf_sdio_kso_control()
715 if ((rd_val & bmask) == cmp_val) in brcmf_sdio_kso_control()
/drivers/md/
Dmd.c1547 int bmask; in super_1_load() local
1615 bmask = queue_logical_block_size(rdev->bdev->bd_disk->queue)-1; in super_1_load()
1616 if (rdev->sb_size & bmask) in super_1_load()
1617 rdev->sb_size = (rdev->sb_size | bmask) + 1; in super_1_load()
2026 int bmask; in super_1_sync() local
2029 bmask = queue_logical_block_size(rdev->bdev->bd_disk->queue)-1; in super_1_sync()
2030 if (rdev->sb_size & bmask) in super_1_sync()
2031 rdev->sb_size = (rdev->sb_size | bmask) + 1; in super_1_sync()
/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_selftests.c1418 struct flow_dissector_key_basic bmask; in __stmmac_test_l4filt() member
/drivers/scsi/lpfc/
Dlpfc_sli.c5813 unsigned long *bmask; in lpfc_sli4_alloc_extent() local
5903 bmask = phba->sli4_hba.rpi_bmask; in lpfc_sli4_alloc_extent()
5923 bmask = phba->vpi_bmask; in lpfc_sli4_alloc_extent()
5946 bmask = phba->sli4_hba.xri_bmask; in lpfc_sli4_alloc_extent()
5968 bmask = phba->sli4_hba.vfi_bmask; in lpfc_sli4_alloc_extent()
5975 bmask = NULL; in lpfc_sli4_alloc_extent()
5998 kfree(bmask); in lpfc_sli4_alloc_extent()