Lines Matching refs:fifo_buffer

425         sdbus_read_data(&s->sdbus, s->fifo_buffer, blk_size);  in sdhci_read_block_from_card()
477 value |= s->fifo_buffer[s->data_count] << i * 8; in sdhci_read_dataport()
525 sdbus_write_data(&s->sdbus, s->fifo_buffer, s->blksize & BLOCK_SIZE_MASK); in sdhci_write_block_to_card()
566 s->fifo_buffer[s->data_count] = value & 0xFF; in sdhci_write_dataport()
610 sdbus_read_data(&s->sdbus, s->fifo_buffer, block_size); in sdhci_sdma_transfer_multi_blocks()
623 dma_memory_write(s->dma_as, s->sdmasysad, &s->fifo_buffer[begin], in sdhci_sdma_transfer_multi_blocks()
644 dma_memory_read(s->dma_as, s->sdmasysad, &s->fifo_buffer[begin], in sdhci_sdma_transfer_multi_blocks()
648 sdbus_write_data(&s->sdbus, s->fifo_buffer, block_size); in sdhci_sdma_transfer_multi_blocks()
676 sdbus_read_data(&s->sdbus, s->fifo_buffer, datacnt); in sdhci_sdma_transfer_single_block()
677 dma_memory_write(s->dma_as, s->sdmasysad, s->fifo_buffer, datacnt, in sdhci_sdma_transfer_single_block()
680 dma_memory_read(s->dma_as, s->sdmasysad, s->fifo_buffer, datacnt, in sdhci_sdma_transfer_single_block()
682 sdbus_write_data(&s->sdbus, s->fifo_buffer, datacnt); in sdhci_sdma_transfer_single_block()
789 sdbus_read_data(&s->sdbus, s->fifo_buffer, block_size); in sdhci_do_adma()
800 &s->fifo_buffer[begin], in sdhci_do_adma()
829 &s->fifo_buffer[begin], in sdhci_do_adma()
837 sdbus_write_data(&s->sdbus, s->fifo_buffer, block_size); in sdhci_do_adma()
1411 g_free(s->fifo_buffer); in sdhci_uninitfn()
1412 s->fifo_buffer = NULL; in sdhci_uninitfn()
1441 s->fifo_buffer = g_malloc0(s->buf_maxsz); in sdhci_common_realize()
1454 g_free(s->fifo_buffer); in sdhci_common_unrealize()
1455 s->fifo_buffer = NULL; in sdhci_common_unrealize()
1506 VMSTATE_VBUFFER_UINT32(fifo_buffer, SDHCIState, 1, NULL, buf_maxsz),