/kernel/linux/linux-5.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 …]
|
/kernel/linux/linux-5.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()
|
/kernel/linux/linux-5.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()
|
/kernel/linux/linux-5.10/arch/x86/mm/ |
D | mem_encrypt.c | 260 unsigned long psize, pmask; in early_set_memory_enc_dec() local 282 pmask = page_level_mask(level); in early_set_memory_enc_dec() 290 if (vaddr == (vaddr & pmask) && in early_set_memory_enc_dec() 293 vaddr_next = (vaddr & pmask) + psize; in early_set_memory_enc_dec() 312 kernel_physical_mapping_change(__pa(vaddr & pmask), in early_set_memory_enc_dec() 313 __pa((vaddr_end & pmask) + psize), in early_set_memory_enc_dec()
|
/kernel/linux/linux-5.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 | 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 | 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 | 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 | 191 gf119_sor_cnt(struct nvkm_disp *disp, unsigned long *pmask) in gf119_sor_cnt() argument 194 *pmask = (nvkm_rd32(device, 0x612004) & 0x0000ff00) >> 8; in gf119_sor_cnt()
|
D | sorg94.c | 286 g94_sor_cnt(struct nvkm_disp *disp, unsigned long *pmask) in g94_sor_cnt() argument 289 *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()
|
/kernel/linux/linux-5.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 …]
|
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4vf/ |
D | cxgb4vf_main.c | 2311 S("Port Access Rights Mask", "%#x", pmask); in resources_show() 2460 pmask_nports = hweight32(adapter->params.vfres.pmask); in size_nports_qsets() 2465 adapter->params.vfres.pmask); in size_nports_qsets() 2620 if (adapter->params.vfres.pmask == 0) { in adap_init0() 2862 unsigned int pmask, rmask = 0; in cxgb4vf_get_port_mask() local 2866 pmask = adapter->params.vfres.pmask; in cxgb4vf_get_port_mask() 2867 while (pmask) { in cxgb4vf_get_port_mask() 2868 if (pmask & 1) { in cxgb4vf_get_port_mask() 2873 pmask >>= 1; in cxgb4vf_get_port_mask() 2877 rmask = adapter->params.vfres.pmask; in cxgb4vf_get_port_mask() [all …]
|
D | t4vf_common.h | 251 unsigned int pmask; /* port access rights mask */ member
|
/kernel/linux/patches/linux-5.10/yangfan_patch/ |
D | kernel.patch | 235 - * Return in pmask the portion of a cpusets's cpus_allowed that 238 + * Return in pmask the portion of a task's cpusets's cpus_allowed that 249 -static void guarantee_online_cpus(struct cpuset *cs, struct cpumask *pmask) 251 + struct cpumask *pmask) 257 + if (WARN_ON(!cpumask_and(pmask, possible_mask, cpu_active_mask))) 258 + cpumask_copy(pmask, cpu_active_mask); 263 + while (!cpumask_intersects(cs->effective_cpus, pmask)) { 267 @@ -395,11 +408,13 @@ static void guarantee_online_cpus(struct cpuset *cs, struct cpumask *pmask) 271 - cpumask_copy(pmask, cpu_online_mask); 276 - cpumask_and(pmask, cs->effective_cpus, cpu_online_mask); [all …]
|
/kernel/linux/linux-5.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() 1034 q->pmask = 0; in cbq_reset()
|
/kernel/linux/linux-5.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()
|
/kernel/linux/linux-5.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()
|
/kernel/linux/linux-5.10/drivers/net/ |
D | sungem_phy.c | 849 u16 status, pmask; in marvell_read_link() local 865 pmask = MII_M1011_PHY_SPEC_STATUS_TX_PAUSE | in marvell_read_link() 867 phy->pause = (status & pmask) == pmask; in marvell_read_link()
|
/kernel/linux/linux-5.10/kernel/cgroup/ |
D | cpuset.c | 386 static void guarantee_online_cpus(struct cpuset *cs, struct cpumask *pmask) in guarantee_online_cpus() argument 398 cpumask_copy(pmask, cpu_online_mask); in guarantee_online_cpus() 402 cpumask_and(pmask, cs->effective_cpus, cpu_online_mask); in guarantee_online_cpus() 416 static void guarantee_online_mems(struct cpuset *cs, nodemask_t *pmask) in guarantee_online_mems() argument 420 nodes_and(*pmask, cs->effective_mems, node_states[N_MEMORY]); in guarantee_online_mems() 3351 void cpuset_cpus_allowed(struct task_struct *tsk, struct cpumask *pmask) in cpuset_cpus_allowed() argument 3357 guarantee_online_cpus(task_cs(tsk), pmask); in cpuset_cpus_allowed()
|
/kernel/linux/linux-5.10/drivers/usb/gadget/udc/aspeed-vhub/ |
D | hub.c | 460 u32 pmask = (1 << (port + 1)); in ast_vhub_update_hub_ep1() local 462 reg |= pmask; in ast_vhub_update_hub_ep1() 464 reg &= ~pmask; in ast_vhub_update_hub_ep1()
|