Lines Matching refs:atp_dev

1238 	struct atp_unit *atp_dev = (struct atp_unit *)&host->hostdata;  in atp870u_free_tables()  local
1242 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() local
1258 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()
1262 if (!atp_dev->id[c][k].prd_table) { in atp870u_init_tables()
1267 atp_dev->id[c][k].prdaddr = atp_dev->id[c][k].prd_bus; in atp870u_init_tables()
1268 atp_dev->id[c][k].devsp=0x20; in atp870u_init_tables()
1269 atp_dev->id[c][k].devtype = 0x7f; in atp870u_init_tables()
1270 atp_dev->id[c][k].curr_req = NULL; in atp870u_init_tables()
1273 atp_dev->active_id[c] = 0; in atp870u_init_tables()
1274 atp_dev->wide_id[c] = 0; in atp870u_init_tables()
1275 atp_dev->host_id[c] = 0x07; in atp870u_init_tables()
1276 atp_dev->quhd[c] = 0; in atp870u_init_tables()
1277 atp_dev->quend[c] = 0; in atp870u_init_tables()
1278 atp_dev->last_cmd[c] = 0xff; in atp870u_init_tables()
1279 atp_dev->in_snd[c] = 0; in atp870u_init_tables()
1280 atp_dev->in_int[c] = 0; in atp870u_init_tables()
1283 atp_dev->quereq[c][k] = NULL; in atp870u_init_tables()
1286 atp_dev->id[c][k].curr_req = NULL; in atp870u_init_tables()
1287 atp_dev->sp[c][k] = 0x04; in atp870u_init_tables()