Lines Matching refs:components
538 for (i = 0; i < edev->components; i++) { in ses_enclosure_find_by_addr()
558 int i, j, page7_len, len, components; in ses_enclosure_data_process() local
596 components = 0; in ses_enclosure_data_process()
625 components++, in ses_enclosure_data_process()
628 else if (components < edev->components) in ses_enclosure_data_process()
629 ecomp = &edev->component[components++]; in ses_enclosure_data_process()
698 int i, types, len, components = 0; in ses_intf_add() local
758 components += type_ptr[1]; in ses_intf_add()
802 if (components > 0) { in ses_intf_add()
803 scomp = kcalloc(components, sizeof(struct ses_component), GFP_KERNEL); in ses_intf_add()
809 components, &ses_enclosure_callbacks); in ses_intf_add()
818 for (i = 0; i < components; i++) in ses_intf_add()
886 if (edev->components) in ses_intf_remove_enclosure()