Searched refs:cur_dev (Results 1 – 2 of 2) sorted by relevance
/drivers/ide/ |
D | ide-io.c | 490 ide_drive_t *cur_dev = in ide_issue_rq() local 491 prev_port ? prev_port->cur_dev : NULL; in ide_issue_rq() 497 if (cur_dev && in ide_issue_rq() 498 (cur_dev->dev_flags & IDE_DFLAG_NIEN_QUIRK) == 0) in ide_issue_rq() 505 hwif->cur_dev = drive; in ide_issue_rq() 644 drive = hwif->cur_dev; in ide_timer_expiry() 830 drive = hwif->cur_dev; in ide_intr()
|
/drivers/infiniband/core/ |
D | cma.c | 812 struct cma_device *cma_dev, *cur_dev; in cma_resolve_ib_dev() local 826 list_for_each_entry(cur_dev, &dev_list, list) { in cma_resolve_ib_dev() 827 for (p = 1; p <= cur_dev->device->phys_port_cnt; ++p) { in cma_resolve_ib_dev() 828 if (!rdma_cap_af_ib(cur_dev->device, p)) in cma_resolve_ib_dev() 831 if (ib_find_cached_pkey(cur_dev->device, p, pkey, &index)) in cma_resolve_ib_dev() 834 if (ib_get_cached_port_state(cur_dev->device, p, &port_state)) in cma_resolve_ib_dev() 836 for (i = 0; !rdma_query_gid(cur_dev->device, in cma_resolve_ib_dev() 840 cma_dev = cur_dev; in cma_resolve_ib_dev() 849 cma_dev = cur_dev; in cma_resolve_ib_dev() 2968 struct cma_device *cma_dev, *cur_dev; in cma_bind_loopback() local [all …]
|