Searched refs:dev_fd (Results 1 – 8 of 8) sorted by relevance
/hardware/ti/wlan/mac80211/ti-utils/uim_rfkill/ |
D | uim.c | 60 int dev_fd; variable 129 UIM_VER(" wrote %d bytes", (int)write(dev_fd, buffer, 4)); in read_firmware_version() 130 UIM_VER(" reading %d bytes", (int)read(dev_fd, resp_buffer, 15)); in read_firmware_version() 320 tcflush(dev_fd, TCIOFLUSH); in set_baud_rate() 323 if (tcgetattr(dev_fd, &ti) < 0) { in set_baud_rate() 338 tcsetattr(dev_fd, TCSANOW, &ti); in set_baud_rate() 343 tcsetattr(dev_fd, TCSANOW, &ti); in set_baud_rate() 345 tcflush(dev_fd, TCIOFLUSH); in set_baud_rate() 367 tcflush(dev_fd, TCIOFLUSH); in set_custom_baud_rate() 380 if (tcsetattr(dev_fd, TCSANOW, &ti) < 0) { in set_custom_baud_rate() [all …]
|
/hardware/invensense/libsensors_iio/ |
D | SensorBase.cpp | 34 dev_fd(-1), in SensorBase() 47 if (dev_fd >= 0) { in ~SensorBase() 48 close(dev_fd); in ~SensorBase() 54 if (dev_fd<0 && dev_name) { in open_device() 55 dev_fd = open(dev_name, O_RDONLY); in open_device() 56 LOGE_IF(dev_fd<0, "Couldn't open %s (%s)", dev_name, strerror(errno)); in open_device() 63 if (dev_fd >= 0) { in close_device() 64 close(dev_fd); in close_device() 65 dev_fd = -1; in close_device() 73 return dev_fd; in getFd()
|
D | SensorBase.h | 39 int dev_fd; variable
|
/hardware/invensense/libsensors/ |
D | SensorBase.cpp | 37 dev_fd(-1), data_fd(-1) in SensorBase() 48 if (dev_fd >= 0) { in ~SensorBase() 49 close(dev_fd); in ~SensorBase() 54 if (dev_fd<0 && dev_name) { in open_device() 55 dev_fd = open(dev_name, O_RDONLY); in open_device() 56 ALOGE_IF(dev_fd<0, "Couldn't open %s (%s)", dev_name, strerror(errno)); in open_device() 62 if (dev_fd >= 0) { in close_device() 63 close(dev_fd); in close_device() 64 dev_fd = -1; in close_device() 71 return dev_fd; in getFd()
|
D | SensorBase.h | 35 int dev_fd; variable
|
/hardware/ti/wpan/ti_st/uim-sysfs/ |
D | uim.c | 45 int dev_fd; variable 52 if (dev_fd == -1) in cleanup() 57 close(dev_fd); in cleanup() 58 dev_fd = -1; in cleanup() 75 UIM_VER(" wrote %d bytes", (int)write(dev_fd, buffer, 4)); in read_firmware_version() 76 UIM_VER(" reading %d bytes", (int)read(dev_fd, resp_buffer, 15)); in read_firmware_version() 260 tcflush(dev_fd, TCIOFLUSH); in set_baud_rate() 263 if (tcgetattr(dev_fd, &ti) < 0) { in set_baud_rate() 278 tcsetattr(dev_fd, TCSANOW, &ti); in set_baud_rate() 283 tcsetattr(dev_fd, TCSANOW, &ti); in set_baud_rate() [all …]
|
/hardware/samsung_slsi/exynos5/include/ |
D | s5p_fimc_v4l2.h | 152 int dev_fd; member
|
D | sec_g2d.h | 231 int dev_fd; member
|