Home
last modified time | relevance | path

Searched refs:drv (Results 1 – 7 of 7) 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.c34 static void wpa_driver_send_hang_msg(struct wpa_driver_nl80211_data *drv) in wpa_driver_send_hang_msg() argument
39 wpa_msg(drv->ctx, MSG_INFO, WPA_EVENT_DRIVER_STATE "HANGED"); in wpa_driver_send_hang_msg()
68 struct wpa_driver_nl80211_data *drv = bss->drv; in wpa_driver_nl80211_driver_cmd() local
78 struct wpa_supplicant *wpa_s = (struct wpa_supplicant *)(drv->ctx); in wpa_driver_nl80211_driver_cmd()
84 drv = bss->drv; in wpa_driver_nl80211_driver_cmd()
91 linux_set_iface_flags(drv->global->ioctl_sock, bss->ifname, 0); in wpa_driver_nl80211_driver_cmd()
92 wpa_msg(drv->ctx, MSG_INFO, WPA_EVENT_DRIVER_STATE "STOPPED"); in wpa_driver_nl80211_driver_cmd()
94 linux_set_iface_flags(drv->global->ioctl_sock, bss->ifname, 1); in wpa_driver_nl80211_driver_cmd()
95 wpa_msg(drv->ctx, MSG_INFO, WPA_EVENT_DRIVER_STATE "STARTED"); in wpa_driver_nl80211_driver_cmd()
99 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.c30 static void wpa_driver_send_hang_msg(struct wpa_driver_nl80211_data *drv) in wpa_driver_send_hang_msg() argument
35 wpa_msg(drv->ctx, MSG_INFO, WPA_EVENT_DRIVER_STATE "HANGED"); in wpa_driver_send_hang_msg()
64 struct wpa_driver_nl80211_data *drv = bss->drv; in wpa_driver_nl80211_driver_cmd() local
70 linux_set_iface_flags(drv->global->ioctl_sock, bss->ifname, 0); in wpa_driver_nl80211_driver_cmd()
71 wpa_msg(drv->ctx, MSG_INFO, WPA_EVENT_DRIVER_STATE "STOPPED"); in wpa_driver_nl80211_driver_cmd()
73 linux_set_iface_flags(drv->global->ioctl_sock, bss->ifname, 1); in wpa_driver_nl80211_driver_cmd()
74 wpa_msg(drv->ctx, MSG_INFO, WPA_EVENT_DRIVER_STATE "STARTED"); in wpa_driver_nl80211_driver_cmd()
78 ret = linux_get_ifhwaddr(drv->global->ioctl_sock, bss->ifname, macaddr); in wpa_driver_nl80211_driver_cmd()
93 if ((ret = ioctl(drv->global->ioctl_sock, SIOCDEVPRIVATE + 1, &ifr)) < 0) { in wpa_driver_nl80211_driver_cmd()
111 wpa_driver_notify_country_change(drv->ctx, cmd); in wpa_driver_nl80211_driver_cmd()
/hardware/akm/AK8975_FS/libsensors/
Dsensors.cpp207 int drv = handleToDriver(handle); in activate() local
225 err = mSensors[drv]->setEnable(handle, enabled); in activate()
255 int drv = handleToDriver(handle); in setDelay_sub() local
256 int en = mSensors[drv]->getEnable(handle); in setDelay_sub()
257 int64_t cur = mSensors[drv]->getDelay(handle); in setDelay_sub()
263 err = mSensors[drv]->setDelay(handle, ns); in setDelay_sub()
268 err = mSensors[drv]->setDelay(handle, ns); in setDelay_sub()
/hardware/qcom/media/mm-video-legacy/vidc/
Dvdec.mk117 mm-vdec-drv-test-inc := hardware/qcom/media/mm-core/inc
118 mm-vdec-drv-test-inc += $(LOCAL_PATH)/vdec/inc
123 LOCAL_C_INCLUDES := $(mm-vdec-drv-test-inc)
/hardware/qcom/media/mm-video-v4l2/vidc/
Dvdec.mk201 mm-vdec-drv-test-inc := hardware/qcom/media/mm-core/inc
202 mm-vdec-drv-test-inc += $(LOCAL_PATH)/vdec/inc
203 mm-vdec-drv-test-inc += $(vdec-inc)
208 LOCAL_C_INCLUDES := $(mm-vdec-drv-test-inc)
/hardware/libhardware_legacy/include/hardware_legacy/
Ddriver_nl80211.h93 struct wpa_driver_nl80211_data *drv; member