Searched refs:nfc_credits (Results 1 – 5 of 5) sorted by relevance
/linux/drivers/thunderbolt/ |
H A D | test.c | 130 sw->ports[7].config.nfc_credits = 0x41800000; in alloc_host() 2041 KUNIT_EXPECT_EQ(test, path->hops[0].nfc_credits, 0U); in tb_test_credit_alloc_legacy_not_bonded() 2043 KUNIT_EXPECT_EQ(test, path->hops[1].nfc_credits, 0U); in tb_test_credit_alloc_legacy_not_bonded() 2048 KUNIT_EXPECT_EQ(test, path->hops[0].nfc_credits, 0U); in tb_test_credit_alloc_legacy_not_bonded() 2050 KUNIT_EXPECT_EQ(test, path->hops[1].nfc_credits, 0U); in tb_test_credit_alloc_legacy_not_bonded() 2074 KUNIT_EXPECT_EQ(test, path->hops[0].nfc_credits, 0U); in tb_test_credit_alloc_legacy_bonded() 2076 KUNIT_EXPECT_EQ(test, path->hops[1].nfc_credits, 0U); in tb_test_credit_alloc_legacy_bonded() 2081 KUNIT_EXPECT_EQ(test, path->hops[0].nfc_credits, 0U); in tb_test_credit_alloc_legacy_bonded() 2083 KUNIT_EXPECT_EQ(test, path->hops[1].nfc_credits, 0U); in tb_test_credit_alloc_legacy_bonded() 2107 KUNIT_EXPECT_EQ(test, path->hops[0].nfc_credits, 0U); in tb_test_credit_alloc_pcie() [all …]
|
H A D | switch.c | 456 tb_dbg(tb, " NFC Credits: %#x\n", regs->nfc_credits); in tb_dump_port() 569 u32 nfc_credits; in tb_port_add_nfc_credits() local 581 nfc_credits = port->config.nfc_credits & ADP_CS_4_NFC_BUFFERS_MASK; in tb_port_add_nfc_credits() 583 credits = max_t(int, -nfc_credits, credits); in tb_port_add_nfc_credits() 585 nfc_credits += credits; in tb_port_add_nfc_credits() 588 port->config.nfc_credits & ADP_CS_4_NFC_BUFFERS_MASK); in tb_port_add_nfc_credits() 590 port->config.nfc_credits &= ~ADP_CS_4_NFC_BUFFERS_MASK; in tb_port_add_nfc_credits() 591 port->config.nfc_credits |= nfc_credits; in tb_port_add_nfc_credits() 593 return tb_port_write(port, &port->config.nfc_credits, in tb_port_add_nfc_credits() 750 (port->config.nfc_credits & ADP_CS_4_TOTAL_BUFFERS_MASK) >> in tb_init_port() [all …]
|
H A D | path.c | 384 -path->hops[i].nfc_credits); in __tb_path_deallocate_nfc() 532 path->hops[i].nfc_credits); in tb_path_activate()
|
H A D | tb_regs.h | 301 u32 nfc_credits; member
|
H A D | tb.h | 383 unsigned int nfc_credits; member
|