Home
last modified time | relevance | path

Searched refs:fifo_buffer (Results 1 – 7 of 7) sorted by relevance

/openbmc/qemu/hw/sd/
H A Dsdhci.c425 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()
566 s->fifo_buffer[s->data_count] = value & 0xFF; in sdhci_write_dataport()
676 sdbus_read_data(&s->sdbus, 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()
829 &s->fifo_buffer[begin], 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()
[all …]
/openbmc/qemu/include/hw/sd/
H A Dsdhci.h85 uint8_t *fifo_buffer; /* SD host i/o FIFO buffer */ member
/openbmc/linux/drivers/net/ieee802154/
H A Dca8210.c587 char *fifo_buffer; in ca8210_test_int_driver_write() local
597 fifo_buffer = kmemdup(buf, len, GFP_KERNEL); in ca8210_test_int_driver_write()
598 if (!fifo_buffer) in ca8210_test_int_driver_write()
600 kfifo_in(&test->up_fifo, &fifo_buffer, 4); in ca8210_test_int_driver_write()
2529 unsigned char *fifo_buffer; in ca8210_test_int_user_read() local
2544 if (kfifo_out(&priv->test.up_fifo, &fifo_buffer, 4) != 4) { in ca8210_test_int_user_read()
2551 cmdlen = fifo_buffer[1]; in ca8210_test_int_user_read()
2554 bytes_not_copied = copy_to_user(buf, fifo_buffer, bytes_not_copied); in ca8210_test_int_user_read()
2567 dev_dbg(&priv->spi->dev, "%#03x\n", fifo_buffer[i]); in ca8210_test_int_user_read()
2569 kfree(fifo_buffer); in ca8210_test_int_user_read()
/openbmc/linux/drivers/block/drbd/
H A Ddrbd_worker.c452 static void fifo_set(struct fifo_buffer *fb, int value) in fifo_set()
460 static int fifo_push(struct fifo_buffer *fb, int value) in fifo_push()
473 static void fifo_add_val(struct fifo_buffer *fb, int value) in fifo_add_val()
481 struct fifo_buffer *fifo_alloc(unsigned int fifo_size) in fifo_alloc()
483 struct fifo_buffer *fb; in fifo_alloc()
507 struct fifo_buffer *plan; in drbd_rs_controller()
1680 struct fifo_buffer *plan; in drbd_rs_controller_reset()
H A Ddrbd_int.h552 struct fifo_buffer { struct
558 extern struct fifo_buffer *fifo_alloc(unsigned int fifo_size); argument
892 …struct fifo_buffer *rs_plan_s; /* correction values of resync planer (RCU, connection->conn_update…
H A Ddrbd_nl.c1508 struct fifo_buffer *old_plan = NULL, *new_plan = NULL; in drbd_adm_disk_opts()
1737 struct fifo_buffer *new_plan = NULL; in drbd_adm_attach()
H A Ddrbd_receiver.c3849 struct fifo_buffer *old_plan = NULL, *new_plan = NULL; in receive_SyncParam()