Home
last modified time | relevance | path

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

/hardware/broadcom/libbt/src/
Dhardware.c552 static uint8_t hw_config_set_bdaddr(HC_BT_HDR *p_buf) in hw_config_set_bdaddr() argument
555 uint8_t *p = (uint8_t *) (p_buf + 1); in hw_config_set_bdaddr()
570 p_buf->len = HCI_CMD_PREAMBLE_SIZE + BD_ADDR_LEN; in hw_config_set_bdaddr()
573 retval = bt_vendor_cbacks->xmit_cb(HCI_VSC_WRITE_BD_ADDR, p_buf, \ in hw_config_set_bdaddr()
590 static uint8_t hw_config_read_bdaddr(HC_BT_HDR *p_buf) in hw_config_read_bdaddr() argument
593 uint8_t *p = (uint8_t *) (p_buf + 1); in hw_config_read_bdaddr()
598 p_buf->len = HCI_CMD_PREAMBLE_SIZE; in hw_config_read_bdaddr()
601 retval = bt_vendor_cbacks->xmit_cb(HCI_READ_LOCAL_BDADDR, p_buf, \ in hw_config_read_bdaddr()
623 HC_BT_HDR *p_buf=NULL; in hw_config_cback() local
637 p_buf = (HC_BT_HDR *) bt_vendor_cbacks->alloc(BT_HC_HDR_SIZE + \ in hw_config_cback()
[all …]
Dbt_vendor_brcm_a2dp.c155 HC_BT_HDR *p_buf; in brcm_vnd_a2dp_send_hci_vsc() local
161 p_buf = (HC_BT_HDR *)bt_vendor_cbacks->alloc( in brcm_vnd_a2dp_send_hci_vsc()
163 if (p_buf) in brcm_vnd_a2dp_send_hci_vsc()
165 p_buf->event = MSG_STACK_TO_HC_HCI_CMD; in brcm_vnd_a2dp_send_hci_vsc()
166 p_buf->offset = 0; in brcm_vnd_a2dp_send_hci_vsc()
167 p_buf->layer_specific = 0; in brcm_vnd_a2dp_send_hci_vsc()
168 p_buf->len = HCI_CMD_PREAMBLE_SIZE + len; in brcm_vnd_a2dp_send_hci_vsc()
169 p = (uint8_t *)(p_buf + 1); in brcm_vnd_a2dp_send_hci_vsc()
176 log_bin_to_hexstr((uint8_t *)(p_buf + 1), HCI_CMD_PREAMBLE_SIZE + len, __FUNCTION__); in brcm_vnd_a2dp_send_hci_vsc()
178 if (bt_vendor_cbacks->xmit_cb(cmd, p_buf, cback)) in brcm_vnd_a2dp_send_hci_vsc()
[all …]
/hardware/marvell/bt/libbt-vendor/
Dhardware_mrvl.c143 HC_BT_HDR *p_buf = NULL; in build_cmd_buf() local
149 p_buf = (HC_BT_HDR *) vnd_cb->alloc(BT_HC_HDR_SIZE + cmd_len); in build_cmd_buf()
151 if (!p_buf) in build_cmd_buf()
154 p_buf->event = MSG_STACK_TO_HC_HCI_CMD; in build_cmd_buf()
155 p_buf->offset = 0; in build_cmd_buf()
156 p_buf->layer_specific = 0; in build_cmd_buf()
157 p_buf->len = cmd_len; in build_cmd_buf()
159 p = (uint8_t *) (p_buf + 1); in build_cmd_buf()
171 return p_buf; in build_cmd_buf()
222 HC_BT_HDR *p_buf; in hw_mrvl_sco_config_cb() local
[all …]
/hardware/qcom/bt/msm8996/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/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/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/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/intel/img/psb_video/src/mrst/
Dlnc_H264ES.c812 static inline void lnc_H264_append_EOSEQ(unsigned char *p_buf, unsigned int *p_size) in lnc_H264_append_EOSEQ() argument
818 …_DEBUG_GENERAL, "Previous 4 bytes: %x %x %x %x\n", *(p_buf - 3), *(p_buf - 2), *(p_buf - 1), *(p_b… in lnc_H264_append_EOSEQ()
819 p_buf += *p_size; in lnc_H264_append_EOSEQ()
820 memcpy(p_buf, &EOSEQ[0], sizeof(EOSEQ)); in lnc_H264_append_EOSEQ()
821 …DEO_DEBUG_GENERAL, "After 4 bytes: %x %x %x %x\n", *(p_buf + 1), *(p_buf + 2), *(p_buf + 3), *(p_b… in lnc_H264_append_EOSEQ()
825 static inline void lnc_H264_append_EOSTREAM(unsigned char *p_buf, unsigned int *p_size) in lnc_H264_append_EOSTREAM() argument
831 p_buf += *p_size; in lnc_H264_append_EOSTREAM()
832 memcpy(p_buf, EOSTREAM, sizeof(EOSTREAM)); in lnc_H264_append_EOSTREAM()
/hardware/qcom/camera/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/intel/common/libwsbm/src/
Dwsbm_manager.h90 extern void wsbmBOUnreference(struct _WsbmBufferObject **p_buf);
Dwsbm_manager.c461 wsbmBOUnreference(struct _WsbmBufferObject **p_buf) in wsbmBOUnreference() argument
463 struct _WsbmBufferObject *buf = *p_buf; in wsbmBOUnreference()
465 *p_buf = NULL; in wsbmBOUnreference()
Dwsbm_slabpool.c793 pool_destroy(struct _WsbmBufStorage **p_buf) in pool_destroy() argument
795 struct _WsbmBufStorage *buf = *p_buf; in pool_destroy()
800 *p_buf = NULL; in pool_destroy()
/hardware/qcom/camera/QCamera2/HAL/
DQCamera2HWI.h493 mm_jpeg_output_t *p_buf,