Home
last modified time | relevance | path

Searched refs:reg_sr (Results 1 – 11 of 11) sorted by relevance

/linux-6.12.1/drivers/net/can/
Dat91_can.c651 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/
Dxe_rtp_test.c312 struct xe_reg_sr *reg_sr = &gt->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(&reg_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()
Dxe_wa_test.c136 xe_reg_sr_init(&gt->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/
Dxe_tuning.c150 xe_rtp_process_to_sr(&ctx, gt_tunings, &gt->reg_sr); in xe_tuning_process_gt()
158 xe_rtp_process_to_sr(&ctx, engine_tunings, &hwe->reg_sr); in xe_tuning_process_engine()
Dxe_gt_debugfs.c180 xe_reg_sr_dump(&gt->reg_sr, p); in register_save_restore()
185 xe_reg_sr_dump(&hwe->reg_sr, p); in register_save_restore()
Dxe_gt.c376 xe_reg_sr_init(&gt->reg_sr, "GT", gt_to_xe(gt)); in xe_gt_init_early()
468 xe_reg_sr_apply_mmio(&gt->reg_sr, gt); in all_fw_domain_init()
696 xe_reg_sr_apply_mmio(&gt->reg_sr, gt); in do_gt_restart()
725 xe_reg_sr_apply_mmio(&hwe->reg_sr, gt); in do_gt_restart()
Dxe_hw_engine_types.h126 struct xe_reg_sr reg_sr; member
Dxe_gt_types.h173 struct xe_reg_sr reg_sr; member
Dxe_hw_engine.c460 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()
Dxe_wa.c787 xe_rtp_process_to_sr(&ctx, gt_was, &gt->reg_sr); in xe_wa_process_gt()
805 xe_rtp_process_to_sr(&ctx, engine_was, &hwe->reg_sr); in xe_wa_process_engine()
Dxe_guc_ads.c246 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()