···172172 const u32 *data;173173};174174175175-int fw_core_add_descriptor (struct fw_descriptor *desc);176176-void fw_core_remove_descriptor (struct fw_descriptor *desc);175175+int fw_core_add_descriptor(struct fw_descriptor *desc);176176+void fw_core_remove_descriptor(struct fw_descriptor *desc);177177178178-typedef void (*fw_packet_callback_t) (struct fw_packet *packet,179179- struct fw_card *card, int status);178178+typedef void (*fw_packet_callback_t)(struct fw_packet *packet,179179+ struct fw_card *card, int status);180180181181typedef void (*fw_transaction_callback_t)(struct fw_card *card, int rcode,182182 void *data,···239239static inline struct fw_packet *240240fw_packet(struct list_head *l)241241{242242- return list_entry (l, struct fw_packet, link);242242+ return list_entry(l, struct fw_packet, link);243243}244244245245struct fw_address_handler {···350350351351struct fw_iso_context;352352353353-typedef void (*fw_iso_callback_t) (struct fw_iso_context *context,354354- u32 cycle,355355- size_t header_length,356356- void *header,357357- void *data);353353+typedef void (*fw_iso_callback_t)(struct fw_iso_context *context,354354+ u32 cycle,355355+ size_t header_length,356356+ void *header,357357+ void *data);358358359359/*360360 * An iso buffer is just a set of pages mapped for DMA in the···420420 * enable the PHY or set the link_on bit and initiate a bus421421 * reset.422422 */423423- int (*enable) (struct fw_card *card, u32 *config_rom, size_t length);423423+ int (*enable)(struct fw_card *card, u32 *config_rom, size_t length);424424425425- int (*update_phy_reg) (struct fw_card *card, int address,426426- int clear_bits, int set_bits);425425+ int (*update_phy_reg)(struct fw_card *card, int address,426426+ int clear_bits, int set_bits);427427428428 /*429429 * Update the config rom for an enabled card. This function430430 * should change the config rom that is presented on the bus431431 * an initiate a bus reset.432432 */433433- int (*set_config_rom) (struct fw_card *card,434434- u32 *config_rom, size_t length);433433+ int (*set_config_rom)(struct fw_card *card,434434+ u32 *config_rom, size_t length);435435436436- void (*send_request) (struct fw_card *card, struct fw_packet *packet);437437- void (*send_response) (struct fw_card *card, struct fw_packet *packet);436436+ void (*send_request)(struct fw_card *card, struct fw_packet *packet);437437+ void (*send_response)(struct fw_card *card, struct fw_packet *packet);438438 /* Calling cancel is valid once a packet has been submitted. */439439- int (*cancel_packet) (struct fw_card *card, struct fw_packet *packet);439439+ int (*cancel_packet)(struct fw_card *card, struct fw_packet *packet);440440441441 /*442442 * Allow the specified node ID to do direct DMA out and in of···446446 * doesn't support this, -ESTALE if the generation doesn't447447 * match.448448 */449449- int (*enable_phys_dma) (struct fw_card *card,450450- int node_id, int generation);449449+ int (*enable_phys_dma)(struct fw_card *card,450450+ int node_id, int generation);451451452452- u64 (*get_bus_time) (struct fw_card *card);452452+ u64 (*get_bus_time)(struct fw_card *card);453453454454 struct fw_iso_context *455455 (*allocate_iso_context)(struct fw_card *card,