Searched refs:atp_dev (Results 1 – 1 of 1) sorted by relevance
1238 struct atp_unit *atp_dev = (struct atp_unit *)&host->hostdata; in atp870u_free_tables() local1242 if (!atp_dev->id[j][k].prd_table) in atp870u_free_tables()1244 dma_free_coherent(&atp_dev->pdev->dev, 1024, in atp870u_free_tables()1245 atp_dev->id[j][k].prd_table, in atp870u_free_tables()1246 atp_dev->id[j][k].prd_bus); in atp870u_free_tables()1247 atp_dev->id[j][k].prd_table = NULL; in atp870u_free_tables()1254 struct atp_unit *atp_dev = (struct atp_unit *)&host->hostdata; in atp870u_init_tables() local1258 atp_dev->id[c][k].prd_table = in atp870u_init_tables()1259 dma_alloc_coherent(&atp_dev->pdev->dev, 1024, in atp870u_init_tables()1260 &(atp_dev->id[c][k].prd_bus), in atp870u_init_tables()[all …]