Home
last modified time | relevance | path

Searched refs:cur_dev (Results 1 – 2 of 2) sorted by relevance

/drivers/ide/
Dide-io.c493 ide_drive_t *cur_dev = in ide_issue_rq() local
494 prev_port ? prev_port->cur_dev : NULL; in ide_issue_rq()
500 if (cur_dev && in ide_issue_rq()
501 (cur_dev->dev_flags & IDE_DFLAG_NIEN_QUIRK) == 0) in ide_issue_rq()
508 hwif->cur_dev = drive; in ide_issue_rq()
642 drive = hwif->cur_dev; in ide_timer_expiry()
828 drive = hwif->cur_dev; in ide_intr()
/drivers/infiniband/core/
Dcma.c771 struct cma_device *cma_dev, *cur_dev; in cma_resolve_ib_dev() local
786 list_for_each_entry(cur_dev, &dev_list, list) { in cma_resolve_ib_dev()
787 rdma_for_each_port (cur_dev->device, p) { in cma_resolve_ib_dev()
788 if (!rdma_cap_af_ib(cur_dev->device, p)) in cma_resolve_ib_dev()
791 if (ib_find_cached_pkey(cur_dev->device, p, pkey, &index)) in cma_resolve_ib_dev()
794 if (ib_get_cached_port_state(cur_dev->device, p, &port_state)) in cma_resolve_ib_dev()
797 for (i = 0; i < cur_dev->device->port_data[p].immutable.gid_tbl_len; in cma_resolve_ib_dev()
799 ret = rdma_query_gid(cur_dev->device, p, i, in cma_resolve_ib_dev()
805 cma_dev = cur_dev; in cma_resolve_ib_dev()
814 cma_dev = cur_dev; in cma_resolve_ib_dev()
[all …]