Home
last modified time | relevance | path

Searched refs:hw_device_t (Results 1 – 25 of 275) sorted by relevance

1234567891011

/aosp12/hardware/libhardware/include/hardware/
H A Dhardware.h79 struct hw_device_t;
159 struct hw_device_t** device);
167 typedef struct hw_device_t { struct
200 int (*close)(struct hw_device_t* device); argument
202 } hw_device_t; typedef
205 #define TO_HW_DEVICE_T_OPEN(x) reinterpret_cast<struct hw_device_t**>(x)
207 #define TO_HW_DEVICE_T_OPEN(x) (struct hw_device_t**)(x)
H A Dnfc.h100 struct hw_device_t common;
178 (struct hw_device_t**) dev); in nfc_nci_open()
231 struct hw_device_t common;
265 (struct hw_device_t**) dev); in nfc_pn544_open()
H A Dnfc_tag.h51 struct hw_device_t common;
86 (struct hw_device_t**)dev); in nfc_tag_open()
/aosp12/hardware/qcom/camera/msm8998/QCamera2/
H A DQCamera2Factory.h53 const char* id, uint32_t halVersion, struct hw_device_t** device);
67 int cameraDeviceOpen(int camera_id, struct hw_device_t **hw_device);
69 struct hw_device_t **hw_device);
71 int32_t cameraId, uint32_t halVersion, struct hw_device_t** hw_device);
/aosp12/hardware/qcom/audio/legacy/alsa_sound/
H A Dacoustics_default.cpp26 static int s_device_open(const hw_module_t*, const char*, hw_device_t**);
27 static int s_device_close(hw_device_t*);
51 hw_device_t** device) in s_device_open()
76 static int s_device_close(hw_device_t* device) in s_device_close()
/aosp12/hardware/libhardware/modules/nfc/
H A Dnfc_pn544_example.c24 static int pn544_close(hw_device_t *dev) { in pn544_close()
33 hw_device_t** device) { in nfc_open()
50 *device = (hw_device_t*) dev; in nfc_open()
/aosp12/hardware/qcom/camera/msm8998/usbcamcore/inc/
H A DQualcommUsbCamera.h46 struct hw_device_t** device);
48 hw_device_t * usbcam_open_camera_device(int cameraId);
50 int usbcam_close_camera_device( hw_device_t *);
/aosp12/hardware/qcom/camera/msm8998/QCamera2/HAL/wrapper/
H A DQualcommCamera.h42 struct hw_device_t** device);
44 hw_device_t * open_camera_device(int cameraId);
46 int close_camera_device( hw_device_t *);
/aosp12/hardware/libhardware/modules/nfc-nci/
H A Dnfc_nci_example.cpp74 static int nfc_close(hw_device_t *dev) { in nfc_close()
80 hw_device_t** device) { in nfc_open()
99 *device = (hw_device_t*) dev; in nfc_open()
/aosp12/hardware/qcom/display/msm8909w_3100/libgralloc/
H A Dgralloc.cpp35 hw_device_t** device);
38 hw_device_t** device);
100 hw_device_t** device) in gralloc_device_open()
/aosp12/hardware/qcom/display/msm8960/libgralloc/
H A Dgralloc.cpp35 hw_device_t** device);
38 hw_device_t** device);
100 hw_device_t** device) in gralloc_device_open()
/aosp12/hardware/qcom/display/msm8084/libgralloc/
H A Dgralloc.cpp35 hw_device_t** device);
38 hw_device_t** device);
101 hw_device_t** device) in gralloc_device_open()
/aosp12/hardware/qcom/display/msm8909/libgralloc/
H A Dgralloc.cpp35 hw_device_t** device);
38 hw_device_t** device);
100 hw_device_t** device) in gralloc_device_open()
/aosp12/hardware/libhardware/modules/consumerir/
H A Dconsumerir.c71 static int consumerir_close(hw_device_t *dev) in consumerir_close()
81 hw_device_t** device) in consumerir_open()
103 *device = (hw_device_t*) dev; in consumerir_open()
/aosp12/hardware/qcom/display/msm8226/libgralloc/
H A Dgralloc.cpp35 hw_device_t** device);
38 hw_device_t** device);
101 hw_device_t** device) in gralloc_device_open()
/aosp12/hardware/libhardware/modules/camera/3_4/
H A Dv4l2_camera_hal.cpp146 hw_device_t** /*device*/) { in openLegacy() argument
161 hw_device_t** device) { in openDevice()
202 hw_device_t** device) { in open_legacy()
212 hw_device_t** device) { in open_dev()
H A Dv4l2_camera_hal.h49 hw_device_t** device);
53 int openDevice(const hw_module_t* mod, const char* name, hw_device_t** dev);
/aosp12/hardware/qcom/display/msm8994/libgralloc/
H A Dgralloc.cpp37 hw_device_t** device);
40 hw_device_t** device);
106 hw_device_t** device) in gralloc_device_open()
/aosp12/hardware/qcom/display/msm8996/libgralloc/
H A Dgralloc.cpp37 hw_device_t** device);
40 hw_device_t** device);
106 hw_device_t** device) in gralloc_device_open()
/aosp12/hardware/libhardware/modules/fingerprint/
H A Dfingerprint.c28 static int fingerprint_close(hw_device_t *dev) in fingerprint_close()
81 hw_device_t** device) in fingerprint_open()
106 *device = (hw_device_t*) dev; in fingerprint_open()
/aosp12/hardware/libhardware/modules/hwcomposer/
H A Dhwcomposer.cpp38 struct hw_device_t** device);
99 static int hwc_device_close(struct hw_device_t *dev) in hwc_device_close()
111 struct hw_device_t** device) in hwc_device_open()
/aosp12/hardware/libhardware/modules/tv_input/
H A Dtv_input.cpp37 const char* name, struct hw_device_t** device);
103 static int tv_input_device_close(struct hw_device_t *dev) in tv_input_device_close()
115 const char* name, struct hw_device_t** device) in tv_input_device_open()
/aosp12/hardware/qcom/camera/msm8998/QCamera2/HAL/
H A DQCameraMuxer.h149 const char* id, uint32_t halVersion, struct hw_device_t** device);
153 struct hw_device_t** device);
154 static int close_camera_device( hw_device_t *);
257 int cameraDeviceOpen(int camera_id, struct hw_device_t **hw_device);
/aosp12/hardware/libhardware/modules/vibrator/
H A Dvibrator.c139 static int vibra_close(hw_device_t *device) in vibra_close()
146 hw_device_t** device __unused) { in vibra_open()
180 *device = (hw_device_t *) vibradev; in vibra_open()
/aosp12/hardware/qcom/gps/msm8960/loc_api/libloc_api_50001/
H A Dgps.c43 struct hw_device_t** device) in open_gps()
53 *device = (struct hw_device_t*)dev; in open_gps()

1234567891011