Lines Matching refs:ds_states
208 struct ds_cap_state *ds_states; member
222 return &dp->ds_states[index]; in find_cap()
231 if (strcmp(dp->ds_states[i].service_id, name)) in find_cap_by_string()
234 return &dp->ds_states[i]; in find_cap_by_string()
868 struct ds_cap_state *cp = &dp->ds_states[i]; in register_services()
1061 struct ds_cap_state *cp = &dp->ds_states[i]; in ds_reset()
1167 dp->ds_states = kzalloc(sizeof(ds_states_template), in ds_probe()
1169 if (!dp->ds_states) in ds_probe()
1172 memcpy(dp->ds_states, ds_states_template, in ds_probe()
1177 dp->ds_states[i].handle = ((u64)i << 32); in ds_probe()
1204 kfree(dp->ds_states); in ds_probe()