Home
last modified time | relevance | path

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

/linux/drivers/net/can/
H A 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/drivers/gpu/drm/xe/
H A Dxe_gt_debugfs.c138 xe_reg_sr_dump(&gt->reg_sr, p); in register_save_restore()
143 xe_reg_sr_dump(&hwe->reg_sr, p); in register_save_restore()
175 xe_reg_sr_readback_check(&gt->reg_sr, gt, p); in register_save_restore_check()
177 xe_reg_sr_readback_check(&hwe->reg_sr, gt, p); in register_save_restore_check()
H A Dxe_tuning.c215 xe_rtp_process_to_sr(&ctx, &gt_tunings, &gt->reg_sr, false); in xe_tuning_process_gt()
226 xe_rtp_process_to_sr(&ctx, &engine_tunings, &hwe->reg_sr, false); in xe_tuning_process_engine()
H A Dxe_reg_whitelist.c218 first_oa_slot = whitelist_apply_to_hwe(hwe, &hwe->reg_whitelist, &hwe->reg_sr, 0); in xe_reg_whitelist_process_engine()
232 whitelist_apply_to_hwe(hwe, &hwe->oa_whitelist, &hwe->reg_sr, first_oa_slot); in xe_reg_whitelist_process_engine()
H A Dxe_hw_engine_types.h133 struct xe_reg_sr reg_sr; member
H A Dxe_hw_engine.c477 xe_rtp_process_to_sr(&ctx, &engine_sr, &hwe->reg_sr, false); in hw_engine_setup_default_state()
577 xe_reg_sr_init(&hwe->reg_sr, hwe->name, gt_to_xe(gt)); in hw_engine_init_early()
624 xe_reg_sr_apply_mmio(&hwe->reg_sr, gt); in hw_engine_init()
H A Dxe_wa.c874 xe_rtp_process_to_sr(&ctx, &gt_was, &gt->reg_sr, false); in xe_wa_process_gt()
892 xe_rtp_process_to_sr(&ctx, &engine_was, &hwe->reg_sr, false); in xe_wa_process_engine()
/linux/drivers/gpu/drm/xe/tests/
H A Dxe_rtp_test.c534 struct xe_reg_sr *reg_sr = &gt->reg_sr; in xe_rtp_process_to_sr_tests() local
539 xe_reg_sr_init(reg_sr, "xe_rtp_to_sr_tests", xe); in xe_rtp_process_to_sr_tests()
542 xe_rtp_process_to_sr(&ctx, &param->table, reg_sr, false); in xe_rtp_process_to_sr_tests()
544 xa_for_each(&reg_sr->xa, idx, sre) { in xe_rtp_process_to_sr_tests()
562 KUNIT_EXPECT_EQ(test, reg_sr->errors, param->expected_sr_errors); in xe_rtp_process_to_sr_tests()