byt 236 drivers/mmc/host/sdhci-acpi.c static const struct x86_cpu_id byt[] = { byt 241 drivers/mmc/host/sdhci-acpi.c return x86_match_cpu(byt); byt 149 sound/soc/intel/baytrail/sst-baytrail-ipc.c struct sst_byt *byt; byt 198 sound/soc/intel/baytrail/sst-baytrail-ipc.c static struct sst_byt_stream *sst_byt_get_stream(struct sst_byt *byt, byt 203 sound/soc/intel/baytrail/sst-baytrail-ipc.c list_for_each_entry(stream, &byt->stream_list, node) { byt 211 sound/soc/intel/baytrail/sst-baytrail-ipc.c static void sst_byt_stream_update(struct sst_byt *byt, struct ipc_message *msg) byt 218 sound/soc/intel/baytrail/sst-baytrail-ipc.c stream = sst_byt_get_stream(byt, stream_id); byt 235 sound/soc/intel/baytrail/sst-baytrail-ipc.c static int sst_byt_process_reply(struct sst_byt *byt, u64 header) byt 239 sound/soc/intel/baytrail/sst-baytrail-ipc.c msg = sst_ipc_reply_find_msg(&byt->ipc, header); byt 246 sound/soc/intel/baytrail/sst-baytrail-ipc.c sst_dsp_inbox_read(byt->dsp, msg->rx.data, msg->rx.size); byt 250 sound/soc/intel/baytrail/sst-baytrail-ipc.c sst_byt_stream_update(byt, msg); byt 254 sound/soc/intel/baytrail/sst-baytrail-ipc.c sst_ipc_tx_msg_reply_complete(&byt->ipc, msg); byt 259 sound/soc/intel/baytrail/sst-baytrail-ipc.c static void sst_byt_fw_ready(struct sst_byt *byt, u64 header) byt 261 sound/soc/intel/baytrail/sst-baytrail-ipc.c dev_dbg(byt->dev, "ipc: DSP is ready 0x%llX\n", header); byt 263 sound/soc/intel/baytrail/sst-baytrail-ipc.c byt->boot_complete = true; byt 264 sound/soc/intel/baytrail/sst-baytrail-ipc.c wake_up(&byt->boot_wait); byt 267 sound/soc/intel/baytrail/sst-baytrail-ipc.c static int sst_byt_process_notification(struct sst_byt *byt, byt 270 sound/soc/intel/baytrail/sst-baytrail-ipc.c struct sst_dsp *sst = byt->dsp; byt 281 sound/soc/intel/baytrail/sst-baytrail-ipc.c stream = sst_byt_get_stream(byt, stream_id); byt 289 sound/soc/intel/baytrail/sst-baytrail-ipc.c sst_byt_fw_ready(byt, header); byt 299 sound/soc/intel/baytrail/sst-baytrail-ipc.c struct sst_byt *byt = sst_dsp_get_thread_context(sst); byt 300 sound/soc/intel/baytrail/sst-baytrail-ipc.c struct sst_generic_ipc *ipc = &byt->ipc; byt 310 sound/soc/intel/baytrail/sst-baytrail-ipc.c sst_byt_process_notification(byt, &flags); byt 313 sound/soc/intel/baytrail/sst-baytrail-ipc.c sst_byt_process_reply(byt, header); byt 338 sound/soc/intel/baytrail/sst-baytrail-ipc.c struct sst_byt_stream *sst_byt_stream_new(struct sst_byt *byt, int id, byt 343 sound/soc/intel/baytrail/sst-baytrail-ipc.c struct sst_dsp *sst = byt->dsp; byt 351 sound/soc/intel/baytrail/sst-baytrail-ipc.c list_add(&stream->node, &byt->stream_list); byt 354 sound/soc/intel/baytrail/sst-baytrail-ipc.c stream->byt = byt; byt 361 sound/soc/intel/baytrail/sst-baytrail-ipc.c int sst_byt_stream_set_bits(struct sst_byt *byt, struct sst_byt_stream *stream, byt 368 sound/soc/intel/baytrail/sst-baytrail-ipc.c int sst_byt_stream_set_channels(struct sst_byt *byt, byt 375 sound/soc/intel/baytrail/sst-baytrail-ipc.c int sst_byt_stream_set_rate(struct sst_byt *byt, struct sst_byt_stream *stream, byt 383 sound/soc/intel/baytrail/sst-baytrail-ipc.c int sst_byt_stream_type(struct sst_byt *byt, struct sst_byt_stream *stream, byt 394 sound/soc/intel/baytrail/sst-baytrail-ipc.c int sst_byt_stream_buffer(struct sst_byt *byt, struct sst_byt_stream *stream, byt 409 sound/soc/intel/baytrail/sst-baytrail-ipc.c int sst_byt_stream_commit(struct sst_byt *byt, struct sst_byt_stream *stream) byt 422 sound/soc/intel/baytrail/sst-baytrail-ipc.c ret = sst_ipc_tx_message_wait(&byt->ipc, request, &reply); byt 424 sound/soc/intel/baytrail/sst-baytrail-ipc.c dev_err(byt->dev, "ipc: error stream commit failed\n"); byt 433 sound/soc/intel/baytrail/sst-baytrail-ipc.c int sst_byt_stream_free(struct sst_byt *byt, struct sst_byt_stream *stream) byt 437 sound/soc/intel/baytrail/sst-baytrail-ipc.c struct sst_dsp *sst = byt->dsp; byt 445 sound/soc/intel/baytrail/sst-baytrail-ipc.c ret = sst_ipc_tx_message_wait(&byt->ipc, request, NULL); byt 447 sound/soc/intel/baytrail/sst-baytrail-ipc.c dev_err(byt->dev, "ipc: free stream %d failed\n", byt 462 sound/soc/intel/baytrail/sst-baytrail-ipc.c static int sst_byt_stream_operations(struct sst_byt *byt, int type, byt 469 sound/soc/intel/baytrail/sst-baytrail-ipc.c return sst_ipc_tx_message_wait(&byt->ipc, request, NULL); byt 471 sound/soc/intel/baytrail/sst-baytrail-ipc.c return sst_ipc_tx_message_nowait(&byt->ipc, request); byt 475 sound/soc/intel/baytrail/sst-baytrail-ipc.c int sst_byt_stream_start(struct sst_byt *byt, struct sst_byt_stream *stream, byt 489 sound/soc/intel/baytrail/sst-baytrail-ipc.c ret = sst_ipc_tx_message_nowait(&byt->ipc, request); byt 491 sound/soc/intel/baytrail/sst-baytrail-ipc.c dev_err(byt->dev, "ipc: error failed to start stream %d\n", byt 497 sound/soc/intel/baytrail/sst-baytrail-ipc.c int sst_byt_stream_stop(struct sst_byt *byt, struct sst_byt_stream *stream) byt 505 sound/soc/intel/baytrail/sst-baytrail-ipc.c ret = sst_byt_stream_operations(byt, IPC_IA_DROP_STREAM, byt 508 sound/soc/intel/baytrail/sst-baytrail-ipc.c dev_err(byt->dev, "ipc: error failed to stop stream %d\n", byt 513 sound/soc/intel/baytrail/sst-baytrail-ipc.c int sst_byt_stream_pause(struct sst_byt *byt, struct sst_byt_stream *stream) byt 517 sound/soc/intel/baytrail/sst-baytrail-ipc.c ret = sst_byt_stream_operations(byt, IPC_IA_PAUSE_STREAM, byt 520 sound/soc/intel/baytrail/sst-baytrail-ipc.c dev_err(byt->dev, "ipc: error failed to pause stream %d\n", byt 526 sound/soc/intel/baytrail/sst-baytrail-ipc.c int sst_byt_stream_resume(struct sst_byt *byt, struct sst_byt_stream *stream) byt 530 sound/soc/intel/baytrail/sst-baytrail-ipc.c ret = sst_byt_stream_operations(byt, IPC_IA_RESUME_STREAM, byt 533 sound/soc/intel/baytrail/sst-baytrail-ipc.c dev_err(byt->dev, "ipc: error failed to resume stream %d\n", byt 539 sound/soc/intel/baytrail/sst-baytrail-ipc.c int sst_byt_get_dsp_position(struct sst_byt *byt, byt 542 sound/soc/intel/baytrail/sst-baytrail-ipc.c struct sst_dsp *sst = byt->dsp; byt 554 sound/soc/intel/baytrail/sst-baytrail-ipc.c struct sst_dsp *sst_byt_get_dsp(struct sst_byt *byt) byt 556 sound/soc/intel/baytrail/sst-baytrail-ipc.c return byt->dsp; byt 566 sound/soc/intel/baytrail/sst-baytrail-ipc.c struct sst_byt *byt = pdata->dsp; byt 568 sound/soc/intel/baytrail/sst-baytrail-ipc.c dev_dbg(byt->dev, "dsp reset\n"); byt 569 sound/soc/intel/baytrail/sst-baytrail-ipc.c sst_dsp_reset(byt->dsp); byt 570 sound/soc/intel/baytrail/sst-baytrail-ipc.c sst_ipc_drop_all(&byt->ipc); byt 571 sound/soc/intel/baytrail/sst-baytrail-ipc.c dev_dbg(byt->dev, "dsp in reset\n"); byt 573 sound/soc/intel/baytrail/sst-baytrail-ipc.c dev_dbg(byt->dev, "free all blocks and unload fw\n"); byt 574 sound/soc/intel/baytrail/sst-baytrail-ipc.c sst_fw_unload(byt->fw); byt 582 sound/soc/intel/baytrail/sst-baytrail-ipc.c struct sst_byt *byt = pdata->dsp; byt 585 sound/soc/intel/baytrail/sst-baytrail-ipc.c dev_dbg(byt->dev, "reload dsp fw\n"); byt 587 sound/soc/intel/baytrail/sst-baytrail-ipc.c sst_dsp_reset(byt->dsp); byt 589 sound/soc/intel/baytrail/sst-baytrail-ipc.c ret = sst_fw_reload(byt->fw); byt 596 sound/soc/intel/baytrail/sst-baytrail-ipc.c byt->boot_complete = false; byt 597 sound/soc/intel/baytrail/sst-baytrail-ipc.c sst_dsp_boot(byt->dsp); byt 598 sound/soc/intel/baytrail/sst-baytrail-ipc.c dev_dbg(byt->dev, "dsp booting...\n"); byt 606 sound/soc/intel/baytrail/sst-baytrail-ipc.c struct sst_byt *byt = pdata->dsp; byt 609 sound/soc/intel/baytrail/sst-baytrail-ipc.c dev_dbg(byt->dev, "wait for dsp reboot\n"); byt 611 sound/soc/intel/baytrail/sst-baytrail-ipc.c err = wait_event_timeout(byt->boot_wait, byt->boot_complete, byt 614 sound/soc/intel/baytrail/sst-baytrail-ipc.c dev_err(byt->dev, "ipc: error DSP boot timeout\n"); byt 618 sound/soc/intel/baytrail/sst-baytrail-ipc.c dev_dbg(byt->dev, "dsp rebooted\n"); byt 675 sound/soc/intel/baytrail/sst-baytrail-ipc.c struct sst_byt *byt; byt 683 sound/soc/intel/baytrail/sst-baytrail-ipc.c byt = devm_kzalloc(dev, sizeof(*byt), GFP_KERNEL); byt 684 sound/soc/intel/baytrail/sst-baytrail-ipc.c if (byt == NULL) byt 687 sound/soc/intel/baytrail/sst-baytrail-ipc.c byt->dev = dev; byt 689 sound/soc/intel/baytrail/sst-baytrail-ipc.c ipc = &byt->ipc; byt 703 sound/soc/intel/baytrail/sst-baytrail-ipc.c INIT_LIST_HEAD(&byt->stream_list); byt 704 sound/soc/intel/baytrail/sst-baytrail-ipc.c init_waitqueue_head(&byt->boot_wait); byt 705 sound/soc/intel/baytrail/sst-baytrail-ipc.c byt_dev.thread_context = byt; byt 708 sound/soc/intel/baytrail/sst-baytrail-ipc.c byt->dsp = sst_dsp_new(dev, &byt_dev, pdata); byt 709 sound/soc/intel/baytrail/sst-baytrail-ipc.c if (byt->dsp == NULL) { byt 714 sound/soc/intel/baytrail/sst-baytrail-ipc.c ipc->dsp = byt->dsp; byt 717 sound/soc/intel/baytrail/sst-baytrail-ipc.c sst_dsp_reset(byt->dsp); byt 719 sound/soc/intel/baytrail/sst-baytrail-ipc.c byt_sst_fw = sst_fw_new(byt->dsp, pdata->fw, byt); byt 727 sound/soc/intel/baytrail/sst-baytrail-ipc.c sst_dsp_boot(byt->dsp); byt 728 sound/soc/intel/baytrail/sst-baytrail-ipc.c err = wait_event_timeout(byt->boot_wait, byt->boot_complete, byt 732 sound/soc/intel/baytrail/sst-baytrail-ipc.c dev_err(byt->dev, "ipc: error DSP boot timeout\n"); byt 737 sound/soc/intel/baytrail/sst-baytrail-ipc.c sst_dsp_inbox_read(byt->dsp, &init, sizeof(init)); byt 738 sound/soc/intel/baytrail/sst-baytrail-ipc.c dev_info(byt->dev, "FW version: %02x.%02x.%02x.%02x\n", byt 741 sound/soc/intel/baytrail/sst-baytrail-ipc.c dev_info(byt->dev, "Build type: %x\n", init.fw_version.type); byt 742 sound/soc/intel/baytrail/sst-baytrail-ipc.c dev_info(byt->dev, "Build date: %s %s\n", byt 745 sound/soc/intel/baytrail/sst-baytrail-ipc.c pdata->dsp = byt; byt 746 sound/soc/intel/baytrail/sst-baytrail-ipc.c byt->fw = byt_sst_fw; byt 751 sound/soc/intel/baytrail/sst-baytrail-ipc.c sst_dsp_reset(byt->dsp); byt 754 sound/soc/intel/baytrail/sst-baytrail-ipc.c sst_dsp_free(byt->dsp); byt 765 sound/soc/intel/baytrail/sst-baytrail-ipc.c struct sst_byt *byt = pdata->dsp; byt 767 sound/soc/intel/baytrail/sst-baytrail-ipc.c sst_dsp_reset(byt->dsp); byt 768 sound/soc/intel/baytrail/sst-baytrail-ipc.c sst_fw_free_all(byt->dsp); byt 769 sound/soc/intel/baytrail/sst-baytrail-ipc.c sst_dsp_free(byt->dsp); byt 770 sound/soc/intel/baytrail/sst-baytrail-ipc.c sst_ipc_fini(&byt->ipc); byt 28 sound/soc/intel/baytrail/sst-baytrail-ipc.h struct sst_byt_stream *sst_byt_stream_new(struct sst_byt *byt, int id, byt 34 sound/soc/intel/baytrail/sst-baytrail-ipc.h int sst_byt_stream_set_bits(struct sst_byt *byt, struct sst_byt_stream *stream, byt 36 sound/soc/intel/baytrail/sst-baytrail-ipc.h int sst_byt_stream_set_channels(struct sst_byt *byt, byt 38 sound/soc/intel/baytrail/sst-baytrail-ipc.h int sst_byt_stream_set_rate(struct sst_byt *byt, struct sst_byt_stream *stream, byt 40 sound/soc/intel/baytrail/sst-baytrail-ipc.h int sst_byt_stream_type(struct sst_byt *byt, struct sst_byt_stream *stream, byt 42 sound/soc/intel/baytrail/sst-baytrail-ipc.h int sst_byt_stream_buffer(struct sst_byt *byt, struct sst_byt_stream *stream, byt 44 sound/soc/intel/baytrail/sst-baytrail-ipc.h int sst_byt_stream_commit(struct sst_byt *byt, struct sst_byt_stream *stream); byt 45 sound/soc/intel/baytrail/sst-baytrail-ipc.h int sst_byt_stream_free(struct sst_byt *byt, struct sst_byt_stream *stream); byt 48 sound/soc/intel/baytrail/sst-baytrail-ipc.h int sst_byt_stream_start(struct sst_byt *byt, struct sst_byt_stream *stream, byt 50 sound/soc/intel/baytrail/sst-baytrail-ipc.h int sst_byt_stream_stop(struct sst_byt *byt, struct sst_byt_stream *stream); byt 51 sound/soc/intel/baytrail/sst-baytrail-ipc.h int sst_byt_stream_pause(struct sst_byt *byt, struct sst_byt_stream *stream); byt 52 sound/soc/intel/baytrail/sst-baytrail-ipc.h int sst_byt_stream_resume(struct sst_byt *byt, struct sst_byt_stream *stream); byt 54 sound/soc/intel/baytrail/sst-baytrail-ipc.h int sst_byt_get_dsp_position(struct sst_byt *byt, byt 60 sound/soc/intel/baytrail/sst-baytrail-ipc.h struct sst_dsp *sst_byt_get_dsp(struct sst_byt *byt); byt 51 sound/soc/intel/baytrail/sst-baytrail-pcm.c struct sst_byt *byt; byt 68 sound/soc/intel/baytrail/sst-baytrail-pcm.c struct sst_byt *byt = pdata->byt; byt 75 sound/soc/intel/baytrail/sst-baytrail-pcm.c ret = sst_byt_stream_type(byt, pcm_data->stream, byt 83 sound/soc/intel/baytrail/sst-baytrail-pcm.c ret = sst_byt_stream_set_rate(byt, pcm_data->stream, rate); byt 90 sound/soc/intel/baytrail/sst-baytrail-pcm.c ret = sst_byt_stream_set_bits(byt, pcm_data->stream, bits); byt 98 sound/soc/intel/baytrail/sst-baytrail-pcm.c ret = sst_byt_stream_set_channels(byt, pcm_data->stream, channels); byt 107 sound/soc/intel/baytrail/sst-baytrail-pcm.c ret = sst_byt_stream_buffer(byt, pcm_data->stream, byt 115 sound/soc/intel/baytrail/sst-baytrail-pcm.c ret = sst_byt_stream_commit(byt, pcm_data->stream); byt 140 sound/soc/intel/baytrail/sst-baytrail-pcm.c struct sst_byt *byt = pdata->byt; byt 144 sound/soc/intel/baytrail/sst-baytrail-pcm.c ret = sst_byt_stream_commit(byt, pcm_data->stream); byt 150 sound/soc/intel/baytrail/sst-baytrail-pcm.c sst_byt_stream_start(byt, pcm_data->stream, pcm_data->hw_ptr); byt 173 sound/soc/intel/baytrail/sst-baytrail-pcm.c struct sst_byt *byt = pdata->byt; byt 180 sound/soc/intel/baytrail/sst-baytrail-pcm.c sst_byt_stream_start(byt, pcm_data->stream, 0); byt 186 sound/soc/intel/baytrail/sst-baytrail-pcm.c sst_byt_stream_resume(byt, pcm_data->stream); byt 189 sound/soc/intel/baytrail/sst-baytrail-pcm.c sst_byt_stream_resume(byt, pcm_data->stream); byt 192 sound/soc/intel/baytrail/sst-baytrail-pcm.c sst_byt_stream_stop(byt, pcm_data->stream); byt 198 sound/soc/intel/baytrail/sst-baytrail-pcm.c sst_byt_stream_pause(byt, pcm_data->stream); byt 215 sound/soc/intel/baytrail/sst-baytrail-pcm.c struct sst_byt *byt = pdata->byt; byt 218 sound/soc/intel/baytrail/sst-baytrail-pcm.c hw_pos = sst_byt_get_dsp_position(byt, pcm_data->stream, byt 250 sound/soc/intel/baytrail/sst-baytrail-pcm.c struct sst_byt *byt = pdata->byt; byt 260 sound/soc/intel/baytrail/sst-baytrail-pcm.c pcm_data->stream = sst_byt_stream_new(byt, substream->stream + 1, byt 278 sound/soc/intel/baytrail/sst-baytrail-pcm.c struct sst_byt *byt = pdata->byt; byt 285 sound/soc/intel/baytrail/sst-baytrail-pcm.c ret = sst_byt_stream_free(byt, pcm_data->stream); byt 369 sound/soc/intel/baytrail/sst-baytrail-pcm.c priv_data->byt = plat_data->dsp; byt 35 sound/soc/intel/common/soc-intel-quirks.h SOC_INTEL_IS_CPU(byt, INTEL_FAM6_ATOM_SILVERMONT);