Searched refs:vsnd (Results 1 – 8 of 8) sorted by relevance
/xen/tools/libxl/ |
A D | libxl_vsnd.c | 234 vsnd->devid = devid; in libxl__vsnd_from_xenstore() 259 vsnd->pcms = NULL; in libxl__vsnd_from_xenstore() 260 vsnd->num_vsnd_pcms = 0; in libxl__vsnd_from_xenstore() 269 vsnd->pcms = libxl__realloc(NOGC, vsnd->pcms, sizeof(*vsnd->pcms) * in libxl__vsnd_from_xenstore() 272 libxl_vsnd_pcm_init(&vsnd->pcms[vsnd->num_vsnd_pcms - 1]); in libxl__vsnd_from_xenstore() 275 &vsnd->pcms[vsnd->num_vsnd_pcms - 1]); in libxl__vsnd_from_xenstore() 505 if (vsnd->long_name) { in libxl__set_xenstore_vsnd() 511 if (vsnd->short_name) { in libxl__set_xenstore_vsnd() 520 rc = libxl__set_pcms_vsnd(gc, vsnd->pcms, vsnd->num_vsnd_pcms, front); in libxl__set_xenstore_vsnd() 601 info->devid = vsnd->devid; in libxl_device_vsnd_getinfo() [all …]
|
A D | libxl.h | 2206 libxl_device_vsnd *vsnd, 2210 libxl_device_vsnd *vsnd, 2214 libxl_device_vsnd *vsnd, 2224 const libxl_device_vsnd *vsnd,
|
A D | libxl_utils.h | 90 int devid, libxl_device_vsnd *vsnd);
|
/xen/tools/xl/ |
A D | xl_vsnd.c | 32 libxl_device_vsnd vsnd; in main_vsndattach() local 38 libxl_device_vsnd_init(&vsnd); in main_vsndattach() 42 rc = parse_vsnd_item(&vsnd, *argv); in main_vsndattach() 47 char *json = libxl_device_vsnd_to_json(ctx, &vsnd); in main_vsndattach() 54 if (libxl_device_vsnd_add(ctx, domid, &vsnd, 0)) { in main_vsndattach() 62 libxl_device_vsnd_dispose(&vsnd); in main_vsndattach() 169 libxl_device_vsnd vsnd; in main_vsnddetach() local 178 libxl_device_vsnd_init(&vsnd); in main_vsnddetach() 180 if (libxl_devid_to_device_vsnd(ctx, domid, devid, &vsnd)) { in main_vsnddetach() 186 rc = libxl_device_vsnd_remove(ctx, domid, &vsnd, 0); in main_vsnddetach() [all …]
|
A D | xl_parse.c | 913 if (vsnd->num_vsnd_pcms == 0) { in parse_vsnd_pcm_stream() 918 libxl_vsnd_pcm *pcm = &vsnd->pcms[vsnd->num_vsnd_pcms - 1]; in parse_vsnd_pcm_stream() 948 if (vsnd->num_vsnd_pcms == 0) { in parse_vsnd_pcm_param() 953 libxl_vsnd_pcm *pcm = &vsnd->pcms[vsnd->num_vsnd_pcms - 1]; in parse_vsnd_pcm_param() 977 vsnd->short_name = strdup(oparg); in parse_vsnd_card_param() 979 vsnd->long_name = strdup(oparg); in parse_vsnd_card_param() 994 ARRAY_EXTEND_INIT_NODEVID(vsnd->pcms, vsnd->num_vsnd_pcms, in parse_vsnd_create_item() 997 if (vsnd->num_vsnd_pcms == 0) { in parse_vsnd_create_item() 998 ARRAY_EXTEND_INIT_NODEVID(vsnd->pcms, vsnd->num_vsnd_pcms, in parse_vsnd_create_item() 1002 libxl_vsnd_pcm *pcm = &vsnd->pcms[vsnd->num_vsnd_pcms - 1]; in parse_vsnd_create_item() [all …]
|
A D | xl_parse.h | 37 int parse_vsnd_item(libxl_device_vsnd *vsnd, const char *spec);
|
/xen/docs/man/ |
A D | xl.1.pod.in | 1546 =item B<vsnd-attach> I<domain-id> I<vsnd-item> I<vsnd-item> ... 1548 Creates a new vsnd device in the domain specified by I<domain-id>. 1549 I<vsnd-item>'s describe the vsnd device to attach, using the same format as the 1557 xl vsnd-attach DomU 'CARD, short-name=Main, sample-formats=s16_le;s8;u32_be' 1562 =item B<vsnd-detach> I<domain-id> I<dev-id> 1564 Removes the vsnd device specified by I<dev-id> from the domain specified by I<domain-id>. 1566 =item B<vsnd-list> I<domain-id> 1568 List vsnd devices for a domain.
|
A D | xl.cfg.5.pod.in | 1410 =item B<vsnd=[ VCARD_SPEC, VCARD_SPEC, ... ]> 1546 vsnd = [
|
Completed in 20 milliseconds