/hardware/qcom/audio/hal/audio_extn/ |
D | hwdep_cal.c | 70 char dev_name[256]; in hw_util_open() local 72 snprintf(dev_name, sizeof(dev_name), "/dev/snd/hwC%uD%u", in hw_util_open() 74 ALOGD("%s: Opening device %s\n", __func__, dev_name); in hw_util_open() 75 fd = open(dev_name, O_WRONLY); in hw_util_open() 77 ALOGE("%s: cannot open device '%s'\n", __func__, dev_name); in hw_util_open()
|
/hardware/akm/AK8975_FS/libsensors/ |
D | SensorBase.cpp | 35 const char* dev_name, in SensorBase() argument 37 : dev_name(dev_name), data_name(data_name), in SensorBase() 55 if (dev_fd<0 && dev_name) { in open_device() 56 dev_fd = open(dev_name, O_RDONLY); in open_device() 57 ALOGE_IF(dev_fd<0, "Couldn't open %s (%s)", dev_name, strerror(errno)); in open_device()
|
D | SensorBase.h | 32 const char* dev_name; 54 const char* dev_name,
|
/hardware/invensense/65xx/libsensors_iio/ |
D | SensorBase.cpp | 46 SensorBase::SensorBase(const char* dev_name, in SensorBase() argument 48 : dev_name(dev_name), in SensorBase() 104 if (dev_fd<0 && dev_name) { in open_device() 105 dev_fd = open(dev_name, O_RDONLY); in open_device() 106 LOGE_IF(dev_fd<0, "Couldn't open %s (%s)", dev_name, strerror(errno)); in open_device()
|
D | SensorBase.h | 70 const char *dev_name; 86 SensorBase(const char* dev_name, const char* data_name);
|
D | CompassSensor.IIO.primary.cpp | 57 if(!strcmp(dev_name, "USE_SYSFS")) { in CompassSensor() 70 if (fill_dev_full_name_by_prefix(dev_name, in CompassSensor() 73 "magnetometer will likely not work.", dev_name); in CompassSensor() 78 strncpy(dev_full_name, dev_name, in CompassSensor()
|
D | CompassSensor.IIO.9150.cpp | 76 dev_name = sensor_name; in CompassSensor() 78 LOGI_IF(PROCESS_VERBOSE, "HAL:Secondary Chip Id: %s", dev_name); in CompassSensor() 379 inv_get_input_number(dev_name, &num); in inv_init_sysfs_attributes()
|
/hardware/invensense/6515/libsensors_iio/ |
D | SensorBase.cpp | 48 SensorBase::SensorBase(const char* dev_name, in SensorBase() argument 50 : dev_name(dev_name), in SensorBase() 110 if (dev_fd<0 && dev_name) { in open_device() 111 dev_fd = open(dev_name, O_RDONLY); in open_device() 112 LOGE_IF(dev_fd<0, "Couldn't open %s (%s)", dev_name, strerror(errno)); in open_device()
|
D | SensorBase.h | 71 const char *dev_name; 87 SensorBase(const char* dev_name, const char* data_name);
|
D | CompassSensor.IIO.primary.cpp | 57 if(!strcmp(dev_name, "USE_SYSFS")) { in CompassSensor() 70 if (fill_dev_full_name_by_prefix(dev_name, in CompassSensor() 73 "magnetometer will likely not work.", dev_name); in CompassSensor() 78 strncpy(dev_full_name, dev_name, in CompassSensor()
|
D | CompassSensor.IIO.9150.cpp | 76 dev_name = sensor_name; in CompassSensor() 78 LOGI_IF(PROCESS_VERBOSE, "HAL:Secondary Chip Id: %s", dev_name); in CompassSensor() 408 inv_get_input_number(dev_name, &num); in inv_init_sysfs_attributes()
|
/hardware/intel/common/libva/va/android/ |
D | va_android.cpp | 47 static int open_device (char *dev_name) in open_device() argument 52 if (-1 == stat (dev_name, &st)) in open_device() 55 dev_name, errno, strerror (errno)); in open_device() 61 printf ("%s is no device\n", dev_name); in open_device() 65 fd = open (dev_name, O_RDWR); in open_device() 70 dev_name, errno, strerror (errno)); in open_device()
|
/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/src/ |
D | IPACM_Iface.cpp | 74 memcpy(dev_name, in IPACM_Iface() 108 IPACMDBG("No rx properties registered for iface %s\n", dev_name); in handle_software_routing_enable() 243 IPACMDBG("No rx properties registered for iface %s\n", dev_name); in handle_software_routing_disable() 526 IPACMDBG_H("iface name %s\n", dev_name); in query_iface_property() 527 memcpy(iface_query->name, dev_name, sizeof(dev_name)); in query_iface_property() 547 memcpy(tx_prop->name, dev_name, sizeof(tx_prop->name)); in query_iface_property() 574 ((memcmp(dev_name, "wlan0", sizeof("wlan0")) == 0) || in query_iface_property() 575 (memcmp(dev_name, "wlan1", sizeof("wlan1")) == 0))) in query_iface_property() 598 memcpy(rx_prop->name, dev_name, in query_iface_property() 622 IPACMDBG_H(" Has rx/tx properties registered for iface %s, add for NATTING \n", dev_name); in query_iface_property() [all …]
|
D | IPACM_Netlink.cpp | 609 char dev_name[IF_NAME_LEN]={0}; in ipa_nl_decode_nlmsg() local 623 memset(dev_name,0,IF_NAME_LEN); in ipa_nl_decode_nlmsg() 655 ret_val = ipa_get_if_name(dev_name, msg_ptr->nl_link_info.metainfo.ifi_index); in ipa_nl_decode_nlmsg() 672 …IPACMDBG_H("Interface %s bring up with IP-family: %d \n", dev_name, msg_ptr->nl_link_info.metainfo… in ipa_nl_decode_nlmsg() 680 …IPACMDBG_H("Interface %s bring down with IP-family: %d \n", dev_name, msg_ptr->nl_link_info.metain… in ipa_nl_decode_nlmsg() 707 ret_val = ipa_get_if_name(dev_name, msg_ptr->nl_link_info.metainfo.ifi_index); in ipa_nl_decode_nlmsg() 713 …IPACMDBG("Got a usb link_up event (Interface %s, %d) \n", dev_name, msg_ptr->nl_link_info.metainfo… in ipa_nl_decode_nlmsg() 734 ret_val = ipa_get_if_name(dev_name, msg_ptr->nl_link_info.metainfo.ifi_index); in ipa_nl_decode_nlmsg() 740 IPACMDBG_H("Got a usb link_down event (Interface %s) \n", dev_name); in ipa_nl_decode_nlmsg() 781 ret_val = ipa_get_if_name(dev_name, msg_ptr->nl_link_info.metainfo.ifi_index); in ipa_nl_decode_nlmsg() [all …]
|
D | IPACM_LanToLan.cpp | 71 IPACMDBG_H("Interface %s is WLAN interface.\n", p_iface->dev_name); in IPACM_LanToLan_Iface() 75 IPACMDBG_H("Interface %s is guest AP.\n", p_iface->dev_name); in IPACM_LanToLan_Iface() 151 IPACMDBG_H("Interface name: %s IP type: %d\n", data->p_iface->dev_name, data->iptype); in handle_iface_up() 184 IPACMERR("The interface %s does not have tx_prop or rx_prop.\n", data->p_iface->dev_name); in handle_iface_up() 239 IPACMDBG_H("Interface name: %s\n", data->p_iface->dev_name); in handle_iface_down() 269 …te peer info between: new_iface %s, existing iface %s\n", new_iface->get_iface_pointer()->dev_name, in handle_new_iface_up() 270 exist_iface->get_iface_pointer()->dev_name); in handle_new_iface_up() 306 …ta->mac_addr[2], data->mac_addr[3], data->mac_addr[4], data->mac_addr[5], data->p_iface->dev_name); in handle_client_add() 340 …ta->mac_addr[2], data->mac_addr[3], data->mac_addr[4], data->mac_addr[5], data->p_iface->dev_name); in handle_client_del() 364 IPACMDBG_H("Incoming interface: %s\n", data->p_iface->dev_name); in handle_wlan_scc_mcc_switch() [all …]
|
D | IPACM_Config.cpp | 462 int IPACM_Config::AddNatIfaces(char *dev_name) in AddNatIfaces() argument 468 if(strncmp(dev_name, in AddNatIfaces() 472 IPACMDBG("Interface (%s) is add to nat iface already\n", dev_name); in AddNatIfaces() 478 dev_name, ipa_nat_iface_entries); in AddNatIfaces() 484 dev_name, IPA_IFACE_NAME_LEN); in AddNatIfaces() 494 int IPACM_Config::DelNatIfaces(char *dev_name) in DelNatIfaces() argument 498 dev_name, ipa_nat_iface_entries); in DelNatIfaces() 502 if (strcmp(dev_name, pNatIfaces[i].iface_name) == 0) in DelNatIfaces() 525 dev_name, ipa_nat_iface_entries); in DelNatIfaces() 529 int IPACM_Config::CheckNatIfaces(const char *dev_name) in CheckNatIfaces() argument [all …]
|
D | IPACM_OffloadManager.cpp | 237 …memcpy(event_cache[latest_cache_index].dev_name, downstream_name, sizeof(event_cache[latest_cache_… in addDownstream() 244 event_cache[latest_cache_index].dev_name, in addDownstream() 258 event_cache[latest_cache_index].dev_name, in addDownstream() 396 …memcpy(event_cache[latest_cache_index].dev_name, upstream_name, sizeof(event_cache[latest_cache_in… in setUpstream() 403 event_cache[latest_cache_index].dev_name, in setUpstream() 415 event_cache[latest_cache_index].dev_name, in setUpstream() 713 if (strncmp(event_cache[i].dev_name, in search_framwork_cache() 715 sizeof(event_cache[i].dev_name)) == 0) in search_framwork_cache()
|
D | IPACM_IfaceManager.cpp | 291 …IPACMDBG_H("ipa_LAN (%s):ipa_index (%d) instance open/registr ok\n", lan->dev_name, lan->ipa_if_nu… in create_iface_instance() 314 …IPACMDBG_H("ipa_LAN (%s):ipa_index (%d) instance open/registr ok\n", ETH->dev_name, ETH->ipa_if_nu… in create_iface_instance() 340 …IPACMDBG_H("ipa_LAN (%s):ipa_index (%d) instance open/registr ok\n", odu->dev_name, odu->ipa_if_nu… in create_iface_instance() 356 …IPACMDBG_H("ipa_LAN (%s):ipa_index (%d) instance open/registr ok\n", odu->dev_name, odu->ipa_if_nu… in create_iface_instance() 407 …IPACMDBG_H("ipa_WLAN (%s):ipa_index (%d) instance open/registr ok\n", wl->dev_name, wl->ipa_if_num… in create_iface_instance() 459 … IPACMDBG_H("ipa_WAN (%s):ipa_index (%d) instance open/registr ok\n", w->dev_name, w->ipa_if_num); in create_iface_instance() 473 …IPACMDBG("ipa_WAN (%s):ipa_index (%d) instance open/registr ok\n", embms->dev_name, embms->ipa_if_… in create_iface_instance()
|
D | IPACM_Wan.cpp | 178 IPACMDBG_H("dev %s add producer dependency\n", dev_name); in IPACM_Wan() 413 …IPACMDBG_H("Already setup device (%s) ipv4 and it didn't change(0x%x)\n", dev_name, data->ipv4_add… in handle_addr_evt() 418 IPACMDBG_H(" device (%s) ipv4 addr is changed\n", dev_name); in handle_addr_evt() 517 IPACMDBG_H(" check iface %s if having add_downstream cache events\n", dev_name); in handle_addr_evt() 518 OffloadMng->search_framwork_cache(dev_name); in handle_addr_evt() 548 IPACM_Iface::ipacmcfg->DelNatIfaces(dev_name); // delete NAT-iface in event_callback() 645 if(IPACM_Iface::ipa_get_if_index(dev_name, &(data_fid->if_index))) in event_callback() 647 IPACMERR("Error while getting interface index for %s device", dev_name); in event_callback() 656 IPACM_Iface::ipacmcfg->DelNatIfaces(dev_name); // delete NAT-iface in event_callback() 674 IPACM_Iface::ipacmcfg->DelNatIfaces(dev_name); // delete NAT-iface in event_callback() [all …]
|
/hardware/qcom/camera/msm8998/usbcamcore/inc/ |
D | QCameraUsbPriv.h | 101 camHal->fd = open(camHal->dev_name, O_RDWR | O_NONBLOCK, 0);\ 155 char dev_name[FILENAME_LENGTH]; member
|
/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/inc/ |
D | IPACM_Config.h | 233 int AddNatIfaces(char *dev_name); 235 int DelNatIfaces(char *dev_name); 237 int CheckNatIfaces(const char *dev_name);
|
D | IPACM_Iface.h | 87 char dev_name[IF_NAME_LEN]; variable
|
D | IPACM_OffloadManager.h | 52 char dev_name[IF_NAME_LEN]; member
|
/hardware/invensense/6515/libsensors_iio/software/simple_apps/gesture_test/ |
D | inv_gesture_test.c | 257 char dev_name[8]; in is_android_hub() local 261 fgets(dev_name, 8, fp); in is_android_hub() 264 if (!strncmp(dev_name, IIO_HUB_NAME, sizeof(IIO_HUB_NAME))) { in is_android_hub()
|
/hardware/qcom/display/msm8994/liboverlay/ |
D | overlayUtils.h | 628 char dev_name[64] = {0}; in open() local 629 snprintf(dev_name, sizeof(dev_name), dev, fbnum); in open() 630 return fd.open(dev_name, flags); in open()
|