Home
last modified time | relevance | path

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

/openbmc/qemu/hw/ide/
H A Dcore.c391 s->nsector = 1; in ide_set_signature()
557 s->bus->retry_nsector = s->nsector; in ide_set_retry()
781 n = s->nsector; in ide_sector_read_cb()
787 s->nsector -= n; in ide_sector_read_cb()
801 n = s->nsector; in ide_sector_read()
901 if (s->io_buffer_size > s->nsector * 512) { in ide_dma_cb()
906 n = s->nsector; in ide_dma_cb()
918 s->nsector -= n; in ide_dma_cb()
922 if (s->nsector == 0) { in ide_dma_cb()
929 n = s->nsector; in ide_dma_cb()
[all …]
H A Datapi.c181 s->nsector = (s->nsector & ~7) | ATAPI_INT_REASON_IO | ATAPI_INT_REASON_CD; in ide_atapi_cmd_ok()
191 s->nsector = (s->nsector & ~7) | ATAPI_INT_REASON_IO | ATAPI_INT_REASON_CD; in ide_atapi_cmd_error()
257 s->nsector = (s->nsector & ~7) | ATAPI_INT_REASON_IO; in ide_atapi_cmd_reply_end()
343 s->nsector = 0; in ide_atapi_cmd_check_status()
387 s->nsector = (s->nsector & ~7) | ATAPI_INT_REASON_IO | ATAPI_INT_REASON_CD; in ide_atapi_cmd_read_dma_cb()
H A Dmacio.c77 s->nsector, io->len, s->status); in pmac_ide_atapi_transfer_cb()
150 s->nsector, io->len, s->status); in pmac_ide_transfer_cb()
394 s->io_buffer_size = s->nsector * BDRV_SECTOR_SIZE; in ide_dbdma_start()
H A Dahci.c639 (ide_state->nsector & 0xFF); in ahci_init_d2h()
649 s->nsector = sig & 0xFF; in ahci_set_signature()
651 trace_ahci_set_signature(ad->hba, ad->port_no, s->nsector, s->sector, in ahci_set_signature()
853 pio_fis[12] = s->nsector & 0xFF; in ahci_write_fis_pio()
854 pio_fis[13] = (s->nsector >> 8) & 0xFF; in ahci_write_fis_pio()
897 d2h_fis[12] = s->nsector & 0xFF; in ahci_write_fis_d2h()
898 d2h_fis[13] = (s->nsector >> 8) & 0xFF; in ahci_write_fis_d2h()
1310 ide_state->nsector = (int64_t)((cmd_fis[13] << 8) | cmd_fis[12]); in handle_reg_h2d_fis()
H A Dtrace-events83 …int port, uint8_t nsector, uint8_t sector, uint8_t lcyl, uint8_t hcyl, uint32_t sig) "ahci(%p)[%d]…
H A Dpci.c233 s->nsector / (BMDMA_PAGE_SIZE / BDRV_SECTOR_SIZE) + 1); in bmdma_prepare_buf()
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-extended/hplip/hplip/
H A D0006-Workaround-patch-for-missing-Python3-transition-of-t.patch65 int ReadSector(int sector, int nsector, void *buf, int size)
68 @@ -59,9 +87,13 @@ int ReadSector(int sector, int nsector,
78 - if( len < nsector*FAT_HARDSECT )
80 + if( len < nsector*FAT_HARDSECT )
/openbmc/qemu/include/hw/ide/
H A Dide-dev.h73 uint32_t nsector; member
/openbmc/linux/include/uapi/linux/
H A Dhdreg.h43 unsigned nsector : 1; member
/openbmc/linux/Documentation/userspace-api/ioctl/
H A Dhdio.rst318 NSECTOR If out_flags.b.nsector is set