Home
last modified time | relevance | path

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

/openbmc/linux/drivers/staging/vt6655/
H A Dcard.c767 u64 CARDqGetNextTBTT(u64 qwTSF, unsigned short wBeaconInterval) in CARDqGetNextTBTT() argument
773 do_div(qwTSF, beacon_int); in CARDqGetNextTBTT()
774 qwTSF += 1; in CARDqGetNextTBTT()
775 qwTSF *= beacon_int; in CARDqGetNextTBTT()
778 return qwTSF; in CARDqGetNextTBTT()
824 void CARDvUpdateNextTBTT(struct vnt_private *priv, u64 qwTSF, in CARDvUpdateNextTBTT() argument
829 qwTSF = CARDqGetNextTBTT(qwTSF, wBeaconInterval); in CARDvUpdateNextTBTT()
831 qwTSF = le64_to_cpu(qwTSF); in CARDvUpdateNextTBTT()
832 iowrite32((u32)qwTSF, iobase + MAC_REG_NEXTTBTT); in CARDvUpdateNextTBTT()
833 iowrite32((u32)(qwTSF >> 32), iobase + MAC_REG_NEXTTBTT + 4); in CARDvUpdateNextTBTT()
[all …]
H A Dcard.h47 void CARDvUpdateNextTBTT(struct vnt_private *priv, u64 qwTSF,
50 u64 CARDqGetNextTBTT(u64 qwTSF, unsigned short wBeaconInterval);