Home
last modified time | relevance | path

Searched refs:hwtrap (Results 1 - 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/drivers/s390/net/
H A Dqeth_core_sys.c508 if (card->info.hwtrap) in qeth_hw_trap_show()
525 if (sysfs_streq(buf, "arm") && !card->info.hwtrap) { in qeth_hw_trap_store()
531 card->info.hwtrap = 1; in qeth_hw_trap_store()
535 card->info.hwtrap = 1; in qeth_hw_trap_store()
536 } else if (sysfs_streq(buf, "disarm") && card->info.hwtrap) { in qeth_hw_trap_store()
540 card->info.hwtrap = 0; in qeth_hw_trap_store()
542 card->info.hwtrap = 0; in qeth_hw_trap_store()
543 } else if (sysfs_streq(buf, "trap") && state && card->info.hwtrap) in qeth_hw_trap_store()
H A Dqeth_core_main.c905 if (card->info.hwtrap) in qeth_check_ipa_data()
906 card->info.hwtrap = 2; in qeth_check_ipa_data()
5265 (card->info.hwtrap && qeth_hw_trap(card, QETH_DIAGS_TRAP_ARM))) in qeth_hardsetup_card()
5266 card->info.hwtrap = 0; in qeth_hardsetup_card()
5345 if ((!resetting && card->info.hwtrap) || card->info.hwtrap == 2) { in qeth_set_offline()
5347 card->info.hwtrap = 1; in qeth_set_offline()
6457 if ((gdev->state == CCWGROUP_ONLINE) && card->info.hwtrap) in qeth_core_shutdown()
H A Dqeth_core.h735 __u32 hwtrap; member
/kernel/linux/linux-6.6/drivers/s390/net/
H A Dqeth_core_sys.c504 if (card->info.hwtrap) in qeth_hw_trap_show()
521 if (sysfs_streq(buf, "arm") && !card->info.hwtrap) { in qeth_hw_trap_store()
527 card->info.hwtrap = 1; in qeth_hw_trap_store()
531 card->info.hwtrap = 1; in qeth_hw_trap_store()
532 } else if (sysfs_streq(buf, "disarm") && card->info.hwtrap) { in qeth_hw_trap_store()
536 card->info.hwtrap = 0; in qeth_hw_trap_store()
538 card->info.hwtrap = 0; in qeth_hw_trap_store()
539 } else if (sysfs_streq(buf, "trap") && state && card->info.hwtrap) in qeth_hw_trap_store()
H A Dqeth_core.h732 __u32 hwtrap; member
H A Dqeth_core_main.c843 if (card->info.hwtrap) in qeth_check_ipa_data()
844 card->info.hwtrap = 2; in qeth_check_ipa_data()
5285 (card->info.hwtrap && qeth_hw_trap(card, QETH_DIAGS_TRAP_ARM))) in qeth_hardsetup_card()
5286 card->info.hwtrap = 0; in qeth_hardsetup_card()
5367 if ((!resetting && card->info.hwtrap) || card->info.hwtrap == 2) { in qeth_set_offline()
5369 card->info.hwtrap = 1; in qeth_set_offline()
6452 if ((gdev->state == CCWGROUP_ONLINE) && card->info.hwtrap) in qeth_core_shutdown()

Completed in 24 milliseconds