Home
last modified time | relevance | path

Searched refs:priv (Results 1 – 25 of 31) sorted by relevance

12

/hardware/libhardware/modules/tv_input/
Dtv_input.cpp63 tv_input_private_t* priv = (tv_input_private_t*)dev; in tv_input_initialize() local
64 if (priv->callback != NULL) { in tv_input_initialize()
68 priv->callback = callback; in tv_input_initialize()
69 priv->callback_data = data; in tv_input_initialize()
105 tv_input_private_t* priv = (tv_input_private_t*)dev; in tv_input_device_close() local
106 if (priv) { in tv_input_device_close()
107 free(priv); in tv_input_device_close()
/hardware/qcom/wlan/legacy/qcwcn/wpa_supplicant_8_lib/
Ddriver_cmd_nl80211.c67 int wpa_driver_nl80211_driver_cmd(void *priv, char *cmd, char *buf, in wpa_driver_nl80211_driver_cmd() argument
70 struct i802_bss *bss = priv; in wpa_driver_nl80211_driver_cmd()
136 int wpa_driver_set_p2p_noa(void *priv, u8 count, int start, int duration) in wpa_driver_set_p2p_noa() argument
143 return wpa_driver_nl80211_driver_cmd(priv, buf, buf, strlen(buf)+1); in wpa_driver_set_p2p_noa()
146 int wpa_driver_get_p2p_noa(void *priv, u8 *buf, size_t len) in wpa_driver_get_p2p_noa() argument
148 UNUSED(priv), UNUSED(buf), UNUSED(len); in wpa_driver_get_p2p_noa()
153 int wpa_driver_set_p2p_ps(void *priv, int legacy_ps, int opp_ps, int ctwindow) in wpa_driver_set_p2p_ps() argument
160 return wpa_driver_nl80211_driver_cmd(priv, buf, buf, strlen(buf) + 1); in wpa_driver_set_p2p_ps()
163 int wpa_driver_set_ap_wps_p2p_ie(void *priv, const struct wpabuf *beacon, in wpa_driver_set_ap_wps_p2p_ie() argument
167 UNUSED(priv), UNUSED(beacon), UNUSED(proberesp), UNUSED(assocresp); in wpa_driver_set_ap_wps_p2p_ie()
/hardware/broadcom/wlan/bcmdhd/wpa_supplicant_8_lib/
Ddriver_cmd_nl80211.c69 int wpa_driver_nl80211_driver_cmd(void *priv, char *cmd, char *buf, in wpa_driver_nl80211_driver_cmd() argument
72 struct i802_bss *bss = priv; in wpa_driver_nl80211_driver_cmd()
141 int wpa_driver_set_p2p_noa(void *priv, u8 count, int start, int duration) in wpa_driver_set_p2p_noa() argument
148 return wpa_driver_nl80211_driver_cmd(priv, buf, buf, strlen(buf)+1); in wpa_driver_set_p2p_noa()
151 int wpa_driver_get_p2p_noa(void *priv __unused, u8 *buf __unused, size_t len __unused) in wpa_driver_get_p2p_noa()
157 int wpa_driver_set_p2p_ps(void *priv, int legacy_ps, int opp_ps, int ctwindow) in wpa_driver_set_p2p_ps() argument
164 return wpa_driver_nl80211_driver_cmd(priv, buf, buf, strlen(buf) + 1); in wpa_driver_set_p2p_ps()
167 int wpa_driver_set_ap_wps_p2p_ie(void *priv, const struct wpabuf *beacon, in wpa_driver_set_ap_wps_p2p_ie() argument
208 ret = wpa_driver_nl80211_driver_cmd(priv, buf, buf, buf_len); in wpa_driver_set_ap_wps_p2p_ie()
Ddriver_cmd_wext.c47 static void wpa_driver_wext_set_scan_timeout(void *priv) in wpa_driver_wext_set_scan_timeout() argument
49 struct wpa_driver_wext_data *drv = priv; in wpa_driver_wext_set_scan_timeout()
75 int wpa_driver_wext_combo_scan(void *priv, struct wpa_driver_scan_params *params) in wpa_driver_wext_combo_scan() argument
78 struct wpa_driver_wext_data *drv = priv; in wpa_driver_wext_combo_scan()
202 static int wpa_driver_set_backgroundscan_params(void *priv) in wpa_driver_set_backgroundscan_params() argument
204 struct wpa_driver_wext_data *drv = priv; in wpa_driver_set_backgroundscan_params()
281 int wpa_driver_wext_driver_cmd( void *priv, char *cmd, char *buf, size_t buf_len ) in wpa_driver_wext_driver_cmd() argument
283 struct wpa_driver_wext_data *drv = priv; in wpa_driver_wext_driver_cmd()
310 ret = wpa_driver_set_backgroundscan_params(priv); in wpa_driver_wext_driver_cmd()
364 wpa_driver_wext_set_scan_timeout(priv); in wpa_driver_wext_driver_cmd()
[all …]
/hardware/synaptics/wlan/synadhd/wpa_supplicant_8_lib/
Ddriver_cmd_nl80211.c69 int wpa_driver_nl80211_driver_cmd(void *priv, char *cmd, char *buf, in wpa_driver_nl80211_driver_cmd() argument
72 struct i802_bss *bss = priv; in wpa_driver_nl80211_driver_cmd()
141 int wpa_driver_set_p2p_noa(void *priv, u8 count, int start, int duration) in wpa_driver_set_p2p_noa() argument
148 return wpa_driver_nl80211_driver_cmd(priv, buf, buf, strlen(buf)+1); in wpa_driver_set_p2p_noa()
151 int wpa_driver_get_p2p_noa(void *priv __unused, u8 *buf __unused, size_t len __unused) in wpa_driver_get_p2p_noa()
157 int wpa_driver_set_p2p_ps(void *priv, int legacy_ps, int opp_ps, int ctwindow) in wpa_driver_set_p2p_ps() argument
164 return wpa_driver_nl80211_driver_cmd(priv, buf, buf, strlen(buf) + 1); in wpa_driver_set_p2p_ps()
167 int wpa_driver_set_ap_wps_p2p_ie(void *priv, const struct wpabuf *beacon, in wpa_driver_set_ap_wps_p2p_ie() argument
208 ret = wpa_driver_nl80211_driver_cmd(priv, buf, buf, buf_len); in wpa_driver_set_ap_wps_p2p_ie()
Ddriver_cmd_wext.c47 static void wpa_driver_wext_set_scan_timeout(void *priv) in wpa_driver_wext_set_scan_timeout() argument
49 struct wpa_driver_wext_data *drv = priv; in wpa_driver_wext_set_scan_timeout()
75 int wpa_driver_wext_combo_scan(void *priv, struct wpa_driver_scan_params *params) in wpa_driver_wext_combo_scan() argument
78 struct wpa_driver_wext_data *drv = priv; in wpa_driver_wext_combo_scan()
202 static int wpa_driver_set_backgroundscan_params(void *priv) in wpa_driver_set_backgroundscan_params() argument
204 struct wpa_driver_wext_data *drv = priv; in wpa_driver_set_backgroundscan_params()
281 int wpa_driver_wext_driver_cmd( void *priv, char *cmd, char *buf, size_t buf_len ) in wpa_driver_wext_driver_cmd() argument
283 struct wpa_driver_wext_data *drv = priv; in wpa_driver_wext_driver_cmd()
310 ret = wpa_driver_set_backgroundscan_params(priv); in wpa_driver_wext_driver_cmd()
364 wpa_driver_wext_set_scan_timeout(priv); in wpa_driver_wext_driver_cmd()
[all …]
/hardware/libhardware/modules/camera/3_0/
DCamera.cpp51 Camera* cam = static_cast<Camera*>(cam_dev->priv); in close_device()
71 mDevice.priv = this; in Camera()
185 astream->priv = newStreams[i]; in configureStreams()
226 Stream *priv = reinterpret_cast<Stream*>(astream->priv); in reuseStream() local
228 if (!priv->isValidReuseStream(mId, astream)) { in reuseStream()
233 priv->mReuse = true; in reuseStream()
234 return priv; in reuseStream()
310 Stream *stream = reinterpret_cast<Stream*>(buf_set->stream->priv); in registerStreamBuffers()
540 return reinterpret_cast<Camera*>(dev->priv); in camdev_to_camera()
/hardware/libhardware/modules/usbcamera/
DCamera.cpp49 Camera* cam = static_cast<Camera*>(cam_dev->priv); in close_device()
55 return reinterpret_cast<Camera*>(dev->priv); in camdev_to_camera()
115 mDevice.priv = this; in Camera()
243 astream->priv = reinterpret_cast<void *>(newStreams[i]); in configureStreams()
277 Stream *priv = reinterpret_cast<Stream*>(astream->priv); in reuseStreamLocked() local
279 if (!priv->isValidReuseStream(mId, astream)) { in reuseStreamLocked()
284 priv->mReuse = true; in reuseStreamLocked()
285 return priv; in reuseStreamLocked()
/hardware/qcom/camera/msm8998/QCamera2/HAL/wrapper/
DQualcommCamera.cpp97 if(device && device->priv){ in util_get_Hal_obj()
98 camera_hardware_t *camHal = (camera_hardware_t *)device->priv; in util_get_Hal_obj()
152 device->priv = (void *)camHal; in camera_device_open()
181 camera_hardware_t *camHal = (camera_hardware_t *)device->priv; in close_camera_device()
433 camera_hardware_t *camHal = (camera_hardware_t *)device->priv; in release()
/hardware/qcom/camera/msm8998/usbcamcore/inc/
DQCameraUsbPriv.h55 if(device && device->priv){\
56 camHal = (camera_hardware_t *)device->priv;\
/hardware/qcom/wlan/wcn6740/qcwcn/wpa_supplicant_8_lib/
Ddriver_cmd_nl80211_extn.h87 int (*wpa_driver_driver_cmd_oem_cb)(void *priv,
Ddriver_cmd_nl80211.c5534 int wpa_driver_nl80211_driver_cmd(void *priv, char *cmd, char *buf, in wpa_driver_nl80211_driver_cmd() argument
5537 struct i802_bss *bss = priv; in wpa_driver_nl80211_driver_cmd()
5562 priv, cmd, buf, buf_len, &status); in wpa_driver_nl80211_driver_cmd()
5596 return wpa_driver_cmd_set_congestion_report(priv, cmd + 22); in wpa_driver_nl80211_driver_cmd()
5598 return wpa_driver_cmd_set_tx_power(priv, cmd + 12); in wpa_driver_nl80211_driver_cmd()
5760 return wpa_driver_cmd_set_ani_level(priv, mode, ofdmlvl); in wpa_driver_nl80211_driver_cmd()
5766 ret = wpa_driver_cmd_get_thermal_info(priv, &temperature, in wpa_driver_nl80211_driver_cmd()
5770 ret2 = wpa_driver_cmd_get_thermal_info(priv, &thermal_state, in wpa_driver_nl80211_driver_cmd()
5832 return wpa_driver_cmd_send_mcc_quota(priv, cmd); in wpa_driver_nl80211_driver_cmd()
5839 return wpa_driver_cmd_send_peer_flush_queue_config(priv, cmd); in wpa_driver_nl80211_driver_cmd()
[all …]
/hardware/libhardware/include/hardware/
Dcamera3.h1673 void *priv; member
3559 void *priv; member
Dcamera.h293 void *priv; member
Dcamera2.h837 void *priv; member
/hardware/libhardware/include_all/hardware/
Dcamera3.h1673 void *priv; member
3559 void *priv; member
Dcamera.h293 void *priv; member
Dcamera2.h837 void *priv; member
/hardware/qcom/camera/msm8998/usbcamcore/src/
DQualcommUsbCamera.cpp228 device->priv = (void *)camHal; in usbcam_camera_device_open()
244 camera_hardware_t *camHal = (camera_hardware_t *)device->priv; in usbcam_close_camera_device()
299 if(device && device->priv){ in usbcam_set_CallBacks()
300 camHal = (camera_hardware_t *)device->priv; in usbcam_set_CallBacks()
324 if(device && device->priv){ in usbcam_enable_msg_type()
325 camHal = (camera_hardware_t *)device->priv; in usbcam_enable_msg_type()
344 if(device && device->priv){ in usbcam_disable_msg_type()
345 camHal = (camera_hardware_t *)device->priv; in usbcam_disable_msg_type()
363 if(device && device->priv){ in usbcam_msg_type_enabled()
364 camHal = (camera_hardware_t *)device->priv; in usbcam_msg_type_enabled()
[all …]
/hardware/interfaces/identity/aidl/default/
DFakeSecureHardwareProxy.cpp385 vector<uint8_t> priv(EIC_P256_PRIV_KEY_SIZE); in getEphemeralKeyPair() local
386 if (!eicSessionGetEphemeralKeyPair(&ctx_, priv.data())) { in getEphemeralKeyPair()
389 return priv; in getEphemeralKeyPair()
516 vector<uint8_t> priv(EIC_P256_PRIV_KEY_SIZE); in createEphemeralKeyPair() local
517 if (!eicPresentationCreateEphemeralKeyPair(&ctx_, priv.data())) { in createEphemeralKeyPair()
520 return priv; in createEphemeralKeyPair()
/hardware/libhardware/modules/camera/3_4/
Dcamera.cpp46 Camera* cam = static_cast<Camera*>(cam_dev->priv); in close_device()
64 mDevice.priv = this; in Camera()
548 return reinterpret_cast<Camera*>(dev->priv); in camdev_to_camera()
/hardware/qcom/camera/msm8998/QCamera2/HAL/
DQCamera2HWI.cpp138 reinterpret_cast<QCamera2HardwareInterface *>(device->priv); in set_preview_window()
182 reinterpret_cast<QCamera2HardwareInterface *>(device->priv); in set_CallBacks()
222 reinterpret_cast<QCamera2HardwareInterface *>(device->priv); in enable_msg_type()
255 reinterpret_cast<QCamera2HardwareInterface *>(device->priv); in disable_msg_type()
290 reinterpret_cast<QCamera2HardwareInterface *>(device->priv); in msg_type_enabled()
327 reinterpret_cast<QCamera2HardwareInterface *>(device->priv); in prepare_preview()
365 reinterpret_cast<QCamera2HardwareInterface *>(device->priv); in start_preview()
405 reinterpret_cast<QCamera2HardwareInterface *>(device->priv); in stop_preview()
444 reinterpret_cast<QCamera2HardwareInterface *>(device->priv); in preview_enabled()
487 reinterpret_cast<QCamera2HardwareInterface *>(device->priv); in store_meta_data_in_buffers()
[all …]
/hardware/interfaces/camera/device/3.2/default/
Dconvert.cpp79 dst->priv = 0; in convertFromHidl()
/hardware/google/graphics/common/libhwc2.1/libhwchelper/
DExynosHWCHelper.cpp1047 int priv = exynosHWCControl.fenceTracer; in dumpNCheckLeakLocked() local
1050 exynosHWCControl.fenceTracer = priv; in dumpNCheckLeakLocked()
1060 int priv = exynosHWCControl.fenceTracer; in fenceWarnLocked() local
1063 exynosHWCControl.fenceTracer = priv; in fenceWarnLocked()
1081 int priv = exynosHWCControl.fenceTracer; in validateFencePerFrameLocked() local
1084 exynosHWCControl.fenceTracer = priv; in validateFencePerFrameLocked()
/hardware/qcom/camera/msm8998/QCamera2/HAL3/
DQCamera3HWI.cpp572 mCameraDevice.priv = this; in QCamera3HardwareInterface()
1756 QCamera3Channel *channel = (QCamera3Channel *)j->stream->priv; in updateFpsInPreviewBuffer()
1801 QCamera3Channel *channel = (QCamera3Channel *)k->stream->priv; in updateTimeStampInPendingBuffers()
2176 QCamera3ProcessingChannel *channel = (QCamera3ProcessingChannel*)(*it)->stream->priv; in configureStreamsPerfLocked()
2304 (QCamera3ProcessingChannel*)(*it)->stream->priv; in configureStreamsPerfLocked()
2309 (*it)->stream->priv = NULL; in configureStreamsPerfLocked()
2672 if (newStream->priv == NULL) { in configureStreamsPerfLocked()
2736 newStream->priv = channel; in configureStreamsPerfLocked()
2788 newStream->priv = channel; in configureStreamsPerfLocked()
2809 newStream->priv = channel; in configureStreamsPerfLocked()
[all …]

12