Home
last modified time | relevance | path

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

/drivers/net/wireless/wl1251/
Dacx.c855 struct acx_tsf_info *tsf_info; in wl1251_acx_tsf_info() local
858 tsf_info = kzalloc(sizeof(*tsf_info), GFP_KERNEL); in wl1251_acx_tsf_info()
859 if (!tsf_info) { in wl1251_acx_tsf_info()
865 tsf_info, sizeof(*tsf_info)); in wl1251_acx_tsf_info()
871 *mactime = tsf_info->current_tsf_lsb | in wl1251_acx_tsf_info()
872 (tsf_info->current_tsf_msb << 31); in wl1251_acx_tsf_info()
875 kfree(tsf_info); in wl1251_acx_tsf_info()
/drivers/net/wireless/wl12xx/
Dacx.c1467 struct wl12xx_acx_fw_tsf_information *tsf_info; in wl12xx_acx_tsf_info() local
1470 tsf_info = kzalloc(sizeof(*tsf_info), GFP_KERNEL); in wl12xx_acx_tsf_info()
1471 if (!tsf_info) { in wl12xx_acx_tsf_info()
1476 tsf_info->role_id = wlvif->role_id; in wl12xx_acx_tsf_info()
1479 tsf_info, sizeof(*tsf_info)); in wl12xx_acx_tsf_info()
1485 *mactime = le32_to_cpu(tsf_info->current_tsf_low) | in wl12xx_acx_tsf_info()
1486 ((u64) le32_to_cpu(tsf_info->current_tsf_high) << 32); in wl12xx_acx_tsf_info()
1489 kfree(tsf_info); in wl12xx_acx_tsf_info()