Home
last modified time | relevance | path

Searched refs:card (Results 1 – 25 of 525) sorted by relevance

12345678910>>...21

/third_party/alsa-utils/alsamixer/
Dcard_select.c36 struct card { struct
37 struct card *next; argument
44 static struct card first_card; argument
53 struct card *card = item_userptr(item); in on_key_enter() local
54 if (card->device_name) { in on_key_enter()
55 if (select_card_by_name(card->device_name)) in on_key_enter()
83 struct card *card, *next_card; in close_card_select_list() local
90 for (card = first_card.next; card; card = next_card) { in close_card_select_list()
91 next_card = card->next; in close_card_select_list()
92 free(card->indexstr); in close_card_select_list()
[all …]
/third_party/grpc/third_party/upb/upb/
Ddecode_fast.h54 #define F(card, type, valbytes, tagbytes) \ argument
55 const char *upb_p##card##type##valbytes##_##tagbytes##bt(UPB_PARSE_PARAMS);
57 #define TYPES(card, tagbytes) \ argument
58 F(card, b, 1, tagbytes) \
59 F(card, v, 4, tagbytes) \
60 F(card, v, 8, tagbytes) \
61 F(card, z, 4, tagbytes) \
62 F(card, z, 8, tagbytes) \
63 F(card, f, 4, tagbytes) \
64 F(card, f, 8, tagbytes)
[all …]
Ddecode_fast.c256 upb_card card) { in fastdecode_getfield() argument
257 switch (card) { in fastdecode_getfield()
344 int valbytes, upb_card card, in fastdecode_unpackedvarint() argument
352 if (card == CARD_r && fastdecode_flippacked(&data, tagbytes)) { in fastdecode_unpackedvarint()
359 fastdecode_getfield(d, ptr, msg, &data, &hasbits, &farr, valbytes, card); in fastdecode_unpackedvarint()
360 if (card == CARD_r) { in fastdecode_unpackedvarint()
367 if (card == CARD_r) { in fastdecode_unpackedvarint()
377 if (card == CARD_r) { in fastdecode_unpackedvarint()
453 int valbytes, upb_card card, bool zigzag, in fastdecode_varint() argument
456 if (card == CARD_p) { in fastdecode_varint()
[all …]
/third_party/alsa-lib/src/control/
Dcards.c55 return info.card; in snd_card_load2()
61 static int snd_card_load1(int card) in snd_card_load1() argument
66 sprintf(control, SND_FILE_CONTROL, card); in snd_card_load1()
71 sprintf(aload, SND_FILE_LOAD, card); in snd_card_load1()
83 int snd_card_load(int card) in snd_card_load() argument
85 return !!(snd_card_load1(card) >= 0); in snd_card_load()
110 int card; in snd_card_next() local
114 card = *rcard; in snd_card_next()
115 card = card < 0 ? 0 : card + 1; in snd_card_next()
116 for (; card < SND_MAX_CARDS; card++) { in snd_card_next()
[all …]
/third_party/pulseaudio/src/modules/
Dmodule-switch-on-port-available.c37 pa_card *card; member
49 static void card_info_new(struct userdata *u, pa_card *card) { in card_info_new() argument
54 info->card = card; in card_info_new()
55 info->active_profile = card->active_profile; in card_info_new()
57 pa_hashmap_put(u->card_infos, card, info); in card_info_new()
61 pa_hashmap_remove(info->userdata->card_infos, info->card); in card_info_free()
66 pa_card *card; in profile_good_for_output() local
72 card = profile->card; in profile_good_for_output()
74 if (!pa_safe_streq(card->active_profile->input_name, profile->input_name)) in profile_good_for_output()
77 if (card->active_profile->n_sources != profile->n_sources) in profile_good_for_output()
[all …]
Dudev-util.c168 struct udev_device *card = NULL; in pa_udev_get_info() local
183 card = udev_device_new_from_syspath(udev, t); in pa_udev_get_info()
186 if (!card) { in pa_udev_get_info()
192 if (((v = udev_device_get_property_value(card, "ID_PATH")) && *v) || in pa_udev_get_info()
193 (v = udev_device_get_devpath(card))) in pa_udev_get_info()
197 if ((v = udev_device_get_devpath(card))) in pa_udev_get_info()
201 if ((v = udev_device_get_property_value(card, "ID_ID")) && *v) in pa_udev_get_info()
205 if ((bus = udev_device_get_property_value(card, "ID_BUS")) && *bus) in pa_udev_get_info()
209 if ((id = read_id(card, "ID_VENDOR_ID")) > 0) in pa_udev_get_info()
214 …if (!pa_safe_streq(bus, "firewire") && (v = udev_device_get_property_value(card, "ID_VENDOR_FROM_D… in pa_udev_get_info()
[all …]
Dmodule-card-restore.c147 static struct entry *entry_from_card(pa_card *card) { in entry_from_card() argument
153 pa_assert(card); in entry_from_card()
156 if (card->save_profile) in entry_from_card()
157 entry->profile = pa_xstrdup(card->active_profile->name); in entry_from_card()
159 PA_HASHMAP_FOREACH(port, card->ports, state) { in entry_from_card()
378 static void show_full_info(pa_card *card) { in show_full_info() argument
379 pa_assert(card); in show_full_info()
381 if (card->save_profile) in show_full_info()
382 pa_log_info("Storing profile and port latency offsets for card %s.", card->name); in show_full_info()
384 pa_log_info("Storing port latency offsets for card %s.", card->name); in show_full_info()
[all …]
/third_party/pulseaudio/src/modules/bluetooth/
Dbackend-ofono.c70 int (*acquire)(struct hf_audio_card *card);
103 static DBusMessage *card_send(struct hf_audio_card *card, const char *method, DBusError *err) in card_send() argument
105 pa_bluetooth_transport *t = card->transport; in card_send()
109 …r = dbus_connection_send_with_reply_and_block(pa_dbus_connection_get(card->backend->connection), m… in card_send()
115 static int card_connect(struct hf_audio_card *card) { in card_connect() argument
119 if (card->connecting) in card_connect()
122 card->connecting = true; in card_connect()
125 r = card_send(card, "Connect", &err); in card_connect()
129 card->connecting = false; in card_connect()
136 if (card->connecting) in card_connect()
[all …]
Dmodule-bluetooth-policy.c144 static void card_set_profile(struct userdata *u, pa_card *card, bool revert_to_a2dp) in card_set_profile() argument
150 PA_HASHMAP_FOREACH(profile, card->profiles, state) { in card_set_profile()
163 pa_log_debug("Setting card '%s' to profile '%s'", card->name, profile->name); in card_set_profile()
165 if (pa_card_set_profile(card, profile, false) != 0) { in card_set_profile()
172 pa_hashmap_put(u->will_need_revert_card_map, card, PA_INT_TO_PTR(1)); in card_set_profile()
179 static void switch_profile(pa_card *card, bool revert_to_a2dp, void *userdata) { in switch_profile() argument
184 s = pa_proplist_gets(card->proplist, PA_PROP_DEVICE_BUS); in switch_profile()
190 if (!pa_hashmap_remove(u->will_need_revert_card_map, card)) in switch_profile()
194 if (!pa_streq(card->active_profile->name, "headset_head_unit")) in switch_profile()
198 if (pa_streq(card->active_profile->name, "a2dp_sink")) in switch_profile()
[all …]
/third_party/alsa-utils/alsactl/
Ddaemon.c39 struct card { struct
78 static void card_free(struct card **card) in card_free() argument
80 struct card *c = *card; in card_free()
87 *card = NULL; in card_free()
90 static void add_card(struct card ***cards, int *count, const char *cardname) in add_card()
92 struct card *card, **cc; in add_card() local
107 card = calloc(1, sizeof(*card)); in add_card()
108 if (card == NULL) in add_card()
110 card->index = index; in add_card()
112 if (snd_ctl_open(&card->handle, device, SND_CTL_READONLY|SND_CTL_NONBLOCK) < 0) { in add_card()
[all …]
/third_party/alsa-lib/src/conf/
Dalsa.conf105 defaults.ctl.card 0
106 defaults.pcm.card 0
120 defaults.pcm.dmix.card defaults.pcm.card
122 defaults.pcm.dsnoop.card defaults.pcm.card
124 defaults.pcm.front.card defaults.pcm.card
126 defaults.pcm.rear.card defaults.pcm.card
128 defaults.pcm.center_lfe.card defaults.pcm.card
130 defaults.pcm.side.card defaults.pcm.card
132 defaults.pcm.surround21.card defaults.pcm.card
134 defaults.pcm.surround40.card defaults.pcm.card
[all …]
/third_party/alsa-lib/src/conf/cards/
DUSB-Audio.conf104 card $CARD
127 card $CARD
132 card $CARD
150 card $CARD
185 { @func card_name card $CARD }
193 card $CARD
206 { @func card_name card $CARD }
226 { @func card_name card $CARD }
257 card $CARD
271 { @func card_name card $CARD }
[all …]
DCMI8738-MC8.conf15 card $CARD
19 card $CARD
40 card $CARD
64 card $CARD
69 card $CARD
85 card $CARD
103 card $CARD
123 card $CARD
141 card $CARD
157 card $CARD
[all …]
DNFORCE.conf15 card $CARD
19 card $CARD
40 card $CARD
65 card $CARD
97 card $CARD
124 card $CARD
171 card $CARD
197 card $CARD
244 card $CARD
270 card $CARD
DAureon71.conf36 card $CARD
47 card $CARD
59 card $CARD
72 card $CARD
85 card $CARD
100 card $CARD
112 card $CARD
141 card $CARD
173 card $CARD
DICE1724.conf36 card $CARD
47 card $CARD
60 card $CARD
72 card $CARD
93 card $CARD
119 card $CARD
144 card $CARD
175 card $CARD
207 card $CARD
/third_party/pulseaudio/src/pulsecore/
Dcard.c79 …pa_assert(c->card); /* Modify member variable directly during creation instead of using this funct… in pa_card_profile_set_available()
85 pa_log_debug("Setting card %s profile %s to availability status %s", c->card->name, c->name, in pa_card_profile_set_available()
89 pa_assert_se(core = c->card->core); in pa_card_profile_set_available()
90 …pa_subscription_post(core, PA_SUBSCRIPTION_EVENT_CARD|PA_SUBSCRIPTION_EVENT_CHANGE, c->card->index… in pa_card_profile_set_available()
92 if (c->card->linked) in pa_card_profile_set_available()
177 profile->card = c; in pa_card_new()
180 port->card = c; in pa_card_new()
192 void pa_card_choose_initial_profile(pa_card *card) { in pa_card_choose_initial_profile() argument
197 pa_assert(card); in pa_card_choose_initial_profile()
203 pa_log_debug("Looking for initial profile for card %s", card->name); in pa_card_choose_initial_profile()
[all …]
/third_party/pulseaudio/src/modules/dbus/
Diface-card.c54 pa_card *card; member
148 idx = c->card->index; in handle_get_index()
160 pa_dbus_send_basic_variant_reply(conn, msg, DBUS_TYPE_STRING, &c->card->name); in handle_get_name()
170 pa_dbus_send_basic_variant_reply(conn, msg, DBUS_TYPE_STRING, &c->card->driver); in handle_get_driver()
181 if (!c->card->module) { in handle_get_owner_module()
182 …conn, msg, PA_DBUS_ERROR_NO_SUCH_PROPERTY, "Card %s doesn't have an owner module.", c->card->name); in handle_get_owner_module()
186 owner_module = pa_dbusiface_core_get_module_path(c->core, c->card->module); in handle_get_owner_module()
201 *n = pa_idxset_size(c->card->sinks); in get_sinks()
208 PA_IDXSET_FOREACH(sink, c->card->sinks, idx) { in get_sinks()
242 *n = pa_idxset_size(c->card->sources); in get_sources()
[all …]
/third_party/alsa-lib/src/
Dconfmisc.c626 static int open_ctl(long card, snd_ctl_t **ctl) in open_ctl() argument
629 snprintf(name, sizeof(name), "hw:%li", card); in open_ctl()
752 int snd_determine_driver(int card, char **driver) in snd_determine_driver() argument
759 assert(card >= 0 && card <= SND_MAX_CARDS); in snd_determine_driver()
760 err = open_ctl(card, &ctl); in snd_determine_driver()
762 SNDERR("could not open control for card %i", card); in snd_determine_driver()
807 long card; in snd_func_private_card_driver() local
814 err = snd_config_get_integer(private_data, &card); in snd_func_private_card_driver()
819 if ((err = snd_determine_driver(card, &driver)) < 0) in snd_func_private_card_driver()
836 int card, err; in parse_card() local
[all …]
/third_party/alsa-lib/alsalisp/
Dhctl.lisp1 (setq card (Acall 'card_next -1))
2 (setq card (Aresult card))
3 (while (>= card 0)
5 (princ "found card: " card "\n")
6 (princ " name : " (Aresult (Acall 'card_get_name card)) "\n")
7 (princ " longname: " (Aresult (Acall 'card_get_longname card)) "\n")
8 (setq card (Acall 'card_next card))
9 (setq card (Aresult card))
12 (unsetq card)
/third_party/ltp/testcases/kernel/security/mmc_security/
DREADME11 the card or assigning a new password to an unlocked card.
12 - change_password.sh: used to change the password from a unlocked card.
13 - forced_erase.sh: used to force-erase a card, usually when the user has forgot
14 the password and wants to unlock the card. NOTE: all the card's contents are
16 - remove_password.sh: used to remove the passwor from a card previously unlocked.
34 1) Unlocking a card:
38 2) Assigning a password to an unlocked card:
42 3) Changing the password (card must be unlocked first):
46 4) Removing the password (card must be unlocked first):
50 5) Force erase card (card must be LOCKED):
/third_party/pulseaudio/src/modules/alsa/
Dmodule-alsa-card.c117 pa_card *card; member
292 d = PA_CARD_PROFILE_DATA(u->card->active_profile); in init_profile()
296 if (pa_alsa_ucm_set_profile(ucm, u->card, d->profile->name, NULL) < 0) { in init_profile()
304 am->sink = pa_alsa_sink_new(u->module, u->modargs, __FILE__, u->card, am); in init_profile()
308 am->source = pa_alsa_source_new(u->module, u->modargs, __FILE__, u->card, am); in init_profile()
321 port = pa_hashmap_get(u->card->ports, jack->name); in calc_port_state()
388 if (u->card->suspend_cause & PA_SUSPEND_SESSION) in report_jack_state()
468 if (u->card->active_profile) in report_jack_state()
469 active_available = u->card->active_profile->available; in report_jack_state()
470 PA_HASHMAP_FOREACH(profile, u->card->profiles, state) { in report_jack_state()
[all …]
/third_party/flutter/flutter/packages/flutter/lib/src/material/
Dcard.dart11 /// A material design card. A card has slightly rounded corners and a shadow.
13 /// A card is a sheet of [Material] used to represent some related information,
18 /// ![A card with a slight shadow, consisting of two rows, one with an icon and
20 … or listening to the show.](https://flutter.github.io/assets-for-api-docs/assets/material/card.png)
61 /// Sometimes the primary action area of a card is the card itself. Cards can be
68 /// entire card.
82 /// child: Text('A card that can be tapped'),
94 /// * [ListTile], to display icons and text in a card.
95 /// * [ButtonBar], to display buttons at the bottom of a card. Typically these
97 /// * [showDialog], to display a modal card.
[all …]
/third_party/alsa-utils/alsaucm/
Dusecase.c178 if (context->card) in my_exit()
179 free(context->card); in my_exit()
188 int card, err; in do_initial_open() local
191 if (!context->no_open && context->card == NULL) { in do_initial_open()
192 card = -1; in do_initial_open()
193 err = snd_card_next(&card); in do_initial_open()
199 snprintf(name, sizeof(name), "hw:%d", card); in do_initial_open()
200 context->card = strdup(name); in do_initial_open()
206 context->card); in do_initial_open()
210 context->command, context->card, snd_strerror(err)); in do_initial_open()
[all …]
/third_party/gstreamer/gstplugins_base/ext/alsa/
Dgstalsadeviceprovider.c46 snd_pcm_stream_t stream, gint card, gint dev) in add_device() argument
54 gchar *device_name = g_strdup_printf ("hw:%d,%d", card, dev); in add_device()
69 snd_card_get_name (card, &card_name); in add_device()
73 "alsa.card", G_TYPE_INT, card, in add_device()
90 snd_card_get_longname (card, &longname); in add_device()
102 int card, dev; in gst_alsa_device_provider_probe() local
115 card = -1; in gst_alsa_device_provider_probe()
118 if (snd_card_next (&card) < 0 || card < 0) { in gst_alsa_device_provider_probe()
124 while (card >= 0) { in gst_alsa_device_provider_probe()
127 g_snprintf (name, sizeof (name), "hw:%d", card); in gst_alsa_device_provider_probe()
[all …]

12345678910>>...21