Go to the documentation of this file.
37 #define I2O_HEADER_TEMPLATE \
39 .message_flags = 0x00, \
42 .initiator_and_target = 0x40, \
44 .initiator_context = 0x0 }
46 #define I2O_MESSAGE_SIZE 0x1000
47 #define I2O_COMMAND_SIZE (I2O_MESSAGE_SIZE - sizeof(struct i2o_header))
56 static inline unsigned short outgoing_message_size(
unsigned int data_size)
59 unsigned short i2o_size;
66 i2o_size = size /
sizeof(
u32);
68 if (size %
sizeof(
u32))
76 return (
sizeof(
u32) * i2o_message->
header.message_size);