/hardware/intel/img/hwcomposer/ips/tangier/ |
H A D | TngDisplayQuery.cpp | 61 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 D | nfc_pn544_example.c | 22 /* 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 D | bass_boost.h | 32 uint32_t device; member in struct:bassboost_context_s 42 int bassboost_set_device(effect_context_t *context, uint32_t device);
|
H A D | virtualizer.h | 32 uint32_t device; member in struct:virtualizer_context_s 42 int virtualizer_set_device(effect_context_t *context, uint32_t device);
|
H A D | equalizer.h | 36 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 D | gralloc.cpp | 35 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 D | gralloc.cpp | 35 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 D | gralloc.cpp | 35 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 D | gralloc.cpp | 35 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 D | gps.c | 42 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 D | gps.c | 42 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 D | DrmConfig.cpp | 30 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 D | nouveau_channel.h | 32 struct nouveau_device *device; member in struct:nouveau_channel
|
/hardware/libhardware/include/hardware/ |
H A D | vibrator.h | 32 * 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 D | local_time_hal.h | 59 * 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 D | fingerprint.c | 52 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 D | local_time_hw.c | 31 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 D | fingerprint_test_fixtures.h | 56 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 D | nusensors.cpp | 63 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 D | qemu.h | 41 char device[32]; member in struct:__anon1385
|
/hardware/qcom/audio/legacy/alsa_sound/ |
H A D | acoustics_default.cpp | 51 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 D | amix.c | 57 const char* device = "/dev/snd/controlC0"; local 59 mixer = mixer_open(device);
|
/hardware/intel/img/libdrm/tests/ |
H A D | drmtest.c | 55 /** 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 D | hwcomposer.cpp | 32 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 D | alsa_device_profile.h | 40 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);
|