Home
last modified time | relevance | path

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

123456

/hardware/libhardware/include/hardware/
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
Dnfc.h124 struct hw_device_t common;
202 (struct hw_device_t**) dev); in nfc_nci_open()
255 struct hw_device_t common;
289 (struct hw_device_t**) dev); in nfc_pn544_open()
Dradio.h222 struct hw_device_t common;
288 (struct hw_device_t**)device); in radio_hw_device_open()
293 return device->common.close((struct hw_device_t *)&device->common); in radio_hw_device_close()
Dvibrator.h44 struct hw_device_t common;
69 return module->methods->open(module, VIBRATOR_DEVICE_ID_MAIN, (struct hw_device_t**)device); in vibrator_open()
Dnfc_tag.h51 struct hw_device_t common;
86 (struct hw_device_t**)dev); in nfc_tag_open()
Dlocal_time_hal.h64 struct hw_device_t common;
112 (struct hw_device_t**)device); in local_time_hw_device_open()
/hardware/qcom/camera/QCamera2/
DQCamera2Factory.h54 const char* id, uint32_t halVersion, struct hw_device_t** device);
61 int cameraDeviceOpen(int camera_id, struct hw_device_t **hw_device);
63 struct hw_device_t **hw_device);
65 int32_t cameraId, uint32_t halVersion, struct hw_device_t** hw_device);
/hardware/qcom/audio/legacy/alsa_sound/
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()
/hardware/libhardware/modules/nfc/
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()
/hardware/qcom/camera/QCamera2/HAL/wrapper/
DQualcommCamera.h42 struct hw_device_t** device);
44 hw_device_t * open_camera_device(int cameraId);
46 int close_camera_device( hw_device_t *);
/hardware/libhardware/modules/nfc-nci/
Dnfc_nci_example.c73 static int nfc_close(hw_device_t *dev) { in nfc_close()
79 hw_device_t** device) { in nfc_open()
97 *device = (hw_device_t*) dev; in nfc_open()
/hardware/qcom/display/msm8226/libgralloc/
Dgralloc.cpp35 hw_device_t** device);
38 hw_device_t** device);
99 hw_device_t** device) in gralloc_device_open()
/hardware/qcom/display/msm8994/libgralloc/
Dgralloc.cpp35 hw_device_t** device);
38 hw_device_t** device);
98 hw_device_t** device) in gralloc_device_open()
/hardware/libhardware/modules/vibrator/
Dvibrator.c87 static int vibra_close(hw_device_t *device) in vibra_close()
94 hw_device_t** device __unused) { in vibra_open()
115 *device = (hw_device_t *) vibradev; in vibra_open()
/hardware/qcom/display/msm8960/libgralloc/
Dgralloc.cpp35 hw_device_t** device);
38 hw_device_t** device);
98 hw_device_t** device) in gralloc_device_open()
/hardware/qcom/display/msm8084/libgralloc/
Dgralloc.cpp35 hw_device_t** device);
38 hw_device_t** device);
99 hw_device_t** device) in gralloc_device_open()
/hardware/qcom/display/msm8974/libgralloc/
Dgralloc.cpp35 hw_device_t** device);
38 hw_device_t** device);
98 hw_device_t** device) in gralloc_device_open()
/hardware/libhardware/modules/consumerir/
Dconsumerir.c67 static int consumerir_close(hw_device_t *dev) in consumerir_close()
77 hw_device_t** device) in consumerir_open()
99 *device = (hw_device_t*) dev; in consumerir_open()
/hardware/libhardware/modules/tv_input/
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()
/hardware/libhardware/modules/fingerprint/
Dfingerprint.c25 static int fingerprint_close(hw_device_t *dev) in fingerprint_close()
78 hw_device_t** device) in fingerprint_open()
103 *device = (hw_device_t*) dev; in fingerprint_open()
/hardware/qcom/gps/msm8960/loc_api/libloc_api_50001/
Dgps.c43 struct hw_device_t** device) in open_gps()
53 *device = (struct hw_device_t*)dev; in open_gps()
/hardware/libhardware/modules/hwcomposer/
Dhwcomposer.cpp38 struct hw_device_t** device);
97 static int hwc_device_close(struct hw_device_t *dev) in hwc_device_close()
109 struct hw_device_t** device) in hwc_device_open()
/hardware/qcom/gps/msm8974/loc_api/libloc_api_50001/
Dgps.c43 struct hw_device_t** device) in open_gps()
57 *device = (struct hw_device_t*)dev; in open_gps()
/hardware/qcom/gps/loc_api/libloc_api_50001/
Dgps.c43 struct hw_device_t** device) in open_gps()
57 *device = (struct hw_device_t*)dev; in open_gps()
/hardware/qcom/gps/msm8084/loc_api/libloc_api_50001/
Dgps.c43 struct hw_device_t** device) in open_gps()
57 *device = (struct hw_device_t*)dev; in open_gps()

123456