/linux/drivers/net/ethernet/marvell/octeontx2/nic/ |
A D | otx2_flows.c | 505 sizeof(pmask->ip4src)); in otx2_prepare_ipv4_flow() 512 sizeof(pmask->ip4dst)); in otx2_prepare_ipv4_flow() 558 sizeof(pmask->ip4src)); in otx2_prepare_ipv4_flow() 565 sizeof(pmask->ip4dst)); in otx2_prepare_ipv4_flow() 577 sizeof(pmask->sport)); in otx2_prepare_ipv4_flow() 589 sizeof(pmask->dport)); in otx2_prepare_ipv4_flow() 613 sizeof(pmask->ip4src)); in otx2_prepare_ipv4_flow() 620 sizeof(pmask->ip4dst)); in otx2_prepare_ipv4_flow() 702 sizeof(pmask->sport)); in otx2_prepare_ipv6_flow() 714 sizeof(pmask->dport)); in otx2_prepare_ipv6_flow() [all …]
|
/linux/drivers/clk/sprd/ |
A 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/arch/x86/mm/ |
A D | mem_encrypt.c | 268 int psize, pmask, level; in notify_range_enc_status_changed() local 283 pmask = page_level_mask(level); in notify_range_enc_status_changed() 287 vaddr = (vaddr & pmask) + psize; in notify_range_enc_status_changed() 337 unsigned long psize, pmask; in early_set_memory_enc_dec() local 360 pmask = page_level_mask(level); in early_set_memory_enc_dec() 368 if (vaddr == (vaddr & pmask) && in early_set_memory_enc_dec() 371 vaddr_next = (vaddr & pmask) + psize; in early_set_memory_enc_dec() 390 kernel_physical_mapping_change(__pa(vaddr & pmask), in early_set_memory_enc_dec() 391 __pa((vaddr_end & pmask) + psize), in early_set_memory_enc_dec()
|
/linux/drivers/ntb/test/ |
A 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/drivers/gpu/drm/nouveau/nvkm/engine/gr/ |
A 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/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
A 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()
|
A 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()
|
A 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()
|
A 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()
|
A 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()
|
A 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()
|
A 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()
|
A 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()
|
A 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()
|
A 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()
|
A 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/drivers/net/wireless/ath/ath5k/ |
A D | eeprom.c | 1602 unsigned int fmask, pmask; in ath5k_eeprom_read_ctl_info() local 1608 pmask = AR5K_EEPROM_POWER_M; in ath5k_eeprom_read_ctl_info() 1652 rep[j].edge = (val >> 8) & pmask; in ath5k_eeprom_read_ctl_info() 1654 rep[j + 1].edge = val & pmask; in ath5k_eeprom_read_ctl_info() 1677 rep[0].edge = (val >> 2) & pmask; in ath5k_eeprom_read_ctl_info() 1678 rep[1].edge = (val << 4) & pmask; in ath5k_eeprom_read_ctl_info() 1682 rep[2].edge = (val >> 6) & pmask; in ath5k_eeprom_read_ctl_info() 1683 rep[3].edge = val & pmask; in ath5k_eeprom_read_ctl_info() 1687 rep[5].edge = (val >> 4) & pmask; in ath5k_eeprom_read_ctl_info() 1688 rep[6].edge = (val << 2) & pmask; in ath5k_eeprom_read_ctl_info() [all …]
|
/linux/drivers/net/ethernet/chelsio/cxgb4vf/ |
A D | cxgb4vf_main.c | 2469 adapter->params.vfres.pmask); in size_nports_qsets() 2866 unsigned int pmask, rmask = 0; in cxgb4vf_get_port_mask() local 2870 pmask = adapter->params.vfres.pmask; in cxgb4vf_get_port_mask() 2871 while (pmask) { in cxgb4vf_get_port_mask() 2872 if (pmask & 1) { in cxgb4vf_get_port_mask() 2877 pmask >>= 1; in cxgb4vf_get_port_mask() 2881 rmask = adapter->params.vfres.pmask; in cxgb4vf_get_port_mask() 2897 unsigned int pmask; in cxgb4vf_pci_probe() local 3046 if (pmask == 0) in cxgb4vf_pci_probe() 3048 port_id = ffs(pmask) - 1; in cxgb4vf_pci_probe() [all …]
|
A D | t4vf_common.h | 251 unsigned int pmask; /* port access rights mask */ member
|
/linux/net/sched/ |
A 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/kernel/cgroup/ |
A 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() 3386 void cpuset_cpus_allowed(struct task_struct *tsk, struct cpumask *pmask) in cpuset_cpus_allowed() argument 3391 guarantee_online_cpus(tsk, pmask); in cpuset_cpus_allowed()
|
/linux/drivers/isdn/mISDN/ |
A 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/drivers/net/ethernet/mellanox/mlxsw/ |
A 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/drivers/net/ |
A D | sungem_phy.c | 848 u16 status, pmask; in marvell_read_link() local 864 pmask = MII_M1011_PHY_SPEC_STATUS_TX_PAUSE | in marvell_read_link() 866 phy->pause = (status & pmask) == pmask; in marvell_read_link()
|
/linux/drivers/usb/gadget/udc/aspeed-vhub/ |
A D | hub.c | 455 u32 pmask = (1 << (port + 1)); in ast_vhub_update_hub_ep1() local 457 reg |= pmask; in ast_vhub_update_hub_ep1() 459 reg &= ~pmask; in ast_vhub_update_hub_ep1()
|