Searched defs:device (Results 1 - 25 of 157) sorted by relevance

1234567

/hardware/intel/img/hwcomposer/ips/tangier/
H A DTngDisplayQuery.cpp61 bool DisplayQuery::forceFbScaling(int device) argument
63 // RGB planes don't support scaling. Panel fitter can be used to scale frame buffer to device's resolution
71 if (!Hwcomposer::getInstance().getDrm()->getDisplayResolution(device, width, height)) {
/hardware/libhardware/modules/nfc/
H A Dnfc_pn544_example.c22 /* Close an opened pn544 device instance */
29 * Generic device handling
32 hw_device_t** device) {
49 *device = (hw_device_t*) dev;
31 nfc_open(const hw_module_t* module, const char* name, hw_device_t** device) argument
/hardware/qcom/audio/post_proc/
H A Dbass_boost.h32 uint32_t device; member in struct:bassboost_context_s
42 int bassboost_set_device(effect_context_t *context, uint32_t device);
H A Dvirtualizer.h32 uint32_t device; member in struct:virtualizer_context_s
42 int virtualizer_set_device(effect_context_t *context, uint32_t device);
H A Dequalizer.h36 uint32_t device; member in struct:equalizer_context_s
46 int equalizer_set_device(effect_context_t *context, uint32_t device);
/hardware/qcom/display/msm8084/libgralloc/
H A Dgralloc.cpp35 hw_device_t** device);
38 hw_device_t** device);
97 // Open Gralloc device
99 hw_device_t** device)
108 *device = &dev->common;
111 status = fb_device_open(module, name, device);
98 gralloc_device_open(const hw_module_t* module, const char* name, hw_device_t** device) argument
/hardware/qcom/display/msm8226/libgralloc/
H A Dgralloc.cpp35 hw_device_t** device);
38 hw_device_t** device);
97 // Open Gralloc device
99 hw_device_t** device)
111 *device = &dev->common;
114 status = fb_device_open(module, name, device);
98 gralloc_device_open(const hw_module_t* module, const char* name, hw_device_t** device) argument
/hardware/qcom/display/msm8960/libgralloc/
H A Dgralloc.cpp35 hw_device_t** device);
38 hw_device_t** device);
96 // Open Gralloc device
98 hw_device_t** device)
107 *device = &dev->common;
110 status = fb_device_open(module, name, device);
97 gralloc_device_open(const hw_module_t* module, const char* name, hw_device_t** device) argument
/hardware/qcom/display/msm8974/libgralloc/
H A Dgralloc.cpp35 hw_device_t** device);
38 hw_device_t** device);
96 // Open Gralloc device
98 hw_device_t** device)
107 *device = &dev->common;
110 status = fb_device_open(module, name, device);
97 gralloc_device_open(const hw_module_t* module, const char* name, hw_device_t** device) argument
/hardware/qcom/gps/loc_api/libloc_api_50001/
H A Dgps.c42 struct hw_device_t** device)
56 *device = (struct hw_device_t*)dev;
41 open_gps(const struct hw_module_t* module, char const* name, struct hw_device_t** device) argument
/hardware/qcom/gps/msm8960/loc_api/libloc_api_50001/
H A Dgps.c42 struct hw_device_t** device)
52 *device = (struct hw_device_t*)dev;
41 open_gps(const struct hw_module_t* module, char const* name, struct hw_device_t** device) argument
/hardware/intel/img/hwcomposer/ips/common/
H A DDrmConfig.cpp30 uint32_t DrmConfig::getDrmConnector(int device) argument
32 if (device == IDisplayDevice::DEVICE_PRIMARY)
34 else if (device == IDisplayDevice::DEVICE_EXTERNAL)
39 uint32_t DrmConfig::getDrmEncoder(int device) argument
41 if (device == IDisplayDevice::DEVICE_PRIMARY)
43 else if (device == IDisplayDevice::DEVICE_EXTERNAL)
/hardware/intel/img/libdrm/libdrm/nouveau/
H A Dnouveau_channel.h32 struct nouveau_device *device; member in struct:nouveau_channel
/hardware/libhardware/include/hardware/
H A Dvibrator.h32 * The id of the main vibrator device
39 * Common methods of the vibrator device. This *must* be the first member of
67 static inline int vibrator_open(const struct hw_module_t* module, vibrator_device_t** device) argument
69 return module->methods->open(module, VIBRATOR_DEVICE_ID_MAIN, (struct hw_device_t**)device);
H A Dlocal_time_hal.h59 * Common methods of the local time hardware device. This *must* be the first member of
105 /** convenience API for opening and closing a supported device */
109 struct local_time_hw_device** device)
112 (struct hw_device_t**)device);
115 static inline int local_time_hw_device_close(struct local_time_hw_device* device) argument
117 return device->common.close(&device->common);
107 local_time_hw_device_open( const struct hw_module_t* module, struct local_time_hw_device** device) argument
/hardware/libhardware/modules/fingerprint/
H A Dfingerprint.c52 hw_device_t** device)
54 if (device == NULL) {
55 ALOGE("NULL device on open");
72 *device = (hw_device_t*) dev;
51 fingerprint_open(const hw_module_t* module, const char __unused *id, hw_device_t** device) argument
/hardware/libhardware/modules/local_time/
H A Dlocal_time_hw.c31 struct local_time_hw_device device; member in struct:stub_local_time_device
60 static int ltdev_close(hw_device_t *device) argument
62 free(device);
67 hw_device_t** device)
80 ltdev->device.common.tag = HARDWARE_DEVICE_TAG;
81 ltdev->device.common.version = 0;
82 ltdev->device.common.module = (struct hw_module_t *) module;
83 ltdev->device.common.close = ltdev_close;
85 ltdev->device.get_local_time = ltdev_get_local_time;
86 ltdev->device
66 ltdev_open(const hw_module_t* module, const char* name, hw_device_t** device) argument
[all...]
/hardware/libhardware/tests/fingerprint/
H A Dfingerprint_test_fixtures.h56 hw_device_t *device = NULL; local
60 (const hw_module_t*)fp_module(), NULL, &device))
61 << "Can't open fingerprint device";
62 ASSERT_TRUE(NULL != device)
63 << "Fingerprint open() returned a NULL device";
64 ASSERT_EQ(kVersion, device->version)
66 fp_device_ = reinterpret_cast<fingerprint_device_t*>(device);
/hardware/libhardware/tests/nusensors/
H A Dnusensors.cpp63 struct sensors_poll_device_t* device; local
72 err = sensors_open(&module->common, &device);
104 err = device->activate(device, list[i].handle, 0);
113 err = device->activate(device, list[i].handle, 1);
119 device->setDelay(device, list[i].handle, ms2ns(10));
123 int n = device->poll(device, buffe
[all...]
/hardware/libhardware_legacy/
H A Dqemu.h41 char device[32]; member in struct:__anon1385
/hardware/qcom/audio/legacy/alsa_sound/
H A Dacoustics_default.cpp51 hw_device_t** device)
72 *device = &dev->common;
76 static int s_device_close(hw_device_t* device) argument
78 free(device);
50 s_device_open(const hw_module_t* module, const char* name, hw_device_t** device) argument
/hardware/qcom/audio/legacy/libalsa-intf/
H A Damix.c57 const char* device = "/dev/snd/controlC0"; local
59 mixer = mixer_open(device);
/hardware/intel/img/libdrm/tests/
H A Ddrmtest.c55 /** Open the first DRM device matching the criteria */
60 struct udev_device *device, *parent; local
77 device = udev_device_new_from_syspath(udev, path);
78 parent = udev_device_get_parent(device);
85 fd = open(udev_device_get_devnode(device), O_RDWR);
107 fprintf(stderr, "failed to open any drm device\n");
115 * Open the first DRM device we can find where we end up being the master.
122 fprintf(stderr, "failed to open any drm device\n");
/hardware/libhardware/modules/hwcomposer/
H A Dhwcomposer.cpp32 hwc_composer_device_1_t device; member in struct:hwc_context_t
37 struct hw_device_t** device);
108 struct hw_device_t** device)
119 dev->device.common.tag = HARDWARE_DEVICE_TAG;
120 dev->device.common.version = HWC_DEVICE_API_VERSION_1_0;
121 dev->device.common.module = const_cast<hw_module_t*>(module);
122 dev->device.common.close = hwc_device_close;
124 dev->device.prepare = hwc_prepare;
125 dev->device.set = hwc_set;
127 *device
107 hwc_device_open(const struct hw_module_t* module, const char* name, struct hw_device_t** device) argument
[all...]
/hardware/libhardware/modules/usbaudio/
H A Dalsa_device_profile.h40 int device; member in struct:__anon1331
51 /* read from the hardware device */
64 bool profile_is_cached_for(alsa_device_profile* profile, int card, int device);

Completed in 2402 milliseconds

1234567