Lines Matching refs:num_sources
335 u32 num_sources; member
753 unsigned int num_sources; in scmi_register_protocol_events() local
760 (!ee->num_sources && !ee->ops->get_num_sources)) in scmi_register_protocol_events()
768 if (ee->num_sources) { in scmi_register_protocol_events()
769 num_sources = ee->num_sources; in scmi_register_protocol_events()
775 num_sources = nsrc; in scmi_register_protocol_events()
800 r_evt->sources = devm_kcalloc(ni->handle->dev, num_sources, in scmi_register_protocol_events()
804 r_evt->num_sources = num_sources; in scmi_register_protocol_events()
1151 u32 num_sources; in __scmi_enable_evt() local
1156 num_sources = r_evt->num_sources; in __scmi_enable_evt()
1157 } else if (src_id < r_evt->num_sources) { in __scmi_enable_evt()
1158 num_sources = 1; in __scmi_enable_evt()
1165 for (; num_sources; src_id++, num_sources--) { in __scmi_enable_evt()
1180 for (; num_sources; src_id++, num_sources--) { in __scmi_enable_evt()