Home
last modified time | relevance | path

Searched refs:attribute (Results 1 – 25 of 1991) sorted by relevance

12345678910>>...80

/OK3568_Linux_fs/kernel/drivers/gpu/arm/midgard/
H A Dmali_kbase_js_ctx_attr.c41 …ain_attr(struct kbase_device *kbdev, struct kbase_context *kctx, enum kbasep_js_ctx_attr attribute) in kbasep_js_ctx_attr_runpool_retain_attr() argument
49 KBASE_DEBUG_ASSERT(attribute < KBASEP_JS_CTX_ATTR_COUNT); in kbasep_js_ctx_attr_runpool_retain_attr()
58 if (kbasep_js_ctx_attr_is_attr_on_ctx(kctx, attribute) != false) { in kbasep_js_ctx_attr_runpool_retain_attr()
59 KBASE_DEBUG_ASSERT(js_devdata->runpool_irq.ctx_attr_ref_count[attribute] < S8_MAX); in kbasep_js_ctx_attr_runpool_retain_attr()
60 ++(js_devdata->runpool_irq.ctx_attr_ref_count[attribute]); in kbasep_js_ctx_attr_runpool_retain_attr()
62 if (js_devdata->runpool_irq.ctx_attr_ref_count[attribute] == 1) { in kbasep_js_ctx_attr_runpool_retain_attr()
65 KBASE_TRACE_ADD(kbdev, JS_CTX_ATTR_NOW_ON_RUNPOOL, kctx, NULL, 0u, attribute); in kbasep_js_ctx_attr_runpool_retain_attr()
87 …ase_attr(struct kbase_device *kbdev, struct kbase_context *kctx, enum kbasep_js_ctx_attr attribute) in kbasep_js_ctx_attr_runpool_release_attr() argument
95 KBASE_DEBUG_ASSERT(attribute < KBASEP_JS_CTX_ATTR_COUNT); in kbasep_js_ctx_attr_runpool_release_attr()
103 if (kbasep_js_ctx_attr_is_attr_on_ctx(kctx, attribute) != false) { in kbasep_js_ctx_attr_runpool_release_attr()
[all …]
H A Dmali_kbase_js_ctx_attr.h117 … kbasep_js_ctx_attr_count_on_runpool(struct kbase_device *kbdev, enum kbasep_js_ctx_attr attribute) in kbasep_js_ctx_attr_count_on_runpool() argument
122 KBASE_DEBUG_ASSERT(attribute < KBASEP_JS_CTX_ATTR_COUNT); in kbasep_js_ctx_attr_count_on_runpool()
125 return js_devdata->runpool_irq.ctx_attr_ref_count[attribute]; in kbasep_js_ctx_attr_count_on_runpool()
132 …basep_js_ctx_attr_is_attr_on_runpool(struct kbase_device *kbdev, enum kbasep_js_ctx_attr attribute) in kbasep_js_ctx_attr_is_attr_on_runpool() argument
135 return (bool) kbasep_js_ctx_attr_count_on_runpool(kbdev, attribute); in kbasep_js_ctx_attr_is_attr_on_runpool()
142 …ol kbasep_js_ctx_attr_is_attr_on_ctx(struct kbase_context *kctx, enum kbasep_js_ctx_attr attribute) in kbasep_js_ctx_attr_is_attr_on_ctx() argument
147 KBASE_DEBUG_ASSERT(attribute < KBASEP_JS_CTX_ATTR_COUNT); in kbasep_js_ctx_attr_is_attr_on_ctx()
151 return (bool) (js_kctx_info->ctx.ctx_attr_ref_count[attribute]); in kbasep_js_ctx_attr_is_attr_on_ctx()
/OK3568_Linux_fs/kernel/drivers/gpu/arm/bifrost/
H A Dmali_kbase_js_ctx_attr.c48 …ain_attr(struct kbase_device *kbdev, struct kbase_context *kctx, enum kbasep_js_ctx_attr attribute) in kbasep_js_ctx_attr_runpool_retain_attr() argument
56 KBASE_DEBUG_ASSERT(attribute < KBASEP_JS_CTX_ATTR_COUNT); in kbasep_js_ctx_attr_runpool_retain_attr()
65 if (kbasep_js_ctx_attr_is_attr_on_ctx(kctx, attribute) != false) { in kbasep_js_ctx_attr_runpool_retain_attr()
66 KBASE_DEBUG_ASSERT(js_devdata->runpool_irq.ctx_attr_ref_count[attribute] < S8_MAX); in kbasep_js_ctx_attr_runpool_retain_attr()
67 ++(js_devdata->runpool_irq.ctx_attr_ref_count[attribute]); in kbasep_js_ctx_attr_runpool_retain_attr()
69 if (js_devdata->runpool_irq.ctx_attr_ref_count[attribute] == 1) { in kbasep_js_ctx_attr_runpool_retain_attr()
72 KBASE_KTRACE_ADD_JM(kbdev, JS_CTX_ATTR_NOW_ON_RUNPOOL, kctx, NULL, 0u, attribute); in kbasep_js_ctx_attr_runpool_retain_attr()
98 …ase_attr(struct kbase_device *kbdev, struct kbase_context *kctx, enum kbasep_js_ctx_attr attribute) in kbasep_js_ctx_attr_runpool_release_attr() argument
106 KBASE_DEBUG_ASSERT(attribute < KBASEP_JS_CTX_ATTR_COUNT); in kbasep_js_ctx_attr_runpool_release_attr()
114 if (kbasep_js_ctx_attr_is_attr_on_ctx(kctx, attribute) != false) { in kbasep_js_ctx_attr_runpool_release_attr()
[all …]
H A Dmali_kbase_js_ctx_attr.h110 … kbasep_js_ctx_attr_count_on_runpool(struct kbase_device *kbdev, enum kbasep_js_ctx_attr attribute) in kbasep_js_ctx_attr_count_on_runpool() argument
115 KBASE_DEBUG_ASSERT(attribute < KBASEP_JS_CTX_ATTR_COUNT); in kbasep_js_ctx_attr_count_on_runpool()
118 return js_devdata->runpool_irq.ctx_attr_ref_count[attribute]; in kbasep_js_ctx_attr_count_on_runpool()
125 …basep_js_ctx_attr_is_attr_on_runpool(struct kbase_device *kbdev, enum kbasep_js_ctx_attr attribute) in kbasep_js_ctx_attr_is_attr_on_runpool() argument
128 return (bool) kbasep_js_ctx_attr_count_on_runpool(kbdev, attribute); in kbasep_js_ctx_attr_is_attr_on_runpool()
135 …ol kbasep_js_ctx_attr_is_attr_on_ctx(struct kbase_context *kctx, enum kbasep_js_ctx_attr attribute) in kbasep_js_ctx_attr_is_attr_on_ctx() argument
140 KBASE_DEBUG_ASSERT(attribute < KBASEP_JS_CTX_ATTR_COUNT); in kbasep_js_ctx_attr_is_attr_on_ctx()
144 return (bool) (js_kctx_info->ctx.ctx_attr_ref_count[attribute]); in kbasep_js_ctx_attr_is_attr_on_ctx()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/positioningquick/
H A Dqdeclarativeposition.cpp125 const qreal pDirection = m_info.attribute(QGeoPositionInfo::Direction); in setPosition()
126 const qreal direction = info.attribute(QGeoPositionInfo::Direction); in setPosition()
131 const qreal pSpeed = m_info.attribute(QGeoPositionInfo::GroundSpeed); in setPosition()
132 const qreal speed = info.attribute(QGeoPositionInfo::GroundSpeed); in setPosition()
137 const qreal pVerticalSpeed = m_info.attribute(QGeoPositionInfo::VerticalSpeed); in setPosition()
138 const qreal verticalSpeed = info.attribute(QGeoPositionInfo::VerticalSpeed); in setPosition()
143 const qreal pMagneticVariation = m_info.attribute(QGeoPositionInfo::MagneticVariation); in setPosition()
144 const qreal magneticVariation = info.attribute(QGeoPositionInfo::MagneticVariation); in setPosition()
149 const qreal pHorizontalAccuracy = m_info.attribute(QGeoPositionInfo::HorizontalAccuracy); in setPosition()
150 const qreal horizontalAccuracy = info.attribute(QGeoPositionInfo::HorizontalAccuracy); in setPosition()
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/tests/auto/qgeopositioninfo/
H A Dtst_qgeopositioninfo.cpp93 QGeoPositionInfo infoWithAttribute(QGeoPositionInfo::Attribute attribute, qreal value) in infoWithAttribute() argument
96 info.setAttribute(attribute, value); in infoWithAttribute()
249 void attribute() in attribute() function in tst_QGeoPositionInfo
251 QFETCH(QGeoPositionInfo::Attribute, attribute); in attribute()
255 QVERIFY(qIsNaN(info.attribute(attribute))); in attribute()
257 info.setAttribute(attribute, value); in attribute()
258 QCOMPARE(info.attribute(attribute), value); in attribute()
260 info.removeAttribute(attribute); in attribute()
261 QVERIFY(qIsNaN(info.attribute(attribute))); in attribute()
281 QFETCH(QGeoPositionInfo::Attribute, attribute); in hasAttribute()
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/tests/auto/qgeosatelliteinfo/
H A Dtst_qgeosatelliteinfo.cpp97 QGeoSatelliteInfo updateWithAttribute(QGeoSatelliteInfo::Attribute attribute, qreal value) in updateWithAttribute() argument
100 info.setAttribute(attribute, value); in updateWithAttribute()
145 QCOMPARE(info.attribute(attributes[i]), qreal(-1.0)); in constructor()
251 void attribute() in attribute() function in tst_QGeoSatelliteInfo
253 QFETCH(QGeoSatelliteInfo::Attribute, attribute); in attribute()
257 QCOMPARE(u.attribute(attribute), qreal(-1.0)); in attribute()
259 u.setAttribute(attribute, value); in attribute()
260 QCOMPARE(u.attribute(attribute), value); in attribute()
261 u.removeAttribute(attribute); in attribute()
262 QCOMPARE(u.attribute(attribute), qreal(-1.0)); in attribute()
[all …]
/OK3568_Linux_fs/kernel/drivers/hid/
H A Dhid-sensor-custom.c28 struct hid_sensor_hub_attribute_info attribute; member
31 struct attribute *attrs[HID_CUSTOM_TOTAL_ATTRS];
62 static struct attribute hid_custom_attrs[] = {
185 sensor_inst->power_state->attribute.report_id, in set_power_report_state()
186 sensor_inst->power_state->attribute.index, in set_power_report_state()
190 sensor_inst->report_state->attribute.report_id, in set_power_report_state()
191 sensor_inst->report_state->attribute.index, in set_power_report_state()
196 sensor_inst->power_state->attribute.logical_minimum; in set_power_report_state()
198 sensor_inst->power_state->attribute.report_id, in set_power_report_state()
199 sensor_inst->power_state->attribute.index, in set_power_report_state()
[all …]
/OK3568_Linux_fs/kernel/Documentation/ABI/testing/
H A Dsysfs-devices-power13 The /sys/devices/.../power/wakeup attribute allows the user
39 The /sys/devices/.../power/control attribute allows the user
50 drivers. Changing this attribute to "on" prevents the driver
58 The /sys/devices/.../async attribute allows the user space to
70 The value of this attribute may be changed by writing either
76 devices this attribute is set to "enabled" by bus type code or
84 The /sys/devices/.../wakeup_count attribute contains the number
86 attribute is read-only. If the device is not capable to wake up
87 the system from sleep states, this attribute is not present.
89 states, this attribute is empty.
[all …]
H A Dsysfs-device-mali18 This attribute is used to restrict the number of shader cores
20 Reading this attribute provides us mask of all cores available.
26 This attribute is used to issue debug commands that supported
39 This attribute is available only with platform device that
44 Its a readonly attribute and on reading gives details on the
49 This attribute is available only with mali platform
50 device-driver that supports a CSF GPU. This attribute is
57 This attribute provides description of the present Mali GPU.
58 Its a read only attribute provides details like GPU family, the
63 This attribute is available only with mali platform
[all …]
H A Dsysfs-devices-lpss_ltr14 The /sys/devices/.../lpss_ltr/ltr_mode attribute contains an
18 This attribute is read-only. If the device's runtime PM status
19 is not "active", attempts to read from this attribute cause
26 The /sys/devices/.../lpss_ltr/auto_ltr attribute contains the
30 This attribute is read-only. If the device's runtime PM status
31 is not "active", attempts to read from this attribute cause
38 The /sys/devices/.../lpss_ltr/auto_ltr attribute contains the
42 This attribute is read-only. If the device's runtime PM status
43 is not "active", attempts to read from this attribute cause
/OK3568_Linux_fs/buildroot/dl/qt5location/git/tests/auto/qplaceattribute/
H A Dtst_qplaceattribute.cpp78 QPlaceAttribute attribute; in isEmptyTest() local
80 QVERIFY(attribute.isEmpty()); in isEmptyTest()
82 attribute.setLabel(QStringLiteral("label")); in isEmptyTest()
83 QVERIFY(!attribute.isEmpty()); in isEmptyTest()
84 attribute.setLabel(QString()); in isEmptyTest()
85 QVERIFY(attribute.isEmpty()); in isEmptyTest()
87 attribute.setText(QStringLiteral("text")); in isEmptyTest()
88 QVERIFY(!attribute.isEmpty()); in isEmptyTest()
89 attribute.setText(QString()); in isEmptyTest()
90 QVERIFY(attribute.isEmpty()); in isEmptyTest()
/OK3568_Linux_fs/kernel/sound/pci/asihpi/
H A Dhpicmn.c325 if (phm->u.c.attribute == HPI_METER_PEAK) { in hpi_check_control_cache_single()
328 } else if (phm->u.c.attribute == HPI_METER_RMS) { in hpi_check_control_cache_single()
345 if (phm->u.c.attribute == HPI_VOLUME_GAIN) { in hpi_check_control_cache_single()
348 } else if (phm->u.c.attribute == HPI_VOLUME_MUTE) { in hpi_check_control_cache_single()
365 if (phm->u.c.attribute == HPI_MULTIPLEXER_SOURCE) { in hpi_check_control_cache_single()
373 if (phm->u.c.attribute == HPI_CHANNEL_MODE_MODE) in hpi_check_control_cache_single()
379 if (phm->u.c.attribute == HPI_LEVEL_GAIN) { in hpi_check_control_cache_single()
386 if (phm->u.c.attribute == HPI_TUNER_FREQ) in hpi_check_control_cache_single()
388 else if (phm->u.c.attribute == HPI_TUNER_BAND) in hpi_check_control_cache_single()
390 else if (phm->u.c.attribute == HPI_TUNER_LEVEL_AVG) in hpi_check_control_cache_single()
[all …]
/OK3568_Linux_fs/kernel/samples/kobject/
H A Dkset-example.c39 struct attribute attr;
53 struct attribute *attr, in foo_attr_show()
56 struct foo_attribute *attribute; in foo_attr_show() local
59 attribute = to_foo_attr(attr); in foo_attr_show()
62 if (!attribute->show) in foo_attr_show()
65 return attribute->show(foo, attribute, buf); in foo_attr_show()
73 struct attribute *attr, in foo_attr_store()
76 struct foo_attribute *attribute; in foo_attr_store() local
79 attribute = to_foo_attr(attr); in foo_attr_store()
82 if (!attribute->store) in foo_attr_store()
[all …]
/OK3568_Linux_fs/kernel/include/linux/
H A Dsysfs.h30 struct attribute { struct
87 struct attribute *, int);
90 struct attribute **attrs;
169 struct attribute attr;
231 ssize_t (*show)(struct kobject *, struct attribute *, char *);
232 ssize_t (*store)(struct kobject *, struct attribute *, const char *, size_t);
250 const struct attribute *attr,
253 const struct attribute * const *attr);
255 const struct attribute *attr, umode_t mode);
257 const struct attribute *attr);
[all …]
/OK3568_Linux_fs/kernel/drivers/staging/greybus/
H A Daudio_manager_module.c19 struct attribute attr;
29 struct attribute *attr, char *buf) in gb_audio_module_attr_show()
31 struct gb_audio_manager_module_attribute *attribute; in gb_audio_module_attr_show() local
34 attribute = to_gb_audio_module_attr(attr); in gb_audio_module_attr_show()
37 if (!attribute->show) in gb_audio_module_attr_show()
40 return attribute->show(module, attribute, buf); in gb_audio_module_attr_show()
44 struct attribute *attr, in gb_audio_module_attr_store()
47 struct gb_audio_manager_module_attribute *attribute; in gb_audio_module_attr_store() local
50 attribute = to_gb_audio_module_attr(attr); in gb_audio_module_attr_store()
53 if (!attribute->store) in gb_audio_module_attr_store()
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/spirit/home/support/
H A Dcontext.hpp33 typedef phoenix::actor<attribute<n> > \
35 phoenix::actor<attribute<n> > const \
46 typedef phoenix::actor<attribute<n> > \
58 struct attribute;
66 , boost::spirit::attribute<N>
70 boost::spirit::attribute<N>()
100 context(typename Attributes::car_type attribute) in context()
101 : attributes(attribute, fusion::nil_()), locals() {} in context()
105 typename Attributes::car_type attribute in context()
109 attribute in context()
[all …]
/OK3568_Linux_fs/yocto/meta-openembedded/meta-networking/recipes-filter/libnetfilter/files/
H A Dlibnetfilter-cthelper-visibility-hidden.patch13 Move the attribute up into the function definition to make clang happy.
108 * nfct_helper_policy_attr_set - set one attribute of the helper object
110 * \param type attribute type you want to set
111 * \param data pointer to data that will be used to set this attribute
125 * nfct_helper_attr_set_str - set one attribute the helper object
127 * \param type attribute type you want to set
128 * \param name string that will be used to set this attribute
151 * nfct_helper_attr_set - set one attribute of the helper object
153 * \param type attribute type you want to set
154 * \param data pointer to data that will be used to set this attribute
[all …]
H A D0001-libnetfilter-acct-Declare-the-define-visivility-attribute-together.patch4 Subject: [PATCH] Declare the define visivility attribute together
6 clang ignores the visibility attribute if its not
75 * nfacct_attr_set - set one attribute of the accounting object
77 * \param type attribute type you want to set
78 * \param data pointer to data that will be used to set this attribute
92 * nfacct_attr_set_str - set one attribute the accounting object
94 * \param type attribute type you want to set
95 * \param name string that will be used to set this attribute
107 * nfacct_attr_set_u64 - set one attribute the accounting object
109 * \param type attribute type you want to set
[all …]
/OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-support/libsmi/libsmi/
H A Dlibsmi-fix-the-test-dump-files.patch27 <attribute name="text">
29 <attribute name="string">
32 </attribute>
33 <attribute name="font">
37 </attribute>
38 <attribute name="obj_bb">
41 </attribute>
42 <attribute name="orth_points">
46 </attribute>
47 <attribute name="obj_bb">
[all …]
/OK3568_Linux_fs/kernel/arch/powerpc/platforms/powernv/
H A Dopal-elog.c31 struct attribute attr;
96 struct attribute *attr, in elog_attr_show()
99 struct elog_attribute *attribute; in elog_attr_show() local
102 attribute = to_elog_attr(attr); in elog_attr_show()
105 if (!attribute->show) in elog_attr_show()
108 return attribute->show(elog, attribute, buf); in elog_attr_show()
112 struct attribute *attr, in elog_attr_store()
115 struct elog_attribute *attribute; in elog_attr_store() local
118 attribute = to_elog_attr(attr); in elog_attr_store()
121 if (!attribute->store) in elog_attr_store()
[all …]
H A Dopal-dump.c31 struct attribute attr;
148 static struct attribute *initiate_attrs[] = {
160 struct attribute *attr, in dump_attr_show()
163 struct dump_attribute *attribute; in dump_attr_show() local
166 attribute = to_dump_attr(attr); in dump_attr_show()
169 if (!attribute->show) in dump_attr_show()
172 return attribute->show(dump, attribute, buf); in dump_attr_show()
176 struct attribute *attr, in dump_attr_store()
179 struct dump_attribute *attribute; in dump_attr_store() local
182 attribute = to_dump_attr(attr); in dump_attr_store()
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/positioning/
H A Dqgeosatelliteinfo.cpp199 void QGeoSatelliteInfo::setAttribute(Attribute attribute, qreal value) in setAttribute() argument
201 d->doubleAttribs[int(attribute)] = value; in setAttribute()
211 qreal QGeoSatelliteInfo::attribute(Attribute attribute) const in attribute() function in QGeoSatelliteInfo
213 if (d->doubleAttribs.contains(int(attribute))) in attribute()
214 return d->doubleAttribs[int(attribute)]; in attribute()
221 void QGeoSatelliteInfo::removeAttribute(Attribute attribute) in removeAttribute() argument
223 d->doubleAttribs.remove(int(attribute)); in removeAttribute()
229 bool QGeoSatelliteInfo::hasAttribute(Attribute attribute) const in hasAttribute()
231 return d->doubleAttribs.contains(int(attribute)); in hasAttribute()
H A Dqgeopositioninfo.cpp212 void QGeoPositionInfo::setAttribute(Attribute attribute, qreal value) in setAttribute() argument
214 d->doubleAttribs[attribute] = value; in setAttribute()
227 qreal QGeoPositionInfo::attribute(Attribute attribute) const in attribute() function in QGeoPositionInfo
229 if (d->doubleAttribs.contains(attribute)) in attribute()
230 return d->doubleAttribs[attribute]; in attribute()
237 void QGeoPositionInfo::removeAttribute(Attribute attribute) in removeAttribute() argument
239 d->doubleAttribs.remove(attribute); in removeAttribute()
246 bool QGeoPositionInfo::hasAttribute(Attribute attribute) const in hasAttribute()
248 return d->doubleAttribs.contains(attribute); in hasAttribute()
/OK3568_Linux_fs/kernel/Documentation/hwmon/
H A Dibmpowernv.rst18 'hwmon' populates the 'sysfs' tree having attribute files, each for a given
19 sensor type and its attribute data.
22 the DT maps to an attribute file in 'sysfs'. The node exports unique 'sensor-id'
44 sub-group. In POWER9, this attribute corresponds to
45 each OCC. Using this attribute each OCC can be asked to
57 sub-group. In POWER9, this attribute corresponds to
58 each OCC. Using this attribute each OCC can be asked to
68 sub-group. In POWER9, this attribute corresponds to
69 each OCC. Using this attribute each OCC can be asked to
79 sub-group. In POWER9, this attribute corresponds to
[all …]

12345678910>>...80