Lines Matching full:message

14  * fbnic_tlv_msg_alloc - Allocate page and initialize FW message header
15 * @msg_id: Identifier for new message we are starting
17 * Return: pointer to start of message, or NULL on failure.
19 * Allocates a page and initializes message header at start of page.
20 * Initial message size is 1 DWORD which is just the header.
36 /* Copy header into start of message */ in fbnic_tlv_msg_alloc()
43 * fbnic_tlv_attr_put_flag - Add flag value to message
44 * @msg: Message header we are adding flag attribute to
45 * @attr_id: ID of flag attribute we are adding to message
49 * Adds a 1 DWORD flag attribute to the message. The presence of this
78 * fbnic_tlv_attr_put_value - Add data to message
79 * @msg: Message header we are adding flag attribute to
80 * @attr_id: ID of flag attribute we are adding to message
86 * Adds header and copies data pointed to by value into the message. The
127 * __fbnic_tlv_attr_put_int - Add integer to message
128 * @msg: Message header we are adding flag attribute to
129 * @attr_id: ID of flag attribute we are adding to message
135 * Adds header and copies data pointed to by value into the message. Will
147 * fbnic_tlv_attr_put_mac_addr - Add mac_addr to message
148 * @msg: Message header we are adding flag attribute to
149 * @attr_id: ID of flag attribute we are adding to message
154 * Adds header and copies data pointed to by mac_addr into the message. Will
165 * fbnic_tlv_attr_put_string - Add string to message
166 * @msg: Message header we are adding flag attribute to
167 * @attr_id: ID of flag attribute we are adding to message
172 * Adds header and copies data pointed to by string into the message. Will
181 /* The max length will be message minus existing message and new in fbnic_tlv_attr_put_string()
182 * attribute header. Since the message is measured in DWORDs we have in fbnic_tlv_attr_put_string()
252 * fbnic_tlv_attr_nest_start - Add nested attribute header to message
253 * @msg: Message header we are adding flag attribute to
254 * @attr_id: ID of flag attribute we are adding to message
276 /* Add current message length to account for consumption within the in fbnic_tlv_attr_nest_start()
288 * fbnic_tlv_attr_nest_stop - Close out nested attribute and add it to message
289 * @msg: Message header we are adding flag attribute to
291 * Closes out nested attribute, adds length to message, and then bumps
299 /* Add attribute to message if there is more than just a header */ in fbnic_tlv_attr_nest_stop()
370 * @attr: Start of attributes in the message
371 * @len: Length of attributes in the message
373 * @tlv_index: List of TLV attributes to be parsed from message
425 * @attr: Start of attributes in the message
426 * @len: Length of attributes in the message
428 * @tlv_index: List of TLV attributes to be parsed from message
474 * fbnic_tlv_msg_parse - Parse message and process via predetermined functions
476 * @msg: Message to be parsed.
477 * @parser: TLV message parser definition.
481 * Will take a message a number of message types via the attribute parsing
512 * fbnic_tlv_parser_error - called if message doesn't match known type
516 * Return: -EBADMSG to indicate the message is an unsupported type