Searched refs:nfc_credits (Results 1 – 6 of 6) sorted by relevance
| /drivers/thunderbolt/ |
| 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 …]
|
| 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() 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() 1221 u32 nfc_credits; in tb_port_do_update_credits() local 1228 if (nfc_credits != port->config.nfc_credits) { in tb_port_do_update_credits() [all …]
|
| A D | tunnel.c | 1452 unsigned int nfc_credits; in tb_dp_init_video_credits() local 1462 nfc_credits = port->config.nfc_credits & in tb_dp_init_video_credits() 1464 if (nfc_credits / sw->min_dp_main_credits > max_dp_streams) in tb_dp_init_video_credits() 1467 hop->nfc_credits = sw->min_dp_main_credits; in tb_dp_init_video_credits() 1469 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() 532 path->hops[i].nfc_credits); in tb_path_activate()
|
| A D | tb_regs.h | 301 u32 nfc_credits; member
|
| A D | tb.h | 388 unsigned int nfc_credits; member
|
Completed in 33 milliseconds