Home
last modified time | relevance | path

Searched full:model (Results 1 – 25 of 3999) sorted by relevance

12345678910>>...160

/OK3568_Linux_fs/kernel/drivers/gpu/arm/bifrost/ipa/
H A Dmali_kbase_ipa.h49 * struct kbase_ipa_model - Object describing a particular IPA model.
51 * @model_data: opaque pointer to model specific data, accessed
52 * only by model specific methods.
53 * @ops: pointer to object containing model specific methods.
54 * @params: head of the list of debugfs params added for model
55 * @missing_dt_node_warning: flag to limit the matching power model DT not found
67 * kbase_ipa_model_add_param_s32 - Add an integer model parameter
68 * @model: pointer to IPA model
78 int kbase_ipa_model_add_param_s32(struct kbase_ipa_model *model,
83 * kbase_ipa_model_add_param_string - Add a string model parameter
[all …]
H A Dmali_kbase_ipa.c33 #define KBASE_IPA_FALLBACK_MODEL_NAME "mali-simple-power-model"
40 * the counter model implementation also assumes max sampling interval of 1 sec.
44 int kbase_ipa_model_recalculate(struct kbase_ipa_model *model) in kbase_ipa_model_recalculate() argument
48 lockdep_assert_held(&model->kbdev->ipa.lock); in kbase_ipa_model_recalculate()
50 if (model->ops->recalculate) { in kbase_ipa_model_recalculate()
51 err = model->ops->recalculate(model); in kbase_ipa_model_recalculate()
53 dev_err(model->kbdev->dev, in kbase_ipa_model_recalculate()
54 "recalculation of power model %s returned error %d\n", in kbase_ipa_model_recalculate()
55 model->ops->name, err); in kbase_ipa_model_recalculate()
84 static struct device_node *get_model_dt_node(struct kbase_ipa_model *model, in get_model_dt_node() argument
[all …]
H A Dmali_kbase_ipa_debugfs.c39 struct kbase_ipa_model *model; member
47 mutex_lock(&param->model->kbdev->ipa.lock); in param_int_get()
49 mutex_unlock(&param->model->kbdev->ipa.lock); in param_int_get()
57 struct kbase_ipa_model *model = param->model; in param_int_set() local
65 mutex_lock(&param->model->kbdev->ipa.lock); in param_int_set()
68 err = kbase_ipa_model_recalculate(model); in param_int_set()
71 mutex_unlock(&param->model->kbdev->ipa.lock); in param_int_set()
85 mutex_lock(&param->model->kbdev->ipa.lock); in param_string_get()
89 mutex_unlock(&param->model->kbdev->ipa.lock); in param_string_get()
98 struct kbase_ipa_model *model = param->model; in param_string_set() local
[all …]
H A Dmali_kbase_ipa_simple.c40 * through the counter model. To roughly match the contribution of top-level
41 * power in the total dynamic power, when calculated through counter model,
43 * for simple power model. This value was provided by the HW team after
79 * This model is primarily designed for the Juno platform. It may not be
80 * suitable for other platforms. The additional resources in this model
81 * should preferably be minimal, as this model is rarely used when a dynamic
82 * model is available.
87 * @dynamic_coefficient: dynamic coefficient of the model
88 * @static_coefficient: static coefficient of the model
89 * @ts: Thermal scaling coefficients of the model
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/arm/midgard/ipa/
H A Dmali_kbase_ipa.c34 #define KBASE_IPA_FALLBACK_MODEL_NAME "mali-simple-power-model"
40 int kbase_ipa_model_recalculate(struct kbase_ipa_model *model) in kbase_ipa_model_recalculate() argument
44 lockdep_assert_held(&model->kbdev->ipa.lock); in kbase_ipa_model_recalculate()
46 if (model->ops->recalculate) { in kbase_ipa_model_recalculate()
47 err = model->ops->recalculate(model); in kbase_ipa_model_recalculate()
49 dev_err(model->kbdev->dev, in kbase_ipa_model_recalculate()
50 "recalculation of power model %s returned error %d\n", in kbase_ipa_model_recalculate()
51 model->ops->name, err); in kbase_ipa_model_recalculate()
70 dev_err(kbdev->dev, "power model \'%s\' not found\n", name); in kbase_ipa_model_ops_find()
102 static struct device_node *get_model_dt_node(struct kbase_ipa_model *model) in get_model_dt_node() argument
[all …]
H A Dmali_kbase_ipa_debugfs.c39 struct kbase_ipa_model *model; member
47 mutex_lock(&param->model->kbdev->ipa.lock); in param_int_get()
49 mutex_unlock(&param->model->kbdev->ipa.lock); in param_int_get()
57 struct kbase_ipa_model *model = param->model; in param_int_set() local
64 mutex_lock(&param->model->kbdev->ipa.lock); in param_int_set()
66 err = kbase_ipa_model_recalculate(model); in param_int_set()
67 mutex_unlock(&param->model->kbdev->ipa.lock); in param_int_set()
81 mutex_lock(&param->model->kbdev->ipa.lock); in param_string_get()
85 mutex_unlock(&param->model->kbdev->ipa.lock); in param_string_get()
94 struct kbase_ipa_model *model = param->model; in param_string_set() local
[all …]
H A Dmali_kbase_ipa.h35 * kbase_ipa_model_add_param_s32 - Add an integer model parameter
36 * @model: pointer to IPA model
46 int kbase_ipa_model_add_param_s32(struct kbase_ipa_model *model,
51 * kbase_ipa_model_add_param_string - Add a string model parameter
52 * @model: pointer to IPA model
63 int kbase_ipa_model_add_param_string(struct kbase_ipa_model *model,
69 /* The init, recalculate and term ops on the default model are always
70 * called. However, all the other models are only invoked if the model
75 int (*init)(struct kbase_ipa_model *model);
77 * that any coefficients derived from model parameters can be
[all …]
H A Dmali_kbase_ipa_simple.c29 * This model is primarily designed for the Juno platform. It may not be
30 * suitable for other platforms. The additional resources in this model
31 * should preferably be minimal, as this model is rarely used when a dynamic
32 * model is available.
37 * @dynamic_coefficient: dynamic coefficient of the model
38 * @static_coefficient: static coefficient of the model
39 * @ts: Thermal scaling coefficients of the model
91 static int model_static_coeff(struct kbase_ipa_model *model, u32 *coeffp) in model_static_coeff() argument
100 (struct kbase_ipa_model_simple_data *) model->model_data; in model_static_coeff()
125 static int model_dynamic_coeff(struct kbase_ipa_model *model, u32 *coeffp, in model_dynamic_coeff() argument
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/examples/positioning/weatherinfo/
H A Dweatherinfo.qml78 id: model
80 if (model.ready)
116 … text: (model.hasValidCity ? model.city : "Unknown location") + (model.useGps ? " (GPS)" : "")
125 if (model.useGps) {
126 model.useGps = false
127 model.city = "Brisbane"
129 switch (model.city) {
131 model.city = "Oslo"
134 model.city = "Helsinki"
137 model.city = "New York"
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/arm/bifrost/backend/gpu/
H A Dmali_kbase_model_linux.h23 * Model Linux Framework interfaces.
28 * - Without Model Linux Framework:
35 * - With Model Linux Framework:
39 * | Model Linux Framework |
41 * | Model interface definitions |
49 * Include Model definitions
62 * Specific model hook is implemented by midgard_model_create()
73 * Specific model hook is implemented by midgard_model_destroy()
82 * This hook is specific to the model built in Kbase.
84 * Return: Model handle.
[all …]
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/lib/gcc/aarch64-none-linux-gnu/10.3.1/plugin/include/
H A Dmemmodel.h1 /* Prototypes of memory model helper functions.
26 /* Legacy sync operations set this upper flag in the memory model. This allows
32 /* Memory model without SYNC bit for targets/operations that do not care. */
35 /* Memory model types for the __atomic* builtins.
53 /* Return the memory model from a host integer. */
60 /* Return the base memory model from a host integer. */
67 /* Return TRUE if the memory model is RELAXED. */
69 is_mm_relaxed (enum memmodel model) in is_mm_relaxed() argument
71 return (model & MEMMODEL_BASE_MASK) == MEMMODEL_RELAXED; in is_mm_relaxed()
74 /* Return TRUE if the memory model is CONSUME. */
[all …]
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/lib/gcc/arm-none-linux-gnueabihf/10.3.1/plugin/include/
H A Dmemmodel.h1 /* Prototypes of memory model helper functions.
26 /* Legacy sync operations set this upper flag in the memory model. This allows
32 /* Memory model without SYNC bit for targets/operations that do not care. */
35 /* Memory model types for the __atomic* builtins.
53 /* Return the memory model from a host integer. */
60 /* Return the base memory model from a host integer. */
67 /* Return TRUE if the memory model is RELAXED. */
69 is_mm_relaxed (enum memmodel model) in is_mm_relaxed() argument
71 return (model & MEMMODEL_BASE_MASK) == MEMMODEL_RELAXED; in is_mm_relaxed()
74 /* Return TRUE if the memory model is CONSUME. */
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/arm/bifrost/ipa/backend/
H A Dmali_kbase_ipa_counter_common_csf.h28 /* Maximum number of HW counters used by the IPA counter model. */
34 * struct kbase_ipa_counter_model_data - IPA counter model context per device
36 * @ipa_control_client: Handle returned on registering IPA counter model as a
39 * counter model for top-level.
42 * counter model for shader cores.
49 * deriving the power model coefficients. Range approx
57 * min_sample_cycles, the counter model will return an
59 * the cached simple model results instead. This may be
79 * struct kbase_ipa_counter - represents a single HW counter used by IPA model
80 * @name: Name of the HW counter used by IPA counter model
[all …]
H A Dmali_kbase_ipa_counter_common_jm.h29 /* Maximum number of IPA groups for an IPA model. */
58 * deriving the power model coefficients. Range approx
66 * min_sample_cycles, the counter model will return an
68 * the cached simple model results instead. This may be
106 * @model_data: pointer to model data
107 * @coeff: model coefficient. Unity is ~2^20, so range approx
123 * @model_data: pointer to model data
124 * @coeff: model coefficient. Unity is ~2^20, so range approx
140 * @model_data: pointer to model data
141 * @coeff: model coefficient. Unity is ~2^20, so range approx
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/concept/detail/
H A Dmsvc.hpp24 template <class Model>
27 virtual void failed(Model* x) in failed()
29 x->~Model(); in failed()
35 template <class Model>
36 struct check<failed ************ Model::************>
38 virtual void failed(Model* x) in failed()
40 x->~Model(); in failed()
55 template <class Model>
58 not_satisfied<Model>::value
61 , check<Model>
[all …]
H A Dgeneral.hpp28 template <class Model>
31 static void failed() { ((Model*)0)->~Model(); } in failed()
36 template <class Model>
37 struct requirement<failed ************ Model::************>
39 static void failed() { ((Model*)0)->~Model(); } in failed()
44 template <class Model>
47 static void failed() { ((Model*)0)->constraints(); } in failed()
50 template <class Model>
51 struct requirement_<void(*)(Model)>
53 concepts::not_satisfied<Model>
[all …]
/OK3568_Linux_fs/app/forlinx/flapp/src/plugins/database/
H A Dbookwindow.cpp75 // Create the data model: in BookWindow()
76 model = new QSqlRelationalTableModel(ui.bookTable); in BookWindow()
77 model->setEditStrategy(QSqlTableModel::OnManualSubmit); in BookWindow()
78 model->setTable("books"); in BookWindow()
81 authorIdx = model->fieldIndex("author"); in BookWindow()
82 genreIdx = model->fieldIndex("genre"); in BookWindow()
85 model->setRelation(authorIdx, QSqlRelation("authors", "id", "name")); in BookWindow()
86 model->setRelation(genreIdx, QSqlRelation("genres", "id", "name")); in BookWindow()
89 model->setHeaderData(authorIdx, Qt::Horizontal, tr("Author Name")); in BookWindow()
90 model->setHeaderData(genreIdx, Qt::Horizontal, tr("Genre")); in BookWindow()
[all …]
/OK3568_Linux_fs/external/rknpu2/examples/rknn_api_demo/
H A DREADME.md13 Copy install/rknn_api_demo_Linux and ../rknn_mobilenet_demo/model/ to the devices.
17 Connect device and push the program and rknn model to `/userdata`
21 adb push ../rknn_mobilenet_demo/model/ /userdata/rknn_api_demo_Linux
24 …has sshd service, you can use scp or other methods to copy the program and rknn model to the board.
35 ./rknn_create_mem_demo model/<TARGET_PLATFORM>/mobilenet_v1.rknn model/dog_224x224.jpg
36 ./rknn_create_mem_with_rga_demo model/<TARGET_PLATFORM>/mobilenet_v1.rknn model/dog_224x224.jpg
54 adb push ../rknn_mobilenet_demo/model/ /userdata/rknn_api_demo_Android
66 ./rknn_create_mem_demo model/<TARGET_PLATFORM>/mobilenet_v1.rknn model/dog_224x224.jpg
67 ./rknn_create_mem_with_rga_demo model/<TARGET_PLATFORM>/mobilenet_v1.rknn model/dog_224x224.jpg
68 ./rknn_with_mmz_demo model/<TARGET_PLATFORM>/mobilenet_v1.rknn model/dog_224x224.jpg
[all …]
/OK3568_Linux_fs/u-boot/tools/
H A Dmicrocode-tool18 """Holds information about the microcode for a particular model of CPU.
23 model: Model code string (this is cpuid(1).eax, e.g. '206a7')
36 # The model is in the 4rd hex word
37 self.model = '%x' % self.words[3]
122 def List(date, microcodes, model): argument
128 model: Model string to search for, or None
131 if model:
132 mcode_list, tried = FindMicrocode(microcodes, model.lower())
138 print '%-20s: model %s' % (mcode.name, mcode.model)
140 def FindMicrocode(microcodes, model): argument
[all …]
H A Dmicrocode-tool.py18 """Holds information about the microcode for a particular model of CPU.
23 model: Model code string (this is cpuid(1).eax, e.g. '206a7')
36 # The model is in the 4rd hex word
37 self.model = '%x' % self.words[3]
122 def List(date, microcodes, model): argument
128 model: Model string to search for, or None
131 if model:
132 mcode_list, tried = FindMicrocode(microcodes, model.lower())
138 print '%-20s: model %s' % (mcode.name, mcode.model)
140 def FindMicrocode(microcodes, model): argument
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/tests/auto/declarative_core/
H A Dutils.js94 function testConsecutiveFetch(testCase, model, place, expectedValues, data) argument
97 signalSpy.target = model;
103 visDataModel.model = model;
106 testCase.compare(model.totalCount, -1);
107 testCase.compare(model.place, null);
111 model.batchSize = data.batchSize
112 model.place = place;
116 var totalCount = model.totalCount;
120 compareObj(testCase, visDataModel.items.get(0).model, expectedValues[0]);
131 testCase.compare(model.totalCount, totalCount);
[all …]
H A Dtst_categorymodel.qml78 + 'VisualDataModel { model: CategoryModel {} delegate: Item {} }',
81 modelSpy.target = categoryModel.model;
84 compare(categoryModel.model.status, CategoryModel.Null);
89 categoryModel.model.plugin = testPlugin;
90 categoryModel.model.update();
91 tryCompare(categoryModel.model, "status", CategoryModel.Loading);
94 tryCompare(categoryModel.model, "status", CategoryModel.Ready);
96 compare(categoryModel.model.errorString(), "");
103 var category = categoryModel.model.data(categoryModel.modelIndex(i),
117 category = categoryModel.model.data(categoryModel.modelIndex(i),
[all …]
/OK3568_Linux_fs/kernel/arch/x86/include/asm/
H A Dcpu_device_id.h13 /* Get the INTEL_FAM* model defines */
29 * @_model: The model number, model constant or X86_MODEL_ANY
46 .model = _model, \
57 * @_model: The model number, model constant or X86_MODEL_ANY
66 #define X86_MATCH_VENDOR_FAM_MODEL_FEATURE(vendor, family, model, feature, data) \ argument
67 X86_MATCH_VENDOR_FAM_MODEL_STEPPINGS_FEATURE(vendor, family, model, \
116 * X86_MATCH_VENDOR_FAM_MODEL - Match vendor, family and model
120 * @model: The model number, model constant or X86_MODEL_ANY
128 #define X86_MATCH_VENDOR_FAM_MODEL(vendor, family, model, data) \ argument
129 X86_MATCH_VENDOR_FAM_MODEL_FEATURE(vendor, family, model, \
[all …]
/OK3568_Linux_fs/external/rknn-toolkit2/examples/
H A Dreadme.txt4 │ ├── mobilenet_v2 # mobilenet_v2 float model
5 │ └── vgg-ssd # vgg-ssd float model
7 │ ├── resnet50v2 # resnet50v2 float model
8 │ └── yolov5 # yolov5 float model
10 │ ├── resnet18 # resnet18 float model
11 │ ├── resnet18_qat # resnet18 QAT model
12 │ └── resnet18_export_onnx # how to export onnx model from pytorch
14 │ ├── ssd_mobilenet_v1 # ssd_mobilenet_v1 float model
15 │ └── inception_v3_qat # inception_v3 QAT model
17 │ ├── mobilenet_v1 # mobilenet_v1 float model
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/arm/bcm/
H A Dbcm2835.yaml21 - raspberrypi,4-model-b
27 - raspberrypi,model-a
28 - raspberrypi,model-a-plus
29 - raspberrypi,model-b
30 - raspberrypi,model-b-i2c0 # Raspberry Pi Model B (no P5)
31 - raspberrypi,model-b-rev2
32 - raspberrypi,model-b-plus
34 - raspberrypi,model-zero
35 - raspberrypi,model-zero-w
41 - raspberrypi,2-model-b
[all …]

12345678910>>...160