Searched refs:atp_dev (Results 1 – 1 of 1) sorted by relevance
1250 struct atp_unit *atp_dev = (struct atp_unit *)&host->hostdata; in atp870u_free_tables() local1254 if (!atp_dev->id[j][k].prd_table) in atp870u_free_tables()1256 dma_free_coherent(&atp_dev->pdev->dev, 1024, in atp870u_free_tables()1257 atp_dev->id[j][k].prd_table, in atp870u_free_tables()1258 atp_dev->id[j][k].prd_bus); in atp870u_free_tables()1259 atp_dev->id[j][k].prd_table = NULL; in atp870u_free_tables()1266 struct atp_unit *atp_dev = (struct atp_unit *)&host->hostdata; in atp870u_init_tables() local1270 atp_dev->id[c][k].prd_table = in atp870u_init_tables()1271 dma_alloc_coherent(&atp_dev->pdev->dev, 1024, in atp870u_init_tables()1272 &(atp_dev->id[c][k].prd_bus), in atp870u_init_tables()[all …]