Home
last modified time | relevance | path

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

12

/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_flows.c547 sizeof(pmask->ip4src)); in otx2_prepare_ipv4_flow()
554 sizeof(pmask->ip4dst)); in otx2_prepare_ipv4_flow()
600 sizeof(pmask->ip4src)); in otx2_prepare_ipv4_flow()
607 sizeof(pmask->ip4dst)); in otx2_prepare_ipv4_flow()
619 sizeof(pmask->sport)); in otx2_prepare_ipv4_flow()
631 sizeof(pmask->dport)); in otx2_prepare_ipv4_flow()
655 sizeof(pmask->ip4src)); in otx2_prepare_ipv4_flow()
662 sizeof(pmask->ip4dst)); in otx2_prepare_ipv4_flow()
749 sizeof(pmask->sport)); in otx2_prepare_ipv6_flow()
761 sizeof(pmask->dport)); in otx2_prepare_ipv6_flow()
[all …]
/openbmc/linux/drivers/clk/sprd/
H 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 …]
/openbmc/linux/drivers/ntb/test/
H 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()
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/engine/gr/
H A Dctxgk104.c936 u32 abits, bbits, pmask; in gk104_grctx_generate_alpha_beta_tables() local
946 pmask = gr->ppc_tpc_mask[gpc][ppc]; in gk104_grctx_generate_alpha_beta_tables()
948 pmask &= pmask - 1; in gk104_grctx_generate_alpha_beta_tables()
949 amask |= (u64)pmask << (gpc * 8); in gk104_grctx_generate_alpha_beta_tables()
951 pmask ^= gr->ppc_tpc_mask[gpc][ppc]; in gk104_grctx_generate_alpha_beta_tables()
952 bmask |= (u64)pmask << (gpc * 8); in gk104_grctx_generate_alpha_beta_tables()
/openbmc/linux/arch/x86/mm/
H 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()
409 unsigned long psize, pmask; in early_set_memory_enc_dec() local
432 pmask = page_level_mask(level); in early_set_memory_enc_dec()
440 if (vaddr == (vaddr & pmask) && in early_set_memory_enc_dec()
443 vaddr_next = (vaddr & pmask) + psize; in early_set_memory_enc_dec()
462 kernel_physical_mapping_change(__pa(vaddr & pmask), in early_set_memory_enc_dec()
463 __pa((vaddr_end & pmask) + psize), in early_set_memory_enc_dec()
/openbmc/qemu/tests/tcg/hexagon/
H A Dhvx_misc.c185 void *pmask = mask; in test_masked_store() local
199 : : "r"(pmask), "r"(p0), "r"(pout) in test_masked_store()
208 : : "r"(pmask), "r"(p0), "r"(pout) in test_masked_store()
212 pmask += sizeof(MMVector); in test_masked_store()
/openbmc/linux/drivers/net/wireless/ath/ath5k/
H 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 …]
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb4vf/
H 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 …]
H A Dt4vf_common.h251 unsigned int pmask; /* port access rights mask */ member
/openbmc/linux/kernel/cgroup/
H A Dcpuset.c503 struct cpumask *pmask) in guarantee_online_cpus() argument
508 if (WARN_ON(!cpumask_and(pmask, possible_mask, cpu_online_mask))) in guarantee_online_cpus()
509 cpumask_copy(pmask, cpu_online_mask); in guarantee_online_cpus()
514 while (!cpumask_intersects(cs->effective_cpus, pmask)) { in guarantee_online_cpus()
527 cpumask_and(pmask, pmask, cs->effective_cpus); in guarantee_online_cpus()
548 nodes_and(*pmask, cs->effective_mems, node_states[N_MEMORY]); in guarantee_online_mems()
3951 guarantee_online_cpus(tsk, pmask); in cpuset_cpus_allowed()
3957 if ((cs == &top_cpuset) || cpumask_empty(pmask)) { in cpuset_cpus_allowed()
3964 cpumask_andnot(pmask, possible_mask, top_cpuset.subparts_cpus); in cpuset_cpus_allowed()
3965 if (!cpumask_intersects(pmask, cpu_online_mask)) in cpuset_cpus_allowed()
[all …]
/openbmc/qemu/hw/intc/
H A Darm_gic.c697 static void gic_set_priority_mask(GICState *s, int cpu, uint8_t pmask, in gic_set_priority_mask() argument
703 pmask = 0x80 | (pmask >> 1); in gic_set_priority_mask()
709 s->priority_mask[cpu] = pmask & gic_fullprio_mask(s, cpu); in gic_set_priority_mask()
714 uint32_t pmask = s->priority_mask[cpu]; in gic_get_priority_mask() local
717 if (pmask & 0x80) { in gic_get_priority_mask()
719 pmask = (pmask << 1) & 0xff; in gic_get_priority_mask()
722 pmask = 0; in gic_get_priority_mask()
725 return pmask; in gic_get_priority_mask()
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/engine/disp/
H 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()
H 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()
H 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()
H A Dg94.c309 g94_sor_cnt(struct nvkm_disp *disp, unsigned long *pmask) in g94_sor_cnt() argument
313 *pmask = (nvkm_rd32(device, 0x610184) & 0x0f000000) >> 24; in g94_sor_cnt()
/openbmc/linux/drivers/isdn/mISDN/
H 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()
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_acl_erp.c1162 u16 pmask; in mlxsw_sp_acl_erp_delta_fill() local
1183 pmask = (unsigned char) parent_key->mask[__MASK_IDX(si)]; in mlxsw_sp_acl_erp_delta_fill()
1186 pmask |= (unsigned char) parent_key->mask[__MASK_IDX(si + 1)] << 8; in mlxsw_sp_acl_erp_delta_fill()
1190 if ((pmask ^ mask) & pmask) in mlxsw_sp_acl_erp_delta_fill()
1192 mask &= ~pmask; in mlxsw_sp_acl_erp_delta_fill()
/openbmc/linux/drivers/net/
H 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()
/openbmc/linux/drivers/usb/gadget/udc/aspeed-vhub/
H A Dhub.c485 u32 pmask = (1 << (port + 1)); in ast_vhub_update_hub_ep1() local
487 reg |= pmask; in ast_vhub_update_hub_ep1()
489 reg &= ~pmask; in ast_vhub_update_hub_ep1()
/openbmc/linux/arch/x86/mm/pat/
H A Dset_memory.c879 unsigned long numpages, pmask, psize, lpaddr, pfn, old_pfn; in __should_split_large_page() local
909 pmask = page_level_mask(level); in __should_split_large_page()
915 lpaddr = (address + psize) & pmask; in __should_split_large_page()
953 lpaddr = address & pmask; in __should_split_large_page()
/openbmc/linux/drivers/video/fbdev/
H A Dffb.c259 u32 pmask; member
440 upa_writel(0xffffffff, &fbc->pmask); in ffb_switch_from_graph()
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/fb/
H 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_()
/openbmc/linux/kernel/
H A Dcpu.c1879 const struct cpumask *pmask = cpuhp_get_primary_thread_mask(); in cpuhp_bringup_cpus_parallel() local
1887 cpumask_and(&tmp_mask, mask, pmask); in cpuhp_bringup_cpus_parallel()
1895 cpumask_andnot(&tmp_mask, mask, pmask); in cpuhp_bringup_cpus_parallel()
/openbmc/linux/drivers/net/dsa/realtek/
H A Drtl8366rb.c350 #define RTL8366RB_PORT_ISO_PORTS(pmask) ((pmask) << 1) argument
/openbmc/linux/drivers/net/ethernet/broadcom/
H 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()

12