Home
last modified time | relevance | path

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

/linux/drivers/staging/vt6655/
H A Dcard.c767 u64 card_get_next_tbtt(u64 qwTSF, unsigned short beacon_interval) in card_get_next_tbtt() argument
773 do_div(qwTSF, beacon_int); in card_get_next_tbtt()
774 qwTSF += 1; in card_get_next_tbtt()
775 qwTSF *= beacon_int; in card_get_next_tbtt()
778 return qwTSF; in card_get_next_tbtt()
824 void CARDvUpdateNextTBTT(struct vnt_private *priv, u64 qwTSF, in CARDvUpdateNextTBTT() argument
829 qwTSF = card_get_next_tbtt(qwTSF, beacon_interval); 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 card_get_next_tbtt(u64 qwTSF, unsigned short beacon_interval);