/Zephyr-latest/tests/bsim/bluetooth/host/misc/disconnect/tester/src/ |
D | main.c | 361 static void read_max_data_len(uint16_t *tx_octets, uint16_t *tx_time) in read_max_data_len() argument 370 *tx_time = sys_le16_to_cpu(rp->max_tx_time); in read_max_data_len() 374 static void write_default_data_len(uint16_t tx_octets, uint16_t tx_time) in write_default_data_len() argument 383 cp->max_tx_time = sys_cpu_to_le16(tx_time); in write_default_data_len() 390 uint16_t tx_octets, tx_time; in set_data_len() local 392 read_max_data_len(&tx_octets, &tx_time); in set_data_len() 393 write_default_data_len(tx_octets, tx_time); in set_data_len()
|
/Zephyr-latest/tests/bsim/bluetooth/host/att/sequential/tester/src/ |
D | main.c | 383 static void read_max_data_len(uint16_t *tx_octets, uint16_t *tx_time) in read_max_data_len() argument 392 *tx_time = sys_le16_to_cpu(rp->max_tx_time); in read_max_data_len() 396 static void write_default_data_len(uint16_t tx_octets, uint16_t tx_time) in write_default_data_len() argument 405 cp->max_tx_time = sys_cpu_to_le16(tx_time); in write_default_data_len() 412 uint16_t tx_octets, tx_time; in set_data_len() local 414 read_max_data_len(&tx_octets, &tx_time); in set_data_len() 415 write_default_data_len(tx_octets, tx_time); in set_data_len()
|
/Zephyr-latest/tests/bsim/bluetooth/host/att/pipeline/tester/src/ |
D | main.c | 407 static void read_max_data_len(uint16_t *tx_octets, uint16_t *tx_time) in read_max_data_len() argument 416 *tx_time = sys_le16_to_cpu(rp->max_tx_time); in read_max_data_len() 420 static void write_default_data_len(uint16_t tx_octets, uint16_t tx_time) in write_default_data_len() argument 429 cp->max_tx_time = sys_cpu_to_le16(tx_time); in write_default_data_len() 436 uint16_t tx_octets, tx_time; in set_data_len() local 438 read_max_data_len(&tx_octets, &tx_time); in set_data_len() 439 write_default_data_len(tx_octets, tx_time); in set_data_len()
|
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/ |
D | ull_conn.c | 548 static bool ll_len_validate(uint16_t tx_octets, uint16_t tx_time) in ll_len_validate() argument 557 if (!IN_RANGE(tx_time, PDU_DC_PAYLOAD_TIME_MIN, in ll_len_validate() 566 uint16_t tx_time) in ll_length_req_send() argument 571 !ll_len_validate(tx_octets, tx_time)) { in ll_length_req_send() 586 err = ull_cp_data_length_update(conn, tx_octets, tx_time); in ll_length_req_send() 1300 uint32_t ready_delay, rx_time, tx_time, ticks_slot, slot_us; in ull_conn_done() local 1311 tx_time = lll->dle.eff.max_tx_time; in ull_conn_done() 1315 tx_time = MAX(PDU_DC_MAX_US(PDU_DC_PAYLOAD_SIZE_MIN, 0), in ull_conn_done() 1322 tx_time = PDU_MAX_US(0U, 0U, lll->phy_tx); in ull_conn_done() 1331 tx_time = PDU_DC_MAX_US(lll->dle.eff.max_tx_octets, 0); in ull_conn_done() [all …]
|
D | ull_conn_internal.h | 98 void ull_conn_default_tx_time_set(uint16_t tx_time); 111 void ull_dle_local_tx_update(struct ll_conn *conn, uint16_t tx_octets, uint16_t tx_time);
|
/Zephyr-latest/tests/bsim/bluetooth/host/l2cap/split/tester/src/ |
D | main.c | 363 static void read_max_data_len(uint16_t *tx_octets, uint16_t *tx_time) in read_max_data_len() argument 372 *tx_time = sys_le16_to_cpu(rp->max_tx_time); in read_max_data_len() 376 static void write_default_data_len(uint16_t tx_octets, uint16_t tx_time) in write_default_data_len() argument 385 cp->max_tx_time = sys_cpu_to_le16(tx_time); in write_default_data_len() 392 uint16_t tx_octets, tx_time; in set_data_len() local 394 read_max_data_len(&tx_octets, &tx_time); in set_data_len() 395 write_default_data_len(tx_octets, tx_time); in set_data_len()
|
/Zephyr-latest/tests/bsim/bluetooth/host/misc/hfc_multilink/tester/src/ |
D | tester.c | 375 static void read_max_data_len(uint16_t *tx_octets, uint16_t *tx_time) in read_max_data_len() argument 384 *tx_time = sys_le16_to_cpu(rp->max_tx_time); in read_max_data_len() 388 static void write_default_data_len(uint16_t tx_octets, uint16_t tx_time) in write_default_data_len() argument 397 cp->max_tx_time = sys_cpu_to_le16(tx_time); in write_default_data_len() 404 uint16_t tx_octets, tx_time; in set_data_len() local 406 read_max_data_len(&tx_octets, &tx_time); in set_data_len() 407 write_default_data_len(tx_octets, tx_time); in set_data_len()
|
/Zephyr-latest/tests/bluetooth/controller/ctrl_hci/src/ |
D | main.c | 300 uint16_t tx_octets, tx_time; in ZTEST() local 311 tx_time = 2400; in ZTEST() 314 err = ll_length_req_send(conn_handle, tx_octets, tx_time); in ZTEST() 317 err = ll_length_req_send(conn_handle + 1, tx_octets, tx_time); in ZTEST()
|
/Zephyr-latest/subsys/net/ip/ |
D | net_stats.c | 544 (struct net_stats_tx_time *tx_time = in net_stats_prometheus_scrape() 549 (double)tx_time->sum, in net_stats_prometheus_scrape() 550 (unsigned long)tx_time->count))); in net_stats_prometheus_scrape()
|
D | net_stats.h | 422 UPDATE_STAT(iface, stats.tx_time.sum += in net_stats_update_tx_time() 424 UPDATE_STAT(iface, stats.tx_time.count += 1); in net_stats_update_tx_time() 510 UPDATE_STAT(iface, stats.tc.sent[tc].tx_time.sum += in net_stats_update_tc_tx_time() 512 UPDATE_STAT(iface, stats.tc.sent[tc].tx_time.count += 1); in net_stats_update_tc_tx_time()
|
D | net_if.c | 281 SYS_PORT_TRACING_FUNC(net, tx_time, pkt, end_tick); in net_if_tx()
|
/Zephyr-latest/subsys/bluetooth/host/ |
D | hci_core.h | 463 int bt_le_set_data_len(struct bt_conn *conn, uint16_t tx_octets, uint16_t tx_time); 572 int bt_hci_le_read_max_data_len(uint16_t *tx_octets, uint16_t *tx_time);
|
D | hci_core.c | 503 int bt_hci_le_read_max_data_len(uint16_t *tx_octets, uint16_t *tx_time) in bt_hci_le_read_max_data_len() argument 517 *tx_time = sys_le16_to_cpu(rp->max_tx_time); in bt_hci_le_read_max_data_len() 523 if (!IN_RANGE(*tx_time, BT_HCI_LE_MAX_TX_TIME_MIN, BT_HCI_LE_MAX_TX_TIME_MAX)) { in bt_hci_le_read_max_data_len() 524 LOG_WRN("tx_time exceeds the valid range %u", *tx_time); in bt_hci_le_read_max_data_len() 1081 int bt_le_set_data_len(struct bt_conn *conn, uint16_t tx_octets, uint16_t tx_time) in bt_le_set_data_len() argument 1094 cp->tx_time = sys_cpu_to_le16(tx_time); in bt_le_set_data_len() 3631 uint16_t tx_octets, tx_time; in le_init() local 3633 err = bt_hci_le_read_max_data_len(&tx_octets, &tx_time); in le_init() 3646 cp->max_tx_time = sys_cpu_to_le16(tx_time); in le_init()
|
D | conn.c | 1796 uint16_t tx_octets, tx_time; in perform_auto_initiated_procedures() local 1798 err = bt_hci_le_read_max_data_len(&tx_octets, &tx_time); in perform_auto_initiated_procedures() 1800 err = bt_le_set_data_len(conn, tx_octets, tx_time); in perform_auto_initiated_procedures()
|
/Zephyr-latest/subsys/net/lib/shell/ |
D | stats.c | 316 tc.sent[i].tx_time.count); in print_tc_tx_stats() 330 tc.sent[i].tx_time.sum) / in print_tc_tx_stats() 350 net_stats_t count = GET_STAT(iface, tx_time.count); in print_tc_tx_stats() 354 (uint32_t)(GET_STAT(iface, tx_time.sum) / (uint64_t)count), in print_tc_tx_stats()
|
/Zephyr-latest/include/zephyr/net/ |
D | net_stats.h | 323 struct net_stats_tx_time tx_time; member 449 struct net_stats_tx_time tx_time; member 1338 NET_STATS_GET_INSTANCE(dev_id, sfx, tx_time), \ 1341 NET_STATS_GET_VAR(dev_id, sfx, tx_time), \ 1342 &(iface)->stats.tx_time)
|
/Zephyr-latest/drivers/ieee802154/ |
D | ieee802154_dw1000.c | 786 uint32_t tx_time = 0; in dwt_tx() local 810 tx_time = (tmp_fs / DWT_TS_TIME_UNITS_FS) >> 8; in dwt_tx() 813 dwt_reg_write_u32(dev, DWT_DX_TIME_ID, 1, tx_time); in dwt_tx() 815 LOG_DBG("ntx hi32 %x", tx_time); in dwt_tx()
|
/Zephyr-latest/subsys/bluetooth/controller/include/ |
D | ll.h | 270 uint32_t ll_length_req_send(uint16_t handle, uint16_t tx_octets, uint16_t tx_time);
|
/Zephyr-latest/subsys/bluetooth/controller/hci/ |
D | hci.c | 2607 uint16_t tx_time; in le_set_data_len() local 2613 tx_time = sys_le16_to_cpu(cmd->tx_time); in le_set_data_len() 2614 status = ll_length_req_send(handle, tx_octets, tx_time); in le_set_data_len()
|
/Zephyr-latest/include/zephyr/bluetooth/ |
D | hci_types.h | 1314 uint16_t tx_time; member
|