Home
last modified time | relevance | path

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

/openbmc/qemu/hw/block/
H A Dfdc.c163 #define FD_SECTOR_LEN 512 macro
1618 rel_pos = fdctrl->data_pos % FD_SECTOR_LEN; in fdctrl_transfer_handler()
1621 if (len + rel_pos > FD_SECTOR_LEN) in fdctrl_transfer_handler()
1622 len = FD_SECTOR_LEN - rel_pos; in fdctrl_transfer_handler()
1673 uint8_t tmpbuf[FD_SECTOR_LEN]; in fdctrl_transfer_handler()
1731 pos %= FD_SECTOR_LEN; in fdctrl_read_data()
1821 memset(fdctrl->fifo, 0, FD_SECTOR_LEN); in fdctrl_format_sector()
2093 pos %= FD_SECTOR_LEN; in fdctrl_handle_drive_specification_command()
2230 pos %= FD_SECTOR_LEN; in fdctrl_write_data()
2244 if (pos == FD_SECTOR_LEN - 1 || in fdctrl_write_data()
[all …]