Searched refs:dev (Results 1 - 25 of 32) sorted by relevance

12

/development/ndk/platforms/android-3/include/linux/
H A Dkdev_t.h15 #define MAJOR(dev) ((dev)>>8)
16 #define MINOR(dev) ((dev) & 0xff)
H A Dclk.h19 struct clk *clk_get(struct device *dev, const char *id);
H A Dplatform_device.h20 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 Ddevice.h48 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 Dmca.h19 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 Dsoundcard.h611 #define MIXER_READ(dev) _SIOR('M', dev, int)
640 #define MIXER_WRITE(dev) _SIOWR('M', dev, int)
748 #define SEQ_LOAD_GMINSTR(dev, instr) OSS_patch_caching(dev, -1, instr, seqfd, _seqbuf, _seqbuflen)
749 #define SEQ_LOAD_GMDRUM(dev, drum) OSS_drum_caching(dev, -1, drum, seqfd, _seqbuf, _seqbuflen)
752 #define SEQ_LOAD_GMINSTR(dev, instr)
753 #define SEQ_LOAD_GMDRUM(dev, dru
[all...]
H A Dmiscdevice.h52 struct device *dev; member in struct:miscdevice
H A Ddm-ioctl.h35 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 Dioport.h29 struct pci_dev *dev; member in struct:resource_list
/development/ndk/platforms/android-3/include/linux/mtd/
H A Dblktrans.h42 int (*readsect)(struct mtd_blktrans_dev *dev,
44 int (*writesect)(struct mtd_blktrans_dev *dev,
47 int (*getgeo)(struct mtd_blktrans_dev *dev, struct hd_geometry *geo);
48 int (*flush)(struct mtd_blktrans_dev *dev);
50 int (*open)(struct mtd_blktrans_dev *dev);
51 int (*release)(struct mtd_blktrans_dev *dev);
54 void (*remove_dev)(struct mtd_blktrans_dev *dev);
/development/tools/emulator/system/camera/
H A DEmulatedCamera.h302 static int set_preview_window(struct camera_device* dev,
305 static void set_callbacks(struct camera_device* dev,
312 static void enable_msg_type(struct camera_device* dev, int32_t msg_type);
314 static void disable_msg_type(struct camera_device* dev, int32_t msg_type);
316 static int msg_type_enabled(struct camera_device* dev, int32_t msg_type);
318 static int start_preview(struct camera_device* dev);
320 static void stop_preview(struct camera_device* dev);
322 static int preview_enabled(struct camera_device* dev);
324 static int store_meta_data_in_buffers(struct camera_device* dev, int enable);
326 static int start_recording(struct camera_device* dev);
[all...]
H A DEmulatedCamera.cpp685 * 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/lights/
H A Dlights_qemu.c65 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/arch-arm/include/asm/
H A Dmemory.h82 #define page_to_dma(dev, page) ((dma_addr_t)__virt_to_bus((unsigned long)page_address(page)))
83 #define dma_to_virt(dev, addr) ((void *)__bus_to_virt(addr))
84 #define virt_to_dma(dev, addr) ((dma_addr_t)__virt_to_bus((unsigned long)(addr)))
86 #define page_to_dma(dev, page) (__arch_page_to_dma(dev, page))
87 #define dma_to_virt(dev, addr) (__arch_dma_to_virt(dev, addr))
88 #define virt_to_dma(dev, addr) (__arch_virt_to_dma(dev, addr))
/development/tools/emulator/system/sensors/
H A Dsensors_qemu.c136 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/tools/emulator/opengl/system/gralloc/
H A Dgralloc.cpp129 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/apkcheck/etc/
H A Dapkcheck23 if expr "x${newProg}" : 'x/' >/dev/null; then
40 while expr "x$1" : 'x-J' >/dev/null; do
/development/ndk/platforms/android-3/include/linux/mmc/
H A Dcard.h56 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 Dhost.h79 struct device *dev; member in struct:mmc_host
116 #define mmc_dev(x) ((x)->dev)
/development/tools/findunused/
H A Dfindunusedstrings30 pushd $app > /dev/null
48 popd $app > /dev/null
H A Dremoveunusedresources3 if ! which xmlstarlet > /dev/null
46 git rm $RESLINE > /dev/null
/development/scripts/
H A Dcombine_sdks.sh88 pushd "$BASE_DIR" &> /dev/null
94 popd &> /dev/null
H A Dreverse_tether.sh120 for dev in `default_routes`; do
121 $ADB shell "ifconfig $dev down"
128 $ADB shell "route add default gw $HOST_IP dev $PHONE_DEV"
190 sudo brctl delif $BRIDGE $HOST_DEV 2>/dev/null || true # ignore
228 ifconfig $HOST_DEV >/dev/null || $0 rndis
235 ifconfig $HOST_DEV >/dev/null || $0 rndis
/development/ndk/platforms/android-3/arch-arm/include/asm/arch/
H A Dboard.h97 int (*set_power)(struct device *dev, int state);
/development/tools/labpretest/
H A Dlabpretest.sh195 local result=$($ADB -s $device shell getprop dev.bootcomplete)
201 result=$($ADB -s $device shell getprop dev.bootcomplete)
538 result=$($ADB -s $device shell getprop dev.bootcomplete)
544 result=$($ADB -s $device shell getprop dev.bootcomplete)

Completed in 364 milliseconds

12