Home
last modified time | relevance | path

Searched refs:rx (Results 1 – 11 of 11) sorted by relevance

/system/bt/stack/rfcomm/
Dport_utils.cc122 memset(&p_port->rx, 0, sizeof(p_port->rx)); in port_set_defaults()
126 p_port->rx.queue = fixed_queue_new(SIZE_MAX); in port_set_defaults()
209 while ((p_buf = (BT_HDR*)fixed_queue_try_dequeue(p_port->rx.queue)) != in port_release_port()
213 p_port->rx.queue_size = 0; in port_release_port()
239 fixed_queue_free(p_port->rx.queue, nullptr); in port_release_port()
240 p_port->rx.queue = nullptr; in port_release_port()
470 if ((p_port->credit_rx <= p_port->credit_rx_low) && !p_port->rx.user_fc && in port_flow_control_peer()
477 p_port->rx.peer_fc = false; in port_flow_control_peer()
484 p_port->rx.peer_fc = true; in port_flow_control_peer()
487 else if (fixed_queue_length(p_port->rx.queue) >= p_port->credit_rx_max) { in port_flow_control_peer()
[all …]
Dport_api.cc633 *p_rx_queue_count = p_port->rx.queue_size; in PORT_GetRxQueueCnt()
637 *p_rx_queue_count, p_port->rx.queue_size); in PORT_GetRxQueueCnt()
794 p_port->rx.user_fc = !enable; in PORT_FlowControl()
797 if (!p_port->rx.user_fc) { in PORT_FlowControl()
804 p_port->local_ctrl.fc = (p_port->rx.user_fc | p_port->rx.peer_fc); in PORT_FlowControl()
811 if (enable && (p_port->rx.queue_size != 0)) { in PORT_FlowControl()
861 p_port->rx.user_fc = !enable; in PORT_FlowControl_MaxCredit()
864 if (!p_port->rx.user_fc) { in PORT_FlowControl_MaxCredit()
871 p_port->local_ctrl.fc = (p_port->rx.user_fc | p_port->rx.peer_fc); in PORT_FlowControl_MaxCredit()
878 if (enable && (p_port->rx.queue_size != 0)) { in PORT_FlowControl_MaxCredit()
[all …]
Dport_rfc.cc793 if ((p_port->rx.queue_size + p_buf->len > PORT_RX_CRITICAL_WM) || in PORT_DataInd()
794 (fixed_queue_length(p_port->rx.queue) + 1 > p_port->rx_buf_critical)) { in PORT_DataInd()
815 fixed_queue_enqueue(p_port->rx.queue, p_buf); in PORT_DataInd()
816 p_port->rx.queue_size += p_buf->len; in PORT_DataInd()
824 if (p_port->rx.user_fc) { in PORT_DataInd()
Dport_int.h169 tPORT_DATA rx; /* Control block for data from peer to app */ member
Drfc_port_fsm.cc442 (!p_port->rx.user_fc) && in rfc_port_sm_opened()
471 if (!fixed_queue_is_empty(p_port->rx.queue)) { in rfc_port_sm_opened()
/system/core/trusty/storage/lib/
Dstorage.c150 struct iovec rx[2] = {{&msg, sizeof(msg)}, {&rsp, sizeof(rsp)}}; in storage_open_file() local
152 ssize_t rc = send_reqv(session, tx, 3, rx, 2); in storage_open_file()
171 struct iovec rx[1] = {{&msg, sizeof(msg)}}; in storage_close_file() local
173 ssize_t rc = send_reqv(_to_session(fh), tx, 2, rx, 1); in storage_close_file()
185 struct iovec rx[1] = {{&msg, sizeof(msg)}}; in storage_delete_file() local
187 ssize_t rc = send_reqv(session, tx, 3, rx, 1); in storage_delete_file()
196 struct iovec rx[2] = {{&msg, sizeof(msg)}, {buf, size}}; in _read_chunk() local
198 ssize_t rc = send_reqv(_to_session(fh), tx, 2, rx, 2); in _read_chunk()
231 struct iovec rx[1] = {{&msg, sizeof(msg)}}; in _write_req() local
233 ssize_t rc = send_reqv(_to_session(fh), tx, 3, rx, 1); in _write_req()
[all …]
/system/netd/server/
DNetlinkListener.cpp136 auto rx = sys.recvfrom(mSock, makeSlice(rxbuf), 0); in run() local
137 int err = rx.status().code(); in run()
146 forEachNetlinkMessage(rx.value(), rxHandler); in run()
/system/iorap/src/inode2filename/
Dsearch_directories.cc50 namespace rx = rxcpp;
240 using ObservableT = rx::observable<ResultT>;
546 void TreeTraversalPreOrderObservableImpl(rx::subscriber<TSimple> dest, T&& node, F&& fn) { in TreeTraversalPreOrderObservableImpl()
608 return rx::observable<>::create<T_simple>( in TreeTraversalPreOrderObservable()
610 [node=node,fn=std::forward<F>(fn)](rx::subscriber<T_simple> dest) { in TreeTraversalPreOrderObservable()
/system/core/logcat/
Devent.logtags107 52001 http_stats (useragent|3),(response|2|3),(processing|2|3),(tx|1|2),(rx|1|2)
/system/bt/stack/l2cap/
Dl2c_api.cc1416 tL2CAP_CHNL_DATA_RATE rx) { in L2CA_SetChnlDataRate() argument
1420 rx); in L2CA_SetChnlDataRate()
1431 p_ccb->rx_data_rate = rx; in L2CA_SetChnlDataRate()
/system/bt/stack/include/
Dl2c_api.h817 tL2CAP_CHNL_DATA_RATE rx);