/development/ndk/platforms/android-3/include/linux/ |
H A D | platform_device.h | 20 struct device dev; member in struct:platform_device 25 #define to_platform_device(x) container_of((x), struct platform_device, dev) 36 #define platform_get_drvdata(_dev) dev_get_drvdata(&(_dev)->dev) 37 #define platform_set_drvdata(_dev,data) dev_set_drvdata(&(_dev)->dev, (data))
|
H A D | mca.h | 19 typedef int (*MCA_ProcFn)(char* buf, int slot, void* dev); 42 struct device dev; member in struct:mca_device 45 #define to_mca_device(mdev) container_of(mdev, struct mca_device, dev) 62 struct device dev; member in struct:mca_bus 65 #define to_mca_bus(mdev) container_of(mdev, struct mca_bus, dev)
|
H A D | miscdevice.h | 52 struct device *dev; member in struct:miscdevice
|
H A D | ioport.h | 29 struct pci_dev *dev; member in struct:resource_list
|
H A D | device.h | 48 int (*match)(struct device * dev, struct device_driver * drv); 49 int (*uevent)(struct device *dev, char **envp, 51 int (*probe)(struct device * dev); 52 int (*remove)(struct device * dev); 53 void (*shutdown)(struct device * dev); 54 int (*suspend)(struct device * dev, pm_message_t state); 55 int (*resume)(struct device * dev); 80 int (*probe) (struct device * dev); 81 int (*remove) (struct device * dev); 82 void (*shutdown) (struct device * dev); 143 struct device * dev; member in struct:class_device [all...] |
H A D | dm-ioctl.h | 35 uint64_t dev; member in struct:dm_ioctl 56 uint64_t dev[0]; member in struct:dm_target_deps 60 uint64_t dev; member in struct:dm_name_list
|
H A D | skbuff.h | 110 struct net_device *dev; member in struct:sk_buff
|
H A D | coda.h | 243 cdev_t dev; member in struct:coda_open_out
|
/development/tools/emulator/system/lights/ |
H A D | lights_qemu.c | 65 set_light_backlight( struct light_device_t* dev, struct light_state_t const* state ) argument 101 set_light_buttons( struct light_device_t* dev, struct light_state_t const* state ) argument 110 set_light_battery( struct light_device_t* dev, struct light_state_t const* state ) argument 119 set_light_keyboard( struct light_device_t* dev, struct light_state_t const* state ) argument 128 set_light_notifications( struct light_device_t* dev, struct light_state_t const* state ) argument 137 set_light_attention( struct light_device_t* dev, struct light_state_t const* state ) argument 147 close_lights( struct light_device_t *dev ) 149 free( dev ); 182 struct light_device_t *dev = malloc( sizeof(struct light_device_t) ); local 183 if (dev [all...] |
/development/ndk/platforms/android-3/include/linux/mmc/ |
H A D | card.h | 56 struct device dev; member in struct:mmc_card 85 #define mmc_card_id(c) ((c)->dev.bus_id) 88 #define mmc_get_drvdata(c) dev_get_drvdata(&(c)->dev) 89 #define mmc_set_drvdata(c,d) dev_set_drvdata(&(c)->dev, d)
|
H A D | host.h | 79 struct device *dev; member in struct:mmc_host 116 #define mmc_dev(x) ((x)->dev)
|
/development/tools/emulator/system/sensors/ |
H A D | sensors_qemu.c | 136 control__open_data_source(struct sensors_poll_device_t *dev) argument 138 SensorPoll* ctl = (void*)dev; 151 control__activate(struct sensors_poll_device_t *dev, argument 155 SensorPoll* ctl = (void*)dev; 196 control__set_delay(struct sensors_poll_device_t *dev, int32_t ms) argument 198 SensorPoll* ctl = (void*)dev; 201 D("%s: dev=%p delay-ms=%d", __FUNCTION__, dev, ms); 209 control__close(struct hw_device_t *dev) argument 211 SensorPoll* ctl = (void*)dev; 229 data__data_open(struct sensors_poll_device_t *dev, native_handle_t* handle) argument 251 data__data_close(struct sensors_poll_device_t *dev) argument 291 data__poll(struct sensors_poll_device_t *dev, sensors_event_t* values) argument 400 data__close(struct hw_device_t *dev) argument 415 poll__close(struct hw_device_t* dev) argument 429 poll__poll(struct sensors_poll_device_t *dev, sensors_event_t* data, int count) argument 450 poll__activate(struct sensors_poll_device_t *dev, int handle, int enabled) argument 466 poll__setDelay(struct sensors_poll_device_t *dev, int handle, int64_t ns) argument 601 SensorPoll *dev = malloc(sizeof(*dev)); local [all...] |
/development/ndk/platforms/android-3/include/linux/mtd/ |
H A D | mtd.h | 42 u_int dev; member in struct:erase_info
|
/development/tools/emulator/opengl/system/gralloc/ |
H A D | gralloc.cpp | 129 static int gralloc_alloc(alloc_device_t* dev, argument 135 gralloc_device_t *grdev = (gralloc_device_t *)dev; 357 static int gralloc_free(alloc_device_t* dev, argument 383 gralloc_device_t *grdev = (gralloc_device_t *)dev; 410 static int gralloc_device_close(struct hw_device_t *dev) argument 412 gralloc_device_t* d = reinterpret_cast<gralloc_device_t*>(dev); 426 static int fb_compositionComplete(struct framebuffer_device_t* dev) argument 434 static int fb_post(struct framebuffer_device_t* dev, buffer_handle_t buffer) argument 436 fb_device_t *fbdev = (fb_device_t *)dev; 461 static int fb_setUpdateRect(struct framebuffer_device_t* dev, argument 480 fb_setSwapInterval(struct framebuffer_device_t* dev, int interval) argument 499 fb_close(struct hw_device_t *dev) argument 789 gralloc_device_t *dev; local 837 fb_device_t *dev; local [all...] |
/development/tools/emulator/system/camera/ |
H A D | EmulatedCamera.cpp | 685 * EmulatedCamera instance, defined by the 'dev' parameter. 688 int EmulatedCamera::set_preview_window(struct camera_device* dev, argument 691 EmulatedCamera* ec = reinterpret_cast<EmulatedCamera*>(dev->priv); 700 struct camera_device* dev, 707 EmulatedCamera* ec = reinterpret_cast<EmulatedCamera*>(dev->priv); 715 void EmulatedCamera::enable_msg_type(struct camera_device* dev, int32_t msg_type) argument 717 EmulatedCamera* ec = reinterpret_cast<EmulatedCamera*>(dev->priv); 725 void EmulatedCamera::disable_msg_type(struct camera_device* dev, int32_t msg_type) argument 727 EmulatedCamera* ec = reinterpret_cast<EmulatedCamera*>(dev->priv); 735 int EmulatedCamera::msg_type_enabled(struct camera_device* dev, int32_ argument 699 set_callbacks( struct camera_device* dev, camera_notify_callback notify_cb, camera_data_callback data_cb, camera_data_timestamp_callback data_cb_timestamp, camera_request_memory get_memory, void* user) argument 745 start_preview(struct camera_device* dev) argument 755 stop_preview(struct camera_device* dev) argument 765 preview_enabled(struct camera_device* dev) argument 775 store_meta_data_in_buffers(struct camera_device* dev, int enable) argument 786 start_recording(struct camera_device* dev) argument 796 stop_recording(struct camera_device* dev) argument 806 recording_enabled(struct camera_device* dev) argument 816 release_recording_frame(struct camera_device* dev, const void* opaque) argument 827 auto_focus(struct camera_device* dev) argument 837 cancel_auto_focus(struct camera_device* dev) argument 847 take_picture(struct camera_device* dev) argument 857 cancel_picture(struct camera_device* dev) argument 867 set_parameters(struct camera_device* dev, const char* parms) argument 877 get_parameters(struct camera_device* dev) argument 887 put_parameters(struct camera_device* dev, char* params) argument 897 send_command(struct camera_device* dev, int32_t cmd, int32_t arg1, int32_t arg2) argument 910 release(struct camera_device* dev) argument 920 dump(struct camera_device* dev, int fd) argument [all...] |
/development/tools/emulator/system/gps/ |
H A D | gps_qemu.c | 921 const GpsInterface* gps__get_gps_interface(struct gps_device_t* dev) argument 929 struct gps_device_t *dev = malloc(sizeof(struct gps_device_t)); local 930 memset(dev, 0, sizeof(*dev)); 932 dev->common.tag = HARDWARE_DEVICE_TAG; 933 dev->common.version = 0; 934 dev->common.module = (struct hw_module_t*)module; 935 // dev->common.close = (int (*)(struct hw_device_t*))close_lights; 936 dev->get_gps_interface = gps__get_gps_interface; 938 *device = (struct hw_device_t*)dev; [all...] |