Home
last modified time | relevance | path

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

/linux/drivers/infiniband/core/
H A Ducaps.c95 * ib_ucaps_init - Initialization required before ucap creation.
124 struct ib_ucap *ucap = container_of(device, struct ib_ucap, dev); in ucap_dev_release()
126 kfree(ucap); in ucap_dev_release() local
130 * ib_create_ucap - Add a ucap character device
133 * Creates a ucap character device in the /dev/infiniband directory. By default,
143 struct ib_ucap *ucap; in ib_create_ucap()
154 ucap = ucaps_list[type]; in ib_create_ucap()
155 if (ucap) { in ib_create_ucap()
156 kref_get(&ucap->ref); in ib_create_ucap()
161 ucap in ib_create_ucap()
145 struct ib_ucap *ucap; ib_create_ucap() local
200 struct ib_ucap *ucap = container_of(ref, struct ib_ucap, ref); ib_release_ucap() local
223 struct ib_ucap *ucap; ib_remove_ucap() local
[all...]
/linux/drivers/thunderbolt/
H A Dtmu.c359 bool enhanced, ucap; in tmu_mode_init() local
362 ucap = tb_switch_tmu_ucap_is_supported(sw); in tmu_mode_init()
363 if (ucap) in tmu_mode_init()
382 } else if (ucap && tb_port_tmu_is_unidirectional(up)) { in tmu_mode_init()
396 sw->tmu.has_ucap = ucap; in tmu_mode_init()