/hardware/msm7k/libgralloc-qsd8k/ |
H A D | gralloc.cpp | 33 static int gralloc_alloc_buffer(alloc_device_t* dev, 141 "/dev/pmem"); 144 "/dev/pmem_adsp"); 187 gpu_context_t *dev; local 188 dev = new gpu_context_t(gpuContextDeviceDepsImpl, pmemAllocator, 190 *device = &dev->common;
|
H A D | gpu.cpp | 305 int gpu_context_t::gralloc_alloc(alloc_device_t* dev, int w, int h, int format, argument 308 if (!dev) { 311 gpu_context_t* gpu = reinterpret_cast<gpu_context_t*>(dev); 315 int gpu_context_t::gralloc_free(alloc_device_t* dev, argument 322 gpu_context_t* gpu = reinterpret_cast<gpu_context_t*>(dev); 328 int gpu_context_t::gralloc_close(struct hw_device_t *dev) argument 330 gpu_context_t* ctx = reinterpret_cast<gpu_context_t*>(dev);
|
/hardware/libhardware_legacy/audio/ |
H A D | audio_policy_hal.cpp | 416 struct legacy_ap_device *dev; local 421 dev = (struct legacy_ap_device *)calloc(1, sizeof(*dev)); 422 if (!dev) 425 dev->device.common.tag = HARDWARE_DEVICE_TAG; 426 dev->device.common.version = 0; 427 dev->device.common.module = const_cast<hw_module_t*>(module); 428 dev->device.common.close = legacy_ap_dev_close; 429 dev->device.create_audio_policy = create_legacy_ap; 430 dev [all...] |
/hardware/qcom/audio/alsa_sound/ |
H A D | audio_policy_hal.cpp | 447 struct qcom_ap_device *dev; local 452 dev = (struct qcom_ap_device *)calloc(1, sizeof(*dev)); 453 if (!dev) 456 dev->device.common.tag = HARDWARE_DEVICE_TAG; 457 dev->device.common.version = 0; 458 dev->device.common.module = const_cast<hw_module_t*>(module); 459 dev->device.common.close = qcom_ap_dev_close; 460 dev->device.create_audio_policy = create_qcom_ap; 461 dev [all...] |
H A D | alsa_default.cpp | 126 alsa_device_t *dev; local 127 dev = (alsa_device_t *) malloc(sizeof(*dev)); 128 if (!dev) return -ENOMEM; 130 memset(dev, 0, sizeof(*dev)); 133 dev->common.tag = HARDWARE_DEVICE_TAG; 134 dev->common.version = 0; 135 dev->common.module = (hw_module_t *) module; 136 dev [all...] |
H A D | ALSAMixer.cpp | 60 #define ALSA_PROP(dev, name, out, in) \ 62 {dev, "alsa.mixer.playback." name, out, NULL},\ 63 {dev, "alsa.mixer.capture." name, in, NULL}\
|
/hardware/invensense/mlsdk/platform/include/ |
H A D | i2c.h | 88 void set_i2c_open_cb(int (*func)(const char *dev, int rw)); 103 int i2c_open (const char *dev, int rw);
|
/hardware/ti/wlan/wl1271/platforms/os/linux/inc/ |
H A D | wbuf.h | 86 #define WBUF_DEV(pWbuf) ( ((struct sk_buff *)(pWbuf))->dev ) 87 #define WBUF_DEV_SET(pWbuf,pDev) ( ((struct sk_buff *)(pWbuf))->dev) = ((struct net_device *)(pDev))
|
/hardware/libhardware/tests/camera2/ |
H A D | camera2.cpp | 146 static status_t configureCameraDevice(camera2_device_t *dev, argument 153 err = dev->ops->set_request_queue_src_ops(dev, 157 requestQueue.setFromConsumerInterface(dev); 159 err = dev->ops->set_frame_queue_dst_ops(dev, 163 err = listener.getNotificationsFrom(dev); 167 err = dev->ops->get_metadata_vendor_tag_ops(dev, &vendor_metadata_tag_ops); 180 hw_device_t *dev local [all...] |
H A D | camera2_utils.cpp | 244 status_t NotifierListener::getNotificationsFrom(camera2_device *dev) { argument 245 if (!dev) return BAD_VALUE; 247 err = dev->ops->set_notify_callback(dev,
|
H A D | camera2_utils.h | 111 status_t getNotificationsFrom(camera2_device *dev);
|
/hardware/qcom/display/liboverlay/ |
H A D | overlayUtils.h | 72 bool open(OvFD& fd, uint32_t fbnum, const char* const dev, 862 // /dev/graphics/fb%u 864 // /dev/msm_rotator 890 /* Open fd using the path given by dev. 892 bool open(const char* const dev, 896 void setPath(const char* const dev); 925 inline bool open(OvFD& fd, uint32_t fbnum, const char* const dev, int flags) argument 928 snprintf(dev_name, sizeof(dev_name), dev, fbnum); 940 inline bool OvFD::open(const char* const dev, int flags) argument 942 mFD = ::open(dev, flag 952 setPath(const char* const dev) argument [all...] |
/hardware/invensense/libsensors_iio/software/build/android/ |
H A D | shared.mk | 10 DUMP=1>/dev/stdout 12 DUMP=1>/dev/null
|
/hardware/ti/omap4xxx/domx/make/ |
H A D | start.mk | 78 QUIET := &> /dev/null
|
/hardware/ti/wlan/wl1271/external_drivers/sdio/linux/ |
H A D | SdioDrv.c | 239 struct device *dev; member in struct:OMAP3430_sdiodrv 263 .dev = { 360 dma_unmap_single(g_drv.dev, g_drv.dma_read_addr, g_drv.dma_read_size, DMA_FROM_DEVICE); 366 dma_unmap_single(g_drv.dev, g_drv.dma_write_addr, g_drv.dma_write_size, DMA_TO_DEVICE); 920 dma_bus_address = dma_map_single(g_drv.dev, pData, uLen, DMA_FROM_DEVICE); 1039 dma_bus_address = dma_map_single(g_drv.dev, pData, uLen, DMA_TO_DEVICE); 1140 g_drv.dev = &pdev->dev; 1156 dev_set_name(&dummy_pdev.dev, "mmci-omap-hs.%lu", TIWLAN_MMC_CONTROLLER); 1157 g_drv.fclk = clk_get(&dummy_pdev.dev, "fc [all...] |
/hardware/ti/wlan/wl1271/platforms/hw/linux/ |
H A D | host_platform.c | 54 struct wifi_platform_data *wifi_ctrl = (struct wifi_platform_data *)(pdev->dev.platform_data); 80 struct wifi_platform_data *wifi_ctrl = (struct wifi_platform_data *)(pdev->dev.platform_data);
|
/hardware/qcom/display/libhwcomposer/ |
H A D | hwc_copybit.h | 50 static int drawLayerUsingCopybit(hwc_context_t *dev, hwc_layer_1_t *layer,
|
H A D | hwc_copybit.cpp | 231 int CopyBit::drawLayerUsingCopybit(hwc_context_t *dev, hwc_layer_1_t *layer, argument 237 hwc_context_t* ctx = (hwc_context_t*)(dev);
|
H A D | hwc_mdpcomp.cpp | 742 bool MDPComp::init(hwc_context_t *dev) { argument 744 if(!dev) { 751 framebuffer_device_t *fbDev = dev->fbDevice; 792 idleInvalidator->init(timeout_handler, dev, idle_timeout);
|
/hardware/samsung_slsi/exynos5/libcamera/ |
H A D | ExynosCameraHWInterface.cpp | 86 ExynosCameraHWInterface::ExynosCameraHWInterface(int cameraId, camera_device_t *dev) argument 96 m_halDevice(dev), 4151 static inline ExynosCameraHWInterface *obj(struct camera_device *dev) argument 4153 return reinterpret_cast<ExynosCameraHWInterface *>(dev->priv); 4157 static int HAL_camera_device_set_preview_window(struct camera_device *dev, argument 4161 return obj(dev)->setPreviewWindow(buf); 4165 static void HAL_camera_device_set_callbacks(struct camera_device *dev, argument 4173 obj(dev)->setCallbacks(notify_cb, data_cb, data_cb_timestamp, 4186 static void HAL_camera_device_enable_msg_type(struct camera_device *dev, int32_t msg_type) argument 4189 obj(dev) 4202 HAL_camera_device_disable_msg_type(struct camera_device *dev, int32_t msg_type) argument 4213 HAL_camera_device_msg_type_enabled(struct camera_device *dev, int32_t msg_type) argument 4222 HAL_camera_device_start_preview(struct camera_device *dev) argument 4231 HAL_camera_device_stop_preview(struct camera_device *dev) argument 4240 HAL_camera_device_preview_enabled(struct camera_device *dev) argument 4276 HAL_camera_device_store_meta_data_in_buffers(struct camera_device *dev, int enable) argument 4292 HAL_camera_device_start_recording(struct camera_device *dev) argument 4301 HAL_camera_device_stop_recording(struct camera_device *dev) argument 4310 HAL_camera_device_recording_enabled(struct camera_device *dev) argument 4325 HAL_camera_device_release_recording_frame(struct camera_device *dev, const void *opaque) argument 4337 HAL_camera_device_auto_focus(struct camera_device *dev) argument 4349 HAL_camera_device_cancel_auto_focus(struct camera_device *dev) argument 4358 HAL_camera_device_take_picture(struct camera_device *dev) argument 4368 HAL_camera_device_cancel_picture(struct camera_device *dev) argument 4378 HAL_camera_device_set_parameters(struct camera_device *dev, const char *parms) argument 4388 HAL_camera_device_get_parameters(struct camera_device *dev) argument 4397 HAL_camera_device_put_parameters(struct camera_device *dev, char *parms) argument 4406 HAL_camera_device_send_command(struct camera_device *dev, int32_t cmd, int32_t arg1, int32_t arg2) argument 4417 HAL_camera_device_release(struct camera_device *dev) argument 4426 HAL_camera_device_dump(struct camera_device *dev, int fd) argument [all...] |
/hardware/qcom/display/libcopybit/ |
H A D | copybit_c2d.cpp | 702 static int msm_copybit(struct copybit_context_t *dev, blitlist *list, uint32 target) argument 710 if(LINK_c2dDraw(target,dev->trg_transform, 0x0, 0, 0, list->blitObjects, 723 struct copybit_device_t *dev, 727 struct copybit_context_t* ctx = (struct copybit_context_t*)dev; 806 static int get(struct copybit_device_t *dev, int name) argument 808 struct copybit_context_t* ctx = (struct copybit_context_t*)dev; 1005 struct copybit_device_t *dev, 1013 struct copybit_context_t* ctx = (struct copybit_context_t*)dev; 1260 struct copybit_device_t *dev, 1267 struct copybit_context_t* ctx = (struct copybit_context_t*)dev; 722 set_parameter_copybit( struct copybit_device_t *dev, int name, int value) argument 1004 stretch_copybit_internal( struct copybit_device_t *dev, struct copybit_image_t const *dst, struct copybit_image_t const *src, struct copybit_rect_t const *dst_rect, struct copybit_rect_t const *src_rect, struct copybit_region_t const *region, bool enableBlend) argument 1259 stretch_copybit( struct copybit_device_t *dev, struct copybit_image_t const *dst, struct copybit_image_t const *src, struct copybit_rect_t const *dst_rect, struct copybit_rect_t const *src_rect, struct copybit_region_t const *region) argument 1274 blit_copybit( struct copybit_device_t *dev, struct copybit_image_t const *dst, struct copybit_image_t const *src, struct copybit_region_t const *region) argument 1288 close_copybit(struct hw_device_t *dev) argument [all...] |
/hardware/invensense/mlsdk/ |
H A D | Android.mk | 44 LOCAL_CFLAGS += -DI2CDEV=\"/dev/mpu\"
|
/hardware/ti/omap4xxx/hwc/ |
H A D | hwc.c | 131 int fb_fd; /* file descriptor for /dev/fb0 */ 132 int dsscomp_fd; /* file descriptor for /dev/dsscomp */ 133 int hdmi_fb_fd; /* file descriptor for /dev/fb1 */ 1217 static int omap4_hwc_prepare(struct hwc_composer_device_1 *dev, size_t numDisplays, argument 1225 omap4_hwc_device_t *hwc_dev = (omap4_hwc_device_t *)dev; 1465 static int omap4_hwc_set(struct hwc_composer_device_1 *dev, argument 1479 omap4_hwc_device_t *hwc_dev = (omap4_hwc_device_t *)dev; 1534 static void omap4_hwc_dump(struct hwc_composer_device_1 *dev, char *buff, int buff_len) argument 1536 omap4_hwc_device_t *hwc_dev = (omap4_hwc_device_t *)dev; 1908 static void omap4_hwc_registerProcs(struct hwc_composer_device_1* dev, argument 1916 omap4_hwc_query(struct hwc_composer_device_1* dev, int what, int* value) argument 1937 omap4_hwc_event_control(struct hwc_composer_device_1* dev, int dpy, int event, int enabled) argument 1959 omap4_hwc_blank(struct hwc_composer_device_1 *dev, int dpy, int blank) argument [all...] |
/hardware/samsung_slsi/exynos5/libcamera2/ |
H A D | ExynosCameraHWInterface2.cpp | 932 ExynosCameraHWInterface2::ExynosCameraHWInterface2(int cameraId, camera2_device_t *dev, ExynosCamera2 * camera, int *openInvalid): argument 961 m_halDevice(dev), 6134 static inline ExynosCameraHWInterface2 *obj(const struct camera2_device *dev) argument 6136 return reinterpret_cast<ExynosCameraHWInterface2 *>(dev->priv); 6139 static int HAL2_device_set_request_queue_src_ops(const struct camera2_device *dev, argument 6143 return obj(dev)->setRequestQueueSrcOps(request_src_ops); 6146 static int HAL2_device_notify_request_queue_not_empty(const struct camera2_device *dev) argument 6149 return obj(dev)->notifyRequestQueueNotEmpty(); 6152 static int HAL2_device_set_frame_queue_dst_ops(const struct camera2_device *dev, argument 6156 return obj(dev) 6159 HAL2_device_get_in_progress_count(const struct camera2_device *dev) argument 6165 HAL2_device_flush_captures_in_progress(const struct camera2_device *dev) argument 6171 HAL2_device_construct_default_request(const struct camera2_device *dev, int request_template, camera_metadata_t **request) argument 6178 HAL2_device_allocate_stream( const struct camera2_device *dev, uint32_t width, uint32_t height, int format, const camera2_stream_ops_t *stream_ops, uint32_t *stream_id, uint32_t *format_actual, uint32_t *usage, uint32_t *max_buffers) argument 6196 HAL2_device_register_stream_buffers(const struct camera2_device *dev, uint32_t stream_id, int num_buffers, buffer_handle_t *buffers) argument 6205 HAL2_device_release_stream( const struct camera2_device *dev, uint32_t stream_id) argument 6215 HAL2_device_allocate_reprocess_stream( const struct camera2_device *dev, uint32_t width, uint32_t height, uint32_t format, const camera2_stream_in_ops_t *reprocess_stream_ops, uint32_t *stream_id, uint32_t *consumer_usage, uint32_t *max_buffers) argument 6231 HAL2_device_allocate_reprocess_stream_from_stream( const struct camera2_device *dev, uint32_t output_stream_id, const camera2_stream_in_ops_t *reprocess_stream_ops, uint32_t *stream_id) argument 6243 HAL2_device_release_reprocess_stream( const struct camera2_device *dev, uint32_t stream_id) argument 6251 HAL2_device_trigger_action(const struct camera2_device *dev, uint32_t trigger_id, int ext1, int ext2) argument 6262 HAL2_device_set_notify_callback(const struct camera2_device *dev, camera2_notify_callback notify_cb, void *user) argument 6277 HAL2_device_dump(const struct camera2_device *dev, int fd) argument [all...] |
/hardware/libhardware/include/hardware/ |
H A D | gps.h | 621 const GpsInterface* (*get_gps_interface)(struct gps_device_t* dev);
|