Lines Matching refs:epthru
1017 mega_ext_passthru *epthru; in mega_prepare_extpassthru() local
1019 epthru = scb->epthru; in mega_prepare_extpassthru()
1020 memset(epthru, 0, sizeof(mega_ext_passthru)); in mega_prepare_extpassthru()
1023 epthru->timeout = 2; in mega_prepare_extpassthru()
1025 epthru->ars = 1; in mega_prepare_extpassthru()
1026 epthru->reqsenselen = 14; in mega_prepare_extpassthru()
1027 epthru->islogical = 0; in mega_prepare_extpassthru()
1029 epthru->channel = (adapter->flag & BOARD_40LD) ? 0 : channel; in mega_prepare_extpassthru()
1030 epthru->target = (adapter->flag & BOARD_40LD) ? in mega_prepare_extpassthru()
1033 epthru->cdblen = cmd->cmd_len; in mega_prepare_extpassthru()
1034 epthru->logdrv = cmd->device->lun; in mega_prepare_extpassthru()
1036 memcpy(epthru->cdb, cmd->cmnd, cmd->cmd_len); in mega_prepare_extpassthru()
1056 epthru->numsgelements = mega_build_sglist(adapter, scb, in mega_prepare_extpassthru()
1057 &epthru->dataxferaddr, &epthru->dataxferlen); in mega_prepare_extpassthru()
1061 return epthru; in mega_prepare_extpassthru()
1414 mega_ext_passthru *epthru = NULL; in mega_cmd_done() local
1502 epthru = scb->epthru; in mega_cmd_done()
1588 epthru->reqsensearea, 14); in mega_cmd_done()
1826 if( scb->epthru ) { in mega_free_sgl()
1829 scb->epthru, scb->epthru_dma_addr); in mega_free_sgl()
1831 scb->epthru = NULL; in mega_free_sgl()
2873 scb->epthru = NULL; in mega_init_scb()
2904 scb->epthru = dma_alloc_coherent(&adapter->dev->dev, in mega_init_scb()
2908 if( !scb->epthru ) { in mega_init_scb()