Home
last modified time | relevance | path

Searched refs:pmask (Results 1 – 25 of 28) sorted by relevance

12

/linux-6.3-rc2/drivers/net/ethernet/marvell/octeontx2/nic/
A Dotx2_flows.c545 sizeof(pmask->ip4src)); in otx2_prepare_ipv4_flow()
552 sizeof(pmask->ip4dst)); in otx2_prepare_ipv4_flow()
598 sizeof(pmask->ip4src)); in otx2_prepare_ipv4_flow()
605 sizeof(pmask->ip4dst)); in otx2_prepare_ipv4_flow()
617 sizeof(pmask->sport)); in otx2_prepare_ipv4_flow()
629 sizeof(pmask->dport)); in otx2_prepare_ipv4_flow()
653 sizeof(pmask->ip4src)); in otx2_prepare_ipv4_flow()
660 sizeof(pmask->ip4dst)); in otx2_prepare_ipv4_flow()
747 sizeof(pmask->sport)); in otx2_prepare_ipv6_flow()
759 sizeof(pmask->dport)); in otx2_prepare_ipv6_flow()
[all …]
/linux-6.3-rc2/arch/riscv/mm/
A Dtlbflush.c18 struct cpumask *pmask = &mm->context.tlb_stale_mask; in __sbi_tlb_flush_range() local
37 cpumask_setall(pmask); in __sbi_tlb_flush_range()
38 cpumask_clear_cpu(cpuid, pmask); in __sbi_tlb_flush_range()
39 cpumask_andnot(pmask, pmask, cmask); in __sbi_tlb_flush_range()
/linux-6.3-rc2/drivers/clk/sprd/
A Dpll.c27 #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-6.3-rc2/drivers/ntb/test/
A Dntb_pingpong.c106 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-6.3-rc2/arch/x86/mm/
A Dmem_encrypt_amd.c298 int psize, pmask, level; in enc_dec_hypercall() local
313 pmask = page_level_mask(level); in enc_dec_hypercall()
317 vaddr = (vaddr & pmask) + psize; in enc_dec_hypercall()
407 unsigned long psize, pmask; in early_set_memory_enc_dec() local
430 pmask = page_level_mask(level); in early_set_memory_enc_dec()
438 if (vaddr == (vaddr & pmask) && in early_set_memory_enc_dec()
441 vaddr_next = (vaddr & pmask) + psize; in early_set_memory_enc_dec()
460 kernel_physical_mapping_change(__pa(vaddr & pmask), in early_set_memory_enc_dec()
461 __pa((vaddr_end & pmask) + psize), in early_set_memory_enc_dec()
/linux-6.3-rc2/drivers/gpu/drm/nouveau/nvkm/engine/gr/
A Dctxgk104.c934 u32 abits, bbits, pmask; in gk104_grctx_generate_alpha_beta_tables() local
944 pmask = gr->ppc_tpc_mask[gpc][ppc]; in gk104_grctx_generate_alpha_beta_tables()
946 pmask &= pmask - 1; in gk104_grctx_generate_alpha_beta_tables()
947 amask |= (u64)pmask << (gpc * 8); in gk104_grctx_generate_alpha_beta_tables()
949 pmask ^= gr->ppc_tpc_mask[gpc][ppc]; in gk104_grctx_generate_alpha_beta_tables()
950 bmask |= (u64)pmask << (gpc * 8); in gk104_grctx_generate_alpha_beta_tables()
/linux-6.3-rc2/drivers/net/wireless/ath/ath5k/
A Deeprom.c1605 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()
1690 rep[5].edge = (val >> 4) & pmask; in ath5k_eeprom_read_ctl_info()
1691 rep[6].edge = (val << 2) & pmask; in ath5k_eeprom_read_ctl_info()
[all …]
/linux-6.3-rc2/drivers/net/ethernet/chelsio/cxgb4vf/
A Dcxgb4vf_main.c2473 adapter->params.vfres.pmask); in size_nports_qsets()
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()
2901 unsigned int pmask; in cxgb4vf_pci_probe() local
3042 if (pmask == 0) in cxgb4vf_pci_probe()
3044 port_id = ffs(pmask) - 1; in cxgb4vf_pci_probe()
[all …]
A Dt4vf_common.h251 unsigned int pmask; /* port access rights mask */ member
A Dt4vf_hw.c1119 vfres->pmask = FW_PFVF_CMD_PMASK_G(word); in t4vf_get_vfres()
2155 adapter->params.vfres.pmask = 1; in t4vf_prep_adapter()
/linux-6.3-rc2/kernel/cgroup/
A Dcpuset.c502 struct cpumask *pmask) in guarantee_online_cpus() argument
507 if (WARN_ON(!cpumask_and(pmask, possible_mask, cpu_online_mask))) in guarantee_online_cpus()
508 cpumask_copy(pmask, cpu_online_mask); in guarantee_online_cpus()
513 while (!cpumask_intersects(cs->effective_cpus, pmask)) { in guarantee_online_cpus()
526 cpumask_and(pmask, pmask, cs->effective_cpus); in guarantee_online_cpus()
547 nodes_and(*pmask, cs->effective_mems, node_states[N_MEMORY]); in guarantee_online_mems()
3710 guarantee_online_cpus(tsk, pmask); in cpuset_cpus_allowed()
3716 if ((cs == &top_cpuset) || cpumask_empty(pmask)) { in cpuset_cpus_allowed()
3723 cpumask_andnot(pmask, possible_mask, top_cpuset.subparts_cpus); in cpuset_cpus_allowed()
3724 if (!cpumask_intersects(pmask, cpu_online_mask)) in cpuset_cpus_allowed()
[all …]
/linux-6.3-rc2/drivers/gpu/drm/nouveau/nvkm/engine/disp/
A Dgf119.c343 gf119_sor_cnt(struct nvkm_disp *disp, unsigned long *pmask) in gf119_sor_cnt() argument
346 *pmask = (nvkm_rd32(device, 0x612004) & 0x0000ff00) >> 8; in gf119_sor_cnt()
391 gf119_dac_cnt(struct nvkm_disp *disp, unsigned long *pmask) in gf119_dac_cnt() argument
394 *pmask = (nvkm_rd32(device, 0x612004) & 0x000000f0) >> 4; in gf119_dac_cnt()
471 gf119_head_cnt(struct nvkm_disp *disp, unsigned long *pmask) in gf119_head_cnt() argument
474 *pmask = nvkm_rd32(device, 0x612004) & 0x0000000f; in gf119_head_cnt()
A Dgv100.c233 gv100_sor_cnt(struct nvkm_disp *disp, unsigned long *pmask) in gv100_sor_cnt() argument
237 *pmask = (nvkm_rd32(device, 0x610060) & 0x0000ff00) >> 8; in gv100_sor_cnt()
319 gv100_head_cnt(struct nvkm_disp *disp, unsigned long *pmask) in gv100_head_cnt() argument
323 *pmask = nvkm_rd32(device, 0x610060) & 0x000000ff; in gv100_head_cnt()
545 gv100_disp_wndw_cnt(struct nvkm_disp *disp, unsigned long *pmask) in gv100_disp_wndw_cnt() argument
549 *pmask = nvkm_rd32(device, 0x610064); in gv100_disp_wndw_cnt()
A Dnv50.c151 nv50_pior_cnt(struct nvkm_disp *disp, unsigned long *pmask) in nv50_pior_cnt() argument
155 *pmask = (nvkm_rd32(device, 0x610184) & 0x70000000) >> 28; in nv50_pior_cnt()
232 nv50_sor_cnt(struct nvkm_disp *disp, unsigned long *pmask) in nv50_sor_cnt() argument
236 *pmask = (nvkm_rd32(device, 0x610184) & 0x03000000) >> 24; in nv50_sor_cnt()
328 nv50_dac_cnt(struct nvkm_disp *disp, unsigned long *pmask) in nv50_dac_cnt() argument
332 *pmask = (nvkm_rd32(device, 0x610184) & 0x00700000) >> 20; in nv50_dac_cnt()
409 nv50_head_cnt(struct nvkm_disp *disp, unsigned long *pmask) in nv50_head_cnt() argument
411 *pmask = 3; in nv50_head_cnt()
A Dg94.c308 g94_sor_cnt(struct nvkm_disp *disp, unsigned long *pmask) in g94_sor_cnt() argument
312 *pmask = (nvkm_rd32(device, 0x610184) & 0x0f000000) >> 24; in g94_sor_cnt()
/linux-6.3-rc2/drivers/isdn/mISDN/
A Dstack.c459 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-6.3-rc2/drivers/net/ethernet/mellanox/mlxsw/
A Dspectrum_acl_erp.c1160 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-6.3-rc2/drivers/net/
A Dsungem_phy.c845 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-6.3-rc2/drivers/usb/gadget/udc/aspeed-vhub/
A Dhub.c486 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()
/linux-6.3-rc2/arch/x86/mm/pat/
A Dset_memory.c843 unsigned long numpages, pmask, psize, lpaddr, pfn, old_pfn; in __should_split_large_page() local
872 pmask = page_level_mask(level); in __should_split_large_page()
878 lpaddr = (address + psize) & pmask; in __should_split_large_page()
916 lpaddr = address & pmask; in __should_split_large_page()
/linux-6.3-rc2/drivers/video/fbdev/
A Dffb.c258 u32 pmask; member
439 upa_writel(0xffffffff, &fbc->pmask); in ffb_switch_from_graph()
/linux-6.3-rc2/drivers/gpu/drm/nouveau/nvkm/subdev/fb/
A Dramgk104.c127 u32 pmask; member
150 if (ram->pmask & (1 << i)) in gk104_ram_train()
1549 ram->pmask = nvkm_rd32(device, 0x022554); in gk104_ram_new_()
1552 if (!(ram->pmask & (1 << i))) { in gk104_ram_new_()
/linux-6.3-rc2/drivers/net/dsa/realtek/
A Drtl8366rb.c340 #define RTL8366RB_PORT_ISO_PORTS(pmask) ((pmask) << 1) argument
/linux-6.3-rc2/drivers/net/ethernet/broadcom/
A Db44.c1489 static int b44_magic_pattern(const u8 *macaddr, u8 *ppattern, u8 *pmask, in b44_magic_pattern() argument
1498 pmask[len >> 3] |= BIT(len & 7); in b44_magic_pattern()
1512 pmask[len >> 3] |= BIT(len & 7); in b44_magic_pattern()
/linux-6.3-rc2/drivers/net/ethernet/chelsio/cxgb4/
A Dcxgb4.h408 unsigned int pmask; /* port access rights mask */ member
1993 unsigned int vi, unsigned int cmask, unsigned int pmask,

Completed in 342 milliseconds

12