Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/gpu/drm/nouveau/
Dnvc0_vram.c110 u32 pmask = nv_rd32(dev, 0x022554); in nvc0_vram_init() local
117 NV_DEBUG(dev, "parts 0x%08x mask 0x%08x\n", parts, pmask); in nvc0_vram_init()
124 if (!(pmask & (1 << part))) { in nvc0_vram_init()
/linux-3.4.99/drivers/staging/tidspbridge/rmgr/
Dstrm.c637 u32 *pmask, u32 utimeout) in strm_select() argument
646 *pmask = 0; in strm_select()
665 *pmask |= (1 << i); in strm_select()
669 if (!status && utimeout > 0 && *pmask == 0) { in strm_select()
698 *pmask = 1 << index; in strm_select()
/linux-3.4.99/drivers/net/wireless/ath/ath5k/
Deeprom.c1600 unsigned int fmask, pmask; in ath5k_eeprom_read_ctl_info() local
1606 pmask = AR5K_EEPROM_POWER_M; in ath5k_eeprom_read_ctl_info()
1650 rep[j].edge = (val >> 8) & pmask; in ath5k_eeprom_read_ctl_info()
1652 rep[j + 1].edge = val & pmask; in ath5k_eeprom_read_ctl_info()
1675 rep[0].edge = (val >> 2) & pmask; in ath5k_eeprom_read_ctl_info()
1676 rep[1].edge = (val << 4) & pmask; in ath5k_eeprom_read_ctl_info()
1680 rep[2].edge = (val >> 6) & pmask; in ath5k_eeprom_read_ctl_info()
1681 rep[3].edge = val & pmask; in ath5k_eeprom_read_ctl_info()
1684 rep[4].edge = (val >> 10) & pmask; in ath5k_eeprom_read_ctl_info()
1685 rep[5].edge = (val >> 4) & pmask; in ath5k_eeprom_read_ctl_info()
[all …]
/linux-3.4.99/kernel/
Dcpuset.c283 struct cpumask *pmask) in guarantee_online_cpus() argument
288 cpumask_and(pmask, cs->cpus_allowed, cpu_online_mask); in guarantee_online_cpus()
290 cpumask_copy(pmask, cpu_online_mask); in guarantee_online_cpus()
291 BUG_ON(!cpumask_intersects(pmask, cpu_online_mask)); in guarantee_online_cpus()
307 static void guarantee_online_mems(const struct cpuset *cs, nodemask_t *pmask) in guarantee_online_mems() argument
313 nodes_and(*pmask, cs->mems_allowed, in guarantee_online_mems()
316 *pmask = node_states[N_HIGH_MEMORY]; in guarantee_online_mems()
317 BUG_ON(!nodes_intersects(*pmask, node_states[N_HIGH_MEMORY])); in guarantee_online_mems()
2169 void cpuset_cpus_allowed(struct task_struct *tsk, struct cpumask *pmask) in cpuset_cpus_allowed() argument
2173 guarantee_online_cpus(task_cs(tsk), pmask); in cpuset_cpus_allowed()
/linux-3.4.99/arch/x86/mm/
Dpageattr.c395 unsigned long nextpage_addr, numpages, pmask, psize, addr, pfn; in try_preserve_large_page() local
416 pmask = PMD_PAGE_MASK; in try_preserve_large_page()
421 pmask = PUD_PAGE_MASK; in try_preserve_large_page()
433 nextpage_addr = (address + psize) & pmask; in try_preserve_large_page()
461 addr = address & pmask; in try_preserve_large_page()
487 if (address == (address & pmask) && cpa->numpages == (psize >> PAGE_SHIFT)) { in try_preserve_large_page()
/linux-3.4.99/drivers/staging/tidspbridge/include/dspbridge/
Dstrm.h304 u32 strms, u32 *pmask, u32 utimeout);
/linux-3.4.99/net/sched/
Dsch_cbq.c163 unsigned int pmask; member
510 q->pmask |= (1<<TC_CBQ_MAXPRIO); in cbq_ovl_delay()
540 q->pmask |= (1<<cl->cpriority); in cbq_ovl_lowprio()
599 unsigned int pmask; in cbq_undelay() local
603 pmask = q->pmask; in cbq_undelay()
604 q->pmask = 0; in cbq_undelay()
606 while (pmask) { in cbq_undelay()
607 int prio = ffz(~pmask); in cbq_undelay()
610 pmask &= ~(1<<prio); in cbq_undelay()
614 q->pmask |= 1<<prio; in cbq_undelay()
[all …]
/linux-3.4.99/drivers/isdn/mISDN/
Dstack.c463 int pmask, err; in connect_Bstack() local
472 pmask = 1 << (protocol & ISDN_P_B_MASK); in connect_Bstack()
473 if (pmask & dev->Bprotocols) { in connect_Bstack()
485 bp = get_Bprotocol4mask(pmask); in connect_Bstack()
/linux-3.4.99/drivers/net/
Dsungem_phy.c847 u16 status, pmask; in marvell_read_link() local
863 pmask = MII_M1011_PHY_SPEC_STATUS_TX_PAUSE | in marvell_read_link()
865 phy->pause = (status & pmask) == pmask; in marvell_read_link()
/linux-3.4.99/drivers/net/ethernet/chelsio/cxgb4vf/
Dt4vf_common.h172 unsigned int pmask; /* port access rights mask */ member
Dcxgb4vf_main.c1909 S("Port Access Rights Mask", "%#x", pmask); in resources_show()
2472 unsigned int pmask; in cxgb4vf_pci_probe() local
2571 pmask = adapter->params.vfres.pmask; in cxgb4vf_pci_probe()
2581 if (pmask == 0) in cxgb4vf_pci_probe()
2583 port_id = ffs(pmask) - 1; in cxgb4vf_pci_probe()
2584 pmask &= ~(1 << port_id); in cxgb4vf_pci_probe()
Dt4vf_hw.c640 vfres->pmask = FW_PFVF_CMD_PMASK_GET(word); in t4vf_get_vfres()
/linux-3.4.99/drivers/video/
Dffb.c257 u32 pmask; member
438 upa_writel(0xffffffff, &fbc->pmask); in ffb_switch_from_graph()
/linux-3.4.99/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4.h689 unsigned int vi, unsigned int cmask, unsigned int pmask,
Dcxgb4_main.c141 unsigned int pmask = portvec ^ (portvec & (portvec-1)); in pfvfres_pmask() local
143 return pmask; in pfvfres_pmask()
145 portvec &= ~pmask; in pfvfres_pmask()
Dt4_hw.c2231 unsigned int vi, unsigned int cmask, unsigned int pmask, in t4_cfg_pfvf() argument
2244 FW_PFVF_CMD_PMASK(pmask) | in t4_cfg_pfvf()
/linux-3.4.99/drivers/net/ethernet/broadcom/
Db44.c1479 static int b44_magic_pattern(u8 *macaddr, u8 *ppattern, u8 *pmask, int offset) in b44_magic_pattern() argument
1487 set_bit(len++, (unsigned long *) pmask); in b44_magic_pattern()
1499 set_bit(len++, (unsigned long *) pmask); in b44_magic_pattern()