Lines Matching refs:epthru

520 	mega_ext_passthru	*epthru;  in mega_build_cmd()  local
908 epthru = mega_prepare_extpassthru(adapter, scb, cmd, in mega_build_cmd()
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()
1590 epthru->reqsensearea, 14); in mega_cmd_done()
1832 if( scb->epthru ) { in mega_free_sgl()
1835 scb->epthru, scb->epthru_dma_addr); in mega_free_sgl()
1837 scb->epthru = NULL; in mega_free_sgl()
2885 scb->epthru = NULL; in mega_init_scb()
2916 scb->epthru = pci_alloc_consistent(adapter->dev, in mega_init_scb()
2920 if( !scb->epthru ) { in mega_init_scb()