Searched refs:empty_slot (Results 1 – 2 of 2) sorted by relevance
108 int i, empty_slot, len, offset; in hdd_add_wowl_ptrn() local126 empty_slot = -1; in hdd_add_wowl_ptrn()131 empty_slot = i; in hdd_add_wowl_ptrn()146 if (empty_slot == -1) { in hdd_add_wowl_ptrn()222 g_hdd_wowl_ptrns[empty_slot] = qdf_mem_malloc(len + 1); in hdd_add_wowl_ptrn()223 if (!g_hdd_wowl_ptrns[empty_slot]) in hdd_add_wowl_ptrn()226 memcpy(g_hdd_wowl_ptrns[empty_slot], temp, len); in hdd_add_wowl_ptrn()227 g_hdd_wowl_ptrns[empty_slot][len] = '\0'; in hdd_add_wowl_ptrn()228 wow_pattern.pattern_id = empty_slot; in hdd_add_wowl_ptrn()235 qdf_mem_free(g_hdd_wowl_ptrns[empty_slot]); in hdd_add_wowl_ptrn()[all …]
692 uint8_t empty_slot = 0xff; in mlo_init_cu_bpcc() local703 if (!cu_param[i].initialized && empty_slot == 0xff) in mlo_init_cu_bpcc()704 empty_slot = i; in mlo_init_cu_bpcc()707 if (empty_slot != 0xff) { in mlo_init_cu_bpcc()708 cu_param[empty_slot].bpcc = 0; in mlo_init_cu_bpcc()709 cu_param[empty_slot].vdev_id = vdev_id; in mlo_init_cu_bpcc()710 cu_param[empty_slot].initialized = true; in mlo_init_cu_bpcc()712 empty_slot, vdev_id); in mlo_init_cu_bpcc()