Searched refs:device (Results 1 - 25 of 578) sorted by relevance

1234567891011>>

/external/libppp/src/
H A Datm.h30 struct device;
32 extern struct device *atm_Create(struct physical *);
33 extern struct device *atm_iov2device(int, struct physical *,
H A Dexec.h30 struct device;
32 extern struct device *exec_Create(struct physical *);
33 extern struct device *exec_iov2device(int, struct physical *,
H A Dudp.h30 struct device;
32 extern struct device *udp_Create(struct physical *);
33 extern struct device *udp_iov2device(int, struct physical *,
H A Dether.h30 struct device;
34 extern struct device *ether_Create(struct physical *);
35 extern struct device *ether_iov2device(int, struct physical *, struct iovec *,
H A Di4b.h30 struct device;
34 extern struct device *i4b_Create(struct physical *);
35 extern struct device *i4b_iov2device(int, struct physical *,
H A Dnetgraph.h30 struct device;
34 extern struct device *ng_Create(struct physical *);
35 extern struct device *ng_iov2device(int, struct physical *, struct iovec *,
H A Dtty.h30 struct device;
34 extern struct device *tty_Create(struct physical *);
35 extern struct device *tty_iov2device(int, struct physical *,
H A Dtcp.h31 extern struct device *tcp_Create(struct physical *);
32 extern struct device *tcp_iov2device(int, struct physical *,
/external/kernel-headers/original/asm-mips/
H A Ddevice.h2 * Arch specific extensions to struct device
6 #include <asm-generic/device.h>
H A Ddma-mapping.h7 void *dma_alloc_noncoherent(struct device *dev, size_t size,
10 void dma_free_noncoherent(struct device *dev, size_t size,
13 void *dma_alloc_coherent(struct device *dev, size_t size,
16 void dma_free_coherent(struct device *dev, size_t size,
19 extern dma_addr_t dma_map_single(struct device *dev, void *ptr, size_t size,
21 extern void dma_unmap_single(struct device *dev, dma_addr_t dma_addr,
23 extern int dma_map_sg(struct device *dev, struct scatterlist *sg, int nents,
25 extern dma_addr_t dma_map_page(struct device *dev, struct page *page,
27 extern void dma_unmap_page(struct device *dev, dma_addr_t dma_address,
29 extern void dma_unmap_sg(struct device *de
[all...]
/external/libmtp/examples/
H A Dformat.c3 * Example program that formats the device storage.
51 LIBMTP_mtpdevice_t *device; local
57 device = LIBMTP_Get_First_Device();
58 if (device == NULL) {
63 printf("I will now format your device. This means that\n");
69 ret = LIBMTP_Format_Storage(device, device->storage);
76 printf("Failed to format device.\n");
77 LIBMTP_Dump_Errorstack(device);
78 LIBMTP_Clear_Errorstack(device);
[all...]
H A Dreset.c3 * Example program that resets the device.
51 LIBMTP_mtpdevice_t *device; local
57 device = LIBMTP_Get_First_Device();
58 if (device == NULL) {
63 printf("I will now reset your device. This means that\n");
64 printf("the device may go inactive immediately and may report errors.\n");
67 ret = LIBMTP_Reset_Device(device);
74 printf("Failed to reset device.\n");
75 LIBMTP_Dump_Errorstack(device);
76 LIBMTP_Clear_Errorstack(device);
[all...]
H A Demptyfolders.c25 static void prune_empty_folders(LIBMTP_mtpdevice_t *device, LIBMTP_file_t *files, LIBMTP_folder_t *folderlist, int do_delete) argument
46 if (LIBMTP_Delete_Object(device,folderlist->folder_id) != 0) {
48 LIBMTP_Dump_Errorstack(device);
49 LIBMTP_Clear_Errorstack(device);
55 prune_empty_folders(device,files,folderlist->child,do_delete); // recurse down
56 prune_empty_folders(device,files,folderlist->sibling,do_delete); // recurse along
82 LIBMTP_mtpdevice_t *device; local
87 device = LIBMTP_Get_First_Device();
88 if (device == NULL) {
94 files = LIBMTP_Get_Filelisting_With_Callback(device,NUL
[all...]
H A Dtrexist.c3 * Example program to check if a certain track exists on the device.
33 LIBMTP_mtpdevice_t *device; local
56 device = LIBMTP_Get_First_Device();
57 if (device == NULL) {
58 printf("No devices. Connect/replug device and try again.\n");
62 printf("%s\n", LIBMTP_Track_Exists(device, id) ? "Yes" : "No");
64 LIBMTP_Release_Device(device);
/external/libpcap/
H A Dpcap-septel.h6 * card code at the same time as another type of device.
14 pcap_t *septel_open_live(const char *device, int snaplen, int promisc, int to_ms, char *ebuf);
/external/qemu/distrib/sdl-1.2.15/src/video/dummy/
H A DSDL_nullvideo.c79 static void DUMMY_DeleteDevice(SDL_VideoDevice *device) argument
81 SDL_free(device->hidden);
82 SDL_free(device);
87 SDL_VideoDevice *device; local
90 device = (SDL_VideoDevice *)SDL_malloc(sizeof(SDL_VideoDevice));
91 if ( device ) {
92 SDL_memset(device, 0, (sizeof *device));
93 device->hidden = (struct SDL_PrivateVideoData *)
94 SDL_malloc((sizeof *device
[all...]
/external/libnfc-nci/halimpl/bcm2079x/include/
H A DHalAdaptation.h52 extern int HaiInitializeLibrary (const bcm2079x_dev_t* device);
54 extern int HaiOpen (const bcm2079x_dev_t* device, nfc_stack_callback_t* halCallbackFunc, nfc_stack_data_callback_t* halDataCallbackFunc);
55 extern int HaiClose (const bcm2079x_dev_t* device);
56 extern int HaiCoreInitialized (const bcm2079x_dev_t* device, uint8_t* coreInitResponseParams);
58 extern int HaiPreDiscover (const bcm2079x_dev_t* device);
59 extern int HaiControlGranted (const bcm2079x_dev_t* device);
60 extern int HaiPowerCycle (const bcm2079x_dev_t* device);
/external/openssl/android.testssl/
H A Dtestssl.sh27 device=/sdcard/android.testssl
33 CAkey="$device/keyCA.ss"
34 CAcert="$device/certCA.ss"
35 CAreq="$device/reqCA.ss"
36 CAconf="$device/CAss.cnf"
38 Uconf="$device/Uss.cnf"
39 Ureq="$device/reqU.ss"
40 Ukey="$device/keyU.ss"
41 Ucert="$device/certU.ss"
46 adb shell rm -r $device
[all...]
/external/openssl/patches/
H A Dtestssl.sh27 device=/sdcard/android.testssl
33 CAkey="$device/keyCA.ss"
34 CAcert="$device/certCA.ss"
35 CAreq="$device/reqCA.ss"
36 CAconf="$device/CAss.cnf"
38 Uconf="$device/Uss.cnf"
39 Ureq="$device/reqU.ss"
40 Ukey="$device/keyU.ss"
41 Ucert="$device/certU.ss"
46 adb shell rm -r $device
[all...]
/external/kernel-headers/original/linux/
H A Dattribute_container.h12 #include <linux/device.h>
22 int (*match)(struct attribute_container *, struct device *);
41 void attribute_container_create_device(struct device *dev,
43 struct device *,
45 void attribute_container_add_device(struct device *dev,
47 struct device *,
49 void attribute_container_remove_device(struct device *dev,
51 struct device *,
53 void attribute_container_device_trigger(struct device *dev,
55 struct device *,
[all...]
H A Dtransport_class.h12 #include <linux/device.h>
19 int (*setup)(struct transport_container *, struct device *,
21 int (*configure)(struct transport_container *, struct device *,
23 int (*remove)(struct transport_container *, struct device *,
64 void transport_remove_device(struct device *);
65 void transport_add_device(struct device *);
66 void transport_setup_device(struct device *);
67 void transport_configure_device(struct device *);
68 void transport_destroy_device(struct device *);
71 transport_register_device(struct device *de
[all...]
/external/kernel-headers/original/asm-x86/
H A Dswiotlb.h8 extern dma_addr_t swiotlb_map_single(struct device *hwdev, void *ptr,
10 extern void *swiotlb_alloc_coherent(struct device *hwdev, size_t size,
12 extern void swiotlb_unmap_single(struct device *hwdev, dma_addr_t dev_addr,
14 extern void swiotlb_sync_single_for_cpu(struct device *hwdev,
17 extern void swiotlb_sync_single_for_device(struct device *hwdev,
20 extern void swiotlb_sync_single_range_for_cpu(struct device *hwdev,
24 extern void swiotlb_sync_single_range_for_device(struct device *hwdev,
28 extern void swiotlb_sync_sg_for_cpu(struct device *hwdev,
31 extern void swiotlb_sync_sg_for_device(struct device *hwdev,
34 extern int swiotlb_map_sg(struct device *hwde
[all...]
/external/libmtp/src/
H A Dplaylist-spl.h28 void spl_to_playlist_t(LIBMTP_mtpdevice_t* device, PTPObjectInfo *oi,
30 int playlist_t_to_spl(LIBMTP_mtpdevice_t *device,
32 int update_spl_playlist(LIBMTP_mtpdevice_t *device,
/external/skia/src/pdf/
H A DSkPDFFormXObject.cpp19 SkPDFFormXObject::SkPDFFormXObject(SkPDFDevice* device) { argument
20 // We don't want to keep around device because we'd have two copies
23 device->getResources(&fResources, false);
34 SkAutoTUnref<SkStream> content(device->content());
39 SkSafeUnref(this->insert("BBox", device->copyMediaBox()));
40 insert("Resources", device->getResourceDict());
45 if (!device->initialTransform().isIdentity()) {
47 if (!device->initialTransform().invert(&inverse)) {
/external/qemu/distrib/sdl-1.2.15/src/video/caca/
H A DSDL_cacavideo.c77 static void Caca_DeleteDevice(SDL_VideoDevice *device) argument
79 free(device->hidden);
80 free(device);
84 SDL_VideoDevice *device; local
87 device = (SDL_VideoDevice *)malloc(sizeof(SDL_VideoDevice));
88 if ( device ) {
89 memset(device, 0, (sizeof *device));
90 device->hidden = (struct SDL_PrivateVideoData *)
91 malloc((sizeof *device
[all...]

Completed in 453 milliseconds

1234567891011>>