Searched refs:nfc_credits (Results 1 – 6 of 6) sorted by relevance
/linux-6.3-rc2/drivers/thunderbolt/ |
A D | test.c | 130 sw->ports[7].config.nfc_credits = 0x41800000; in alloc_host() 1959 KUNIT_EXPECT_EQ(test, path->hops[0].nfc_credits, 0U); in tb_test_credit_alloc_legacy_not_bonded() 1961 KUNIT_EXPECT_EQ(test, path->hops[1].nfc_credits, 0U); in tb_test_credit_alloc_legacy_not_bonded() 1966 KUNIT_EXPECT_EQ(test, path->hops[0].nfc_credits, 0U); in tb_test_credit_alloc_legacy_not_bonded() 1968 KUNIT_EXPECT_EQ(test, path->hops[1].nfc_credits, 0U); in tb_test_credit_alloc_legacy_not_bonded() 1992 KUNIT_EXPECT_EQ(test, path->hops[0].nfc_credits, 0U); in tb_test_credit_alloc_legacy_bonded() 1994 KUNIT_EXPECT_EQ(test, path->hops[1].nfc_credits, 0U); in tb_test_credit_alloc_legacy_bonded() 1999 KUNIT_EXPECT_EQ(test, path->hops[0].nfc_credits, 0U); in tb_test_credit_alloc_legacy_bonded() 2001 KUNIT_EXPECT_EQ(test, path->hops[1].nfc_credits, 0U); in tb_test_credit_alloc_legacy_bonded() 2025 KUNIT_EXPECT_EQ(test, path->hops[0].nfc_credits, 0U); in tb_test_credit_alloc_pcie() [all …]
|
A D | switch.c | 459 tb_dbg(tb, " NFC Credits: %#x\n", regs->nfc_credits); in tb_dump_port() 572 u32 nfc_credits; in tb_port_add_nfc_credits() local 584 nfc_credits = port->config.nfc_credits & ADP_CS_4_NFC_BUFFERS_MASK; in tb_port_add_nfc_credits() 586 credits = max_t(int, -nfc_credits, credits); in tb_port_add_nfc_credits() 588 nfc_credits += credits; in tb_port_add_nfc_credits() 593 port->config.nfc_credits &= ~ADP_CS_4_NFC_BUFFERS_MASK; in tb_port_add_nfc_credits() 594 port->config.nfc_credits |= nfc_credits; in tb_port_add_nfc_credits() 596 return tb_port_write(port, &port->config.nfc_credits, in tb_port_add_nfc_credits() 1145 u32 nfc_credits; in tb_port_do_update_credits() local 1152 if (nfc_credits != port->config.nfc_credits) { in tb_port_do_update_credits() [all …]
|
A D | tunnel.c | 1090 unsigned int nfc_credits; in tb_dp_init_video_credits() local 1100 nfc_credits = port->config.nfc_credits & in tb_dp_init_video_credits() 1102 if (nfc_credits / sw->min_dp_main_credits > max_dp_streams) in tb_dp_init_video_credits() 1105 hop->nfc_credits = sw->min_dp_main_credits; in tb_dp_init_video_credits() 1107 hop->nfc_credits = min(port->total_credits - 2, 12U); in tb_dp_init_video_credits()
|
A D | path.c | 384 -path->hops[i].nfc_credits); in __tb_path_deallocate_nfc() 519 path->hops[i].nfc_credits); in tb_path_activate()
|
A D | tb_regs.h | 294 u32 nfc_credits; member
|
A D | tb.h | 375 unsigned int nfc_credits; member
|
Completed in 27 milliseconds