Home
last modified time | relevance | path

Searched refs:drv (Results 1 – 6 of 6) sorted by relevance

/hardware/broadcom/wlan/bcmdhd/wpa_supplicant_8_lib/
Ddriver_cmd_wext.c49 struct wpa_driver_wext_data *drv = priv; in wpa_driver_wext_set_scan_timeout() local
54 if (drv->scan_complete_events) { in wpa_driver_wext_set_scan_timeout()
64 eloop_cancel_timeout(wpa_driver_wext_scan_timeout, drv, drv->ctx); in wpa_driver_wext_set_scan_timeout()
65 eloop_register_timeout(timeout, 0, wpa_driver_wext_scan_timeout, drv, in wpa_driver_wext_set_scan_timeout()
66 drv->ctx); in wpa_driver_wext_set_scan_timeout()
78 struct wpa_driver_wext_data *drv = priv; in wpa_driver_wext_combo_scan() local
83 if (!drv->driver_is_started) { in wpa_driver_wext_combo_scan()
118 os_strlcpy(iwr.ifr_name, drv->ifname, IFNAMSIZ); in wpa_driver_wext_combo_scan()
122 if ((ret = ioctl(drv->ioctl_sock, SIOCSIWPRIV, &iwr)) < 0) { in wpa_driver_wext_combo_scan()
123 if (!drv->bgscan_enabled) in wpa_driver_wext_combo_scan()
[all …]
Ddriver_cmd_nl80211.c39 static void wpa_driver_send_hang_msg(struct wpa_driver_nl80211_data *drv) in wpa_driver_send_hang_msg() argument
44 wpa_msg(drv->ctx, MSG_INFO, WPA_EVENT_DRIVER_STATE "HANGED"); in wpa_driver_send_hang_msg()
73 struct wpa_driver_nl80211_data *drv = bss->drv; in wpa_driver_nl80211_driver_cmd() local
83 struct wpa_supplicant *wpa_s = (struct wpa_supplicant *)(drv->ctx); in wpa_driver_nl80211_driver_cmd()
89 drv = bss->drv; in wpa_driver_nl80211_driver_cmd()
96 linux_set_iface_flags(drv->global->ioctl_sock, bss->ifname, 0); in wpa_driver_nl80211_driver_cmd()
97 wpa_msg(drv->ctx, MSG_INFO, WPA_EVENT_DRIVER_STATE "STOPPED"); in wpa_driver_nl80211_driver_cmd()
99 linux_set_iface_flags(drv->global->ioctl_sock, bss->ifname, 1); in wpa_driver_nl80211_driver_cmd()
100 wpa_msg(drv->ctx, MSG_INFO, WPA_EVENT_DRIVER_STATE "STARTED"); in wpa_driver_nl80211_driver_cmd()
104 ret = linux_get_ifhwaddr(drv->global->ioctl_sock, bss->ifname, macaddr); in wpa_driver_nl80211_driver_cmd()
[all …]
/hardware/qcom/wlan/qcwcn/wpa_supplicant_8_lib/
Ddriver_cmd_nl80211.c45 static void wpa_driver_send_hang_msg(struct wpa_driver_nl80211_data *drv) in wpa_driver_send_hang_msg() argument
50 wpa_msg(drv->ctx, MSG_INFO, WPA_EVENT_DRIVER_STATE "HANGED"); in wpa_driver_send_hang_msg()
79 struct wpa_driver_nl80211_data *drv = bss->drv; in wpa_driver_nl80211_driver_cmd() local
86 dl_list_for_each(driver, &drv->global->interfaces, struct wpa_driver_nl80211_data, list) { in wpa_driver_nl80211_driver_cmd()
87 linux_set_iface_flags(drv->global->ioctl_sock, driver->first_bss->ifname, 1); in wpa_driver_nl80211_driver_cmd()
88 wpa_msg(drv->ctx, MSG_INFO, WPA_EVENT_DRIVER_STATE "STARTED"); in wpa_driver_nl80211_driver_cmd()
93 ret = linux_get_ifhwaddr(drv->global->ioctl_sock, bss->ifname, macaddr); in wpa_driver_nl80211_driver_cmd()
108 if ((ret = ioctl(drv->global->ioctl_sock, SIOCDEVPRIVATE + 1, &ifr)) < 0) { in wpa_driver_nl80211_driver_cmd()
131 dl_list_for_each(driver, &drv->global->interfaces, struct wpa_driver_nl80211_data, list) { in wpa_driver_nl80211_driver_cmd()
132 linux_set_iface_flags(drv->global->ioctl_sock, driver->first_bss->ifname, 0); in wpa_driver_nl80211_driver_cmd()
[all …]
/hardware/akm/AK8975_FS/libsensors/
Dsensors.cpp210 int drv = handleToDriver(handle); in activate() local
228 err = mSensors[drv]->setEnable(handle, enabled); in activate()
258 int drv = handleToDriver(handle); in setDelay_sub() local
259 int en = mSensors[drv]->getEnable(handle); in setDelay_sub()
260 int64_t cur = mSensors[drv]->getDelay(handle); in setDelay_sub()
266 err = mSensors[drv]->setDelay(handle, ns); in setDelay_sub()
271 err = mSensors[drv]->setDelay(handle, ns); in setDelay_sub()
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/
Dvdec.mk113 mm-vdec-drv-test-inc := hardware/qcom/media/msm8974/mm-core/inc
114 mm-vdec-drv-test-inc += $(LOCAL_PATH)/vdec/inc
119 LOCAL_C_INCLUDES := $(mm-vdec-drv-test-inc)
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/
Dvdec.mk205 mm-vdec-drv-test-inc := hardware/qcom/media/msm8974/mm-core/inc
206 mm-vdec-drv-test-inc += $(LOCAL_PATH)/vdec/inc
207 mm-vdec-drv-test-inc += $(vdec-inc)
212 LOCAL_C_INCLUDES := $(mm-vdec-drv-test-inc)