Searched refs:uwb_est (Results 1 - 1 of 1) sorted by relevance
/linux-4.4.14/drivers/uwb/ |
H A D | est.c | 48 struct uwb_est { struct 55 static struct uwb_est *uwb_est; variable in typeref:struct:uwb_est 187 uwb_est = kcalloc(uwb_est_size, sizeof(uwb_est[0]), GFP_KERNEL); uwb_est_create() 188 if (uwb_est == NULL) uwb_est_create() 205 kfree(uwb_est); uwb_est_destroy() 206 uwb_est = NULL; uwb_est_destroy() 219 size_t actual_size = uwb_est_size * sizeof(uwb_est[0]); uwb_est_grow() 223 memcpy(new, uwb_est, actual_size); uwb_est_grow() 225 kfree(uwb_est); uwb_est_grow() 226 uwb_est = new; uwb_est_grow() 271 if (uwb_est[itr].type_event_high < type uwb_est_register() 272 && uwb_est[itr].vendor < vendor uwb_est_register() 273 && uwb_est[itr].product < product) uwb_est_register() 278 memmove(&uwb_est[itr+1], &uwb_est[itr], uwb_est_used - itr); uwb_est_register() 279 uwb_est[itr].type_event_high = type << 8 | event_high; uwb_est_register() 280 uwb_est[itr].vendor = vendor; uwb_est_register() 281 uwb_est[itr].product = product; uwb_est_register() 282 uwb_est[itr].entry = entry; uwb_est_register() 283 uwb_est[itr].entries = entries; uwb_est_register() 310 struct uwb_est est_cmp = { uwb_est_unregister() 319 if (!memcmp(&uwb_est[itr], &est_cmp, sizeof(est_cmp))) uwb_est_unregister() 326 memmove(&uwb_est[itr], &uwb_est[itr+1], uwb_est_used - itr - 1); uwb_est_unregister() 352 ssize_t uwb_est_get_size(struct uwb_rc *uwb_rc, struct uwb_est *est, uwb_est_get_size() 445 if (uwb_est[itr].type_event_high != type_event_high) uwb_est_find_size() 447 size = uwb_est_get_size(rc, &uwb_est[itr], uwb_est_find_size()
|
Completed in 39 milliseconds