Searched defs:config (Results 1 - 9 of 9) sorted by relevance

/system/extras/f2fs_utils/
H A Df2fs_dlutils.c47 void f2fs_init_configuration(struct f2fs_configuration *config) { argument
49 f2fs_init_configuration_dl(config);
H A Df2fs_utils.c45 struct f2fs_configuration config; variable in typeref:struct:f2fs_configuration
52 memset(&config, 0, sizeof(config));
53 config.fd = -1;
67 f2fs_init_configuration(&config);
69 config.total_sectors = len / config.sector_size;
70 config.start_sector = 0;
H A Df2fs_ioutils.c87 struct f2fs_configuration config; variable in typeref:struct:f2fs_configuration
100 if (lseek64(config.fd, (off64_t)offset, SEEK_SET) < 0)
102 if (write(config.fd, buf, len) != len)
158 if (config.fd >= 0) {
169 if (config.fd >= 0) {
/system/core/include/usbhost/
H A Dusbhost.h37 unsigned char* config; member in struct:usb_descriptor_iter
/system/core/adf/libadfhwc/
H A Dadfhwc.cpp145 uint32_t config, const uint32_t *attributes, int32_t *values)
150 if (config >= dev->display_configs.size())
161 values[i] = adf_display_attribute(data, dev->display_configs[config],
144 adf_getDisplayAttributes(struct adf_hwc_helper *dev, int disp, uint32_t config, const uint32_t *attributes, int32_t *values) argument
/system/extras/sound/
H A Dplaywav.c40 struct msm_audio_config config; local
52 if(ioctl(afd, AUDIO_GET_CONFIG, &config)) {
53 perror("could not get config");
57 config.channel_count = channels;
58 config.sample_rate = rate;
59 if (ioctl(afd, AUDIO_SET_CONFIG, &config)) {
60 perror("could not set config");
63 sz = config.buffer_size;
70 for (n = 0; n < config.buffer_count; n++) {
229 /* config chang
[all...]
/system/core/adb/
H A Dusb_libusb.c307 check_usb_interfaces(libusb_config_descriptor *config, argument
312 for (i = 0; i < config->bNumInterfaces; ++i) {
313 if (check_usb_interface(&config->interface[i], desc, uh) != -1) {
386 libusb_config_descriptor *config = NULL; local
420 r = libusb_get_active_config_descriptor(dev, &config);
434 if (config == NULL) {
436 "getting active config\n");
440 if (config->interface != NULL) {
441 found = check_usb_interfaces(config, &desc, &uh);
445 libusb_free_config_descriptor(config);
[all...]
H A Dusb_linux.c157 struct usb_config_descriptor* config; local
199 // should have config descriptor next
200 config = (struct usb_config_descriptor *)bufptr;
202 if (config->bLength != USB_DT_CONFIG_SIZE || config->bDescriptorType != USB_DT_CONFIG) {
/system/core/healthd/
H A Dhealthd_mode_charger.cpp665 void healthd_mode_charger_init(struct healthd_config* config) argument
713 healthd_config = config;

Completed in 205 milliseconds