• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/scsi/

Lines Matching refs:cfgtable

3170 	struct CfgTable __iomem *cfgtable;
3218 /* find cfgtable in order to check if reset via doorbell is supported */
3223 cfgtable = remap_pci_mem(pci_resource_start(pdev,
3224 cfg_base_addr_index) + cfg_offset, sizeof(*cfgtable));
3225 if (!cfgtable) {
3231 misc_fw_support = readl(&cfgtable->misc_fw_support);
3269 active_transport = readl(&cfgtable->TransportActive);
3277 iounmap(cfgtable);
3500 h->cfgtable = remap_pci_mem(pci_resource_start(h->pdev,
3501 cfg_base_addr_index) + cfg_offset, sizeof(*h->cfgtable));
3502 if (!h->cfgtable)
3505 trans_offset = readl(&h->cfgtable->TransMethodOffset);
3516 h->max_commands = readl(&(h->cfgtable->MaxPerformantModeCommands));
3534 h->maxsgentries = readl(&(h->cfgtable->MaxScatterGatherElements));
3552 if ((readb(&h->cfgtable->Signature[0]) != 'C') ||
3553 (readb(&h->cfgtable->Signature[1]) != 'I') ||
3554 (readb(&h->cfgtable->Signature[2]) != 'S') ||
3555 (readb(&h->cfgtable->Signature[3]) != 'S')) {
3568 prefetch = readl(&(h->cfgtable->SCSI_Prefetch));
3570 writel(prefetch, &(h->cfgtable->SCSI_Prefetch));
3608 trans_support = readl(&(h->cfgtable->TransportSupport));
3612 h->max_commands = readl(&(h->cfgtable->CmdsOutMax));
3614 writel(CFGTBL_Trans_Simple, &(h->cfgtable->HostWrite.TransportRequest));
3617 print_cfg_table(&h->pdev->dev, h->cfgtable);
3618 if (!(readl(&(h->cfgtable->TransportActive)) & CFGTBL_Trans_Simple)) {
3683 if (h->cfgtable)
3684 iounmap(h->cfgtable);
3929 iounmap(h->cfgtable);
4058 &(h->cfgtable->HostWrite.TransportRequest));
4061 register_value = readl(&(h->cfgtable->TransportActive));
4073 trans_support = readl(&(h->cfgtable->TransportSupport));