Searched refs:datacnt (Results 1 – 10 of 10) sorted by relevance
/openbmc/qemu/hw/sd/ |
H A D | pl181.c | 44 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 D | bcm2835_sdhost.c | 191 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 D | sdhci.c | 673 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 D | bcm2835_sdhost.h | 43 uint32_t datacnt; member
|
/openbmc/linux/drivers/scsi/aic7xxx/ |
H A D | aic7xxx.h | 455 /*16*/ uint32_t datacnt; /* member
|
H A D | aic79xx.h | 501 /*32*/ uint32_t datacnt; /* Byte 3 is spare. */ member
|
H A D | aic79xx_core.c | 461 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 D | aic7xxx_osm.c | 1539 scb->hscb->datacnt = scb->sg_list->len; in ahc_linux_run_command() 1543 scb->hscb->datacnt = 0; in ahc_linux_run_command()
|
H A D | aic7xxx_core.c | 1133 hscb->datacnt = sg->len; in ahc_handle_seqint() 2094 ahc_le32toh(hscb->datacnt),
|
/openbmc/linux/drivers/scsi/lpfc/ |
H A D | lpfc_scsi.c | 1673 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
|