Home
last modified time | relevance | path

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

/vendor/hihope/rk3568/bluetooth/src/
Dhardware.c471 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 …]