aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/firewire/fw-transaction.h
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@redhat.com>2007-05-07 20:33:34 -0400
committerStefan Richter <stefanr@s5r6.in-berlin.de>2007-05-10 12:24:13 -0400
commita98e27198771d066934a263177673ebde797e8fb (patch)
treedf1001fa936fb739d30a60e2e25fbd7d60264397 /drivers/firewire/fw-transaction.h
parent6a5033be96edb3536d158072ee796393fdffe1ca (diff)
firewire: Coding style cleanup: no spaces after function names.
Signed-off-by: Kristian Hoegsberg <krh@redhat.com> Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Diffstat (limited to 'drivers/firewire/fw-transaction.h')
-rw-r--r--drivers/firewire/fw-transaction.h42
1 files changed, 21 insertions, 21 deletions
diff --git a/drivers/firewire/fw-transaction.h b/drivers/firewire/fw-transaction.h
index 1b7e4dc6c2c1..a1507cf8d764 100644
--- a/drivers/firewire/fw-transaction.h
+++ b/drivers/firewire/fw-transaction.h
@@ -172,11 +172,11 @@ struct fw_descriptor {
172 const u32 *data; 172 const u32 *data;
173}; 173};
174 174
175int fw_core_add_descriptor (struct fw_descriptor *desc); 175int fw_core_add_descriptor(struct fw_descriptor *desc);
176void fw_core_remove_descriptor (struct fw_descriptor *desc); 176void fw_core_remove_descriptor(struct fw_descriptor *desc);
177 177
178typedef void (*fw_packet_callback_t) (struct fw_packet *packet, 178typedef void (*fw_packet_callback_t)(struct fw_packet *packet,
179 struct fw_card *card, int status); 179 struct fw_card *card, int status);
180 180
181typedef void (*fw_transaction_callback_t)(struct fw_card *card, int rcode, 181typedef void (*fw_transaction_callback_t)(struct fw_card *card, int rcode,
182 void *data, 182 void *data,
@@ -239,7 +239,7 @@ struct fw_transaction {
239static inline struct fw_packet * 239static inline struct fw_packet *
240fw_packet(struct list_head *l) 240fw_packet(struct list_head *l)
241{ 241{
242 return list_entry (l, struct fw_packet, link); 242 return list_entry(l, struct fw_packet, link);
243} 243}
244 244
245struct fw_address_handler { 245struct fw_address_handler {
@@ -350,11 +350,11 @@ struct fw_iso_packet {
350 350
351struct fw_iso_context; 351struct fw_iso_context;
352 352
353typedef void (*fw_iso_callback_t) (struct fw_iso_context *context, 353typedef void (*fw_iso_callback_t)(struct fw_iso_context *context,
354 u32 cycle, 354 u32 cycle,
355 size_t header_length, 355 size_t header_length,
356 void *header, 356 void *header,
357 void *data); 357 void *data);
358 358
359/* 359/*
360 * An iso buffer is just a set of pages mapped for DMA in the 360 * An iso buffer is just a set of pages mapped for DMA in the
@@ -420,23 +420,23 @@ struct fw_card_driver {
420 * enable the PHY or set the link_on bit and initiate a bus 420 * enable the PHY or set the link_on bit and initiate a bus
421 * reset. 421 * reset.
422 */ 422 */
423 int (*enable) (struct fw_card *card, u32 *config_rom, size_t length); 423 int (*enable)(struct fw_card *card, u32 *config_rom, size_t length);
424 424
425 int (*update_phy_reg) (struct fw_card *card, int address, 425 int (*update_phy_reg)(struct fw_card *card, int address,
426 int clear_bits, int set_bits); 426 int clear_bits, int set_bits);
427 427
428 /* 428 /*
429 * Update the config rom for an enabled card. This function 429 * Update the config rom for an enabled card. This function
430 * should change the config rom that is presented on the bus 430 * should change the config rom that is presented on the bus
431 * an initiate a bus reset. 431 * an initiate a bus reset.
432 */ 432 */
433 int (*set_config_rom) (struct fw_card *card, 433 int (*set_config_rom)(struct fw_card *card,
434 u32 *config_rom, size_t length); 434 u32 *config_rom, size_t length);
435 435
436 void (*send_request) (struct fw_card *card, struct fw_packet *packet); 436 void (*send_request)(struct fw_card *card, struct fw_packet *packet);
437 void (*send_response) (struct fw_card *card, struct fw_packet *packet); 437 void (*send_response)(struct fw_card *card, struct fw_packet *packet);
438 /* Calling cancel is valid once a packet has been submitted. */ 438 /* Calling cancel is valid once a packet has been submitted. */
439 int (*cancel_packet) (struct fw_card *card, struct fw_packet *packet); 439 int (*cancel_packet)(struct fw_card *card, struct fw_packet *packet);
440 440
441 /* 441 /*
442 * Allow the specified node ID to do direct DMA out and in of 442 * Allow the specified node ID to do direct DMA out and in of
@@ -446,10 +446,10 @@ struct fw_card_driver {
446 * doesn't support this, -ESTALE if the generation doesn't 446 * doesn't support this, -ESTALE if the generation doesn't
447 * match. 447 * match.
448 */ 448 */
449 int (*enable_phys_dma) (struct fw_card *card, 449 int (*enable_phys_dma)(struct fw_card *card,
450 int node_id, int generation); 450 int node_id, int generation);
451 451
452 u64 (*get_bus_time) (struct fw_card *card); 452 u64 (*get_bus_time)(struct fw_card *card);
453 453
454 struct fw_iso_context * 454 struct fw_iso_context *
455 (*allocate_iso_context)(struct fw_card *card, 455 (*allocate_iso_context)(struct fw_card *card,