Home
last modified time | relevance | path

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

1234

/hardware/qcom/audio/hal/audio_extn/
Dhwdep_cal.c70 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/invensense/6515/libsensors_iio/
DSensorBase.cpp48 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()
DSensorBase.h71 const char *dev_name;
87 SensorBase(const char* dev_name, const char* data_name);
/hardware/invensense/65xx/libsensors_iio/
DSensorBase.cpp46 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()
DSensorBase.h70 const char *dev_name;
86 SensorBase(const char* dev_name, const char* data_name);
/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/src/
DIPACM_Iface.cpp74 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 …]
DIPACM_Netlink.cpp609 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 …]
DIPACM_LanToLan.cpp71 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 …]
DIPACM_Config.cpp462 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 …]
DIPACM_OffloadManager.cpp237 …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()
/hardware/qcom/sdm845/data/ipacfg-mgr/ipacm/src/
DIPACM_Netlink.cpp609 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()
708 ret_val = ipa_get_if_name(dev_name, msg_ptr->nl_link_info.metainfo.ifi_index); in ipa_nl_decode_nlmsg()
714 …IPACMDBG_H("Got a usb link_up event (Interface %s, %d) \n", dev_name, msg_ptr->nl_link_info.metain… in ipa_nl_decode_nlmsg()
716 if (!strncmp(dev_name,"rmnet_data",strlen("rmnet_data"))) in ipa_nl_decode_nlmsg()
741 ret_val = ipa_get_if_name(dev_name, msg_ptr->nl_link_info.metainfo.ifi_index); in ipa_nl_decode_nlmsg()
747 IPACMDBG_H("Got a usb link_down event (Interface %s) \n", dev_name); in ipa_nl_decode_nlmsg()
[all …]
DIPACM_Iface.cpp74 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()
532 IPACMDBG_H("iface name %s\n", dev_name); in query_iface_property()
533 memcpy(iface_query->name, dev_name, sizeof(dev_name)); in query_iface_property()
553 memcpy(tx_prop->name, dev_name, sizeof(tx_prop->name)); in query_iface_property()
580 ((memcmp(dev_name, "wlan0", sizeof("wlan0")) == 0) || in query_iface_property()
581 (memcmp(dev_name, "wlan1", sizeof("wlan1")) == 0))) in query_iface_property()
604 memcpy(rx_prop->name, dev_name, in query_iface_property()
645 …IPACMDBG_H(" NOT add producer dependency on dev %s with registered rx-prop cat:%d \n", dev_name, I… in init_fl_rule()
[all …]
DIPACM_OffloadManager.cpp245 …memcpy(event_cache[latest_cache_index].dev_name, downstream_name, sizeof(event_cache[latest_cache_… in addDownstream()
252 event_cache[latest_cache_index].dev_name, in addDownstream()
266 event_cache[latest_cache_index].dev_name, in addDownstream()
419 …memcpy(event_cache[latest_cache_index].dev_name, upstream_name, sizeof(event_cache[latest_cache_in… in setUpstream()
426 event_cache[latest_cache_index].dev_name, in setUpstream()
438 event_cache[latest_cache_index].dev_name, in setUpstream()
773 if (strncmp(event_cache[i].dev_name, in search_framwork_cache()
775 sizeof(event_cache[i].dev_name)) == 0) in search_framwork_cache()
888 memcpy(event_cache[latest_cache_index].dev_name, if_name, in push_framework_event()
889 sizeof(event_cache[latest_cache_index].dev_name)); in push_framework_event()
[all …]
DIPACM_Config.cpp471 int IPACM_Config::AddNatIfaces(char *dev_name, ipa_ip_type ip_type) in AddNatIfaces() argument
477 if(strncmp(dev_name, in AddNatIfaces()
481 IPACMDBG_H("Interface (%s) is add to nat iface already\n", dev_name); in AddNatIfaces()
495 dev_name, ipa_nat_iface_entries); in AddNatIfaces()
501 dev_name, IPA_IFACE_NAME_LEN); in AddNatIfaces()
518 int IPACM_Config::DelNatIfaces(char *dev_name) in DelNatIfaces() argument
522 dev_name, ipa_nat_iface_entries); in DelNatIfaces()
526 if (strcmp(dev_name, pNatIfaces[i].iface_name) == 0) in DelNatIfaces()
555 dev_name, ipa_nat_iface_entries); in DelNatIfaces()
559 int IPACM_Config::CheckNatIfaces(const char *dev_name, ipa_ip_type ip_type) in CheckNatIfaces() argument
[all …]
DIPACM_LanToLan.cpp75 IPACMDBG_H("Interface %s is WLAN interface.\n", p_iface->dev_name); in IPACM_LanToLan_Iface()
79 IPACMDBG_H("Interface %s is guest AP.\n", p_iface->dev_name); in IPACM_LanToLan_Iface()
245 IPACMDBG_H("Interface name: %s IP type: %d\n", data->p_iface->dev_name, data->iptype); in handle_iface_up()
278 IPACMERR("The interface %s does not have tx_prop or rx_prop.\n", data->p_iface->dev_name); in handle_iface_up()
355 IPACMDBG_H("Interface name: %s\n", data->p_iface->dev_name); in handle_iface_down()
406 …te peer info between: new_iface %s, existing iface %s\n", new_iface->get_iface_pointer()->dev_name, in handle_new_iface_up()
407 exist_iface->get_iface_pointer()->dev_name); in handle_new_iface_up()
446 …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()
496 …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()
520 IPACMDBG_H("Incoming interface: %s\n", data->p_iface->dev_name); in handle_wlan_scc_mcc_switch()
[all …]
DIPACM_IfaceManager.cpp297 …IPACMDBG_H("ipa_LAN (%s):ipa_index (%d) instance open/registr ok\n", lan->dev_name, lan->ipa_if_nu… in create_iface_instance()
320 …IPACMDBG_H("ipa_LAN (%s):ipa_index (%d) instance open/registr ok\n", ETH->dev_name, ETH->ipa_if_nu… in create_iface_instance()
346 …IPACMDBG_H("ipa_LAN (%s):ipa_index (%d) instance open/registr ok\n", odu->dev_name, odu->ipa_if_nu… in create_iface_instance()
362 …IPACMDBG_H("ipa_LAN (%s):ipa_index (%d) instance open/registr ok\n", odu->dev_name, odu->ipa_if_nu… in create_iface_instance()
425 …IPACMDBG_H("ipa_WLAN (%s):ipa_index (%d) instance open/registr ok\n", wl->dev_name, wl->ipa_if_num… in create_iface_instance()
489 … IPACMDBG_H("ipa_WAN (%s):ipa_index (%d) instance open/registr ok\n", w->dev_name, w->ipa_if_num); in create_iface_instance()
503 …IPACMDBG("ipa_WAN (%s):ipa_index (%d) instance open/registr ok\n", embms->dev_name, embms->ipa_if_… in create_iface_instance()
/hardware/qcom/sm8150/data/ipacfg-mgr/ipacm/src/
DIPACM_Netlink.cpp609 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()
708 ret_val = ipa_get_if_name(dev_name, msg_ptr->nl_link_info.metainfo.ifi_index); in ipa_nl_decode_nlmsg()
714 …IPACMDBG_H("Got a usb link_up event (Interface %s, %d) \n", dev_name, msg_ptr->nl_link_info.metain… in ipa_nl_decode_nlmsg()
716 if (!strncmp(dev_name,"rmnet_data",strlen("rmnet_data"))) in ipa_nl_decode_nlmsg()
741 ret_val = ipa_get_if_name(dev_name, msg_ptr->nl_link_info.metainfo.ifi_index); in ipa_nl_decode_nlmsg()
747 IPACMDBG_H("Got a usb link_down event (Interface %s) \n", dev_name); in ipa_nl_decode_nlmsg()
[all …]
DIPACM_Iface.cpp74 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()
532 IPACMDBG_H("iface name %s\n", dev_name); in query_iface_property()
533 memcpy(iface_query->name, dev_name, sizeof(dev_name)); in query_iface_property()
553 memcpy(tx_prop->name, dev_name, sizeof(tx_prop->name)); in query_iface_property()
580 ((memcmp(dev_name, "wlan0", sizeof("wlan0")) == 0) || in query_iface_property()
581 (memcmp(dev_name, "wlan1", sizeof("wlan1")) == 0))) in query_iface_property()
604 memcpy(rx_prop->name, dev_name, in query_iface_property()
645 …IPACMDBG_H(" NOT add producer dependency on dev %s with registered rx-prop cat:%d \n", dev_name, I… in init_fl_rule()
[all …]
DIPACM_OffloadManager.cpp245 …memcpy(event_cache[latest_cache_index].dev_name, downstream_name, sizeof(event_cache[latest_cache_… in addDownstream()
252 event_cache[latest_cache_index].dev_name, in addDownstream()
266 event_cache[latest_cache_index].dev_name, in addDownstream()
420 …memcpy(event_cache[latest_cache_index].dev_name, upstream_name, sizeof(event_cache[latest_cache_in… in setUpstream()
427 event_cache[latest_cache_index].dev_name, in setUpstream()
439 event_cache[latest_cache_index].dev_name, in setUpstream()
777 if (strncmp(event_cache[i].dev_name, in search_framwork_cache()
779 sizeof(event_cache[i].dev_name)) == 0) in search_framwork_cache()
896 memcpy(event_cache[latest_cache_index].dev_name, if_name, in push_framework_event()
897 sizeof(event_cache[latest_cache_index].dev_name)); in push_framework_event()
[all …]
DIPACM_Config.cpp474 int IPACM_Config::AddNatIfaces(char *dev_name, ipa_ip_type ip_type) in AddNatIfaces() argument
480 if(strncmp(dev_name, in AddNatIfaces()
484 IPACMDBG_H("Interface (%s) is add to nat iface already\n", dev_name); in AddNatIfaces()
498 dev_name, ipa_nat_iface_entries); in AddNatIfaces()
504 dev_name, IPA_IFACE_NAME_LEN); in AddNatIfaces()
521 int IPACM_Config::DelNatIfaces(char *dev_name) in DelNatIfaces() argument
525 dev_name, ipa_nat_iface_entries); in DelNatIfaces()
529 if (strcmp(dev_name, pNatIfaces[i].iface_name) == 0) in DelNatIfaces()
558 dev_name, ipa_nat_iface_entries); in DelNatIfaces()
562 int IPACM_Config::CheckNatIfaces(const char *dev_name, ipa_ip_type ip_type) in CheckNatIfaces() argument
[all …]
DIPACM_LanToLan.cpp75 IPACMDBG_H("Interface %s is WLAN interface.\n", p_iface->dev_name); in IPACM_LanToLan_Iface()
79 IPACMDBG_H("Interface %s is guest AP.\n", p_iface->dev_name); in IPACM_LanToLan_Iface()
248 IPACMDBG_H("Interface name: %s IP type: %d\n", data->p_iface->dev_name, data->iptype); in handle_iface_up()
281 IPACMERR("The interface %s does not have tx_prop or rx_prop.\n", data->p_iface->dev_name); in handle_iface_up()
360 IPACMDBG_H("Interface name: %s\n", data->p_iface->dev_name); in handle_iface_down()
411 …te peer info between: new_iface %s, existing iface %s\n", new_iface->get_iface_pointer()->dev_name, in handle_new_iface_up()
412 exist_iface->get_iface_pointer()->dev_name); in handle_new_iface_up()
451 …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()
501 …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()
525 IPACMDBG_H("Incoming interface: %s\n", data->p_iface->dev_name); in handle_wlan_scc_mcc_switch()
[all …]
/hardware/qcom/camera/msm8998/usbcamcore/inc/
DQCameraUsbPriv.h101 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/
DIPACM_Config.h233 int AddNatIfaces(char *dev_name);
235 int DelNatIfaces(char *dev_name);
237 int CheckNatIfaces(const char *dev_name);
/hardware/qcom/sm8150/data/ipacfg-mgr/ipacm/inc/
DIPACM_Config.h235 int AddNatIfaces(char *dev_name, ipa_ip_type ip_type);
237 int DelNatIfaces(char *dev_name);
239 int CheckNatIfaces(const char *dev_name, ipa_ip_type ip_type);
/hardware/qcom/sdm845/data/ipacfg-mgr/ipacm/inc/
DIPACM_Config.h235 int AddNatIfaces(char *dev_name, ipa_ip_type ip_type);
237 int DelNatIfaces(char *dev_name);
239 int CheckNatIfaces(const char *dev_name, ipa_ip_type ip_type);

1234