Searched refs:secl (Results 1 – 2 of 2) sorted by relevance
/linux-6.1.9/drivers/net/ethernet/cadence/ |
D | macb_ptp.c | 47 u32 secl, sech; in gem_tsu_get_time() local 53 secl = gem_readl(bp, TSL); in gem_tsu_get_time() 65 secl = gem_readl(bp, TSL); in gem_tsu_get_time() 72 ts->tv_sec = (((u64)sech << GEM_TSL_SIZE) | secl) in gem_tsu_get_time() 82 u32 ns, sech, secl; in gem_tsu_set_time() local 84 secl = (u32)ts->tv_sec; in gem_tsu_set_time() 94 gem_writel(bp, TSL, secl); in gem_tsu_set_time()
|
/linux-6.1.9/drivers/net/dsa/hirschmann/ |
D | hellcreek_ptp.c | 102 u16 secl, nsh, nsl; in hellcreek_ptp_settime() local 104 secl = ts->tv_sec & 0xffff; in hellcreek_ptp_settime() 117 hellcreek_ptp_write(hellcreek, secl, PR_CLOCK_WRITE_C); in hellcreek_ptp_settime()
|