aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/firewire/fw-transaction.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/firewire/fw-transaction.h')
-rw-r--r--drivers/firewire/fw-transaction.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/firewire/fw-transaction.h b/drivers/firewire/fw-transaction.h
index 48e88d53998b..212a10293828 100644
--- a/drivers/firewire/fw-transaction.h
+++ b/drivers/firewire/fw-transaction.h
@@ -82,6 +82,7 @@
82#define CSR_SPEED_MAP 0x2000 82#define CSR_SPEED_MAP 0x2000
83#define CSR_SPEED_MAP_END 0x3000 83#define CSR_SPEED_MAP_END 0x3000
84 84
85#define BANDWIDTH_AVAILABLE_INITIAL 4915
85#define BROADCAST_CHANNEL_INITIAL (1 << 31 | 31) 86#define BROADCAST_CHANNEL_INITIAL (1 << 31 | 31)
86#define BROADCAST_CHANNEL_VALID (1 << 30) 87#define BROADCAST_CHANNEL_VALID (1 << 30)
87 88
@@ -343,6 +344,9 @@ int fw_iso_context_start(struct fw_iso_context *ctx,
343int fw_iso_context_stop(struct fw_iso_context *ctx); 344int fw_iso_context_stop(struct fw_iso_context *ctx);
344void fw_iso_context_destroy(struct fw_iso_context *ctx); 345void fw_iso_context_destroy(struct fw_iso_context *ctx);
345 346
347void fw_iso_resource_manage(struct fw_card *card, int generation,
348 u64 channels_mask, int *channel, int *bandwidth, bool allocate);
349
346struct fw_card_driver { 350struct fw_card_driver {
347 /* 351 /*
348 * Enable the given card with the given initial config rom. 352 * Enable the given card with the given initial config rom.