Lines Matching refs:epthru
1245 mega_ext_passthru *epthru; in mega_build_cmd() local
1635 epthru = mega_prepare_extpassthru(adapter, scb, cmd, in mega_build_cmd()
1743 mega_ext_passthru *epthru; in mega_prepare_extpassthru() local
1745 epthru = scb->epthru; in mega_prepare_extpassthru()
1746 memset(epthru, 0, sizeof(mega_ext_passthru)); in mega_prepare_extpassthru()
1749 epthru->timeout = 4; in mega_prepare_extpassthru()
1751 epthru->ars = 1; in mega_prepare_extpassthru()
1752 epthru->reqsenselen = 14; in mega_prepare_extpassthru()
1753 epthru->islogical = 0; in mega_prepare_extpassthru()
1755 epthru->channel = (adapter->flag & BOARD_40LD) ? 0 : channel; in mega_prepare_extpassthru()
1756 epthru->target = (adapter->flag & BOARD_40LD) ? in mega_prepare_extpassthru()
1759 epthru->cdblen = cmd->cmd_len; in mega_prepare_extpassthru()
1760 epthru->logdrv = cmd->lun; in mega_prepare_extpassthru()
1762 memcpy(epthru->cdb, cmd->cmnd, cmd->cmd_len); in mega_prepare_extpassthru()
1782 epthru->numsgelements = mega_build_sglist(adapter, scb, in mega_prepare_extpassthru()
1783 &epthru->dataxferaddr, &epthru->dataxferlen); in mega_prepare_extpassthru()
1787 return epthru; in mega_prepare_extpassthru()
1930 mega_ext_passthru *epthru = NULL; in mega_cmd_done() local
1965 epthru = scb->epthru; in mega_cmd_done()
2103 epthru->reqsensearea, 14); in mega_cmd_done()
2591 if( scb->epthru ) { in mega_free_sgl()
2594 scb->epthru, scb->epthru_dma_addr); in mega_free_sgl()
2596 scb->epthru = NULL; in mega_free_sgl()
4092 scb->epthru = NULL; in mega_init_scb()
4123 scb->epthru = pci_alloc_consistent(adapter->dev, in mega_init_scb()
4127 if( !scb->epthru ) { in mega_init_scb()