Lines Matching full:usecs
1339 uint32_t usecs; in ble_ll_pdu_tx_time_get() local
1343 /* 8 usecs per byte */ in ble_ll_pdu_tx_time_get()
1344 usecs = payload_len << 3; in ble_ll_pdu_tx_time_get()
1346 /* 4 usecs per byte */ in ble_ll_pdu_tx_time_get()
1347 usecs = payload_len << 2; in ble_ll_pdu_tx_time_get()
1349 /* S=8 => 8 * 8 = 64 usecs per byte */ in ble_ll_pdu_tx_time_get()
1350 usecs = payload_len << 6; in ble_ll_pdu_tx_time_get()
1352 /* S=2 => 2 * 8 = 16 usecs per byte */ in ble_ll_pdu_tx_time_get()
1353 usecs = payload_len << 4; in ble_ll_pdu_tx_time_get()
1358 usecs += g_ble_ll_pdu_header_tx_time[phy_mode]; in ble_ll_pdu_tx_time_get()
1360 usecs = (((payload_len) + BLE_LL_PDU_HDR_LEN + BLE_LL_ACC_ADDR_LEN in ble_ll_pdu_tx_time_get()
1364 return usecs; in ble_ll_pdu_tx_time_get()
1368 ble_ll_pdu_max_tx_octets_get(uint32_t usecs, int phy_mode) in ble_ll_pdu_max_tx_octets_get() argument
1389 if (usecs < header_tx_time) { in ble_ll_pdu_max_tx_octets_get()
1393 usecs -= header_tx_time; in ble_ll_pdu_max_tx_octets_get()
1396 /* 8 usecs per byte */ in ble_ll_pdu_max_tx_octets_get()
1397 octets = usecs >> 3; in ble_ll_pdu_max_tx_octets_get()
1399 /* 4 usecs per byte */ in ble_ll_pdu_max_tx_octets_get()
1400 octets = usecs >> 2; in ble_ll_pdu_max_tx_octets_get()
1402 /* S=8 => 8 * 8 = 64 usecs per byte */ in ble_ll_pdu_max_tx_octets_get()
1403 octets = usecs >> 6; in ble_ll_pdu_max_tx_octets_get()
1405 /* S=2 => 2 * 8 = 16 usecs per byte */ in ble_ll_pdu_max_tx_octets_get()
1406 octets = usecs >> 4; in ble_ll_pdu_max_tx_octets_get()