Searched refs:atp_dev (Results 1 – 1 of 1) sorted by relevance
2513 struct atp_unit *atp_dev = (struct atp_unit *)&host->hostdata; in atp870u_free_tables() local2517 if (!atp_dev->id[j][k].prd_table) in atp870u_free_tables()2519 pci_free_consistent(atp_dev->pdev, 1024, atp_dev->id[j][k].prd_table, atp_dev->id[j][k].prd_bus); in atp870u_free_tables()2520 atp_dev->id[j][k].prd_table = NULL; in atp870u_free_tables()2527 struct atp_unit *atp_dev = (struct atp_unit *)&host->hostdata; in atp870u_init_tables() local2531 …atp_dev->id[c][k].prd_table = pci_alloc_consistent(atp_dev->pdev, 1024, &(atp_dev->id[c][k].prd_bu… in atp870u_init_tables()2532 if (!atp_dev->id[c][k].prd_table) { in atp870u_init_tables()2537 atp_dev->id[c][k].prdaddr = atp_dev->id[c][k].prd_bus; in atp870u_init_tables()2538 atp_dev->id[c][k].devsp=0x20; in atp870u_init_tables()2539 atp_dev->id[c][k].devtype = 0x7f; in atp870u_init_tables()[all …]