Home
last modified time | relevance | path

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

/openbmc/qemu/hw/sd/
H A Dpl181.c44 uint32_t datacnt; member
76 VMSTATE_UINT32(datacnt, PL181State),
228 s->datacnt--; in pl181_fifo_run()
247 s->datacnt--; in pl181_fifo_run()
254 if (s->datacnt == 0) { in pl181_fifo_run()
260 if (s->datacnt == 0 && s->fifo_len == 0) { in pl181_fifo_run()
327 return s->datacnt; in pl181_read()
347 tmp = (s->datacnt + 3) >> 2; in pl181_read()
417 s->datacnt = s->datalength; in pl181_write()
434 if (s->datacnt == 0) { in pl181_write()
[all …]
H A Dbcm2835_sdhost.c191 if (s->datacnt != 0 && (is_write || sdbus_data_ready(&s->sdbus))) { in bcm2835_sdhost_fifo_run()
194 while (s->datacnt && s->fifo_len < BCM2835_SDHOST_FIFO_LEN) { in bcm2835_sdhost_fifo_run()
196 s->datacnt--; in bcm2835_sdhost_fifo_run()
217 while (s->datacnt > 0 && (s->fifo_len > 0 || n > 0)) { in bcm2835_sdhost_fifo_run()
227 s->datacnt--; in bcm2835_sdhost_fifo_run()
232 if (s->datacnt == 0) { in bcm2835_sdhost_fifo_run()
239 if (s->hbct && s->datacnt % s->hbct == 0 && in bcm2835_sdhost_fifo_run()
363 s->datacnt = s->hblc * s->hbct; in bcm2835_sdhost_write()
397 VMSTATE_UINT32(datacnt, BCM2835SDHostState),
426 s->datacnt = 0; in bcm2835_sdhost_reset()
H A Dsdhci.c673 uint32_t datacnt = s->blksize & BLOCK_SIZE_MASK; in sdhci_sdma_transfer_single_block() local
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()
/openbmc/qemu/include/hw/sd/
H A Dbcm2835_sdhost.h43 uint32_t datacnt; member
/openbmc/linux/drivers/scsi/aic7xxx/
H A Daic7xxx.h455 /*16*/ uint32_t datacnt; /* member
H A Daic79xx.h501 /*32*/ uint32_t datacnt; /* Byte 3 is spare. */ member
H A Daic79xx_core.c461 scb->hscb->datacnt = sg->len; in ahd_setup_data_scb()
476 scb->hscb->datacnt = sg->len; in ahd_setup_data_scb()
492 scb->hscb->datacnt = 0; in ahd_setup_noxfer_scb()
878 ahd_le32toh(scb->hscb->datacnt)); in ahd_queue_scb()
1430 uint32_t datacnt; in ahd_run_data_fifo() local
1442 datacnt = ahd_inl_scbram(ahd, SCB_DATACNT); in ahd_run_data_fifo()
1443 if ((datacnt & AHD_DMA_LAST_SEG) != 0) { in ahd_run_data_fifo()
1449 ahd_outl(ahd, HCNT, datacnt & AHD_SG_LEN_MASK); in ahd_run_data_fifo()
1456 ahd_outb(ahd, SCB_RESIDUAL_DATACNT+3, datacnt >> 24); in ahd_run_data_fifo()
3583 ahd_le32toh(hscb->datacnt),
H A Daic7xxx_osm.c1539 scb->hscb->datacnt = scb->sg_list->len; in ahc_linux_run_command()
1543 scb->hscb->datacnt = 0; in ahc_linux_run_command()
H A Daic7xxx_core.c1133 hscb->datacnt = sg->len; in ahc_handle_seqint()
2094 ahc_le32toh(hscb->datacnt),
/openbmc/linux/drivers/scsi/lpfc/
H A Dlpfc_scsi.c1673 struct ulp_bde64 *bpl, int datacnt, int protcnt) in lpfc_bg_setup_bpl_prot() argument
2099 struct sli4_sge *sgl, int datacnt, int protcnt, in lpfc_bg_setup_sgl_prot() argument