Home
last modified time | relevance | path

Searched refs:pval (Results 1 – 4 of 4) sorted by relevance

/arch/powerpc/platforms/4xx/
Dpci.c1922 const u32 *pval; in ppc4xx_pciex_port_setup_hose() local
2028 pval = of_get_property(port->node, "vendor-id", NULL); in ppc4xx_pciex_port_setup_hose()
2029 if (pval) { in ppc4xx_pciex_port_setup_hose()
2030 val = *pval; in ppc4xx_pciex_port_setup_hose()
2039 pval = of_get_property(port->node, "device-id", NULL); in ppc4xx_pciex_port_setup_hose()
2040 if (pval) { in ppc4xx_pciex_port_setup_hose()
2041 val = *pval; in ppc4xx_pciex_port_setup_hose()
2081 const u32 *pval; in ppc4xx_probe_pciex_bridge() local
2093 pval = of_get_property(np, "port", NULL); in ppc4xx_probe_pciex_bridge()
2094 if (pval == NULL) { in ppc4xx_probe_pciex_bridge()
[all …]
/arch/sparc/kernel/
Dchmc.c696 const void *pval; in chmc_probe() local
711 pval = of_get_property(dp, "memory-layout", &len); in chmc_probe()
712 if (pval && len > sizeof(p->layout_prop)) { in chmc_probe()
727 if (!pval) in chmc_probe()
730 memcpy(&p->layout_prop, pval, len); in chmc_probe()
/arch/arm/kvm/
Dcoproc.c480 const unsigned long pval = (unsigned long)key; in match_reg() local
483 return pval - reg_to_match_value(r); in match_reg()
490 unsigned long pval = reg_to_match_value(params); in find_reg() local
492 return bsearch((void *)pval, table, num, sizeof(table[0]), match_reg); in find_reg()
/arch/arm64/kvm/
Dsys_regs.c1445 const unsigned long pval = (unsigned long)key; in match_sys_reg() local
1448 return pval - reg_to_match_value(r); in match_sys_reg()
1455 unsigned long pval = reg_to_match_value(params); in find_reg() local
1457 return bsearch((void *)pval, table, num, sizeof(table[0]), match_sys_reg); in find_reg()