Home
last modified time | relevance | path

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

/vendor/hihope/rk3568/bluetooth/src/
Duserial_vendor.c68 int fd; /* fd to Bluetooth device */ member
144 void userial_ioctl_init_bt_wake(int fd) in userial_ioctl_init_bt_wake() argument
152 if (ioctl(vnd_userial.fd, TIOCSETD, &ldisc) < 0) { in userial_ioctl_init_bt_wake()
154 fd, errno, ldisc); in userial_ioctl_init_bt_wake()
159 ioctl(fd, USERIAL_IOCTL_BT_WAKE_ASSERT, NULL); in userial_ioctl_init_bt_wake()
160 ioctl(fd, USERIAL_IOCTL_BT_WAKE_GET_ST, &bt_wake_state); in userial_ioctl_init_bt_wake()
181 vnd_userial.fd = -1; in userial_vendor_init()
202 vnd_userial.fd = -1; in userial_vendor_open()
231 if ((vnd_userial.fd = open(vnd_userial.port_name, O_RDWR)) == -1) { in userial_vendor_open()
235 tcflush(vnd_userial.fd, TCIOFLUSH); in userial_vendor_open()
[all …]
Dupio.c141 int fd, sz, id; in init_rfkill() local
148 fd = open(path, O_RDONLY); in init_rfkill()
149 if (fd < 0) { in init_rfkill()
155 sz = read(fd, &buf, sizeof(buf)); in init_rfkill()
156 close(fd); in init_rfkill()
279 int fd = -1; in upio_set_bluetooth_power() local
317 fd = open(rfkill_state_path, O_WRONLY); in upio_set_bluetooth_power()
318 if (fd < 0) { in upio_set_bluetooth_power()
324 sz = write(fd, &buffer, 1); in upio_set_bluetooth_power()
332 if (fd >= 0) { in upio_set_bluetooth_power()
[all …]
Dbt_vendor_brcm.c159 int fd, idx; in op() local
160 fd = userial_vendor_open((tUSERIAL_CFG *)&userial_init_cfg); in op()
161 if (fd != -1) { in op()
163 (*fd_array)[idx] = fd; in op()
/vendor/hisilicon/hispark_taurus_linux/hals/utils/sys_param/
Dhal_sys_param.c96 int fd = open(SN_FILE, O_RDONLY, S_IRUSR | S_IWUSR); in HalGetSerial() local
97 if (fd < 0) { in HalGetSerial()
100 int ret = read(fd, strOrigin, STR_MAX - 1); in HalGetSerial()
102 close(fd); in HalGetSerial()
105 close(fd); in HalGetSerial()
/vendor/hihope/Hi3861/udpserver_demo/
Dnet_common.h40 close(fd) { in close() argument
41 lwip_close(fd) in close()
/vendor/hihope/Hi3861/udpclient_demo/
Dnet_common.h40 close(fd) { in close() argument
41 lwip_close(fd) in close()
/vendor/hihope/Hi3861/tcpclient_demo/
Dnet_common.h41 close (fd) { in close() argument
42 lwip_close(fd) in close()
/vendor/hisilicon/hispark_pegasus/demo/udpserver_demo/
Dnet_common.h40 close(fd) { in close() argument
41 lwip_close(fd) in close()
/vendor/hisilicon/hispark_pegasus/demo/smart_night_light_demo/udpserver_light/
Dnet_common.h40 close(fd) { in close() argument
41 lwip_close(fd) in close()
/vendor/hisilicon/hispark_pegasus/demo/tcpserver_demo/
Dnet_common.h40 close(fd) { in close() argument
41 lwip_close(fd) in close()
/vendor/hisilicon/hispark_pegasus/demo/udpclient_demo/
Dnet_common.h40 close(fd) { in close() argument
41 lwip_close(fd) in close()
/vendor/hisilicon/hispark_pegasus/demo/samart_environmental_monitoring_system_demo/udpserver_env/
Dnet_common.h40 close(fd) { in close() argument
41 lwip_close(fd) in close()
/vendor/hihope/Hi3861/tcpserver_demo/
Dnet_common.h40 close(fd) { in close() argument
41 lwip_close(fd) in close()
/vendor/hisilicon/hispark_pegasus/demo/tcpclient_demo/
Dnet_common.h41 close (fd) { in close() argument
42 lwip_close(fd) in close()
/vendor/hisilicon/hispark_pegasus/demo/uart_demo/
DREADME.md128fd+77%0A4IMPmhu4qs4f02xX+5oaty/96MelbI9tmzOf1LnknC8AAJFchQw5a/faYltb%0A4YRtLHTLo0eP5Pbt23L37t0L++7…
/vendor/hihope/Hi3861/uart_demo/
DREADME.md128fd+77%0A4IMPmhu4qs4f02xX+5oaty/96MelbI9tmzOf1LnknC8AAJFchQw5a/faYltb%0A4YRtLHTLo0eP5Pbt23L37t0L++7…
/vendor/hisilicon/watchos/patches/
Dhi3516dv300.patch18618 + ret = drm_gem_prime_fd_to_handle(dev, file, arg->fd, &handle);
18620 + HI_DRM_ERR("fd %d to handle failed", arg->fd);
18625 + HI_DRM_ERR("gem object not finde fd %d, handle 0x%x", arg->fd, handle);
19552 + __s32 fd;