Searched refs:nfc_credits (Results 1 – 6 of 6) sorted by relevance
| /Linux-v5.15/drivers/thunderbolt/ |
| D | test.c | 130 sw->ports[7].config.nfc_credits = 0x41800000; in alloc_host() 1918 KUNIT_EXPECT_EQ(test, path->hops[0].nfc_credits, 0U); in tb_test_credit_alloc_legacy_not_bonded() 1920 KUNIT_EXPECT_EQ(test, path->hops[1].nfc_credits, 0U); in tb_test_credit_alloc_legacy_not_bonded() 1925 KUNIT_EXPECT_EQ(test, path->hops[0].nfc_credits, 0U); in tb_test_credit_alloc_legacy_not_bonded() 1927 KUNIT_EXPECT_EQ(test, path->hops[1].nfc_credits, 0U); in tb_test_credit_alloc_legacy_not_bonded() 1951 KUNIT_EXPECT_EQ(test, path->hops[0].nfc_credits, 0U); in tb_test_credit_alloc_legacy_bonded() 1953 KUNIT_EXPECT_EQ(test, path->hops[1].nfc_credits, 0U); in tb_test_credit_alloc_legacy_bonded() 1958 KUNIT_EXPECT_EQ(test, path->hops[0].nfc_credits, 0U); in tb_test_credit_alloc_legacy_bonded() 1960 KUNIT_EXPECT_EQ(test, path->hops[1].nfc_credits, 0U); in tb_test_credit_alloc_legacy_bonded() 1984 KUNIT_EXPECT_EQ(test, path->hops[0].nfc_credits, 0U); in tb_test_credit_alloc_pcie() [all …]
|
| D | switch.c | 508 tb_dbg(tb, " NFC Credits: %#x\n", regs->nfc_credits); in tb_dump_port() 613 u32 nfc_credits; in tb_port_add_nfc_credits() local 625 nfc_credits = port->config.nfc_credits & ADP_CS_4_NFC_BUFFERS_MASK; in tb_port_add_nfc_credits() 626 nfc_credits += credits; in tb_port_add_nfc_credits() 629 port->config.nfc_credits & ADP_CS_4_NFC_BUFFERS_MASK); in tb_port_add_nfc_credits() 631 port->config.nfc_credits &= ~ADP_CS_4_NFC_BUFFERS_MASK; in tb_port_add_nfc_credits() 632 port->config.nfc_credits |= nfc_credits; in tb_port_add_nfc_credits() 634 return tb_port_write(port, &port->config.nfc_credits, in tb_port_add_nfc_credits() 778 (port->config.nfc_credits & ADP_CS_4_TOTAL_BUFFERS_MASK) >> in tb_init_port() 1112 u32 nfc_credits; in tb_port_do_update_credits() local [all …]
|
| D | tunnel.c | 715 unsigned int nfc_credits; in tb_dp_init_video_credits() local 725 nfc_credits = port->config.nfc_credits & in tb_dp_init_video_credits() 727 if (nfc_credits / sw->min_dp_main_credits > max_dp_streams) in tb_dp_init_video_credits() 730 hop->nfc_credits = sw->min_dp_main_credits; in tb_dp_init_video_credits() 732 hop->nfc_credits = min(port->total_credits - 2, 12U); in tb_dp_init_video_credits()
|
| D | path.c | 370 -path->hops[i].nfc_credits); in __tb_path_deallocate_nfc() 505 path->hops[i].nfc_credits); in tb_path_activate()
|
| D | tb_regs.h | 283 u32 nfc_credits; member
|
| D | tb.h | 322 unsigned int nfc_credits; member
|