Searched refs:card (Results 1 - 25 of 48) sorted by relevance

12

/external/libdrm/tests/planetest/
H A Ddev.h60 void parse_arguments(int argc, char *argv[], int *card, int *crtc);
62 struct sp_dev *create_sp_dev(int card);
H A Dplanetest.c43 int card = 0, crtc = 0; local
47 parse_arguments(argc, argv, &card, &crtc);
49 dev = create_sp_dev(card);
H A Datomictest.c55 int card = 0, crtc = 0; local
59 parse_arguments(argc, argv, &card, &crtc);
61 dev = create_sp_dev(card);
H A Ddev.c21 printf(" -c, --card Index of dri card (ie: /dev/dri/cardN)\n");
26 void parse_arguments(int argc, char *argv[], int *card, int *crtc) argument
29 { "card", required_argument, NULL, 'c' },
36 *card = -1;
49 printf("Invalid card value '%s'!\n", optarg);
53 *card = optarg[0] - '0';
66 if (*card < 0 || *crtc < 0) {
106 struct sp_dev *create_sp_dev(int card) argument
114 snprintf(card_path, sizeof(card_path), "/dev/dri/card
[all...]
/external/tinycompress/
H A Dcplay.c91 void play_samples(char *name, unsigned int card, unsigned int device,
129 int check_codec_format_supported(unsigned int card, unsigned int device, struct snd_codec *codec) argument
131 if (is_codec_supported(card, device, COMPRESS_IN, codec) == false) {
157 unsigned int card = 0, device = 0, frag = 0; local
176 card = strtol(optarg, NULL, 10);
193 play_samples(file, card, device, buffer_size, frag);
199 void play_samples(char *name, unsigned int card, unsigned int device, argument
251 compress = compress_open(card, device, COMPRESS_IN, &config);
254 card, device);
284 name, card, devic
[all...]
/external/tinyalsa/
H A Dtinypcminfo.c103 unsigned int card = 0; local
107 fprintf(stderr, "Usage: %s -D card -d device\n", argv[0]);
117 card = atoi(*argv);
128 printf("Info for card %d, device %d:\n", card, device);
138 params = pcm_params_get(card, device, i == 0 ? PCM_OUT : PCM_IN);
H A Dtinyplay.c63 void play_sample(FILE *file, unsigned int card, unsigned int device, unsigned int channels,
81 unsigned int card = 0; local
88 fprintf(stderr, "Usage: %s file.wav [-D card] [-d device] [-p period_size]"
149 card = atoi(*argv);
155 play_sample(file, card, device, chunk_fmt.num_channels, chunk_fmt.sample_rate,
187 int sample_is_playable(unsigned int card, unsigned int device, unsigned int channels, argument
194 params = pcm_params_get(card, device, PCM_OUT);
211 void play_sample(FILE *file, unsigned int card, unsigned int device, unsigned int channels, argument
234 if (!sample_is_playable(card, device, channels, rate, bits, period_size, period_count)) {
238 pcm = pcm_open(card, devic
[all...]
H A Dtinycap.c61 unsigned int capture_sample(FILE *file, unsigned int card, unsigned int device,
75 unsigned int card = 0; local
86 fprintf(stderr, "Usage: %s file.wav [-D card] [-d device] [-c channels] "
119 card = atoi(*argv);
167 frames = capture_sample(file, card, device, header.num_channels,
183 unsigned int capture_sample(FILE *file, unsigned int card, unsigned int device, argument
204 pcm = pcm_open(card, device, PCM_IN, &config);
H A Dtinymix.c46 int card = 0; local
51 card = atoi(argv[1]);
59 mixer = mixer_open(card);
74 printf("Usage: tinymix [-D card] [control id] [value to set]\n");
/external/tinycompress/include/tinycompress/
H A Dtinycompress.h92 * @card: sound card number
97 struct compress *compress_open(unsigned int card, unsigned int device,
242 * @card: sound card number
247 bool is_codec_supported(unsigned int card, unsigned int device,
/external/tinyalsa/include/tinyalsa/
H A Dasoundlib.h154 struct pcm *pcm_open(unsigned int card, unsigned int device,
160 struct pcm_params *pcm_params_get(unsigned int card, unsigned int device,
266 struct mixer *mixer_open(unsigned int card);
/external/proguard/src/proguard/gui/
H A DTabbedPane.java221 Component card = cardPanel.getComponent(index);
222 if (card.isShowing())
/external/kernel-headers/original/uapi/sound/
H A Dfirewire.h72 unsigned int card; /* same as fw_cdev_get_info.card */ member in struct:snd_firewire_get_info
H A Dasound.h88 SNDRV_HWDEP_IFACE_SSCAPE, /* Ensoniq SoundScape ISA card (MC68EC000) */
112 int card; /* R: card number */ member in struct:snd_hwdep_info
314 int card; /* R: card number */ member in struct:snd_pcm_info
612 int card; /* R: card number */ member in struct:snd_rawmidi_info
681 int card; member in struct:snd_timer_id
689 int card; /* card numbe member in struct:snd_timer_ginfo
722 int card; /* card number */ member in struct:snd_timer_info
807 int card; /* card number */ member in struct:snd_ctl_card_info
[all...]
/external/opencv3/modules/photo/src/
H A Dcalibrate.cpp201 Mat card = Mat::zeros(LDR_SIZE, 1, CV_32FCC); local
206 card.at<Vec3f>(*ptr)[c] += 1;
210 card = 1.0 / card;
228 new_response = new_response.mul(card);
/external/libpcap/msdos/
H A Dndis2.c673 static int CheckMacFeatures (CardHandle *card) argument
679 DEBUG2 ("checking card features\n"
681 card->common, card->common->moduleId);
688 card->moduleName);
721 static int NdisStartMac (CardHandle *card) argument
730 card->common->moduleDS);
742 * must specify all three flags or the card(s) will not operate correctly.
749 card->common->moduleDS);
762 card
[all...]
/external/kernel-headers/original/uapi/linux/
H A Dmedia.h107 __u32 card; member in struct:media_entity_desc::__anon8048::__anon8050
H A Dfirewire-cdev.h150 * @card: The index of the card from which the request came
169 * @card may differ from &fw_cdev_get_info.card because requests are received
171 * @generation pertain to that card. Destination node ID and bus generation may
189 * card index, node ID, and generation for outbound requests.
198 __u32 card; member in struct:fw_cdev_event_request2
473 * @card: The index of the card this device belongs to
487 __u32 card; member in struct:fw_cdev_get_info
[all...]
/external/webrtc/webrtc/modules/video_capture/linux/
H A Ddevice_info_linux.cc130 memcpy(cameraName, cap.card, sizeof(cap.card));
203 if (IsDeviceNameMatches((const char*) cap.card,
/external/drm_gralloc/
H A Dgralloc_drm_radeon.c459 const RADEONCardInfo *card = &RADEONCards[i]; local
461 if (info->chipset == card->pci_device_id) {
462 info->chip_family = card->chip_family;
463 info->is_mobility = card->mobility;
464 info->is_igp = card->igp;
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.build.tools/src/org/eclipse/releng/generators/
H A DTestResultsGenerator.java994 int card = testsConfig.length;
995 for(int i=0; i<card; i++) {
1028 while(counter<card && !fileName.endsWith(testsConfig[counter])) {
1038 while(counter<card && !fileName.endsWith(testsConfig[counter])) {
1063 while(counter<card) {
1071 while(counter<card && !fileName.endsWith(testsConfig[counter])) {
1078 while(counter<card && !fileName.endsWith(testsConfig[counter])) {
1083 if(counter==card) {
1088 while(counter<card && !fileName.endsWith(testsConfig[counter])) {
/external/wpa_supplicant_8/hostapd/src/utils/
H A Dpcsc_funcs.c33 * P1 = ID of alg in card
112 SCARDHANDLE card; member in struct:scard_data
500 * open connection to the SIM/USIM card. In addition, local flag is set if a
501 * PIN is needed to access some of the card functions. Once the connection is
519 wpa_printf(MSG_DEBUG, "SCARD: initializing smart card interface");
529 wpa_printf(MSG_DEBUG, "SCARD: Could not establish smart card "
557 wpa_printf(MSG_WARNING, "SCARD: No smart card readers "
595 &scard->card, &scard->protocol);
598 wpa_printf(MSG_INFO, "No smart card inserted.");
607 wpa_printf(MSG_DEBUG, "SCARD: card
[all...]
/external/wpa_supplicant_8/src/utils/
H A Dpcsc_funcs.c33 * P1 = ID of alg in card
112 SCARDHANDLE card; member in struct:scard_data
500 * open connection to the SIM/USIM card. In addition, local flag is set if a
501 * PIN is needed to access some of the card functions. Once the connection is
519 wpa_printf(MSG_DEBUG, "SCARD: initializing smart card interface");
529 wpa_printf(MSG_DEBUG, "SCARD: Could not establish smart card "
557 wpa_printf(MSG_WARNING, "SCARD: No smart card readers "
595 &scard->card, &scard->protocol);
598 wpa_printf(MSG_INFO, "No smart card inserted.");
607 wpa_printf(MSG_DEBUG, "SCARD: card
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/utils/
H A Dpcsc_funcs.c33 * P1 = ID of alg in card
112 SCARDHANDLE card; member in struct:scard_data
500 * open connection to the SIM/USIM card. In addition, local flag is set if a
501 * PIN is needed to access some of the card functions. Once the connection is
519 wpa_printf(MSG_DEBUG, "SCARD: initializing smart card interface");
529 wpa_printf(MSG_DEBUG, "SCARD: Could not establish smart card "
557 wpa_printf(MSG_WARNING, "SCARD: No smart card readers "
595 &scard->card, &scard->protocol);
598 wpa_printf(MSG_INFO, "No smart card inserted.");
607 wpa_printf(MSG_DEBUG, "SCARD: card
[all...]
/external/autotest/client/cros/audio/
H A Daudio_helper.py65 def set_mixer_controls(mixer_settings={}, card='0'):
66 """Sets all mixer controls listed in the mixer settings on card.
69 @param card: Index of audio card to set mixer settings for.
71 logging.info('Setting mixer control values on %s', card)
73 logging.info('Setting %s to %s on card %s',
74 item['name'], item['value'], card)
76 cmd = cmd % (card, item['name'], item['value'])
80 # A card is allowed not to support all the controls, so don't

Completed in 428 milliseconds

12