/wlan-driver/qca-wifi-host-cmn/qdf/src/ |
H A D | qdf_parse.c | 38 char *cursor = *main_cursor; in qdf_ini_read_values() local 41 while (*cursor != '\0') { in qdf_ini_read_values() 42 char *key = cursor; in qdf_ini_read_values() 52 switch (*cursor) { in qdf_ini_read_values() 55 *cursor = '\0'; in qdf_ini_read_values() 56 cursor++; in qdf_ini_read_values() 68 value = cursor + 1; in qdf_ini_read_values() 69 *cursor = '\0'; in qdf_ini_read_values() 72 cursor++; in qdf_ini_read_values() 81 *cursor = '\0'; in qdf_ini_read_values() [all …]
|
/wlan-driver/qca-wifi-host-cmn/qdf/inc/ |
H A D | qdf_slist.h | 56 #define __qdf_slist_item(node, cursor, node_field) ({ \ argument 58 (__n ? qdf_container_of(__n, typeof(*(cursor)), node_field) : NULL); }) 60 #define __qdf_slist_next_item(slist, cursor, node_field) \ argument 61 __qdf_slist_item(cursor ? (cursor)->node_field.next : \ 62 (slist)->head, cursor, node_field) 70 #define qdf_slist_for_each(slist, cursor, node_field) \ argument 71 for (cursor = __qdf_slist_item((slist)->head, cursor, node_field); \ 72 cursor; \ 73 cursor = __qdf_slist_item((cursor)->node_field.next, \ 74 cursor, node_field)) [all …]
|
H A D | qdf_ptr_hash.h | 260 #define qdf_ptr_hash_remove(ht, key, cursor, entry_field) ({ \ argument 263 cursor = _e ? qdf_container_of(_e, typeof(*(cursor)), \ 265 cursor; }) 287 #define __qdf_ptr_hash_for_each_in_bucket(bucket, cursor, entry_field) \ argument 288 qdf_slist_for_each(&(bucket)->list, cursor, entry_field.node) 297 #define qdf_ptr_hash_for_each(ht, bucket, cursor, entry_field) \ argument 299 __qdf_ptr_hash_for_each_in_bucket(bucket, cursor, entry_field) 309 #define qdf_ptr_hash_for_each_by_hash(ht, key, cursor, entry_field) \ argument 312 cursor, entry_field) 322 #define qdf_ptr_hash_for_each_by_key(ht, _key, cursor, entry_field) \ argument [all …]
|
H A D | qdf_hashtable.h | 97 #define qdf_ht_for_each(table, i, cursor, entry_field) \ argument 98 __qdf_ht_for_each(table, i, cursor, entry_field) 109 #define qdf_ht_for_each_safe(table, i, tmp, cursor, entry_field) \ argument 110 __qdf_ht_for_each_safe(table, i, tmp, cursor, entry_field) 119 #define qdf_ht_for_each_in_bucket(table, cursor, entry_field, key) \ argument 120 __qdf_ht_for_each_in_bucket(table, cursor, entry_field, key) 130 #define qdf_ht_for_each_match(table, cursor, entry_field, key, key_field) \ argument 131 __qdf_ht_for_each_match(table, cursor, entry_field, key, key_field) 141 #define qdf_ht_get(table, cursor, entry_field, key, key_field) \ argument 142 __qdf_ht_get(table, cursor, entry_field, key, key_field)
|
H A D | qdf_list.h | 102 #define qdf_list_for_each(list_ptr, cursor, node_field) \ argument 103 __qdf_list_for_each(list_ptr, cursor, node_field) 105 #define qdf_list_for_each_del(list_ptr, cursor, next, node_field) \ argument 106 __qdf_list_for_each_del(list_ptr, cursor, next, node_field) 108 #define qdf_list_for_each_from(list_ptr, cursor, node_field) \ argument 109 __qdf_list_for_each_from(list_ptr, cursor, node_field) 111 #define qdf_list_for_each_continue(list_ptr, cursor, node_field) \ argument 112 __qdf_list_for_each_continue(list_ptr, cursor, node_field)
|
H A D | qdf_talloc.h | 57 #define qdf_talloc_type(parent, cursor) \ argument 58 qdf_talloc(parent, sizeof(*(cursor)))
|
/wlan-driver/qca-wifi-host-cmn/qdf/linux/src/ |
H A D | i_qdf_hashtable.h | 33 #define __qdf_ht_for_each(table, i, cursor, entry_field) \ argument 34 hash_for_each(table, i, cursor, entry_field) 36 #define __qdf_ht_for_each_in_bucket(table, cursor, entry_field, key) \ argument 37 hash_for_each_possible(table, cursor, entry_field, key) 39 #define __qdf_ht_for_each_match(table, cursor, entry_field, key, key_field) \ argument 40 hash_for_each_possible(table, (cursor), entry_field, (key)) \ 41 if ((cursor)->key_field == (key)) 43 #define __qdf_ht_get(table, cursor, entry_field, key, key_field) \ argument 45 cursor = NULL; \ 46 __qdf_ht_for_each_match(table, cursor, entry_field, key, key_field) \ [all …]
|
H A D | i_qdf_list.h | 92 #define __qdf_list_for_each(list_ptr, cursor, node_field) \ argument 93 list_for_each_entry(cursor, &(list_ptr)->anchor, node_field) 95 #define __qdf_list_for_each_del(list_ptr, cursor, next, node_field) \ argument 96 list_for_each_entry_safe(cursor, next, &(list_ptr)->anchor, node_field) 98 #define __qdf_list_for_each_from(list_ptr, cursor, node_field) \ argument 99 list_for_each_entry_from(cursor, &(list_ptr)->anchor, node_field) 101 #define __qdf_list_for_each_continue(list_ptr, cursor, node_field) \ argument 102 list_for_each_entry_continue(cursor, &(list_ptr)->anchor, node_field)
|
/wlan-driver/qca-wifi-host-cmn/qdf/test/ |
H A D | qdf_hashtable_test.c | 35 struct qdf_ht_test_item *cursor; in qdf_ht_test_single() local 43 qdf_ht_get(ht, cursor, entry, item.key, key); in qdf_ht_test_single() 44 QDF_BUG(cursor); in qdf_ht_test_single() 45 QDF_BUG(cursor->key == item.key); in qdf_ht_test_single() 48 qdf_ht_for_each(ht, i, cursor, entry) { in qdf_ht_test_single() 49 QDF_BUG(cursor->key == item.key); in qdf_ht_test_single() 55 qdf_ht_for_each_in_bucket(ht, cursor, entry, item.key) { in qdf_ht_test_single() 56 QDF_BUG(cursor->key == item.key); in qdf_ht_test_single() 62 qdf_ht_for_each_match(ht, cursor, entry, item.key, key) { in qdf_ht_test_single() 63 QDF_BUG(cursor->key == item.key); in qdf_ht_test_single()
|
/wlan-driver/qcacld-3.0/components/pmo/core/inc/ |
H A D | wlan_pmo_objmgr.h | 144 #define pmo_psoc_with_ctx(psoc, cursor) \ argument 145 for (cursor = pmo_psoc_get_priv(psoc); \ 146 __pmo_spinlock_bh_safe(cursor); \ 147 qdf_spin_unlock_bh(&cursor->lock), cursor = NULL)
|
/wlan-driver/qcacld-3.0/components/ocb/core/src/ |
H A D | wlan_ocb_main.c | 474 uint8_t *cursor; in ocb_copy_config() local 488 cursor = (uint8_t *)dst; in ocb_copy_config() 489 cursor += sizeof(*dst); in ocb_copy_config() 490 dst->channels = (struct ocb_config_chan *)cursor; in ocb_copy_config() 491 cursor += src->channel_count * sizeof(*dst->channels); in ocb_copy_config() 494 dst->schedule = (struct ocb_config_schdl *)cursor; in ocb_copy_config() 495 cursor += src->schedule_size * sizeof(*dst->schedule); in ocb_copy_config() 498 dst->dcc_ndl_chan_list = cursor; in ocb_copy_config() 499 cursor += src->dcc_ndl_chan_list_len; in ocb_copy_config() 502 dst->dcc_ndl_active_state_list = cursor; in ocb_copy_config() [all …]
|
/wlan-driver/qcacld-3.0/core/hdd/src/ |
H A D | wlan_hdd_unit_test.c | 59 #define hdd_for_each_ut_entry(cursor) \ argument 60 for (cursor = hdd_ut_entries; \ 61 cursor < hdd_ut_entries + ARRAY_SIZE(hdd_ut_entries); \ 62 cursor++)
|
H A D | wlan_hdd_ocb.c | 281 void *cursor; in hdd_ocb_config_new() local 293 cursor = qdf_mem_malloc(len); in hdd_ocb_config_new() 294 if (!cursor) in hdd_ocb_config_new() 297 ret = cursor; in hdd_ocb_config_new() 298 cursor += sizeof(*ret); in hdd_ocb_config_new() 301 ret->channels = cursor; in hdd_ocb_config_new() 302 cursor += num_channels * sizeof(*ret->channels); in hdd_ocb_config_new() 305 ret->schedule = cursor; in hdd_ocb_config_new() 306 cursor += num_schedule * sizeof(*ret->schedule); in hdd_ocb_config_new() 308 ret->dcc_ndl_chan_list = cursor; in hdd_ocb_config_new() [all …]
|