Lines Matching full:resources
14 #include "iso-resources.h"
51 dev_err(&c->resources.unit->device, "%cPCR%u: %pV", in cmp_error()
87 c->resources.unit, TCODE_LOCK_COMPARE_SWAP, in pcr_modify()
89 FW_FIXED_GENERATION | c->resources.generation); in pcr_modify()
139 err = fw_iso_resources_init(&c->resources, unit); in cmp_connection_init()
166 c->resources.unit, TCODE_READ_QUADLET_REQUEST, in cmp_connection_check_used()
177 * cmp_connection_destroy - free connection manager resources
184 fw_iso_resources_destroy(&c->resources); in cmp_connection_destroy()
195 if (WARN_ON(c->resources.allocated)) { in cmp_connection_reserve()
201 fw_parent_device(c->resources.unit)->max_speed); in cmp_connection_reserve()
203 err = fw_iso_resources_allocate(&c->resources, max_payload_bytes, in cmp_connection_reserve()
215 fw_iso_resources_free(&c->resources); in cmp_connection_release()
226 ipcr |= cpu_to_be32(c->resources.channel << PCR_CHANNEL_SHIFT); in ipcr_set_modify()
241 if (c->resources.bandwidth_overhead < (id << 5)) in get_overhead_id()
271 opcr |= cpu_to_be32(c->resources.channel << PCR_CHANNEL_SHIFT); in opcr_set_modify()
298 * computer to the target by allocating isochronous resources (channel and
323 err = fw_iso_resources_update(&c->resources); in cmp_connection_establish()
346 * control register, and frees the isochronous resources of the connection.