Lines Matching refs:extract64

387     hwaddr addr = cpu_to_le64(extract64(cmd[0], 3, 49)) << 3;  in amdvi_completion_wait()
390 if (extract64(cmd[0], 52, 8)) { in amdvi_completion_wait()
391 amdvi_log_illegalcom_error(s, extract64(cmd[0], 60, 4), in amdvi_completion_wait()
394 if (extract64(cmd[0], 0, 1)) { in amdvi_completion_wait()
402 if (extract64(cmd[0], 1, 1)) { in amdvi_completion_wait()
413 uint16_t devid = cpu_to_le16((uint16_t)extract64(cmd[0], 0, 16)); in amdvi_inval_devtab_entry()
416 if (extract64(cmd[0], 16, 44) || cmd[1]) { in amdvi_inval_devtab_entry()
417 amdvi_log_illegalcom_error(s, extract64(cmd[0], 60, 4), in amdvi_inval_devtab_entry()
426 if (extract64(cmd[0], 16, 16) || extract64(cmd[0], 52, 8) || in amdvi_complete_ppr()
427 extract64(cmd[1], 0, 2) || extract64(cmd[1], 3, 29) in amdvi_complete_ppr()
428 || extract64(cmd[1], 48, 16)) { in amdvi_complete_ppr()
429 amdvi_log_illegalcom_error(s, extract64(cmd[0], 60, 4), in amdvi_complete_ppr()
443 if (extract64(cmd[0], 0, 60) || cmd[1]) { in amdvi_inval_all()
444 amdvi_log_illegalcom_error(s, extract64(cmd[0], 60, 4), in amdvi_inval_all()
466 uint16_t domid = cpu_to_le16((uint16_t)extract64(cmd[0], 32, 16)); in amdvi_inval_pages()
468 if (extract64(cmd[0], 20, 12) || extract64(cmd[0], 48, 12) || in amdvi_inval_pages()
469 extract64(cmd[1], 3, 9)) { in amdvi_inval_pages()
470 amdvi_log_illegalcom_error(s, extract64(cmd[0], 60, 4), in amdvi_inval_pages()
481 if (extract64(cmd[0], 16, 8) || extract64(cmd[0], 52, 8) || in amdvi_prefetch_pages()
482 extract64(cmd[1], 1, 1) || extract64(cmd[1], 3, 1) || in amdvi_prefetch_pages()
483 extract64(cmd[1], 5, 7)) { in amdvi_prefetch_pages()
484 amdvi_log_illegalcom_error(s, extract64(cmd[0], 60, 4), in amdvi_prefetch_pages()
493 if (extract64(cmd[0], 16, 44) || cmd[1]) { in amdvi_inval_inttable()
494 amdvi_log_illegalcom_error(s, extract64(cmd[0], 60, 4), in amdvi_inval_inttable()
511 uint16_t devid = extract64(cmd[0], 0, 16); in iommu_inval_iotlb()
512 if (extract64(cmd[1], 1, 1) || extract64(cmd[1], 3, 1) || in iommu_inval_iotlb()
513 extract64(cmd[1], 6, 6)) { in iommu_inval_iotlb()
514 amdvi_log_illegalcom_error(s, extract64(cmd[0], 60, 4), in iommu_inval_iotlb()
519 if (extract64(cmd[1], 0, 1)) { in iommu_inval_iotlb()
523 amdvi_iotlb_remove_page(s, cpu_to_le64(extract64(cmd[1], 12, 52)) << 12, in iommu_inval_iotlb()
524 cpu_to_le16(extract64(cmd[1], 0, 16))); in iommu_inval_iotlb()
541 switch (extract64(cmd[0], 60, 4)) { in amdvi_cmdbuf_exec()
567 trace_amdvi_unhandled_command(extract64(cmd[1], 60, 4)); in amdvi_cmdbuf_exec()
569 amdvi_log_illegalcom_error(s, extract64(cmd[1], 60, 4), in amdvi_cmdbuf_exec()