xlnx_dp.c (d5a515738ee2dec0cdf11d8a14a09abae6c20571) | xlnx_dp.c (85bc58520c0e43660cbbe51b9eb5022a0baafe9f) |
---|---|
1/* 2 * xlnx_dp.c 3 * 4 * Copyright (C) 2015 : GreenSocs Ltd 5 * http://www.greensocs.com/ , email: info@greensocs.com 6 * 7 * Developed by : 8 * Frederic Konrad <fred.konrad@greensocs.com> --- 1246 unchanged lines hidden (view full) --- 1255 1256 s->console = graphic_console_init(dev, 0, &xlnx_dp_gfx_ops, s); 1257 surface = qemu_console_surface(s->console); 1258 xlnx_dpdma_set_host_data_location(s->dpdma, DP_GRAPHIC_DMA_CHANNEL, 1259 surface_data(surface)); 1260 1261 as.freq = 44100; 1262 as.nchannels = 2; | 1/* 2 * xlnx_dp.c 3 * 4 * Copyright (C) 2015 : GreenSocs Ltd 5 * http://www.greensocs.com/ , email: info@greensocs.com 6 * 7 * Developed by : 8 * Frederic Konrad <fred.konrad@greensocs.com> --- 1246 unchanged lines hidden (view full) --- 1255 1256 s->console = graphic_console_init(dev, 0, &xlnx_dp_gfx_ops, s); 1257 surface = qemu_console_surface(s->console); 1258 xlnx_dpdma_set_host_data_location(s->dpdma, DP_GRAPHIC_DMA_CHANNEL, 1259 surface_data(surface)); 1260 1261 as.freq = 44100; 1262 as.nchannels = 2; |
1263 as.fmt = AUD_FMT_S16; | 1263 as.fmt = AUDIO_FORMAT_S16; |
1264 as.endianness = 0; 1265 1266 AUD_register_card("xlnx_dp.audio", &s->aud_card); 1267 1268 s->amixer_output_stream = AUD_open_out(&s->aud_card, 1269 s->amixer_output_stream, 1270 "xlnx_dp.audio.out", 1271 s, --- 78 unchanged lines hidden --- | 1264 as.endianness = 0; 1265 1266 AUD_register_card("xlnx_dp.audio", &s->aud_card); 1267 1268 s->amixer_output_stream = AUD_open_out(&s->aud_card, 1269 s->amixer_output_stream, 1270 "xlnx_dp.audio.out", 1271 s, --- 78 unchanged lines hidden --- |