Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/wireless/ti/wl1251/
Dacx.c797 struct acx_tsf_info *tsf_info; in wl1251_acx_tsf_info() local
800 tsf_info = kzalloc(sizeof(*tsf_info), GFP_KERNEL); in wl1251_acx_tsf_info()
801 if (!tsf_info) in wl1251_acx_tsf_info()
805 tsf_info, sizeof(*tsf_info)); in wl1251_acx_tsf_info()
811 *mactime = tsf_info->current_tsf_lsb | in wl1251_acx_tsf_info()
812 ((u64)tsf_info->current_tsf_msb << 32); in wl1251_acx_tsf_info()
815 kfree(tsf_info); in wl1251_acx_tsf_info()
/Linux-v4.19/drivers/net/wireless/ti/wlcore/
Dacx.c1465 struct wl12xx_acx_fw_tsf_information *tsf_info; in wl12xx_acx_tsf_info() local
1468 tsf_info = kzalloc(sizeof(*tsf_info), GFP_KERNEL); in wl12xx_acx_tsf_info()
1469 if (!tsf_info) { in wl12xx_acx_tsf_info()
1474 tsf_info->role_id = wlvif->role_id; in wl12xx_acx_tsf_info()
1476 ret = wl1271_cmd_interrogate(wl, ACX_TSF_INFO, tsf_info, in wl12xx_acx_tsf_info()
1477 sizeof(struct acx_header), sizeof(*tsf_info)); in wl12xx_acx_tsf_info()
1483 *mactime = le32_to_cpu(tsf_info->current_tsf_low) | in wl12xx_acx_tsf_info()
1484 ((u64) le32_to_cpu(tsf_info->current_tsf_high) << 32); in wl12xx_acx_tsf_info()
1487 kfree(tsf_info); in wl12xx_acx_tsf_info()