Searched refs:p_buf (Results 1 – 7 of 7) sorted by relevance
/vendor/isoftstone/yangfan/bluetooth/src/ |
D | hardware.c | 471 static ssize_t hw_config_set_bdaddr(HC_BT_HDR *p_buf) in hw_config_set_bdaddr() argument 474 uint8_t *p = (uint8_t *)(p_buf + 1); in hw_config_set_bdaddr() 486 p_buf->len = HCI_CMD_PREAMBLE_SIZE + BD_ADDR_LEN; in hw_config_set_bdaddr() 489 retval = bt_vendor_cbacks->xmit_cb(HCI_VSC_WRITE_BD_ADDR, p_buf); in hw_config_set_bdaddr() 504 static ssize_t hw_config_read_bdaddr(HC_BT_HDR *p_buf) in hw_config_read_bdaddr() argument 507 uint8_t *p = (uint8_t *)(p_buf + 1); in hw_config_read_bdaddr() 512 p_buf->len = HCI_CMD_PREAMBLE_SIZE; in hw_config_read_bdaddr() 515 retval = bt_vendor_cbacks->xmit_cb(HCI_READ_LOCAL_BDADDR, p_buf); in hw_config_read_bdaddr() 611 HC_BT_HDR *p_buf = NULL; in hw_config_cback() local 625 p_buf = (HC_BT_HDR *)bt_vendor_cbacks->alloc(BT_HC_HDR_SIZE + HCI_CMD_MAX_LEN); in hw_config_cback() [all …]
|
/vendor/hihope/dayu210/bluetooth/src/ |
D | hardware.c | 423 static ssize_t hw_config_set_bdaddr(HC_BT_HDR *p_buf) in hw_config_set_bdaddr() argument 426 uint8_t *p = (uint8_t *)(p_buf + 1); in hw_config_set_bdaddr() 438 p_buf->len = HCI_CMD_PREAMBLE_SIZE + BD_ADDR_LEN; in hw_config_set_bdaddr() 441 retval = bt_vendor_cbacks->xmit_cb(HCI_VSC_WRITE_BD_ADDR, p_buf); in hw_config_set_bdaddr() 456 static ssize_t hw_config_read_bdaddr(HC_BT_HDR *p_buf) in hw_config_read_bdaddr() argument 459 uint8_t *p = (uint8_t *)(p_buf + 1); in hw_config_read_bdaddr() 464 p_buf->len = HCI_CMD_PREAMBLE_SIZE; in hw_config_read_bdaddr() 467 retval = bt_vendor_cbacks->xmit_cb(HCI_READ_LOCAL_BDADDR, p_buf); in hw_config_read_bdaddr() 562 HC_BT_HDR *p_buf = NULL; in hw_config_cback() local 575 p_buf = (HC_BT_HDR *)bt_vendor_cbacks->alloc(BT_HC_HDR_SIZE + HCI_CMD_MAX_LEN); in hw_config_cback() [all …]
|
/vendor/hihope/rk3568/bluetooth/src/ |
D | hardware.c | 471 static ssize_t hw_config_set_bdaddr(HC_BT_HDR *p_buf) in hw_config_set_bdaddr() argument 474 uint8_t *p = (uint8_t *)(p_buf + 1); in hw_config_set_bdaddr() 486 p_buf->len = HCI_CMD_PREAMBLE_SIZE + BD_ADDR_LEN; in hw_config_set_bdaddr() 489 retval = bt_vendor_cbacks->xmit_cb(HCI_VSC_WRITE_BD_ADDR, p_buf); in hw_config_set_bdaddr() 504 static ssize_t hw_config_read_bdaddr(HC_BT_HDR *p_buf) in hw_config_read_bdaddr() argument 507 uint8_t *p = (uint8_t *)(p_buf + 1); in hw_config_read_bdaddr() 512 p_buf->len = HCI_CMD_PREAMBLE_SIZE; in hw_config_read_bdaddr() 515 retval = bt_vendor_cbacks->xmit_cb(HCI_READ_LOCAL_BDADDR, p_buf); in hw_config_read_bdaddr() 611 HC_BT_HDR *p_buf = NULL; in hw_config_cback() local 625 p_buf = (HC_BT_HDR *)bt_vendor_cbacks->alloc(BT_HC_HDR_SIZE + HCI_CMD_MAX_LEN); in hw_config_cback() [all …]
|
/vendor/hihope/ipcamera/bluetooth/src/ |
D | hardware.c | 471 static ssize_t hw_config_set_bdaddr(HC_BT_HDR *p_buf) in hw_config_set_bdaddr() argument 474 uint8_t *p = (uint8_t *)(p_buf + 1); in hw_config_set_bdaddr() 486 p_buf->len = HCI_CMD_PREAMBLE_SIZE + BD_ADDR_LEN; in hw_config_set_bdaddr() 489 retval = bt_vendor_cbacks->xmit_cb(HCI_VSC_WRITE_BD_ADDR, p_buf); in hw_config_set_bdaddr() 504 static ssize_t hw_config_read_bdaddr(HC_BT_HDR *p_buf) in hw_config_read_bdaddr() argument 507 uint8_t *p = (uint8_t *)(p_buf + 1); in hw_config_read_bdaddr() 512 p_buf->len = HCI_CMD_PREAMBLE_SIZE; in hw_config_read_bdaddr() 515 retval = bt_vendor_cbacks->xmit_cb(HCI_READ_LOCAL_BDADDR, p_buf); in hw_config_read_bdaddr() 611 HC_BT_HDR *p_buf = NULL; in hw_config_cback() local 625 p_buf = (HC_BT_HDR *)bt_vendor_cbacks->alloc(BT_HC_HDR_SIZE + HCI_CMD_MAX_LEN); in hw_config_cback() [all …]
|
/vendor/hihope/rk3568/bluetooth/include/ |
D | bt_vendor_lib.h | 133 typedef size_t (*cmd_xmit_callback)(uint16_t opcode, void* p_buf);
|
/vendor/hihope/dayu210/bluetooth/include/ |
D | bt_vendor_lib.h | 133 typedef size_t (*cmd_xmit_callback)(uint16_t opcode, void* p_buf);
|
/vendor/kaihong/khdvk_3566b/ |
D | porting-khdvk_3566b-on_standard-demo.md | 2583 HC_BT_HDR *p_buf = NULL; 2590 p_buf = (HC_BT_HDR *)bt_vendor_cbacks->alloc(BT_HC_HDR_SIZE + 2594 if (p_buf) { 2595 p_buf->event = MSG_STACK_TO_HC_HCI_CMD; 2596 p_buf->offset = 0; 2597 p_buf->layer_specific = 0; 2598 p_buf->len = HCI_CMD_PREAMBLE_SIZE; 2600 p = (uint8_t *)(p_buf + 1); 2605 bt_vendor_cbacks->xmit_cb(HCI_RESET, p_buf); 2636 typedef uint8_t (*cmd_xmit_cb)(uint16_t opcode, void* p_buf, tINT_CMD_CBACK p_cback); [all …]
|