Lines Matching refs:component
450 struct pldmfw_component *component; in pldm_parse_components() local
468 component = kzalloc(sizeof(*component), GFP_KERNEL); in pldm_parse_components()
469 if (!component) in pldm_parse_components()
472 component->index = i; in pldm_parse_components()
473 component->classification = get_unaligned_le16(&__component->classification); in pldm_parse_components()
474 component->identifier = get_unaligned_le16(&__component->identifier); in pldm_parse_components()
475 component->comparison_stamp = get_unaligned_le32(&__component->comparison_stamp); in pldm_parse_components()
476 component->options = get_unaligned_le16(&__component->options); in pldm_parse_components()
477 component->activation_method = get_unaligned_le16(&__component->activation_method); in pldm_parse_components()
478 component->version_type = __component->version_type; in pldm_parse_components()
479 component->version_len = __component->version_len; in pldm_parse_components()
480 component->version_string = __component->version_string; in pldm_parse_components()
481 component->component_data = data->fw->data + offset; in pldm_parse_components()
482 component->component_size = size; in pldm_parse_components()
484 list_add_tail(&component->entry, &data->components); in pldm_parse_components()
545 struct pldmfw_component *component, *c_safe; in pldmfw_free_priv() local
549 list_for_each_entry_safe(component, c_safe, &data->components, entry) { in pldmfw_free_priv()
550 list_del(&component->entry); in pldmfw_free_priv()
551 kfree(component); in pldmfw_free_priv()
740 struct pldmfw_component *component; in pldm_send_component_tables() local
743 list_for_each_entry(component, &data->components, entry) { in pldm_send_component_tables()
744 u8 index = component->index, transfer_flag = 0; in pldm_send_component_tables()
761 component, in pldm_send_component_tables()
782 struct pldmfw_component *component; in pldm_flash_components() local
785 list_for_each_entry(component, &data->components, entry) { in pldm_flash_components()
786 u8 index = component->index; in pldm_flash_components()
792 err = data->context->ops->flash_component(data->context, component); in pldm_flash_components()