Lines Matching refs:tb_cache
125 void *tb_cache; member
924 if (!lpm_priv->tb_cache) in ps3_lpm_copy_tb()
948 memcpy(buf, lpm_priv->tb_cache, tmp); in ps3_lpm_copy_tb()
979 if (!lpm_priv->tb_cache) in ps3_lpm_copy_tb_to_user()
1002 result = copy_to_user(buf, lpm_priv->tb_cache, tmp); in ps3_lpm_copy_tb_to_user()
1074 int ps3_lpm_open(enum ps3_lpm_tb_type tb_type, void *tb_cache, in ps3_lpm_open() argument
1084 if (tb_type == PS3_LPM_TB_TYPE_NONE && tb_cache) in ps3_lpm_open()
1097 lpm_priv->tb_cache = NULL; in ps3_lpm_open()
1098 } else if (tb_cache) { in ps3_lpm_open()
1099 if (tb_cache != (void *)ALIGN((unsigned long)tb_cache, 128) in ps3_lpm_open()
1108 lpm_priv->tb_cache = tb_cache; in ps3_lpm_open()
1117 lpm_priv->tb_cache = (void *)ALIGN( in ps3_lpm_open()
1122 ps3_mm_phys_to_lpar(__pa(lpm_priv->tb_cache)), in ps3_lpm_open()