Lines Matching +full:0 +full:xa
35 xa_destroy(&sr->xa); in reg_sr_fini()
37 memset(&sr->pool, 0, sizeof(sr->pool)); in reg_sr_fini()
42 xa_init(&sr->xa); in xe_reg_sr_init()
43 memset(&sr->pool, 0, sizeof(sr->pool)); in xe_reg_sr_init()
98 struct xe_reg_sr_entry *pentry = xa_load(&sr->xa, idx); in xe_reg_sr_add()
111 return 0; in xe_reg_sr_add()
121 ret = xa_err(xa_store(&sr->xa, idx, pentry, GFP_KERNEL)); in xe_reg_sr_add()
125 return 0; in xe_reg_sr_add()
169 val = 0; in apply_one_mmio()
178 xe_gt_dbg(gt, "REG[0x%x] = 0x%08x", reg.addr, val); in apply_one_mmio()
192 if (xa_empty(&sr->xa)) in xe_reg_sr_apply_mmio()
201 xa_for_each(&sr->xa, reg, entry) in xe_reg_sr_apply_mmio()
222 unsigned int slot = 0; in xe_reg_sr_apply_whitelist()
225 if (xa_empty(&sr->xa)) in xe_reg_sr_apply_whitelist()
235 xa_for_each(&sr->xa, reg, entry) { in xe_reg_sr_apply_whitelist()
243 xe_reg_whitelist_print_entry(&p, 0, reg, entry); in xe_reg_sr_apply_whitelist()
275 if (!sr->name || xa_empty(&sr->xa)) in xe_reg_sr_dump()
279 xa_for_each(&sr->xa, reg, entry) in xe_reg_sr_dump()
280 drm_printf(p, "\tREG[0x%lx] clr=0x%08x set=0x%08x masked=%s mcr=%s\n", in xe_reg_sr_dump()