Home
last modified time | relevance | path

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

/openbmc/linux/drivers/scsi/
H A D53c700.h278 #define bS_to_host(x) (bSWAP ? cpu_to_le32(x) : (x)) macro
431 (script)[A_##symbol##_used[i]] = bS_to_host(val); \
443 (script)[A_##symbol##_used[i]] = bS_to_host(da); \
458 (script)[A_##symbol##_used[i]] = bS_to_host(val); \
472 (script)[A_##symbol##_used[i]] = bS_to_host(val); \
H A D53c700.c360 script[j] = bS_to_host(SCRIPT[j]); in NCR_700_detect()
364 script[LABELPATCHES[j]] = bS_to_host(pScript + SCRIPT[LABELPATCHES[j]]); in NCR_700_detect()
1033 slot->SG[0].pAddr = bS_to_host(slot->dma_handle); in process_script_interrupt()
1034 slot->SG[1].ins = bS_to_host(SCRIPT_RETURN); in process_script_interrupt()
1630 slot->SG[SGcount].ins &= bS_to_host(0xff000000); in NCR_700_intr()
1631 slot->SG[SGcount].ins |= bS_to_host(data_transfer); in NCR_700_intr()
1639 slot->SG[SGcount].pAddr = bS_to_host(pAddr); in NCR_700_intr()
1643 slot->SG[i].ins = bS_to_host(SCRIPT_NOP); in NCR_700_intr()
1885 slot->SG[i].ins = bS_to_host(move_ins | count); in NCR_700_queuecommand_lck()
1888 slot->SG[i].pAddr = bS_to_host(vPtr); in NCR_700_queuecommand_lck()
[all …]