Home
last modified time | relevance | path

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

/hardware/broadcom/libbt/src/
Dhardware.c554 static uint8_t hw_config_set_bdaddr(HC_BT_HDR *p_buf) in hw_config_set_bdaddr() argument
557 uint8_t *p = (uint8_t *) (p_buf + 1); in hw_config_set_bdaddr()
572 p_buf->len = HCI_CMD_PREAMBLE_SIZE + BD_ADDR_LEN; in hw_config_set_bdaddr()
575 retval = bt_vendor_cbacks->xmit_cb(HCI_VSC_WRITE_BD_ADDR, p_buf, \ in hw_config_set_bdaddr()
592 static uint8_t hw_config_read_bdaddr(HC_BT_HDR *p_buf) in hw_config_read_bdaddr() argument
595 uint8_t *p = (uint8_t *) (p_buf + 1); in hw_config_read_bdaddr()
600 p_buf->len = HCI_CMD_PREAMBLE_SIZE; in hw_config_read_bdaddr()
603 retval = bt_vendor_cbacks->xmit_cb(HCI_READ_LOCAL_BDADDR, p_buf, \ in hw_config_read_bdaddr()
625 HC_BT_HDR *p_buf=NULL; in hw_config_cback() local
639 p_buf = (HC_BT_HDR *) bt_vendor_cbacks->alloc(BT_HC_HDR_SIZE + \ in hw_config_cback()
[all …]
/hardware/qcom/bt/msm8960/libbt-vendor/src/
Dhardware.c144 HC_BT_HDR *p_buf = NULL; in hw_epilog_process() local
153 p_buf = (HC_BT_HDR *) bt_vendor_cbacks->alloc(BT_HC_HDR_SIZE + \ in hw_epilog_process()
157 if (p_buf) in hw_epilog_process()
159 p_buf->event = MSG_STACK_TO_HC_HCI_CMD; in hw_epilog_process()
160 p_buf->offset = 0; in hw_epilog_process()
161 p_buf->layer_specific = 0; in hw_epilog_process()
162 p_buf->len = HCI_CMD_PREAMBLE_SIZE; in hw_epilog_process()
164 p = (uint8_t *) (p_buf + 1); in hw_epilog_process()
169 bt_vendor_cbacks->xmit_cb(HCI_RESET, p_buf, hw_epilog_cback); in hw_epilog_process()
/hardware/qcom/bt/msm8992/libbt-vendor/src/
Dhardware.c143 HC_BT_HDR *p_buf = NULL; in hw_epilog_process() local
152 p_buf = (HC_BT_HDR *) bt_vendor_cbacks->alloc(BT_HC_HDR_SIZE + \ in hw_epilog_process()
156 if (p_buf) in hw_epilog_process()
158 p_buf->event = MSG_STACK_TO_HC_HCI_CMD; in hw_epilog_process()
159 p_buf->offset = 0; in hw_epilog_process()
160 p_buf->layer_specific = 0; in hw_epilog_process()
161 p_buf->len = HCI_CMD_PREAMBLE_SIZE; in hw_epilog_process()
163 p = (uint8_t *) (p_buf + 1); in hw_epilog_process()
168 bt_vendor_cbacks->xmit_cb(HCI_RESET, p_buf, hw_epilog_cback); in hw_epilog_process()
/hardware/qcom/bt/msm8909/libbt-vendor/src/
Dhardware.c156 HC_BT_HDR *p_buf = NULL; in hw_epilog_process() local
165 p_buf = (HC_BT_HDR *) bt_vendor_cbacks->alloc(BT_HC_HDR_SIZE + \ in hw_epilog_process()
169 if (p_buf) in hw_epilog_process()
171 p_buf->event = MSG_STACK_TO_HC_HCI_CMD; in hw_epilog_process()
172 p_buf->offset = 0; in hw_epilog_process()
173 p_buf->layer_specific = 0; in hw_epilog_process()
174 p_buf->len = HCI_CMD_PREAMBLE_SIZE; in hw_epilog_process()
176 p = (uint8_t *) (p_buf + 1); in hw_epilog_process()
181 bt_vendor_cbacks->xmit_cb(HCI_RESET, p_buf, hw_epilog_cback); in hw_epilog_process()
/hardware/qcom/bt/msm8996/libbt-vendor/src/
Dhardware.c158 HC_BT_HDR *p_buf = NULL; in hw_epilog_process() local
167 p_buf = (HC_BT_HDR *) bt_vendor_cbacks->alloc(BT_HC_HDR_SIZE + \ in hw_epilog_process()
171 if (p_buf) in hw_epilog_process()
173 p_buf->event = MSG_STACK_TO_HC_HCI_CMD; in hw_epilog_process()
174 p_buf->offset = 0; in hw_epilog_process()
175 p_buf->layer_specific = 0; in hw_epilog_process()
176 p_buf->len = HCI_CMD_PREAMBLE_SIZE; in hw_epilog_process()
178 p = (uint8_t *) (p_buf + 1); in hw_epilog_process()
183 bt_vendor_cbacks->xmit_cb(HCI_RESET, p_buf, hw_epilog_cback); in hw_epilog_process()
/hardware/qcom/bt/msm8998/libbt-vendor/src/
Dhardware.c157 HC_BT_HDR *p_buf = NULL; in __hw_epilog_process() local
164 p_buf = (HC_BT_HDR *) q.cb->alloc(BT_HC_HDR_SIZE + HCI_CMD_PREAMBLE_SIZE); in __hw_epilog_process()
165 if (p_buf) in __hw_epilog_process()
167 p_buf->event = MSG_STACK_TO_HC_HCI_CMD; in __hw_epilog_process()
168 p_buf->offset = 0; in __hw_epilog_process()
169 p_buf->layer_specific = 0; in __hw_epilog_process()
170 p_buf->len = HCI_CMD_PREAMBLE_SIZE; in __hw_epilog_process()
172 p = (uint8_t *) (p_buf + 1); in __hw_epilog_process()
177 q.cb->xmit_cb(HCI_RESET, p_buf, hw_epilog_cback); in __hw_epilog_process()
/hardware/qcom/bt/msm8909w_3100/libbt-vendor/src/
Dhardware.c166 HC_BT_HDR *p_buf = NULL; in __hw_epilog_process() local
173 p_buf = (HC_BT_HDR *) q->cb->alloc(BT_HC_HDR_SIZE + HCI_CMD_PREAMBLE_SIZE); in __hw_epilog_process()
174 if (p_buf) in __hw_epilog_process()
176 p_buf->event = MSG_STACK_TO_HC_HCI_CMD; in __hw_epilog_process()
177 p_buf->offset = 0; in __hw_epilog_process()
178 p_buf->layer_specific = 0; in __hw_epilog_process()
179 p_buf->len = HCI_CMD_PREAMBLE_SIZE; in __hw_epilog_process()
181 p = (uint8_t *) (p_buf + 1); in __hw_epilog_process()
186 q->cb->xmit_cb(HCI_RESET, p_buf, hw_epilog_cback); in __hw_epilog_process()
/hardware/interfaces/bluetooth/1.0/default/test/fuzzer/
Dbt_vendor.cpp140 HC_BT_HDR* p_buf = NULL; in callRemainingCbacks() local
145 p_buf = (HC_BT_HDR*)mCbacks->alloc(BT_HC_HDR_SIZE + HCI_CMD_PREAMBLE_SIZE); in callRemainingCbacks()
146 if (p_buf) { in callRemainingCbacks()
147 p_buf->event = MSG_STACK_TO_HC_HCI_CMD; in callRemainingCbacks()
148 p_buf->offset = 0; in callRemainingCbacks()
149 p_buf->layer_specific = 0; in callRemainingCbacks()
150 p_buf->len = HCI_CMD_PREAMBLE_SIZE; in callRemainingCbacks()
152 p = (uint8_t*)(p_buf + 1); in callRemainingCbacks()
157 mCbacks->xmit_cb(HCI_RESET, p_buf, hw_epilog_cback); in callRemainingCbacks()
/hardware/interfaces/bluetooth/1.0/default/
Dbt_vendor_lib.h297 typedef void (*mdealloc_cb)(void* p_buf);
322 typedef uint8_t (*cmd_xmit_cb)(uint16_t opcode, void* p_buf,
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_snapshot.c38 mm_jpeg_output_t *p_buf, in jpeg_encode_cb() argument
56 if (status == JPEG_JOB_STATUS_DONE && p_buf != NULL) { in jpeg_encode_cb()
57 mm_app_dump_jpeg_frame(p_buf->buf_vaddr, p_buf->buf_filled_len, "jpeg", "jpg", jobId); in jpeg_encode_cb()
/hardware/qcom/camera/msm8998/QCamera2/HAL/
DQCamera2HWI.h525 mm_jpeg_output_t *p_buf,