Home
last modified time | relevance | path

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

/drivers/gpu/drm/nouveau/nvkm/engine/gr/
Dctxgk104.c941 u64 amask = 0, bmask = 0; in gk104_grctx_generate_alpha_beta_tables() local
962 bmask |= (u64)pmask << (gpc * 8); in gk104_grctx_generate_alpha_beta_tables()
971 for (j = 0; j < gr->gpc_nr; j += 4, amask >>= 32, bmask >>= 32) { in gk104_grctx_generate_alpha_beta_tables()
973 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.c1264 u32 bmask; in bnxt_qplib_modify_qp() local
1271 bmask = qp->modify_flags; in bnxt_qplib_modify_qp()
1274 if (bmask & CMDQ_MODIFY_QP_MODIFY_MASK_STATE) { in bnxt_qplib_modify_qp()
1282 if (bmask & CMDQ_MODIFY_QP_MODIFY_MASK_ACCESS) in bnxt_qplib_modify_qp()
1285 if (bmask & CMDQ_MODIFY_QP_MODIFY_MASK_PKEY) { in bnxt_qplib_modify_qp()
1290 if (bmask & CMDQ_MODIFY_QP_MODIFY_MASK_QKEY) in bnxt_qplib_modify_qp()
1293 if (bmask & CMDQ_MODIFY_QP_MODIFY_MASK_DGID) { in bnxt_qplib_modify_qp()
1300 if (bmask & CMDQ_MODIFY_QP_MODIFY_MASK_FLOW_LABEL) in bnxt_qplib_modify_qp()
1303 if (bmask & CMDQ_MODIFY_QP_MODIFY_MASK_SGID_INDEX) in bnxt_qplib_modify_qp()
1307 if (bmask & CMDQ_MODIFY_QP_MODIFY_MASK_HOP_LIMIT) in bnxt_qplib_modify_qp()
[all …]
/drivers/gpu/drm/tegra/
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()
/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()
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()
/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);
3874 if (!((1 << i) & hc->bmask[pt])) /* skip unused chan */ in hfcmulti_initmode()
4566 if (!((1 << i) & hc->bmask[pt])) /* skip unused chan */ in release_port()
4825 if (!((1 << ch) & hc->bmask[pt])) /* skip unused channel */ in init_e1_port()
5043 hc->bmask[pt] = bmask[bmask_cnt++]; in hfcmulti_init()
5044 if ((maskcheck & hc->bmask[pt]) in hfcmulti_init()
5045 || (dmask[E1_cnt] & hc->bmask[pt])) { in hfcmulti_init()
5052 maskcheck |= hc->bmask[pt]; in hfcmulti_init()
5055 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.c698 u8 wr_val = 0, rd_val, cmp_val, bmask; in brcmf_sdio_kso_control() local
730 bmask = cmp_val; in brcmf_sdio_kso_control()
738 bmask = SBSDIO_FUNC1_SLEEPCSR_KSO_MASK; in brcmf_sdio_kso_control()
750 if ((rd_val & bmask) == cmp_val) in brcmf_sdio_kso_control()
/drivers/md/
Dmd.c1641 int bmask; in super_1_load() local
1709 bmask = queue_logical_block_size(rdev->bdev->bd_disk->queue)-1; in super_1_load()
1710 if (rdev->sb_size & bmask) in super_1_load()
1711 rdev->sb_size = (rdev->sb_size | bmask) + 1; in super_1_load()
2152 int bmask; in super_1_sync() local
2155 bmask = queue_logical_block_size(rdev->bdev->bd_disk->queue)-1; in super_1_sync()
2156 if (rdev->sb_size & bmask) in super_1_sync()
2157 rdev->sb_size = (rdev->sb_size | bmask) + 1; in super_1_sync()
/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_selftests.c1457 struct flow_dissector_key_basic bmask; in __stmmac_test_l4filt() member
/drivers/scsi/lpfc/
Dlpfc_sli.c6332 unsigned long *bmask; in lpfc_sli4_alloc_extent() local
6422 bmask = phba->sli4_hba.rpi_bmask; in lpfc_sli4_alloc_extent()
6442 bmask = phba->vpi_bmask; in lpfc_sli4_alloc_extent()
6465 bmask = phba->sli4_hba.xri_bmask; in lpfc_sli4_alloc_extent()
6487 bmask = phba->sli4_hba.vfi_bmask; in lpfc_sli4_alloc_extent()
6494 bmask = NULL; in lpfc_sli4_alloc_extent()
6517 kfree(bmask); in lpfc_sli4_alloc_extent()