Lines Matching refs:p
35 #define BYTES_TO_UINT16(n, p) \ argument
37 n = ((u16)(p)[0] + ((u16)(p)[1] << 8)); \
39 #define BSTREAM_TO_UINT16(n, p) \ argument
41 BYTES_TO_UINT16(n, p); \
42 p += 2; \
75 u8 *p = bltHci_txfifo.p + (bltHci_txfifo.rptr & bltHci_txfifo.mask) * bltHci_txfifo.size; in b91_bt_hci_tx_handler() local
76 if (p) { in b91_bt_hci_tx_handler()
78 BSTREAM_TO_UINT16(len, p); in b91_bt_hci_tx_handler()
83 b91_ctrl.callbacks.host_read_packet(p, len); in b91_bt_hci_tx_handler()
106 u8 *p = bltHci_rxfifo.p + (bltHci_rxfifo.rptr & bltHci_rxfifo.mask) * bltHci_rxfifo.size; in b91_bt_hci_rx_handler() local
107 if (p) { in b91_bt_hci_rx_handler()
109 blc_hci_handler(&p[0], 0); in b91_bt_hci_rx_handler()
174 u8 *p = bltHci_rxfifo.p + (bltHci_rxfifo.wptr & bltHci_rxfifo.mask) * bltHci_rxfifo.size; in b91_bt_host_send_packet() local
175 *p++ = type; in b91_bt_host_send_packet()
176 memcpy(p, data, len); in b91_bt_host_send_packet()