Searched refs:name (Results 1 - 25 of 214) sorted by relevance

123456789

/hardware/invensense/60xx/libsensors_iio/software/core/mllite/linux/
H A Dml_sysfs_helper.h22 int find_type_by_name(const char *name, const char *type);
23 inv_error_t inv_get_sysfs_path(char *name);
24 inv_error_t inv_get_sysfs_abs_path(char *name);
25 inv_error_t inv_get_dmpfile(char *name);
26 inv_error_t inv_get_chip_name(char *name);
28 inv_error_t inv_get_handler_number(const char *name, int *num);
29 inv_error_t inv_get_input_number(const char *name, int *num);
30 inv_error_t inv_get_iio_trigger_path(char *name);
31 inv_error_t inv_get_iio_device_node(char *name);
H A Dml_sysfs_helper.c40 * find_type_by_name() - function to match top level types by name
41 * @name: top level type instance name
46 int find_type_by_name(const char *name, const char *type) argument
80 sprintf(filename, "%s%s%d/name",
89 if (strcmp(name, thisname) == 0)
101 static int parsing_proc_input(int mode, char *name){ argument
145 if(!memcmp(&line[i], name, strlen(name))){
294 * @unsigned char *name
314 inv_get_sysfs_path(char *name) argument
322 inv_get_sysfs_abs_path(char *name) argument
336 inv_get_dmpfile(char *name) argument
351 inv_get_chip_name(char *name) argument
367 inv_get_handler_number(const char *name, int *num) argument
385 inv_get_input_number(const char *name, int *num) argument
402 inv_get_iio_trigger_path(char *name) argument
417 inv_get_iio_device_node(char *name) argument
[all...]
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/linux/
H A Dml_sysfs_helper.h22 int find_type_by_name(const char *name, const char *type);
24 inv_error_t inv_get_sysfs_path(char *name);
25 inv_error_t inv_get_sysfs_abs_path(char *name);
26 inv_error_t inv_get_dmpfile(char *name);
27 inv_error_t inv_get_chip_name(char *name);
29 inv_error_t inv_get_handler_number(const char *name, int *num);
30 inv_error_t inv_get_input_number(const char *name, int *num);
31 inv_error_t inv_get_iio_trigger_path(const char *name);
32 inv_error_t inv_get_iio_device_node(const char *name);
H A Dml_sysfs_helper.c51 * find_type_by_name() - function to match top level types by name
52 * @name: top level type instance name
57 int find_type_by_name(const char *name, const char *type) argument
91 sprintf(filename, "%s%s%d/name",
100 if (strcmp(name, thisname) == 0)
112 static int parsing_proc_input(int mode, char *name){ argument
156 if(!memcmp(&line[i], name, strlen(name))){
345 //if (strcmp(name, thisnam
417 inv_get_sysfs_path(char *name) argument
425 inv_get_sysfs_abs_path(char *name) argument
439 inv_get_dmpfile(char *name) argument
454 inv_get_chip_name(char *name) argument
470 inv_get_handler_number(const char *name, int *num) argument
488 inv_get_input_number(const char *name, int *num) argument
505 inv_get_iio_trigger_path(const char *name) argument
520 inv_get_iio_device_node(const char *name) argument
[all...]
/hardware/libhardware/modules/camera/
H A DScopedTrace.h28 #define CAMTRACE_NAME(name) ScopedTrace ___tracer(ATRACE_TAG, name)
29 // CAMTRACE_CALL is an ATRACE_NAME that uses the current function name.
36 inline ScopedTrace(uint64_t tag, const char* name) argument
38 atrace_begin(mTag,name);
H A DCameraHAL.cpp89 int CameraHAL::open(const hw_module_t* mod, const char* name, hw_device_t** dev) argument
94 ALOGV("%s: module=%p, name=%s, device=%p", __func__, mod, name, dev);
95 if (*name == '\0') {
96 ALOGE("%s: Invalid camera id name is NULL", __func__);
99 id = strtol(name, &nameEnd, 10);
101 ALOGE("%s: Invalid camera id name %s", __func__, name);
127 static int open_dev(const hw_module_t* mod, const char* name, hw_device_t** dev) argument
129 return gCameraHAL.open(mod, name, de
[all...]
/hardware/libhardware_legacy/include/hardware_legacy/
H A Dqemu_tracing.h26 int qemu_add_mapping(unsigned int addr, const char *name);
/hardware/qcom/audio/legacy/alsa_sound/
H A DALSAControl.cpp54 status_t ALSAControl::get(const char *name, unsigned int &value, int index) argument
63 ctl = mixer_get_control(mHandle, name, index);
71 status_t ALSAControl::set(const char *name, unsigned int value, int index) argument
75 ALOGD("set:: name %s value %d index %d", name, value, index);
82 ctl = mixer_get_control(mHandle, name, 0);
91 status_t ALSAControl::set(const char *name, const char *value) argument
95 ALOGD("set:: name %s value %s", name, value);
102 ctl = mixer_get_control(mHandle, name,
111 setext(const char *name, int count, char **setValues) argument
[all...]
/hardware/broadcom/wlan/bcmdhd/dhdutil/include/
H A Dminiopt.h36 const char* name; /* name for prompt in error strings */ member in struct:miniopt
60 void miniopt_init(miniopt_t *t, const char* name, const char* flags, bool longflags);
/hardware/ti/omap3/omx/system/src/openmax_il/omx_core/inc/
H A DOMX_ComponentRegistry.h13 OMX_STRING name; member in struct:_ComponentTable
/hardware/qcom/audio/legacy/libalsa-intf/
H A Damix.c34 struct mixer_ctl *get_ctl(struct mixer *mixer, char *name) argument
39 if (isdigit(name[0]))
40 return mixer_get_nth_control(mixer, atoi(name) - 1);
42 p = strrchr(name, '#');
48 return mixer_get_control(mixer, name, idx);
/hardware/libhardware/modules/nfc/
H A Dnfc_pn544_example.c31 static int nfc_open(const hw_module_t* module, const char* name, argument
33 if (strcmp(name, NFC_PN544_CONTROLLER) == 0) {
67 .name = "Default NFC HW HAL",
/hardware/invensense/60xx/libsensors_iio/
H A DSensorBase.cpp112 char name[80]; local
113 if (ioctl(fd, EVIOCGNAME(sizeof(name) - 1), &name) < 1) {
114 name[0] = '\0';
116 LOGV_IF(EXTRA_VERBOSE, "name read %s", name);
117 if (!strcmp(name, inputName)) {
/hardware/libhardware/include/hardware/
H A Dqemud.h64 qemud_channel_open(const char* name) argument
67 int namelen = strlen(name);
72 snprintf(pipe_name, sizeof(pipe_name), "qemud:%s", name);
75 D("QEMUD pipe is not available for %s: %s", name, strerror(errno));
85 /* send service name to connect */
86 if (qemud_fd_write(fd, name, namelen) != namelen) {
87 D("can't send service name to qemud: %s",
96 D("cant' connect to %s service through qemud", name);
/hardware/qcom/bt/libbt-vendor/src/
H A Duserial_vendor.c50 bt_hci_transport_device.name = APPS_RIVA_BT_CMD_CH;
55 bt_hci_transport_device.name = BT_HS_UART_DEVICE;
95 bt_hci_transport_device.name, strerror(errno));
97 fd = open(bt_hci_transport_device.name, (O_RDWR | O_NOCTTY));
104 bt_hci_transport_device.name, strerror(errno));
118 ALOGE("init_uart: Cannot flush %s\n", bt_hci_transport_device.name);
/hardware/qcom/display/msm8960/libgralloc/
H A Dgralloc.cpp36 int fb_device_open(const hw_module_t* module, const char* name,
39 static int gralloc_device_open(const hw_module_t* module, const char* name,
77 name: "Graphics Memory Allocator Module",
99 int gralloc_device_open(const hw_module_t* module, const char* name, argument
103 if (!strcmp(name, GRALLOC_HARDWARE_GPU0)) {
112 status = fb_device_open(module, name, device);
/hardware/qcom/display/msm8974/libgralloc/
H A Dgralloc.cpp36 int fb_device_open(const hw_module_t* module, const char* name,
39 static int gralloc_device_open(const hw_module_t* module, const char* name,
77 name: "Graphics Memory Allocator Module",
99 int gralloc_device_open(const hw_module_t* module, const char* name, argument
103 if (!strcmp(name, GRALLOC_HARDWARE_GPU0)) {
112 status = fb_device_open(module, name, device);
/hardware/qcom/display/msm8x26/libgralloc/
H A Dgralloc.cpp36 int fb_device_open(const hw_module_t* module, const char* name,
39 static int gralloc_device_open(const hw_module_t* module, const char* name,
77 name: "Graphics Memory Allocator Module",
99 int gralloc_device_open(const hw_module_t* module, const char* name, argument
103 if (!strcmp(name, GRALLOC_HARDWARE_GPU0)) {
112 status = fb_device_open(module, name, device);
/hardware/libhardware_legacy/qemu/
H A Dqemu.c76 const char* name )
81 snprintf(pipe_name, sizeof(pipe_name), "qemud:%s", name);
95 const char* name )
97 int fd, ret, namelen = strlen(name);
108 /* send service name to connect */
109 if (qemu_fd_write(fd, name, namelen) != namelen) {
110 D("can't send service name to qemud: %s",
119 D("cant' connect to %s service through qemud", name);
132 const char* name )
137 "qemud_%s", name);
155 qemu_channel_open_tty( QemuChannel* channel, const char* name, int mode ) argument
184 qemu_channel_open( QemuChannel* channel, const char* name, int mode ) argument
[all...]
/hardware/invensense/60xx/mlsdk/platform/linux/kernel/
H A Dslaveirq.h32 struct ext_slave_platform_data *pdata, char *name);
/hardware/qcom/bt/libbt-vendor/include/
H A Duserial_vendor.h53 char *name; member in struct:__anon378
/hardware/ti/omap4xxx/
H A Dmapinfo.h8 char name[]; member in struct:mapinfo
/hardware/broadcom/wlan/bcmdhd/dhdutil/
H A Dminiopt.c41 miniopt_init(miniopt_t *t, const char* name, const char* flags, bool longflags) argument
46 t->name = name;
97 "%s: missing \" = \" in long param \"%s\"\n", t->name, p);
110 t->name, p);
121 t->name, p);
131 "%s: missing value parameter after \"%s\"\n", t->name, p);
/hardware/libhardware/
H A Dhardware.c128 char name[PATH_MAX]; local
131 snprintf(name, PATH_MAX, "%s.%s", class_id, inst);
133 strlcpy(name, class_id, PATH_MAX);
149 HAL_LIBRARY_PATH2, name, prop);
153 HAL_LIBRARY_PATH1, name, prop);
157 HAL_LIBRARY_PATH2, name);
161 HAL_LIBRARY_PATH1, name);
/hardware/qcom/media/libstagefrighthw/
H A DQComOMXPlugin.cpp65 const char *name,
75 const_cast<char *>(name),
89 OMX_STRING name,
96 return (*mComponentNameEnum)(name, size, index);
100 const char *name,
110 const_cast<OMX_STRING>(name), &numRoles, NULL);
124 const_cast<OMX_STRING>(name), &numRoles2, array);
64 makeComponentInstance( const char *name, const OMX_CALLBACKTYPE *callbacks, OMX_PTR appData, OMX_COMPONENTTYPE **component) argument
88 enumerateComponents( OMX_STRING name, size_t size, OMX_U32 index) argument
99 getRolesOfComponent( const char *name, Vector<String8> *roles) argument

Completed in 2182 milliseconds

123456789