Home
last modified time | relevance | path

Searched refs:ptest (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.4/lib/
Dtest_bitmap.c294 #define ptest parselist_tests[i] in __test_bitmap_parselist() macro
298 size_t len = strlen(ptest.in); in __test_bitmap_parselist()
302 err = bitmap_parselist_user(ptest.in, len, in __test_bitmap_parselist()
303 bmap, ptest.nbits); in __test_bitmap_parselist()
308 err = bitmap_parselist(ptest.in, bmap, ptest.nbits); in __test_bitmap_parselist()
312 if (err != ptest.errno) { in __test_bitmap_parselist()
314 mode, i, ptest.in, err, ptest.errno); in __test_bitmap_parselist()
318 if (!err && ptest.expected in __test_bitmap_parselist()
319 && !__bitmap_equal(bmap, ptest.expected, ptest.nbits)) { in __test_bitmap_parselist()
321 mode, i, ptest.in, bmap[0], in __test_bitmap_parselist()
[all …]
/Linux-v5.4/drivers/net/ethernet/broadcom/
Dtg3.c8205 u32 val, bmcr, mac_mode, ptest = 0; in tg3_phy_lpbk_set() local
8238 ptest = MII_TG3_FET_PTEST_TRIM_SEL | in tg3_phy_lpbk_set()
8240 tg3_writephy(tp, MII_TG3_FET_PTEST, ptest); in tg3_phy_lpbk_set()
8255 tg3_writephy(tp, MII_TG3_FET_PTEST, ptest | in tg3_phy_lpbk_set()