Lines Matching refs:epthru

1014 				  pScb->epthru->dataxferlen,  in mega_freeSCB()
1163 mega_ext_passthru *epthru; in mega_cmd_done() local
1177 epthru = pScb->epthru; in mega_cmd_done()
1180 epthru = &pScb->epthru; in mega_cmd_done()
1282 memcpy( SCpnt->sense_buffer, epthru->reqsensearea, 14); in mega_cmd_done()
1330 mega_ext_passthru *epthru; in mega_build_cmd() local
1688 epthru = mega_prepare_extpassthru(megaCfg, pScb, SCpnt, channel, in mega_build_cmd()
1694 if(epthru->numsgelements) { in mega_build_cmd()
1700 mbox->xferaddr = virt_to_bus(epthru); in mega_build_cmd()
1846 mega_ext_passthru *epthru; in mega_prepare_extpassthru() local
1849 epthru = scb->epthru; in mega_prepare_extpassthru()
1851 epthru = &scb->epthru; in mega_prepare_extpassthru()
1853 memset(epthru, 0, sizeof(mega_ext_passthru)); in mega_prepare_extpassthru()
1857 epthru->timeout = 2; in mega_prepare_extpassthru()
1858 epthru->ars = 1; in mega_prepare_extpassthru()
1859 epthru->reqsenselen = 14; in mega_prepare_extpassthru()
1860 epthru->islogical = 0; in mega_prepare_extpassthru()
1861 epthru->channel = (megacfg->flag & BOARD_40LD) ? 0 : channel; in mega_prepare_extpassthru()
1862 epthru->target = (megacfg->flag & BOARD_40LD) ? in mega_prepare_extpassthru()
1864 epthru->cdblen = sc->cmd_len; in mega_prepare_extpassthru()
1865 epthru->logdrv = sc->lun; in mega_prepare_extpassthru()
1867 memcpy(epthru->cdb, sc->cmnd, sc->cmd_len); in mega_prepare_extpassthru()
1885 epthru->numsgelements = 0; in mega_prepare_extpassthru()
1886 epthru->dataxferaddr = scb->dma_bounce_buffer; in mega_prepare_extpassthru()
1887 epthru->dataxferlen = sc->request_bufflen; in mega_prepare_extpassthru()
1890 epthru->numsgelements = in mega_prepare_extpassthru()
1892 megacfg, scb, (u32 *)&epthru->dataxferaddr, in mega_prepare_extpassthru()
1893 (u32 *)&epthru->dataxferlen in mega_prepare_extpassthru()
1898 epthru->numsgelements = in mega_prepare_extpassthru()
1900 megacfg, scb, (u32 *)&epthru->dataxferaddr, in mega_prepare_extpassthru()
1901 (u32 *)&epthru->dataxferlen in mega_prepare_extpassthru()
1904 return epthru; in mega_prepare_extpassthru()
4678 megacfg->scbList[idx].epthru =
4684 if (megacfg->scbList[idx].epthru == NULL) {