Home
last modified time | relevance | path

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

/linux-5.19.10/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-5.19.10/drivers/net/wireless/ti/wlcore/
Dacx.c1451 struct wl12xx_acx_fw_tsf_information *tsf_info; in wl12xx_acx_tsf_info() local
1454 tsf_info = kzalloc(sizeof(*tsf_info), GFP_KERNEL); in wl12xx_acx_tsf_info()
1455 if (!tsf_info) { in wl12xx_acx_tsf_info()
1460 tsf_info->role_id = wlvif->role_id; in wl12xx_acx_tsf_info()
1462 ret = wl1271_cmd_interrogate(wl, ACX_TSF_INFO, tsf_info, in wl12xx_acx_tsf_info()
1463 sizeof(struct acx_header), sizeof(*tsf_info)); in wl12xx_acx_tsf_info()
1469 *mactime = le32_to_cpu(tsf_info->current_tsf_low) | in wl12xx_acx_tsf_info()
1470 ((u64) le32_to_cpu(tsf_info->current_tsf_high) << 32); in wl12xx_acx_tsf_info()
1473 kfree(tsf_info); in wl12xx_acx_tsf_info()