Home
last modified time | relevance | path

Searched refs:num_elems (Results 1 – 14 of 14) sorted by relevance

/device/soc/winnermicro/wm800/board/src/bt/blehost/nimble/host/src/
Dble_hs_adv.c90 static int ble_hs_adv_set_array_uuid16(uint8_t type, uint8_t num_elems, in ble_hs_adv_set_array_uuid16() argument
97 rc = ble_hs_adv_set_hdr(type, num_elems * 2, max_len, dst, // 2:byte alignment in ble_hs_adv_set_array_uuid16()
103 for (i = 0; i < num_elems; i++) { in ble_hs_adv_set_array_uuid16()
118 static int ble_hs_adv_set_array_uuid32(uint8_t type, uint8_t num_elems, in ble_hs_adv_set_array_uuid32() argument
126 rc = ble_hs_adv_set_hdr(type, num_elems * 4, max_len, dst, // 4:byte alignment in ble_hs_adv_set_array_uuid32()
132 for (i = 0; i < num_elems; i++) { in ble_hs_adv_set_array_uuid32()
152 static int ble_hs_adv_set_array_uuid128(uint8_t type, uint8_t num_elems, in ble_hs_adv_set_array_uuid128() argument
159 rc = ble_hs_adv_set_hdr(type, num_elems * 16, max_len, dst, // 16:byte alignment in ble_hs_adv_set_array_uuid128()
165 for (i = 0; i < num_elems; i++) { in ble_hs_adv_set_array_uuid128()
180 static int ble_hs_adv_set_array16(uint8_t type, uint8_t num_elems, const uint16_t *elems, in ble_hs_adv_set_array16() argument
[all …]
Dble_gatts.c1124 int num_elems; in ble_gatts_start() local
1177 num_elems = ble_hs_max_client_configs / ble_gatts_num_cfgable_chrs; in ble_gatts_start()
1178 rc = os_mempool_init(&ble_gatts_clt_cfg_pool, num_elems, in ble_gatts_start()
/device/soc/rockchip/common/vendor/drivers/gpu/arm/midgard/ipa/
Dmali_kbase_ipa.c114 …a_model_add_param_s32(struct kbase_ipa_model *model, const char *name, s32 *addr, size_t num_elems, in kbase_ipa_model_add_param_s32() argument
121 err = of_property_read_u32_array(model_dt_node, name, addr, num_elems); in kbase_ipa_model_add_param_s32()
123 memset(addr, 0, sizeof(s32) * num_elems); in kbase_ipa_model_add_param_s32()
124 …l->kbdev->dev, "Error %d, no DT entry: %s.%s = %zu*[0]\n", err, model->ops->name, name, num_elems); in kbase_ipa_model_add_param_s32()
133 for (i = 0; i < num_elems; ++i) { in kbase_ipa_model_add_param_s32()
136 if (num_elems == 1) { in kbase_ipa_model_add_param_s32()
Dmali_kbase_ipa.h44 …a_model_add_param_s32(struct kbase_ipa_model *model, const char *name, s32 *addr, size_t num_elems,
/device/soc/rockchip/common/kernel/drivers/gpu/arm/midgard/ipa/
Dmali_kbase_ipa.c124 size_t num_elems, bool dt_required) in kbase_ipa_model_add_param_s32() argument
130 err = of_property_read_u32_array(model_dt_node, name, addr, num_elems); in kbase_ipa_model_add_param_s32()
133 memset(addr, 0, sizeof(s32) * num_elems); in kbase_ipa_model_add_param_s32()
136 err, model->ops->name, name, num_elems); in kbase_ipa_model_add_param_s32()
145 for (i = 0; i < num_elems; ++i) { in kbase_ipa_model_add_param_s32()
148 if (num_elems == 1) in kbase_ipa_model_add_param_s32()
Dmali_kbase_ipa.h48 size_t num_elems, bool dt_required);
/device/soc/rockchip/common/vendor/drivers/gpu/arm/bifrost/ipa/
Dmali_kbase_ipa.c137 …a_model_add_param_s32(struct kbase_ipa_model *model, const char *name, s32 *addr, size_t num_elems, in kbase_ipa_model_add_param_s32() argument
144 err = of_property_read_u32_array(model_dt_node, name, addr, num_elems); in kbase_ipa_model_add_param_s32()
151 memset(addr, 0, sizeof(s32) * num_elems); in kbase_ipa_model_add_param_s32()
152 …l->kbdev->dev, "Error %d, no DT entry: %s.%s = %zu*[0]\n", err, model->ops->name, name, num_elems); in kbase_ipa_model_add_param_s32()
161 for (i = 0; i < num_elems; ++i) { in kbase_ipa_model_add_param_s32()
164 if (num_elems == 1) { in kbase_ipa_model_add_param_s32()
Dmali_kbase_ipa.h60 …a_model_add_param_s32(struct kbase_ipa_model *model, const char *name, s32 *addr, size_t num_elems,
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/ipa/
Dmali_kbase_ipa.c112 size_t num_elems, bool dt_required) in kbase_ipa_model_add_param_s32() argument
119 err = of_property_read_u32_array(model_dt_node, name, addr, num_elems); in kbase_ipa_model_add_param_s32()
126 memset(addr, 0, sizeof(s32) * num_elems); in kbase_ipa_model_add_param_s32()
129 err, model->ops->name, name, num_elems); in kbase_ipa_model_add_param_s32()
138 for (i = 0; i < num_elems; ++i) { in kbase_ipa_model_add_param_s32()
141 if (num_elems == 1) in kbase_ipa_model_add_param_s32()
Dmali_kbase_ipa.h75 size_t num_elems, bool dt_required);
/device/soc/esp/esp32/components/bt/host/bluedroid/stack/include/stack/
Dsdp_api.h143 UINT16 num_elems; member
/device/board/isoftstone/yangfan/kernel/src/driv/net/rockchip_wlan/rkwifi/bcmdhd/include/
Dbcmutils.h1636 #define WL_VAR_LEN_STRUCT_SIZE(list, last_var_len_field, num_elems) \ argument
1638 (sizeof((list)->last_var_len_field[0]) * (size_t)(num_elems)))
/device/soc/esp/esp32/components/bt/host/bluedroid/stack/sdp/
Dsdp_db.c706 offset = sdp_compose_proto_list(p, p_proto_list->num_elems, in SDP_AddAdditionProtoLists()
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/mac/common/
Dmac_vap.h699 hi_u8 num_elems; member