Lines Matching refs:epthru
1019 mega_ext_passthru *epthru; in mega_prepare_extpassthru() local
1021 epthru = scb->epthru; in mega_prepare_extpassthru()
1022 memset(epthru, 0, sizeof(mega_ext_passthru)); in mega_prepare_extpassthru()
1025 epthru->timeout = 2; in mega_prepare_extpassthru()
1027 epthru->ars = 1; in mega_prepare_extpassthru()
1028 epthru->reqsenselen = 14; in mega_prepare_extpassthru()
1029 epthru->islogical = 0; in mega_prepare_extpassthru()
1031 epthru->channel = (adapter->flag & BOARD_40LD) ? 0 : channel; in mega_prepare_extpassthru()
1032 epthru->target = (adapter->flag & BOARD_40LD) ? in mega_prepare_extpassthru()
1035 epthru->cdblen = cmd->cmd_len; in mega_prepare_extpassthru()
1036 epthru->logdrv = cmd->device->lun; in mega_prepare_extpassthru()
1038 memcpy(epthru->cdb, cmd->cmnd, cmd->cmd_len); in mega_prepare_extpassthru()
1058 epthru->numsgelements = mega_build_sglist(adapter, scb, in mega_prepare_extpassthru()
1059 &epthru->dataxferaddr, &epthru->dataxferlen); in mega_prepare_extpassthru()
1063 return epthru; in mega_prepare_extpassthru()
1416 mega_ext_passthru *epthru = NULL; in mega_cmd_done() local
1504 epthru = scb->epthru; in mega_cmd_done()
1590 epthru->reqsensearea, 14); in mega_cmd_done()
1822 if( scb->epthru ) { in mega_free_sgl()
1825 scb->epthru, scb->epthru_dma_addr); in mega_free_sgl()
1827 scb->epthru = NULL; in mega_free_sgl()
2869 scb->epthru = NULL; in mega_init_scb()
2900 scb->epthru = dma_alloc_coherent(&adapter->dev->dev, in mega_init_scb()
2904 if( !scb->epthru ) { in mega_init_scb()