HomeSort by relevance Sort by last modified time
    Searched refs:dev_name (Results 1 - 25 of 87) sorted by null

1 2 3 4

  /hardware/invensense/60xx/libsensors/
SensorBase.cpp 34 const char* dev_name,
36 : dev_name(dev_name), data_name(data_name),
54 if (dev_fd<0 && dev_name) {
55 dev_fd = open(dev_name, O_RDONLY);
56 ALOGE_IF(dev_fd<0, "Couldn't open %s (%s)", dev_name, strerror(errno));
SensorBase.h 32 const char* dev_name; member in class:SensorBase
51 const char* dev_name,
  /hardware/invensense/60xx/libsensors_iio/
SensorBase.cpp 31 SensorBase::SensorBase(const char* dev_name,
32 const char* data_name) : dev_name(dev_name),
54 if (dev_fd<0 && dev_name) {
55 dev_fd = open(dev_name, O_RDONLY);
56 LOGE_IF(dev_fd<0, "Couldn't open %s (%s)", dev_name, strerror(errno));
SensorBase.h 36 const char *dev_name; member in class:SensorBase
48 SensorBase(const char* dev_name, const char* data_name);
  /development/host/windows/usb/api/
adb_api_private_defines.h 44 AdbInstanceEnumEntry(const wchar_t* dev_name, GUID cls_id, DWORD flgs) {
45 Set(dev_name, cls_id, flgs);
60 void Set(const wchar_t* dev_name, GUID cls_id, DWORD flgs) {
61 device_name_ = dev_name;
adb_helper_routines.cpp 109 std::wstring dev_name; local
111 if (GetUsbDeviceName(hardware_dev_info, &interface_data, &dev_name)) {
114 tmp.push_back(AdbInstanceEnumEntry(dev_name.c_str(),
  /hardware/akm/AK8975_FS/libsensors/
SensorBase.cpp 34 const char* dev_name,
36 : dev_name(dev_name), data_name(data_name),
54 if (dev_fd<0 && dev_name) {
55 dev_fd = open(dev_name, O_RDONLY);
56 ALOGE_IF(dev_fd<0, "Couldn't open %s (%s)", dev_name, strerror(errno));
SensorBase.h 32 const char* dev_name; member in class:SensorBase
54 const char* dev_name,
  /hardware/invensense/65xx/libsensors_iio/
SensorBase.cpp 31 SensorBase::SensorBase(const char* dev_name,
32 const char* data_name) : dev_name(dev_name),
54 if (dev_fd<0 && dev_name) {
55 dev_fd = open(dev_name, O_RDONLY);
56 LOGE_IF(dev_fd<0, "Couldn't open %s (%s)", dev_name, strerror(errno));
SensorBase.h 69 const char *dev_name; member in class:SensorBase
85 SensorBase(const char* dev_name, const char* data_name);
CompassSensor.IIO.9150.cpp 75 dev_name = sensor_name;
77 LOGI("HAL:Secondary Chip Id: %s", dev_name);
367 inv_get_input_number(dev_name, &num);
  /system/core/toolbox/
lsusb.c 148 static int lsusb_device_added(const char *dev_name, void *client_data)
150 struct usb_device *dev = usb_device_open(dev_name);
153 fprintf(stderr, "can't open device %s: %s\n", dev_name, strerror(errno));
161 printf("%s:\n", dev_name);
178 printf("%s: %04x:%04x %s %s %s\n", dev_name, vid, pid,
191 static int lsusb_device_removed(const char *dev_name, void *client_data)
  /device/samsung/manta/libsensors/
IioSensorBase.h 52 IioSensorBase(const char* dev_name,
SensorBase.h 43 SensorBase(const char* dev_name,
SensorBase.cpp 39 const char* dev_name,
41 : mDevName(dev_name), mDataName(data_name),
44 ALOGV("%s(): dev_name=%s", __func__, dev_name);
IioSensorBase.cpp 41 IioSensorBase::IioSensorBase(const char *dev_name,
46 : SensorBase(dev_name, data_name),
54 ALOGV("%s(): dev_name=%s", __func__, dev_name);
  /system/core/include/usbhost/
usbhost.h 57 typedef int (* usb_device_added_cb)(const char *dev_name, void *client_data);
62 typedef int (* usb_device_removed_cb)(const char *dev_name, void *client_data);
104 struct usb_device *usb_device_open(const char *dev_name);
110 struct usb_device *usb_device_new(const char *dev_name, int fd);
116 * the dev_name passed to usb_device_open()
121 *Currently this is generated from the dev_name path.
  /external/linux-tools-perf/scripts/python/
netdev-times.py 255 def napi__napi_poll(name, context, cpu, sec, nsec, pid, comm, napi, dev_name):
257 napi, dev_name)
261 skblen, dev_name):
263 skbaddr, skblen, dev_name)
267 skblen, dev_name):
269 skbaddr, skblen, dev_name)
273 skbaddr, skblen, dev_name):
275 skbaddr, skblen, dev_name)
279 skbaddr, skblen, rc, dev_name):
281 skbaddr, skblen, rc ,dev_name)
    [all...]
  /device/lge/hammerhead/libsensors/
ProximitySensor.cpp 58 if (!mEnabled && dev_name != NULL) {
86 if (!mEnabled && dev_name != NULL) {
LightSensor.cpp 77 if (!mEnabled && dev_name != NULL) {
105 if (!mEnabled && dev_name != NULL) {
  /system/core/adb/
usb_windows.c 69 int known_device(const char* dev_name);
73 int known_device_locked(const char* dev_name);
116 int known_device_locked(const char* dev_name) {
119 if (NULL != dev_name) {
124 (0 == stricmp(usb->interface_name, dev_name))) {
133 int known_device(const char* dev_name) {
136 if (NULL != dev_name) {
138 ret = known_device_locked(dev_name);
  /system/core/libusbhost/
usbhost.c 76 char dev_name[64]; member in struct:usb_device
316 struct usb_device *usb_device_open(const char *dev_name)
320 D("usb_device_open %s\n", dev_name);
323 fd = open(dev_name, O_RDWR);
326 fd = open(dev_name, O_RDONLY);
338 D("[ usb open read-only %s fd = %d]\n", dev_name, fd);
341 struct usb_device* result = usb_device_new(dev_name, fd);
353 struct usb_device *usb_device_new(const char *dev_name, int fd)
358 D("usb_device_new %s fd: %d\n", dev_name, fd);
367 strncpy(device->dev_name, dev_name, sizeof(device->dev_name) - 1)
    [all...]
  /system/core/libdiskconfig/
config_mbr.c 298 char *dev_name = NULL; local
312 if (!(dev_name = malloc(MAX_NAME_LEN))) {
317 num = snprintf(dev_name, MAX_NAME_LEN, "%s%d", dinfo->device, num);
320 free(dev_name);
324 return dev_name;
  /external/kernel-headers/original/linux/usb/
functionfs.h 193 static int functionfs_check_dev_callback(const char *dev_name)
  /external/wpa_supplicant_8/src/wps/
wps_er.h 27 char *dev_name; member in struct:wps_er_sta

Completed in 874 milliseconds

1 2 3 4