Home
last modified time | relevance | path

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

/openbmc/linux/drivers/scsi/isci/
H A Drequest.c2174 struct dev_to_host_fis *d2h = &ireq->stp.rsp; in atapi_data_tc_completion_handler() local
2188 if (d2h->fis_type != FIS_REGD2H) { in atapi_data_tc_completion_handler()
2189 d2h->fis_type = FIS_REGD2H; in atapi_data_tc_completion_handler()
2190 d2h->flags = (1 << 6); in atapi_data_tc_completion_handler()
2191 d2h->status = 0x50; in atapi_data_tc_completion_handler()
2192 d2h->error = 0; in atapi_data_tc_completion_handler()
2193 d2h->lbal = 0; in atapi_data_tc_completion_handler()
2194 d2h->byte_count_low = len & 0xff; in atapi_data_tc_completion_handler()
2195 d2h->byte_count_high = len >> 8; in atapi_data_tc_completion_handler()
2196 d2h->device = 0xa0; in atapi_data_tc_completion_handler()
[all …]
/openbmc/qemu/tests/qtest/
H A Dahci-test.c910 RegD2HFIS *d2h = g_malloc0(0x20); in ahci_test_max() local
923 qtest_memread(ahci->parent->qts, ahci->port[port].fb + 0x40, d2h, 0x20); in ahci_test_max()
924 nsect = (uint64_t)d2h->lba_hi[2] << 40 | in ahci_test_max()
925 (uint64_t)d2h->lba_hi[1] << 32 | in ahci_test_max()
926 (uint64_t)d2h->lba_hi[0] << 24 | in ahci_test_max()
927 (uint64_t)d2h->lba_lo[2] << 16 | in ahci_test_max()
928 (uint64_t)d2h->lba_lo[1] << 8 | in ahci_test_max()
929 (uint64_t)d2h->lba_lo[0]; in ahci_test_max()
932 g_free(d2h); in ahci_test_max()
/openbmc/qemu/tests/qtest/libqos/
H A Dahci.c520 RegD2HFIS *d2h = g_malloc0(0x20); in ahci_port_check_d2h_sanity() local
523 qtest_memread(ahci->parent->qts, ahci->port[port].fb + 0x40, d2h, 0x20); in ahci_port_check_d2h_sanity()
524 g_assert_cmphex(d2h->fis_type, ==, 0x34); in ahci_port_check_d2h_sanity()
527 g_assert_cmphex((reg & AHCI_PX_TFD_ERR) >> 8, ==, d2h->error); in ahci_port_check_d2h_sanity()
528 g_assert_cmphex((reg & AHCI_PX_TFD_STS), ==, d2h->status); in ahci_port_check_d2h_sanity()
530 g_free(d2h); in ahci_port_check_d2h_sanity()
/openbmc/qemu/fpu/
H A Dsoftfloat-parts.c.inc705 uint64_t d0h, d0l, d1h, d1l, d2h, d2l;
863 add128(sh, sl, 0, 1, &d2h, &d2l);
864 add128(d2h, d2l, d1h, d1l, &d2h, &d2l);
869 if (d2h | d2l) {
870 if ((int64_t)(d1h ^ d2h) < 0) {
/openbmc/linux/drivers/scsi/hisi_sas/
H A Dhisi_sas_main.c110 struct dev_to_host_fis *d2h = (struct dev_to_host_fis *)iu; in hisi_sas_sata_done() local
113 memcpy(&resp->ending_fis[0], d2h, sizeof(struct dev_to_host_fis)); in hisi_sas_sata_done()