Lines Matching defs:component
34 /* length of the component bitmap */
38 /* Start of the component image information */
118 * * Extract the size of the component bitmap length
161 dev_dbg(dev, "Invalid component bitmap length. The length is %u, which is not a multiple of 8\n",
314 * component bitmap length, the version string length, the length of all
350 /* check that we have space for the component bitmap length */
392 * pldm_parse_records - Locate the start of the component area
396 * component area.
413 /* Extract a pointer to the component area, which just follows the
433 * Extract the component count, and find the pointer to the component area.
434 * Scan through each component searching for the end, which should point to
450 struct pldmfw_component *component;
468 component = kzalloc(sizeof(*component), GFP_KERNEL);
469 if (!component)
472 component->index = i;
473 component->classification = get_unaligned_le16(&__component->classification);
474 component->identifier = get_unaligned_le16(&__component->identifier);
475 component->comparison_stamp = get_unaligned_le32(&__component->comparison_stamp);
476 component->options = get_unaligned_le16(&__component->options);
477 component->activation_method = get_unaligned_le16(&__component->activation_method);
478 component->version_type = __component->version_type;
479 component->version_len = __component->version_len;
480 component->version_string = __component->version_string;
481 component->component_data = data->fw->data + offset;
482 component->component_size = size;
484 list_add_tail(&component->entry, &data->components);
541 * allocated descriptor, record, and component.
545 struct pldmfw_component *component, *c_safe;
549 list_for_each_entry_safe(component, c_safe, &data->components, entry) {
550 list_del(&component->entry);
551 kfree(component);
728 * pldm_send_component_tables - Send component table information to firmware
731 * Loop over each component, sending the applicable components to the firmware
740 struct pldmfw_component *component;
743 list_for_each_entry(component, &data->components, entry) {
744 u8 index = component->index, transfer_flag = 0;
751 * the start and end of the component tables
761 component,
771 * pldm_flash_components - Program each component to device flash
774 * Loop through each component that is active for the matching device record,
782 struct pldmfw_component *component;
785 list_for_each_entry(component, &data->components, entry) {
786 u8 index = component->index;
792 err = data->context->ops->flash_component(data->context, component);