Home
last modified time | relevance | path

Searched refs:datacnt (Results 1 – 3 of 3) sorted by relevance

/openbmc/qemu/hw/sd/
H A Dpl181.c44 uint32_t datacnt; member
76 VMSTATE_UINT32(datacnt, PL181State),
220 if (s->datacnt != 0 && (!is_read || sdbus_data_ready(&s->sdbus)) in pl181_fifo_run()
224 while (s->datacnt && s->fifo_len < PL181_FIFO_LEN) { in pl181_fifo_run()
226 s->datacnt--; in pl181_fifo_run()
239 while (s->datacnt > 0 && (s->fifo_len > 0 || n > 0)) { in pl181_fifo_run()
245 s->datacnt--; in pl181_fifo_run()
252 if (s->datacnt == 0) { in pl181_fifo_run()
258 if (s->datacnt == 0 && s->fifo_len == 0) { in pl181_fifo_run()
325 return s->datacnt; in pl181_read()
[all …]
H A Dbcm2835_sdhost.c188 if (s->datacnt != 0 && (is_write || sdbus_data_ready(&s->sdbus))) { in bcm2835_sdhost_fifo_run()
191 while (s->datacnt && s->fifo_len < BCM2835_SDHOST_FIFO_LEN) { in bcm2835_sdhost_fifo_run()
193 s->datacnt--; in bcm2835_sdhost_fifo_run()
214 while (s->datacnt > 0 && (s->fifo_len > 0 || n > 0)) { in bcm2835_sdhost_fifo_run()
224 s->datacnt--; in bcm2835_sdhost_fifo_run()
229 if (s->datacnt == 0) { in bcm2835_sdhost_fifo_run()
236 if (s->hbct && s->datacnt % s->hbct == 0 && in bcm2835_sdhost_fifo_run()
360 s->datacnt = s->hblc * s->hbct; in bcm2835_sdhost_write()
394 VMSTATE_UINT32(datacnt, BCM2835SDHostState),
423 s->datacnt = 0; in bcm2835_sdhost_reset()
/openbmc/qemu/include/hw/sd/
H A Dbcm2835_sdhost.h43 uint32_t datacnt; member