Symbol: pmask
arch/x86/mm/mem_encrypt_amd.c
262
int psize, pmask, level;
arch/x86/mm/mem_encrypt_amd.c
277
pmask = page_level_mask(level);
arch/x86/mm/mem_encrypt_amd.c
281
vaddr = (vaddr & pmask) + psize;
arch/x86/mm/mem_encrypt_amd.c
396
unsigned long psize, pmask;
arch/x86/mm/mem_encrypt_amd.c
419
pmask = page_level_mask(level);
arch/x86/mm/mem_encrypt_amd.c
427
if (vaddr == (vaddr & pmask) &&
arch/x86/mm/mem_encrypt_amd.c
430
vaddr_next = (vaddr & pmask) + psize;
arch/x86/mm/mem_encrypt_amd.c
449
kernel_physical_mapping_change(__pa(vaddr & pmask),
arch/x86/mm/mem_encrypt_amd.c
450
__pa((vaddr_end & pmask) + psize),
arch/x86/mm/pat/set_memory.c
925
unsigned long numpages, pmask, psize, lpaddr, pfn, old_pfn;
arch/x86/mm/pat/set_memory.c
955
pmask = page_level_mask(level);
arch/x86/mm/pat/set_memory.c
961
lpaddr = (address + psize) & pmask;
arch/x86/mm/pat/set_memory.c
999
lpaddr = address & pmask;
drivers/clk/sprd/pll.c
131
mask = pmask(pll, PLL_KINT);
drivers/clk/sprd/pll.c
164
mask = pmask(pll, PLL_PREDIV);
drivers/clk/sprd/pll.c
170
mask = pmask(pll, PLL_POSTDIV);
drivers/clk/sprd/pll.c
181
mask = pmask(pll, PLL_DIV_S);
drivers/clk/sprd/pll.c
186
mask = pmask(pll, PLL_SDM_EN);
drivers/clk/sprd/pll.c
192
mask = pmask(pll, PLL_NINT);
drivers/clk/sprd/pll.c
198
mask = pmask(pll, PLL_KINT);
drivers/clk/sprd/pll.c
210
mask = pmask(pll, PLL_IBIAS);
drivers/clk/sprd/pll.c
33
(cfg[pindex(pll, member)] & pmask(pll, member))
drivers/clk/sprd/pll.c
77
mask = pmask(pll, PLL_REFIN);
drivers/gpu/drm/nouveau/nvkm/engine/disp/g94.c
310
g94_sor_cnt(struct nvkm_disp *disp, unsigned long *pmask)
drivers/gpu/drm/nouveau/nvkm/engine/disp/g94.c
314
*pmask = (nvkm_rd32(device, 0x610184) & 0x0f000000) >> 24;
drivers/gpu/drm/nouveau/nvkm/engine/disp/gf119.c
344
gf119_sor_cnt(struct nvkm_disp *disp, unsigned long *pmask)
drivers/gpu/drm/nouveau/nvkm/engine/disp/gf119.c
347
*pmask = (nvkm_rd32(device, 0x612004) & 0x0000ff00) >> 8;
drivers/gpu/drm/nouveau/nvkm/engine/disp/gf119.c
392
gf119_dac_cnt(struct nvkm_disp *disp, unsigned long *pmask)
drivers/gpu/drm/nouveau/nvkm/engine/disp/gf119.c
395
*pmask = (nvkm_rd32(device, 0x612004) & 0x000000f0) >> 4;
drivers/gpu/drm/nouveau/nvkm/engine/disp/gf119.c
472
gf119_head_cnt(struct nvkm_disp *disp, unsigned long *pmask)
drivers/gpu/drm/nouveau/nvkm/engine/disp/gf119.c
475
*pmask = nvkm_rd32(device, 0x612004) & 0x0000000f;
drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.c
234
gv100_sor_cnt(struct nvkm_disp *disp, unsigned long *pmask)
drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.c
238
*pmask = (nvkm_rd32(device, 0x610060) & 0x0000ff00) >> 8;
drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.c
320
gv100_head_cnt(struct nvkm_disp *disp, unsigned long *pmask)
drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.c
324
*pmask = nvkm_rd32(device, 0x610060) & 0x000000ff;
drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.c
546
gv100_disp_wndw_cnt(struct nvkm_disp *disp, unsigned long *pmask)
drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.c
550
*pmask = nvkm_rd32(device, 0x610064);
drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c
153
nv50_pior_cnt(struct nvkm_disp *disp, unsigned long *pmask)
drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c
157
*pmask = (nvkm_rd32(device, 0x610184) & 0x70000000) >> 28;
drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c
266
nv50_sor_cnt(struct nvkm_disp *disp, unsigned long *pmask)
drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c
270
*pmask = (nvkm_rd32(device, 0x610184) & 0x03000000) >> 24;
drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c
362
nv50_dac_cnt(struct nvkm_disp *disp, unsigned long *pmask)
drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c
366
*pmask = (nvkm_rd32(device, 0x610184) & 0x00700000) >> 20;
drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c
443
nv50_head_cnt(struct nvkm_disp *disp, unsigned long *pmask)
drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c
445
*pmask = 3;
drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgk104.c
936
u32 abits, bbits, pmask;
drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgk104.c
946
pmask = gr->ppc_tpc_mask[gpc][ppc];
drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgk104.c
948
pmask &= pmask - 1;
drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgk104.c
949
amask |= (u64)pmask << (gpc * 8);
drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgk104.c
951
pmask ^= gr->ppc_tpc_mask[gpc][ppc];
drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgk104.c
952
bmask |= (u64)pmask << (gpc * 8);
drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c
127
u32 pmask;
drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c
150
if (ram->pmask & (1 << i))
drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c
1549
ram->pmask = nvkm_rd32(device, 0x022554);
drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c
1552
if (!(ram->pmask & (1 << i))) {
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/disp.c
1473
r535_disp_get_supported(struct nvkm_disp *disp, unsigned long *pmask)
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/disp.c
1482
*pmask = ctrl->displayMask;
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/disp.c
605
r535_sor_cnt(struct nvkm_disp *disp, unsigned long *pmask)
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/disp.c
607
*pmask = 0xf;
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r570/disp.c
214
r570_disp_get_supported(struct nvkm_disp *disp, unsigned long *pmask)
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r570/disp.c
223
*pmask = ctrl->displayMask;
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r570/gr.c
16
r570_gr_tpc_mask(struct nvkm_gsp *gsp, int gpc, u32 *pmask)
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r570/gr.c
32
*pmask = ctrl->tpcMask;
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r570/gr.c
39
r570_gr_gpc_mask(struct nvkm_gsp *gsp, u32 *pmask)
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r570/gr.c
48
*pmask = ctrl->gpcMask;
drivers/isdn/mISDN/stack.c
459
int pmask, err;
drivers/isdn/mISDN/stack.c
468
pmask = 1 << (protocol & ISDN_P_B_MASK);
drivers/isdn/mISDN/stack.c
469
if (pmask & dev->Bprotocols) {
drivers/isdn/mISDN/stack.c
481
bp = get_Bprotocol4mask(pmask);
drivers/net/dsa/realtek/rtl8366rb.c
303
#define RTL8366RB_PORT_ISO_PORTS(pmask) ((pmask) << 1)
drivers/net/dsa/yt921x.c
1435
u16 pmask;
drivers/net/dsa/yt921x.c
1446
res = yt921x_fdb_read(priv, addr, &vid, &pmask, &index, &status);
drivers/net/dsa/yt921x.c
1449
if ((pmask & ports_mask) && !is_multicast_ether_addr(addr)) {
drivers/net/dsa/yt921x.c
1470
res = yt921x_fdb_read(priv, addr, &vid, &pmask, &index,
drivers/net/dsa/yt921x.c
1474
if (!pmask)
drivers/net/dsa/yt921x.c
1477
if ((pmask & ports_mask) && !is_multicast_ether_addr(addr)) {
drivers/net/ethernet/broadcom/b44.c
1490
static int b44_magic_pattern(const u8 *macaddr, u8 *ppattern, u8 *pmask,
drivers/net/ethernet/broadcom/b44.c
1499
pmask[len >> 3] |= BIT(len & 7);
drivers/net/ethernet/broadcom/b44.c
1513
pmask[len >> 3] |= BIT(len & 7);
drivers/net/ethernet/chelsio/cxgb4/cxgb4.h
1988
unsigned int vi, unsigned int cmask, unsigned int pmask,
drivers/net/ethernet/chelsio/cxgb4/cxgb4.h
408
unsigned int pmask; /* port access rights mask */
drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c
2585
S("Port Access Rights Mask", "%#x", pmask);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
6286
unsigned int pmask, port;
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
6324
pmask = FW_PFVF_CMD_PMASK_G(be32_to_cpu(port_rpl.type_to_neq));
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
6325
port = ffs(pmask) - 1;
drivers/net/ethernet/chelsio/cxgb4/t4_hw.c
2886
pfres->pmask = FW_PFVF_CMD_PMASK_G(word);
drivers/net/ethernet/chelsio/cxgb4/t4_hw.c
7577
unsigned int vi, unsigned int cmask, unsigned int pmask,
drivers/net/ethernet/chelsio/cxgb4/t4_hw.c
7590
FW_PFVF_CMD_PMASK_V(pmask) |
drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c
2319
S("Port Access Rights Mask", "%#x", pmask);
drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c
2468
pmask_nports = hweight32(adapter->params.vfres.pmask);
drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c
2473
adapter->params.vfres.pmask);
drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c
2628
if (adapter->params.vfres.pmask == 0) {
drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c
2870
unsigned int pmask, rmask = 0;
drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c
2874
pmask = adapter->params.vfres.pmask;
drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c
2875
while (pmask) {
drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c
2876
if (pmask & 1) {
drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c
2881
pmask >>= 1;
drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c
2885
rmask = adapter->params.vfres.pmask;
drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c
2901
unsigned int pmask;
drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c
3030
pmask = cxgb4vf_get_port_mask(adapter);
drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c
3042
if (pmask == 0)
drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c
3044
port_id = ffs(pmask) - 1;
drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c
3045
pmask &= ~(1 << port_id);
drivers/net/ethernet/chelsio/cxgb4vf/t4vf_common.h
251
unsigned int pmask; /* port access rights mask */
drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c
1119
vfres->pmask = FW_PFVF_CMD_PMASK_G(word);
drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c
2155
adapter->params.vfres.pmask = 1;
drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c
546
struct flow_msg *pmask = &req->mask;
drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c
554
memcpy(&pmask->ip4src, &ipv4_usr_mask->ip4src,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c
555
sizeof(pmask->ip4src));
drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c
561
memcpy(&pmask->ip4dst, &ipv4_usr_mask->ip4dst,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c
562
sizeof(pmask->ip4dst));
drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c
567
pmask->tos = ipv4_usr_mask->tos;
drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c
595
pmask->etype = cpu_to_be16(0xFFFF);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c
602
pmask->etype = cpu_to_be16(0xFFFF);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c
607
memcpy(&pmask->ip4src, &ipv4_l4_mask->ip4src,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c
608
sizeof(pmask->ip4src));
drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c
614
memcpy(&pmask->ip4dst, &ipv4_l4_mask->ip4dst,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c
615
sizeof(pmask->ip4dst));
drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c
620
pmask->tos = ipv4_l4_mask->tos;
drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c
626
memcpy(&pmask->sport, &ipv4_l4_mask->psrc,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c
627
sizeof(pmask->sport));
drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c
638
memcpy(&pmask->dport, &ipv4_l4_mask->pdst,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c
639
sizeof(pmask->dport));
drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c
657
pmask->etype = cpu_to_be16(0xFFFF);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c
662
memcpy(&pmask->ip4src, &ah_esp_mask->ip4src,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c
663
sizeof(pmask->ip4src));
drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c
669
memcpy(&pmask->ip4dst, &ah_esp_mask->ip4dst,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c
670
sizeof(pmask->ip4dst));
drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c
675
pmask->tos = ah_esp_mask->tos;
drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c
705
struct flow_msg *pmask = &req->mask;
drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c
713
memcpy(&pmask->ip6src, &ipv6_usr_mask->ip6src,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c
714
sizeof(pmask->ip6src));
drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c
720
memcpy(&pmask->ip6dst, &ipv6_usr_mask->ip6dst,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c
721
sizeof(pmask->ip6dst));
drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c
726
pmask->next_header = ipv6_usr_mask->l4_proto;
drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c
730
pmask->etype = cpu_to_be16(0xFFFF);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c
737
pmask->etype = cpu_to_be16(0xFFFF);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c
742
memcpy(&pmask->ip6src, &ipv6_l4_mask->ip6src,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c
743
sizeof(pmask->ip6src));
drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c
749
memcpy(&pmask->ip6dst, &ipv6_l4_mask->ip6dst,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c
750
sizeof(pmask->ip6dst));
drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c
756
memcpy(&pmask->sport, &ipv6_l4_mask->psrc,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c
757
sizeof(pmask->sport));
drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c
768
memcpy(&pmask->dport, &ipv6_l4_mask->pdst,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c
769
sizeof(pmask->dport));
drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c
787
pmask->etype = cpu_to_be16(0xFFFF);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c
792
memcpy(&pmask->ip6src, &ah_esp_mask->ip6src,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c
793
sizeof(pmask->ip6src));
drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c
799
memcpy(&pmask->ip6dst, &ah_esp_mask->ip6dst,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c
800
sizeof(pmask->ip6dst));
drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c
826
struct flow_msg *pmask = &req->mask;
drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c
837
ether_addr_copy(pmask->smac, eth_mask->h_source);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c
842
ether_addr_copy(pmask->dmac, eth_mask->h_dest);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c
848
memcpy(&pmask->etype, &eth_mask->h_proto,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c
849
sizeof(pmask->etype));
drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c
900
memcpy(&pmask->vlan_etype, &fsp->m_ext.vlan_etype,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c
901
sizeof(pmask->vlan_etype));
drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c
912
memcpy(&pmask->vlan_tci, &fsp->m_ext.vlan_tci,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c
913
sizeof(pmask->vlan_tci));
drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c
923
pmask->ip_flag = be32_to_cpu(fsp->m_ext.data[1]);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c
938
ether_addr_copy(pmask->dmac, fsp->m_ext.h_dest);
drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c
1162
u16 pmask;
drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c
1183
pmask = (unsigned char) parent_key->mask[__MASK_IDX(si)];
drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c
1186
pmask |= (unsigned char) parent_key->mask[__MASK_IDX(si + 1)] << 8;
drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c
1190
if ((pmask ^ mask) & pmask)
drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c
1192
mask &= ~pmask;
drivers/net/sungem_phy.c
845
u16 status, pmask;
drivers/net/sungem_phy.c
861
pmask = MII_M1011_PHY_SPEC_STATUS_TX_PAUSE |
drivers/net/sungem_phy.c
863
phy->pause = (status & pmask) == pmask;
drivers/net/wireless/ath/ath5k/eeprom.c
1598
unsigned int fmask, pmask;
drivers/net/wireless/ath/ath5k/eeprom.c
1604
pmask = AR5K_EEPROM_POWER_M;
drivers/net/wireless/ath/ath5k/eeprom.c
1648
rep[j].edge = (val >> 8) & pmask;
drivers/net/wireless/ath/ath5k/eeprom.c
1650
rep[j + 1].edge = val & pmask;
drivers/net/wireless/ath/ath5k/eeprom.c
1673
rep[0].edge = (val >> 2) & pmask;
drivers/net/wireless/ath/ath5k/eeprom.c
1674
rep[1].edge = (val << 4) & pmask;
drivers/net/wireless/ath/ath5k/eeprom.c
1678
rep[2].edge = (val >> 6) & pmask;
drivers/net/wireless/ath/ath5k/eeprom.c
1679
rep[3].edge = val & pmask;
drivers/net/wireless/ath/ath5k/eeprom.c
1682
rep[4].edge = (val >> 10) & pmask;
drivers/net/wireless/ath/ath5k/eeprom.c
1683
rep[5].edge = (val >> 4) & pmask;
drivers/net/wireless/ath/ath5k/eeprom.c
1684
rep[6].edge = (val << 2) & pmask;
drivers/net/wireless/ath/ath5k/eeprom.c
1688
rep[7].edge = (val >> 8) & pmask;
drivers/ntb/test/ntb_pingpong.c
106
u64 pmask;
drivers/ntb/test/ntb_pingpong.c
126
else if (link & pp->pmask)
drivers/ntb/test/ntb_pingpong.c
127
pidx = __ffs64(link & pp->pmask);
drivers/ntb/test/ntb_pingpong.c
244
u64 pmask;
drivers/ntb/test/ntb_pingpong.c
258
pmask = GENMASK_ULL(ntb_peer_port_count(ntb), 0);
drivers/ntb/test/ntb_pingpong.c
259
if ((ntb_db_valid_mask(ntb) & pmask) != pmask) {
drivers/ntb/test/ntb_pingpong.c
305
pp->pmask = GENMASK_ULL(pidx, 0) >> 1;
drivers/ntb/test/ntb_pingpong.c
309
pp->in_db, pp->pmask, pp->nmask);
drivers/usb/gadget/udc/aspeed-vhub/hub.c
486
u32 pmask = (1 << (port + 1));
drivers/usb/gadget/udc/aspeed-vhub/hub.c
488
reg |= pmask;
drivers/usb/gadget/udc/aspeed-vhub/hub.c
490
reg &= ~pmask;
drivers/video/fbdev/ffb.c
258
u32 pmask;
drivers/video/fbdev/ffb.c
442
upa_writel(0xffffffff, &fbc->pmask);
kernel/cgroup/cpuset.c
4007
static void __cpuset_cpus_allowed_locked(struct task_struct *tsk, struct cpumask *pmask)
kernel/cgroup/cpuset.c
4013
guarantee_active_cpus(tsk, pmask);
kernel/cgroup/cpuset.c
4019
if ((cs == &top_cpuset) || cpumask_empty(pmask)) {
kernel/cgroup/cpuset.c
4026
cpumask_andnot(pmask, possible_mask, subpartitions_cpus);
kernel/cgroup/cpuset.c
4027
if (!cpumask_intersects(pmask, cpu_active_mask))
kernel/cgroup/cpuset.c
4028
cpumask_copy(pmask, possible_mask);
kernel/cgroup/cpuset.c
4040
void cpuset_cpus_allowed_locked(struct task_struct *tsk, struct cpumask *pmask)
kernel/cgroup/cpuset.c
4043
__cpuset_cpus_allowed_locked(tsk, pmask);
kernel/cgroup/cpuset.c
4057
void cpuset_cpus_allowed(struct task_struct *tsk, struct cpumask *pmask)
kernel/cgroup/cpuset.c
4062
__cpuset_cpus_allowed_locked(tsk, pmask);
kernel/cgroup/cpuset.c
469
struct cpumask *pmask)
kernel/cgroup/cpuset.c
474
if (WARN_ON(!cpumask_and(pmask, possible_mask, cpu_active_mask)))
kernel/cgroup/cpuset.c
475
cpumask_copy(pmask, cpu_active_mask);
kernel/cgroup/cpuset.c
480
while (!cpumask_intersects(cs->effective_cpus, pmask))
kernel/cgroup/cpuset.c
483
cpumask_and(pmask, pmask, cs->effective_cpus);
kernel/cgroup/cpuset.c
498
static void guarantee_online_mems(struct cpuset *cs, nodemask_t *pmask)
kernel/cgroup/cpuset.c
500
while (!nodes_and(*pmask, cs->effective_mems, node_states[N_MEMORY]))
kernel/cgroup/cpuset.c
539
cpumask_var_t *pmask[3] = {
kernel/cgroup/cpuset.c
545
return alloc_cpumasks(pmask, ARRAY_SIZE(pmask));
kernel/cgroup/cpuset.c
583
cpumask_var_t *pmask[4] = {
kernel/cgroup/cpuset.c
590
if (alloc_cpumasks(pmask, ARRAY_SIZE(pmask))) {
kernel/cpu.c
1841
const struct cpumask *pmask = cpuhp_get_primary_thread_mask();
kernel/cpu.c
1849
cpumask_and(&tmp_mask, mask, pmask);
kernel/cpu.c
1857
cpumask_andnot(&tmp_mask, mask, pmask);