Searched refs:reg_sr (Results 1 – 11 of 11) sorted by relevance
/linux-6.12.1/drivers/net/can/ |
D | at91_can.c | 651 static void at91_irq_tx(struct net_device *dev, u32 reg_sr) in at91_irq_tx() argument 661 if (!(reg_sr & (1 << mb))) in at91_irq_tx() 692 static void at91_irq_err_line(struct net_device *dev, const u32 reg_sr) in at91_irq_err_line() argument 719 if (reg_sr & AT91_IRQ_BOFF) in at91_irq_err_line() 753 static void at91_irq_err_frame(struct net_device *dev, const u32 reg_sr) in at91_irq_err_frame() argument 768 if (reg_sr & AT91_IRQ_CERR) { in at91_irq_err_frame() 776 if (reg_sr & AT91_IRQ_SERR) { in at91_irq_err_frame() 784 if (reg_sr & AT91_IRQ_AERR) { in at91_irq_err_frame() 794 if (reg_sr & AT91_IRQ_FERR) { in at91_irq_err_frame() 802 if (reg_sr & AT91_IRQ_BERR) { in at91_irq_err_frame() [all …]
|
/linux-6.12.1/drivers/gpu/drm/xe/tests/ |
D | xe_rtp_test.c | 312 struct xe_reg_sr *reg_sr = >->reg_sr; in xe_rtp_process_to_sr_tests() local 317 xe_reg_sr_init(reg_sr, "xe_rtp_to_sr_tests", xe); in xe_rtp_process_to_sr_tests() 323 xe_rtp_process_to_sr(&ctx, param->entries, reg_sr); in xe_rtp_process_to_sr_tests() 325 xa_for_each(®_sr->xa, idx, sre) { in xe_rtp_process_to_sr_tests() 343 KUNIT_EXPECT_EQ(test, reg_sr->errors, param->expected_sr_errors); in xe_rtp_process_to_sr_tests()
|
D | xe_wa_test.c | 136 xe_reg_sr_init(>->reg_sr, "GT", xe); in xe_wa_gt() 141 KUNIT_ASSERT_EQ(test, gt->reg_sr.errors, 0); in xe_wa_gt()
|
/linux-6.12.1/drivers/gpu/drm/xe/ |
D | xe_tuning.c | 150 xe_rtp_process_to_sr(&ctx, gt_tunings, >->reg_sr); in xe_tuning_process_gt() 158 xe_rtp_process_to_sr(&ctx, engine_tunings, &hwe->reg_sr); in xe_tuning_process_engine()
|
D | xe_gt_debugfs.c | 180 xe_reg_sr_dump(>->reg_sr, p); in register_save_restore() 185 xe_reg_sr_dump(&hwe->reg_sr, p); in register_save_restore()
|
D | xe_gt.c | 376 xe_reg_sr_init(>->reg_sr, "GT", gt_to_xe(gt)); in xe_gt_init_early() 468 xe_reg_sr_apply_mmio(>->reg_sr, gt); in all_fw_domain_init() 696 xe_reg_sr_apply_mmio(>->reg_sr, gt); in do_gt_restart() 725 xe_reg_sr_apply_mmio(&hwe->reg_sr, gt); in do_gt_restart()
|
D | xe_hw_engine_types.h | 126 struct xe_reg_sr reg_sr; member
|
D | xe_gt_types.h | 173 struct xe_reg_sr reg_sr; member
|
D | xe_hw_engine.c | 460 xe_rtp_process_to_sr(&ctx, engine_entries, &hwe->reg_sr); in hw_engine_setup_default_state() 529 xe_reg_sr_init(&hwe->reg_sr, hwe->name, gt_to_xe(gt)); in hw_engine_init_early() 548 xe_reg_sr_apply_mmio(&hwe->reg_sr, gt); in hw_engine_init()
|
D | xe_wa.c | 787 xe_rtp_process_to_sr(&ctx, gt_was, >->reg_sr); in xe_wa_process_gt() 805 xe_rtp_process_to_sr(&ctx, engine_was, &hwe->reg_sr); in xe_wa_process_engine()
|
D | xe_guc_ads.c | 246 xa_for_each(&hwe->reg_sr.xa, sr_idx, sr_entry) in calculate_regset_size() 594 xa_for_each(&hwe->reg_sr.xa, idx, entry) in guc_mmio_regset_write()
|