/linux-5.19.10/drivers/net/ethernet/marvell/octeontx2/nic/ |
D | otx2_flows.c | 498 struct flow_msg *pmask = &req->mask; in otx2_prepare_ipv4_flow() local 506 memcpy(&pmask->ip4src, &ipv4_usr_mask->ip4src, in otx2_prepare_ipv4_flow() 507 sizeof(pmask->ip4src)); in otx2_prepare_ipv4_flow() 513 memcpy(&pmask->ip4dst, &ipv4_usr_mask->ip4dst, in otx2_prepare_ipv4_flow() 514 sizeof(pmask->ip4dst)); in otx2_prepare_ipv4_flow() 519 pmask->tos = ipv4_usr_mask->tos; in otx2_prepare_ipv4_flow() 547 pmask->etype = cpu_to_be16(0xFFFF); in otx2_prepare_ipv4_flow() 554 pmask->etype = cpu_to_be16(0xFFFF); in otx2_prepare_ipv4_flow() 559 memcpy(&pmask->ip4src, &ipv4_l4_mask->ip4src, in otx2_prepare_ipv4_flow() 560 sizeof(pmask->ip4src)); in otx2_prepare_ipv4_flow() [all …]
|
/linux-5.19.10/drivers/clk/sprd/ |
D | pll.c | 27 #define pmask(pll, member) \ macro 33 (cfg[pindex(pll, member)] & pmask(pll, member)) 77 mask = pmask(pll, PLL_REFIN); in pll_get_refin() 131 mask = pmask(pll, PLL_KINT); in _sprd_pll_recalc_rate() 164 mask = pmask(pll, PLL_PREDIV); in _sprd_pll_set_rate() 170 mask = pmask(pll, PLL_POSTDIV); in _sprd_pll_set_rate() 181 mask = pmask(pll, PLL_DIV_S); in _sprd_pll_set_rate() 186 mask = pmask(pll, PLL_SDM_EN); in _sprd_pll_set_rate() 192 mask = pmask(pll, PLL_NINT); in _sprd_pll_set_rate() 198 mask = pmask(pll, PLL_KINT); in _sprd_pll_set_rate() [all …]
|
/linux-5.19.10/arch/x86/mm/ |
D | mem_encrypt_amd.c | 297 int psize, pmask, level; in enc_dec_hypercall() local 312 pmask = page_level_mask(level); in enc_dec_hypercall() 316 vaddr = (vaddr & pmask) + psize; in enc_dec_hypercall() 406 unsigned long psize, pmask; in early_set_memory_enc_dec() local 429 pmask = page_level_mask(level); in early_set_memory_enc_dec() 437 if (vaddr == (vaddr & pmask) && in early_set_memory_enc_dec() 440 vaddr_next = (vaddr & pmask) + psize; in early_set_memory_enc_dec() 459 kernel_physical_mapping_change(__pa(vaddr & pmask), in early_set_memory_enc_dec() 460 __pa((vaddr_end & pmask) + psize), in early_set_memory_enc_dec()
|
/linux-5.19.10/drivers/ntb/test/ |
D | ntb_pingpong.c | 106 u64 pmask; member 126 else if (link & pp->pmask) in pp_find_next_peer() 127 pidx = __ffs64(link & pp->pmask); in pp_find_next_peer() 244 u64 pmask; in pp_check_ntb() local 258 pmask = GENMASK_ULL(ntb_peer_port_count(ntb), 0); in pp_check_ntb() 259 if ((ntb_db_valid_mask(ntb) & pmask) != pmask) { in pp_check_ntb() 306 pp->pmask = GENMASK_ULL(pidx, 0) >> 1; in pp_init_flds() 310 pp->in_db, pp->pmask, pp->nmask); in pp_init_flds()
|
/linux-5.19.10/drivers/gpu/drm/nouveau/nvkm/engine/gr/ |
D | ctxgk104.c | 944 u32 abits, bbits, pmask; in gk104_grctx_generate_alpha_beta_tables() local 954 pmask = gr->ppc_tpc_mask[gpc][ppc]; in gk104_grctx_generate_alpha_beta_tables() 956 pmask &= pmask - 1; in gk104_grctx_generate_alpha_beta_tables() 957 amask |= (u64)pmask << (gpc * 8); in gk104_grctx_generate_alpha_beta_tables() 959 pmask ^= gr->ppc_tpc_mask[gpc][ppc]; in gk104_grctx_generate_alpha_beta_tables() 960 bmask |= (u64)pmask << (gpc * 8); in gk104_grctx_generate_alpha_beta_tables()
|
/linux-5.19.10/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
D | dacgf119.c | 65 gf119_dac_cnt(struct nvkm_disp *disp, unsigned long *pmask) in gf119_dac_cnt() argument 68 *pmask = (nvkm_rd32(device, 0x612004) & 0x000000f0) >> 4; in gf119_dac_cnt()
|
D | headnv50.c | 95 nv50_head_cnt(struct nvkm_disp *disp, unsigned long *pmask) in nv50_head_cnt() argument 97 *pmask = 3; in nv50_head_cnt()
|
D | sornv50.c | 101 nv50_sor_cnt(struct nvkm_disp *disp, unsigned long *pmask) in nv50_sor_cnt() argument 104 *pmask = (nvkm_rd32(device, 0x610184) & 0x03000000) >> 24; in nv50_sor_cnt()
|
D | dacnv50.c | 116 nv50_dac_cnt(struct nvkm_disp *disp, unsigned long *pmask) in nv50_dac_cnt() argument 119 *pmask = (nvkm_rd32(device, 0x610184) & 0x00700000) >> 20; in nv50_dac_cnt()
|
D | headgf119.c | 99 gf119_head_cnt(struct nvkm_disp *disp, unsigned long *pmask) in gf119_head_cnt() argument 102 *pmask = nvkm_rd32(device, 0x612004) & 0x0000000f; in gf119_head_cnt()
|
D | headgv100.c | 100 gv100_head_cnt(struct nvkm_disp *disp, unsigned long *pmask) in gv100_head_cnt() argument 103 *pmask = nvkm_rd32(device, 0x610060) & 0x000000ff; in gv100_head_cnt()
|
D | piornv50.c | 134 nv50_pior_cnt(struct nvkm_disp *disp, unsigned long *pmask) in nv50_pior_cnt() argument 137 *pmask = (nvkm_rd32(device, 0x610184) & 0x70000000) >> 28; in nv50_pior_cnt()
|
D | sorgv100.c | 150 gv100_sor_cnt(struct nvkm_disp *disp, unsigned long *pmask) in gv100_sor_cnt() argument 153 *pmask = (nvkm_rd32(device, 0x610060) & 0x0000ff00) >> 8; in gv100_sor_cnt()
|
D | sorgf119.c | 203 gf119_sor_cnt(struct nvkm_disp *disp, unsigned long *pmask) in gf119_sor_cnt() argument 206 *pmask = (nvkm_rd32(device, 0x612004) & 0x0000ff00) >> 8; in gf119_sor_cnt()
|
D | sorg94.c | 297 g94_sor_cnt(struct nvkm_disp *disp, unsigned long *pmask) in g94_sor_cnt() argument 300 *pmask = (nvkm_rd32(device, 0x610184) & 0x0f000000) >> 24; in g94_sor_cnt()
|
D | gv100.c | 32 gv100_disp_wndw_cnt(struct nvkm_disp *disp, unsigned long *pmask) in gv100_disp_wndw_cnt() argument 35 *pmask = nvkm_rd32(device, 0x610064); in gv100_disp_wndw_cnt()
|
/linux-5.19.10/drivers/net/wireless/ath/ath5k/ |
D | eeprom.c | 1605 unsigned int fmask, pmask; in ath5k_eeprom_read_ctl_info() local 1611 pmask = AR5K_EEPROM_POWER_M; in ath5k_eeprom_read_ctl_info() 1655 rep[j].edge = (val >> 8) & pmask; in ath5k_eeprom_read_ctl_info() 1657 rep[j + 1].edge = val & pmask; in ath5k_eeprom_read_ctl_info() 1680 rep[0].edge = (val >> 2) & pmask; in ath5k_eeprom_read_ctl_info() 1681 rep[1].edge = (val << 4) & pmask; in ath5k_eeprom_read_ctl_info() 1685 rep[2].edge = (val >> 6) & pmask; in ath5k_eeprom_read_ctl_info() 1686 rep[3].edge = val & pmask; in ath5k_eeprom_read_ctl_info() 1689 rep[4].edge = (val >> 10) & pmask; in ath5k_eeprom_read_ctl_info() 1690 rep[5].edge = (val >> 4) & pmask; in ath5k_eeprom_read_ctl_info() [all …]
|
/linux-5.19.10/drivers/net/ethernet/chelsio/cxgb4vf/ |
D | cxgb4vf_main.c | 2319 S("Port Access Rights Mask", "%#x", pmask); in resources_show() 2468 pmask_nports = hweight32(adapter->params.vfres.pmask); in size_nports_qsets() 2473 adapter->params.vfres.pmask); in size_nports_qsets() 2628 if (adapter->params.vfres.pmask == 0) { in adap_init0() 2870 unsigned int pmask, rmask = 0; in cxgb4vf_get_port_mask() local 2874 pmask = adapter->params.vfres.pmask; in cxgb4vf_get_port_mask() 2875 while (pmask) { in cxgb4vf_get_port_mask() 2876 if (pmask & 1) { in cxgb4vf_get_port_mask() 2881 pmask >>= 1; in cxgb4vf_get_port_mask() 2885 rmask = adapter->params.vfres.pmask; in cxgb4vf_get_port_mask() [all …]
|
D | t4vf_common.h | 251 unsigned int pmask; /* port access rights mask */ member
|
/linux-5.19.10/net/sched/ |
D | sch_cbq.c | 150 unsigned int pmask; member 486 unsigned int pmask; in cbq_undelay() local 490 pmask = q->pmask; in cbq_undelay() 491 q->pmask = 0; in cbq_undelay() 493 while (pmask) { in cbq_undelay() 494 int prio = ffz(~pmask); in cbq_undelay() 497 pmask &= ~(1<<prio); in cbq_undelay() 501 q->pmask |= 1<<prio; in cbq_undelay() 1033 q->pmask = 0; in cbq_reset()
|
/linux-5.19.10/kernel/cgroup/ |
D | cpuset.c | 419 struct cpumask *pmask) in guarantee_online_cpus() argument 424 if (WARN_ON(!cpumask_and(pmask, possible_mask, cpu_online_mask))) in guarantee_online_cpus() 425 cpumask_copy(pmask, cpu_online_mask); in guarantee_online_cpus() 430 while (!cpumask_intersects(cs->effective_cpus, pmask)) { in guarantee_online_cpus() 443 cpumask_and(pmask, pmask, cs->effective_cpus); in guarantee_online_cpus() 460 static void guarantee_online_mems(struct cpuset *cs, nodemask_t *pmask) in guarantee_online_mems() argument 464 nodes_and(*pmask, cs->effective_mems, node_states[N_MEMORY]); in guarantee_online_mems() 3419 void cpuset_cpus_allowed(struct task_struct *tsk, struct cpumask *pmask) in cpuset_cpus_allowed() argument 3424 guarantee_online_cpus(tsk, pmask); in cpuset_cpus_allowed()
|
/linux-5.19.10/drivers/isdn/mISDN/ |
D | stack.c | 459 int pmask, err; in connect_Bstack() local 468 pmask = 1 << (protocol & ISDN_P_B_MASK); in connect_Bstack() 469 if (pmask & dev->Bprotocols) { in connect_Bstack() 481 bp = get_Bprotocol4mask(pmask); in connect_Bstack()
|
/linux-5.19.10/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_acl_erp.c | 1160 u16 pmask; in mlxsw_sp_acl_erp_delta_fill() local 1181 pmask = (unsigned char) parent_key->mask[__MASK_IDX(si)]; in mlxsw_sp_acl_erp_delta_fill() 1184 pmask |= (unsigned char) parent_key->mask[__MASK_IDX(si + 1)] << 8; in mlxsw_sp_acl_erp_delta_fill() 1188 if ((pmask ^ mask) & pmask) in mlxsw_sp_acl_erp_delta_fill() 1190 mask &= ~pmask; in mlxsw_sp_acl_erp_delta_fill()
|
/linux-5.19.10/drivers/net/ |
D | sungem_phy.c | 845 u16 status, pmask; in marvell_read_link() local 861 pmask = MII_M1011_PHY_SPEC_STATUS_TX_PAUSE | in marvell_read_link() 863 phy->pause = (status & pmask) == pmask; in marvell_read_link()
|
/linux-5.19.10/drivers/usb/gadget/udc/aspeed-vhub/ |
D | hub.c | 486 u32 pmask = (1 << (port + 1)); in ast_vhub_update_hub_ep1() local 488 reg |= pmask; in ast_vhub_update_hub_ep1() 490 reg &= ~pmask; in ast_vhub_update_hub_ep1()
|