Home
last modified time | relevance | path

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

/hardware/qcom/bt/msm8998/libbt-vendor/src/
Dbt_vendor_qcom.c76 int ath3k_init(int fd, int speed, int init_speed, char *bdaddr, struct termios *ti);
596 static int init(const bt_vendor_callbacks_t *cb, unsigned char *bdaddr) in init() argument
603 if (!cb || !bdaddr) { in init()
604 ALOGE("Invalid input args cb %p bdaddr %p", cb, bdaddr); in init()
616 le2bd(bdaddr, q.bdaddr); in init()
617 print_bdaddr(q.bdaddr); in init()
619 q.bdaddr[0], q.bdaddr[1], q.bdaddr[2], in init()
620 q.bdaddr[3], q.bdaddr[4], q.bdaddr[5]); in init()
915 … memcpy(q.bdaddr, local_bd_addr_from_prop, sizeof(vnd_local_bd_addr)); in op()
942 if(ignore_boot_prop && !bt_vendor_nv_read(1, q.bdaddr)) in op()
[all …]
Dhw_ar3k.c159 static void convert_bdaddr(char *str_bdaddr, char *bdaddr) in convert_bdaddr() argument
175 bdaddr[j] = strtol(bdbyte, NULL, 16); in convert_bdaddr()
682 static int write_bdaddr(int pConfig, char *bdaddr) in write_bdaddr() argument
702 convert_bdaddr(bdaddr, (char *)&ptr[4]); in write_bdaddr()
718 char bdaddr[PATH_MAX]; in write_bdaddr_from_file() local
728 if (fgets(bdaddr, PATH_MAX - 1, stream)) in write_bdaddr_from_file()
729 write_bdaddr(fd, bdaddr); in write_bdaddr_from_file()
1054 int ath3k_init(int fd, int speed, int init_speed, char *bdaddr, struct termios *ti) in ath3k_init() argument
1101 if (bdaddr) { in ath3k_init()
1111 str2ba(bdaddr, (bdaddr_t *)(ptr + 4)); in ath3k_init()
[all …]
Dhw_rome.c896 memcpy(nvm_byte_ptr, q.bdaddr, 6); in rome_get_tlv_file()
1336 memcpy(&cmds[i][TAG_BDADDR_OFFSET], q.bdaddr, 6); in rome_1_0_nvm_tag_dnld()
1791 int rome_soc_init(int fd, char *bdaddr) in rome_soc_init() argument
1796 RESERVED(bdaddr); in rome_soc_init()
/hardware/qcom/bt/msm8909w_3100/libbt-vendor/src/
Dbt_vendor_qcom.c72 int ath3k_init(int fd, int speed, int init_speed, char *bdaddr, struct termios *ti);
612 static int init(const bt_vendor_callbacks_t *cb, unsigned char *bdaddr) in init() argument
620 if (!cb || !bdaddr) { in init()
621 ALOGE("Invalid input args cb %p bdaddr %p", cb, bdaddr); in init()
641 le2bd(bdaddr, temp->bdaddr); in init()
642 print_bdaddr(temp->bdaddr); in init()
644 temp->bdaddr[0], temp->bdaddr[1], temp->bdaddr[2], in init()
645 temp->bdaddr[3], temp->bdaddr[4], temp->bdaddr[5]); in init()
951 … memcpy(q->bdaddr, local_bd_addr_from_prop, sizeof(vnd_local_bd_addr)); in __op()
977 if(ignore_boot_prop && !bt_vendor_nv_read(1, q->bdaddr)) in __op()
[all …]
Dhw_ar3k.c155 static void convert_bdaddr(char *str_bdaddr, char *bdaddr) in convert_bdaddr() argument
171 bdaddr[j] = strtol(bdbyte, NULL, 16); in convert_bdaddr()
678 static int write_bdaddr(int pConfig, char *bdaddr) in write_bdaddr() argument
698 convert_bdaddr(bdaddr, (char *)&ptr[4]); in write_bdaddr()
714 char bdaddr[PATH_MAX]; in write_bdaddr_from_file() local
724 if (fgets(bdaddr, PATH_MAX - 1, stream)) in write_bdaddr_from_file()
725 write_bdaddr(fd, bdaddr); in write_bdaddr_from_file()
1050 int ath3k_init(int fd, int speed, int init_speed, char *bdaddr, struct termios *ti) in ath3k_init() argument
1097 if (bdaddr) { in ath3k_init()
1107 str2ba(bdaddr, (bdaddr_t *)(ptr + 4)); in ath3k_init()
[all …]
Dhw_rome.c911 memcpy(nvm_byte_ptr, q->bdaddr, 6); in rome_get_tlv_file()
1351 memcpy(&cmds[i][TAG_BDADDR_OFFSET], q->bdaddr, 6); in rome_1_0_nvm_tag_dnld()
1808 int rome_soc_init(int fd, char *bdaddr) in rome_soc_init() argument
1813 RESERVED(bdaddr); in rome_soc_init()
/hardware/qcom/bt/msm8909/libbt-vendor/src/
Dhw_ar3k.c153 static void convert_bdaddr(char *str_bdaddr, char *bdaddr) in convert_bdaddr() argument
169 bdaddr[j] = strtol(bdbyte, NULL, 16); in convert_bdaddr()
676 static int write_bdaddr(int pConfig, char *bdaddr) in write_bdaddr() argument
696 convert_bdaddr(bdaddr, (char *)&ptr[4]); in write_bdaddr()
712 char bdaddr[PATH_MAX]; in write_bdaddr_from_file() local
722 if (fgets(bdaddr, PATH_MAX - 1, stream)) in write_bdaddr_from_file()
723 write_bdaddr(fd, bdaddr); in write_bdaddr_from_file()
1046 int ath3k_init(int fd, int speed, int init_speed, char *bdaddr, struct termios *ti) in ath3k_init() argument
1093 if (bdaddr) { in ath3k_init()
1103 str2ba(bdaddr, (bdaddr_t *)(ptr + 4)); in ath3k_init()
[all …]
Dbt_vendor_qcom.c63 extern int rome_soc_init(int fd, char *bdaddr);
83 int ath3k_init(int fd, int speed, int init_speed, char *bdaddr, struct termios *ti);
84 int rome_soc_init(int fd, char *bdaddr);
Dhw_rome.c1778 int rome_soc_init(int fd, char *bdaddr) in rome_soc_init() argument
/hardware/qcom/bt/msm8996/libbt-vendor/src/
Dhw_ar3k.c157 static void convert_bdaddr(char *str_bdaddr, char *bdaddr) in convert_bdaddr() argument
173 bdaddr[j] = strtol(bdbyte, NULL, 16); in convert_bdaddr()
680 static int write_bdaddr(int pConfig, char *bdaddr) in write_bdaddr() argument
700 convert_bdaddr(bdaddr, (char *)&ptr[4]); in write_bdaddr()
716 char bdaddr[PATH_MAX]; in write_bdaddr_from_file() local
726 if (fgets(bdaddr, PATH_MAX - 1, stream)) in write_bdaddr_from_file()
727 write_bdaddr(fd, bdaddr); in write_bdaddr_from_file()
1052 int ath3k_init(int fd, int speed, int init_speed, char *bdaddr, struct termios *ti) in ath3k_init() argument
1099 if (bdaddr) { in ath3k_init()
1109 str2ba(bdaddr, (bdaddr_t *)(ptr + 4)); in ath3k_init()
[all …]
Dbt_vendor_qcom.c67 extern int rome_soc_init(int fd, char *bdaddr);
87 int ath3k_init(int fd, int speed, int init_speed, char *bdaddr, struct termios *ti);
88 int rome_soc_init(int fd, char *bdaddr);
129 int ath3k_init(int fd, int speed, int init_speed, char *bdaddr, struct termios *ti);
131 int rome_soc_init(int fd, char *bdaddr);
Dhw_rome.c1848 int rome_soc_init(int fd, char *bdaddr) in rome_soc_init() argument
1853 RESERVED(bdaddr); in rome_soc_init()
/hardware/qcom/bt/msm8992/libbt-vendor/src/
Dhw_ar3k.c153 static void convert_bdaddr(char *str_bdaddr, char *bdaddr) in convert_bdaddr() argument
169 bdaddr[j] = strtol(bdbyte, NULL, 16); in convert_bdaddr()
676 static int write_bdaddr(int pConfig, char *bdaddr) in write_bdaddr() argument
696 convert_bdaddr(bdaddr, (char *)&ptr[4]); in write_bdaddr()
712 char bdaddr[PATH_MAX]; in write_bdaddr_from_file() local
722 if (fgets(bdaddr, PATH_MAX - 1, stream)) in write_bdaddr_from_file()
723 write_bdaddr(fd, bdaddr); in write_bdaddr_from_file()
1046 int ath3k_init(int fd, int speed, int init_speed, char *bdaddr, struct termios *ti) in ath3k_init() argument
1093 if (bdaddr) { in ath3k_init()
1103 str2ba(bdaddr, (bdaddr_t *)(ptr + 4)); in ath3k_init()
[all …]
Dbt_vendor_qcom.c54 extern int rome_soc_init(int fd, char *bdaddr);
107 int ath3k_init(int fd, int speed, int init_speed, char *bdaddr, struct termios *ti);
109 int rome_soc_init(int fd, char *bdaddr);
Dhw_rome.c1749 int rome_soc_init(int fd, char *bdaddr) in rome_soc_init() argument
/hardware/qcom/bt/msm8909w_3100/libbt-vendor/include/
Dbt_vendor_qcom.h81 uint8_t bdaddr[6]; member
Dhw_ar3k.h160 char *bdaddr; member
Dhw_rome.h285 int rome_soc_init(int fd, char *bdaddr);
/hardware/qcom/bt/msm8998/libbt-vendor/include/
Dbt_vendor_qcom.h87 uint8_t bdaddr[6]; member
Dhw_ar3k.h162 char *bdaddr; member
Dhw_rome.h285 int rome_soc_init(int fd, char *bdaddr);
/hardware/qcom/bt/msm8992/libbt-vendor/include/
Dhw_ar3k.h160 char *bdaddr; member
/hardware/qcom/bt/msm8996/libbt-vendor/include/
Dhw_ar3k.h160 char *bdaddr; member
/hardware/qcom/bt/msm8909/libbt-vendor/include/
Dhw_ar3k.h160 char *bdaddr; member
/hardware/interfaces/bluetooth/1.0/default/test/fuzzer/
Dbt_vendor.cpp59 unsigned char* bdaddr UNUSED_PARAM) { in testInit()