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

/linux-master/drivers/thunderbolt/
H A Dtest.c130 sw->ports[7].config.nfc_credits = 0x41800000;
2041 KUNIT_EXPECT_EQ(test, path->hops[0].nfc_credits, 0U);
2043 KUNIT_EXPECT_EQ(test, path->hops[1].nfc_credits, 0U);
2048 KUNIT_EXPECT_EQ(test, path->hops[0].nfc_credits, 0U);
2050 KUNIT_EXPECT_EQ(test, path->hops[1].nfc_credits, 0U);
2074 KUNIT_EXPECT_EQ(test, path->hops[0].nfc_credits, 0U);
2076 KUNIT_EXPECT_EQ(test, path->hops[1].nfc_credits, 0U);
2081 KUNIT_EXPECT_EQ(test, path->hops[0].nfc_credits, 0U);
2083 KUNIT_EXPECT_EQ(test, path->hops[1].nfc_credits, 0U);
2107 KUNIT_EXPECT_EQ(test, path->hops[0].nfc_credits,
[all...]
H A Dswitch.c456 tb_dbg(tb, " NFC Credits: %#x\n", regs->nfc_credits);
569 u32 nfc_credits; local
581 nfc_credits = port->config.nfc_credits & ADP_CS_4_NFC_BUFFERS_MASK;
583 credits = max_t(int, -nfc_credits, credits);
585 nfc_credits += credits;
588 port->config.nfc_credits & ADP_CS_4_NFC_BUFFERS_MASK);
590 port->config.nfc_credits &= ~ADP_CS_4_NFC_BUFFERS_MASK;
591 port->config.nfc_credits |= nfc_credits;
1221 u32 nfc_credits; local
[all...]
H A Dtunnel.c1254 unsigned int nfc_credits; local
1264 nfc_credits = port->config.nfc_credits &
1266 if (nfc_credits / sw->min_dp_main_credits > max_dp_streams)
1269 hop->nfc_credits = sw->min_dp_main_credits;
1271 hop->nfc_credits = min(port->total_credits - 2, 12U);
H A Dpath.c384 -path->hops[i].nfc_credits);
532 path->hops[i].nfc_credits);
H A Dtb_regs.h301 u32 nfc_credits; member in struct:tb_regs_port_header
H A Dtb.h357 * @nfc_credits: Number of non-flow controlled buffers allocated for the
379 unsigned int nfc_credits; member in struct:tb_path_hop

Completed in 243 milliseconds