Home
last modified time | relevance | path

Searched refs:attribute (Results 1 - 25 of 46) sorted by relevance

12

/device/soc/rockchip/common/vendor/drivers/gpu/arm/midgard/
H A Dmali_kbase_js_ctx_attr.c24 * @brief Check whether a ctx has a certain attribute, and if so, retain that
25 * attribute on the runpool.
39 enum kbasep_js_ctx_attr attribute) in kbasep_js_ctx_attr_runpool_retain_attr()
47 KBASE_DEBUG_ASSERT(attribute < KBASEP_JS_CTX_ATTR_COUNT); in kbasep_js_ctx_attr_runpool_retain_attr()
56 if (kbasep_js_ctx_attr_is_attr_on_ctx(kctx, attribute) != false) { in kbasep_js_ctx_attr_runpool_retain_attr()
57 KBASE_DEBUG_ASSERT(js_devdata->runpool_irq.ctx_attr_ref_count[attribute] < S8_MAX); in kbasep_js_ctx_attr_runpool_retain_attr()
58 ++(js_devdata->runpool_irq.ctx_attr_ref_count[attribute]); in kbasep_js_ctx_attr_runpool_retain_attr()
60 if (js_devdata->runpool_irq.ctx_attr_ref_count[attribute] == 1) { in kbasep_js_ctx_attr_runpool_retain_attr()
63 KBASE_TRACE_ADD(kbdev, JS_CTX_ATTR_NOW_ON_RUNPOOL, kctx, NULL, 0u, attribute); in kbasep_js_ctx_attr_runpool_retain_attr()
71 * @brief Check whether a ctx has a certain attribute, an
38 kbasep_js_ctx_attr_runpool_retain_attr(struct kbase_device *kbdev, struct kbase_context *kctx, enum kbasep_js_ctx_attr attribute) kbasep_js_ctx_attr_runpool_retain_attr() argument
85 kbasep_js_ctx_attr_runpool_release_attr(struct kbase_device *kbdev, struct kbase_context *kctx, enum kbasep_js_ctx_attr attribute) kbasep_js_ctx_attr_runpool_release_attr() argument
128 kbasep_js_ctx_attr_ctx_retain_attr(struct kbase_device *kbdev, struct kbase_context *kctx, enum kbasep_js_ctx_attr attribute) kbasep_js_ctx_attr_ctx_retain_attr() argument
166 kbasep_js_ctx_attr_ctx_release_attr(struct kbase_device *kbdev, struct kbase_context *kctx, enum kbasep_js_ctx_attr attribute) kbasep_js_ctx_attr_ctx_release_attr() argument
[all...]
H A Dmali_kbase_js_ctx_attr.h115 static inline s8 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
120 KBASE_DEBUG_ASSERT(attribute < KBASEP_JS_CTX_ATTR_COUNT); in kbasep_js_ctx_attr_count_on_runpool()
123 return js_devdata->runpool_irq.ctx_attr_ref_count[attribute]; in kbasep_js_ctx_attr_count_on_runpool()
130 static inline bool kbasep_js_ctx_attr_is_attr_on_runpool(struct kbase_device *kbdev, enum kbasep_js_ctx_attr attribute)
133 return (bool)kbasep_js_ctx_attr_count_on_runpool(kbdev, attribute);
140 static inline bool kbasep_js_ctx_attr_is_attr_on_ctx(struct kbase_context *kctx, enum kbasep_js_ctx_attr attribute)
145 KBASE_DEBUG_ASSERT(attribute < KBASEP_JS_CTX_ATTR_COUNT);
149 return (bool)(js_kctx_info->ctx.ctx_attr_ref_count[attribute]);
/device/soc/rockchip/common/kernel/drivers/gpu/arm/midgard/
H A Dmali_kbase_js_ctx_attr.c27 * @brief Check whether a ctx has a certain attribute, and if so, retain that
28 * attribute on the runpool.
41 static bool kbasep_js_ctx_attr_runpool_retain_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()
73 * @brief Check whether a ctx has a certain attribute, an
87 kbasep_js_ctx_attr_runpool_release_attr(struct kbase_device *kbdev, struct kbase_context *kctx, enum kbasep_js_ctx_attr attribute) kbasep_js_ctx_attr_runpool_release_attr() argument
129 kbasep_js_ctx_attr_ctx_retain_attr(struct kbase_device *kbdev, struct kbase_context *kctx, enum kbasep_js_ctx_attr attribute) kbasep_js_ctx_attr_ctx_retain_attr() argument
166 kbasep_js_ctx_attr_ctx_release_attr(struct kbase_device *kbdev, struct kbase_context *kctx, enum kbasep_js_ctx_attr attribute) kbasep_js_ctx_attr_ctx_release_attr() argument
[all...]
H A Dmali_kbase_js_ctx_attr.h117 static inline s8 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 static inline bool kbasep_js_ctx_attr_is_attr_on_runpool(struct kbase_device *kbdev, enum kbasep_js_ctx_attr attribute)
135 return (bool) kbasep_js_ctx_attr_count_on_runpool(kbdev, attribute);
142 static inline bool kbasep_js_ctx_attr_is_attr_on_ctx(struct kbase_context *kctx, enum kbasep_js_ctx_attr attribute)
147 KBASE_DEBUG_ASSERT(attribute < KBASEP_JS_CTX_ATTR_COUNT);
151 return (bool) (js_kctx_info->ctx.ctx_attr_ref_count[attribute]);
/device/soc/rockchip/common/vendor/drivers/gpu/arm/bifrost/
H A Dmali_kbase_js_ctx_attr.c31 * @brief Check whether a ctx has a certain attribute, and if so, retain that
32 * attribute on the runpool.
46 enum kbasep_js_ctx_attr attribute) in kbasep_js_ctx_attr_runpool_retain_attr()
54 KBASE_DEBUG_ASSERT(attribute < KBASEP_JS_CTX_ATTR_COUNT); in kbasep_js_ctx_attr_runpool_retain_attr()
63 if (kbasep_js_ctx_attr_is_attr_on_ctx(kctx, attribute) != false) { in kbasep_js_ctx_attr_runpool_retain_attr()
64 KBASE_DEBUG_ASSERT(js_devdata->runpool_irq.ctx_attr_ref_count[attribute] < S8_MAX); in kbasep_js_ctx_attr_runpool_retain_attr()
65 ++(js_devdata->runpool_irq.ctx_attr_ref_count[attribute]); in kbasep_js_ctx_attr_runpool_retain_attr()
67 if (js_devdata->runpool_irq.ctx_attr_ref_count[attribute] == 1) { in kbasep_js_ctx_attr_runpool_retain_attr()
70 KBASE_KTRACE_ADD_JM(kbdev, JS_CTX_ATTR_NOW_ON_RUNPOOL, kctx, NULL, 0u, attribute); in kbasep_js_ctx_attr_runpool_retain_attr()
78 * @brief Check whether a ctx has a certain attribute, an
45 kbasep_js_ctx_attr_runpool_retain_attr(struct kbase_device *kbdev, struct kbase_context *kctx, enum kbasep_js_ctx_attr attribute) kbasep_js_ctx_attr_runpool_retain_attr() argument
92 kbasep_js_ctx_attr_runpool_release_attr(struct kbase_device *kbdev, struct kbase_context *kctx, enum kbasep_js_ctx_attr attribute) kbasep_js_ctx_attr_runpool_release_attr() argument
135 kbasep_js_ctx_attr_ctx_retain_attr(struct kbase_device *kbdev, struct kbase_context *kctx, enum kbasep_js_ctx_attr attribute) kbasep_js_ctx_attr_ctx_retain_attr() argument
173 kbasep_js_ctx_attr_ctx_release_attr(struct kbase_device *kbdev, struct kbase_context *kctx, enum kbasep_js_ctx_attr attribute) kbasep_js_ctx_attr_ctx_release_attr() argument
[all...]
H A Dmali_kbase_js_ctx_attr.h114 static inline s8 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
119 KBASE_DEBUG_ASSERT(attribute < KBASEP_JS_CTX_ATTR_COUNT); in kbasep_js_ctx_attr_count_on_runpool()
122 return js_devdata->runpool_irq.ctx_attr_ref_count[attribute]; in kbasep_js_ctx_attr_count_on_runpool()
129 static inline bool kbasep_js_ctx_attr_is_attr_on_runpool(struct kbase_device *kbdev, enum kbasep_js_ctx_attr attribute)
132 return (bool)kbasep_js_ctx_attr_count_on_runpool(kbdev, attribute);
139 static inline bool kbasep_js_ctx_attr_is_attr_on_ctx(struct kbase_context *kctx, enum kbasep_js_ctx_attr attribute)
144 KBASE_DEBUG_ASSERT(attribute < KBASEP_JS_CTX_ATTR_COUNT);
148 return (bool)(js_kctx_info->ctx.ctx_attr_ref_count[attribute]);
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/
H A Dmali_kbase_js_ctx_attr.c30 * Check whether a ctx has a certain attribute, and if so, retain that
31 * attribute on the runpool.
34 * @attribute: Atribute to check/retain
47 static bool kbasep_js_ctx_attr_runpool_retain_attr(struct kbase_device *kbdev, struct kbase_context *kctx, enum kbasep_js_ctx_attr attribute) in kbasep_js_ctx_attr_runpool_retain_attr() argument
55 KBASE_DEBUG_ASSERT(attribute < KBASEP_JS_CTX_ATTR_COUNT); in kbasep_js_ctx_attr_runpool_retain_attr()
64 if (kbasep_js_ctx_attr_is_attr_on_ctx(kctx, attribute) != false) { in kbasep_js_ctx_attr_runpool_retain_attr()
65 KBASE_DEBUG_ASSERT(js_devdata->runpool_irq.ctx_attr_ref_count[attribute] < S8_MAX); in kbasep_js_ctx_attr_runpool_retain_attr()
66 ++(js_devdata->runpool_irq.ctx_attr_ref_count[attribute]); in kbasep_js_ctx_attr_runpool_retain_attr()
68 if (js_devdata->runpool_irq.ctx_attr_ref_count[attribute] == 1) { in kbasep_js_ctx_attr_runpool_retain_attr()
71 KBASE_KTRACE_ADD_JM(kbdev, JS_CTX_ATTR_NOW_ON_RUNPOOL, kctx, NULL, 0u, attribute); in kbasep_js_ctx_attr_runpool_retain_attr()
96 kbasep_js_ctx_attr_runpool_release_attr(struct kbase_device *kbdev, struct kbase_context *kctx, enum kbasep_js_ctx_attr attribute) kbasep_js_ctx_attr_runpool_release_attr() argument
141 kbasep_js_ctx_attr_ctx_retain_attr(struct kbase_device *kbdev, struct kbase_context *kctx, enum kbasep_js_ctx_attr attribute) kbasep_js_ctx_attr_ctx_retain_attr() argument
181 kbasep_js_ctx_attr_ctx_release_attr(struct kbase_device *kbdev, struct kbase_context *kctx, enum kbasep_js_ctx_attr attribute) kbasep_js_ctx_attr_ctx_release_attr() argument
[all...]
H A Dmali_kbase_js_ctx_attr.h105 static inline s8 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
110 KBASE_DEBUG_ASSERT(attribute < KBASEP_JS_CTX_ATTR_COUNT); in kbasep_js_ctx_attr_count_on_runpool()
113 return js_devdata->runpool_irq.ctx_attr_ref_count[attribute]; in kbasep_js_ctx_attr_count_on_runpool()
120 static inline bool kbasep_js_ctx_attr_is_attr_on_runpool(struct kbase_device *kbdev, enum kbasep_js_ctx_attr attribute)
123 return (bool) kbasep_js_ctx_attr_count_on_runpool(kbdev, attribute);
130 static inline bool kbasep_js_ctx_attr_is_attr_on_ctx(struct kbase_context *kctx, enum kbasep_js_ctx_attr attribute)
135 KBASE_DEBUG_ASSERT(attribute < KBASEP_JS_CTX_ATTR_COUNT);
139 return (bool) (js_kctx_info->ctx.ctx_attr_ref_count[attribute]);
/device/qemu/drivers/uart/
H A Duart.c122 static int32_t Hi35xxGetAttribute(struct UartHost *host, struct UartAttribute *attribute) in Hi35xxGetAttribute() argument
126 if (host == NULL || host->priv == NULL || attribute == NULL) { in Hi35xxGetAttribute()
134 attribute->cts = udd->attr.cts; in Hi35xxGetAttribute()
135 attribute->dataBits = udd->attr.dataBits; in Hi35xxGetAttribute()
136 attribute->fifoRxEn = udd->attr.fifoRxEn; in Hi35xxGetAttribute()
137 attribute->fifoTxEn = udd->attr.fifoTxEn; in Hi35xxGetAttribute()
138 attribute->parity = udd->attr.parity; in Hi35xxGetAttribute()
139 attribute->rts = udd->attr.rts; in Hi35xxGetAttribute()
140 attribute->stopBits = udd->attr.stopBits; in Hi35xxGetAttribute()
144 static int32_t Hi35xxSetAttribute(struct UartHost *host, struct UartAttribute *attribute) in Hi35xxSetAttribute() argument
[all...]
/device/soc/hisilicon/common/platform/uart/
H A Duart_hi35xx.c197 static int32_t Hi35xxGetAttribute(struct UartHost *host, struct UartAttribute *attribute) in Hi35xxGetAttribute() argument
201 if (host == NULL || host->priv == NULL || attribute == NULL) { in Hi35xxGetAttribute()
209 attribute->cts = udd->attr.cts; in Hi35xxGetAttribute()
210 attribute->dataBits = udd->attr.dataBits; in Hi35xxGetAttribute()
211 attribute->fifoRxEn = udd->attr.fifoRxEn; in Hi35xxGetAttribute()
212 attribute->fifoTxEn = udd->attr.fifoTxEn; in Hi35xxGetAttribute()
213 attribute->parity = udd->attr.parity; in Hi35xxGetAttribute()
214 attribute->rts = udd->attr.rts; in Hi35xxGetAttribute()
215 attribute->stopBits = udd->attr.stopBits; in Hi35xxGetAttribute()
219 static int32_t Hi35xxSetAttribute(struct UartHost *host, struct UartAttribute *attribute) in Hi35xxSetAttribute() argument
[all...]
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/csf/
H A Dmali_kbase_csf_firmware_cfg.c65 struct attribute fw_cfg_attr_##_name = { \
83 struct attribute *attr, char *buf) in show_fw_cfg()
114 struct attribute *attr, in store_fw_cfg()
206 static struct attribute *fw_cfg_attrs[] = {
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/oam/
H A Doam_main.c75 static struct attribute *g_oam_log_attrs[] = {
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/
H A Ddhd_linux_exportfs.c415 struct attribute attr;
448 static struct attribute *default_attrs[] = {
470 * bcm-dhd kobject show function, the "attr" attribute specifices to which
473 static ssize_t dhd_show(struct kobject *kobj, struct attribute *attr, char *buf) in dhd_show()
495 * bcm-dhd kobject show function, the "attr" attribute specifices to which
498 static ssize_t dhd_store(struct kobject *kobj, struct attribute *attr, in dhd_store()
1220 static struct attribute *control_file_attrs[] = {
1280 * wifi kobject show function, the "attr" attribute specifices to which
1283 static ssize_t dhd_cntl_show(struct kobject *kobj, struct attribute *attr, char *buf) in dhd_cntl_show()
1305 * wifi kobject show function, the "attr" attribute specifice
[all...]
/device/soc/rockchip/common/sdk_linux/drivers/power/supply/
H A Dpower_supply_sysfs.c199 static struct attribute *__power_supply_attrs[ARRAY_SIZE(power_supply_attrs) + 1];
317 static umode_t power_supply_attr_is_visible(struct kobject *kobj, struct attribute *attr, int attrno) in power_supply_attr_is_visible()
/device/soc/rockchip/common/sdk_linux/drivers/pwm/
H A Dsysfs.c248 static struct attribute *pwm_attrs[] = {&dev_attr_period.attr, &dev_attr_duty_cycle.attr,
394 static struct attribute *pwm_chip_attrs[] = {
/device/soc/rockchip/common/sdk_linux/kernel/power/
H A Dwakeup_reason.c360 static struct attribute *attrs[] = {
H A Dhibernate.c1302 static struct attribute *g[] = {
/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/i915/gt/uc/
H A Dintel_guc_fwif.h169 u8 attribute; member
/device/soc/rockchip/common/sdk_linux/drivers/dma-buf/
H A Ddma-heap.c404 static struct attribute *dma_heap_sysfs_attrs[] = {
/device/soc/rockchip/rk3588/kernel/kernel/power/
H A Dwakeup_reason.c364 static struct attribute *attrs[] = {
/device/soc/rockchip/rk3566/sdk_linux/drivers/iio/adc/
H A Drockchip_saradc.c358 static struct attribute *saradc_attrs[] = {&dev_attr_saradc_test_chn.attr, NULL};
/device/soc/rockchip/common/sdk_linux/arch/arm64/kernel/
H A Dcpuinfo.c262 static struct attribute *cpuregs_id_attrs[] = {&cpuregs_attr_midr_el1.attr, &cpuregs_attr_revidr_el1.attr, NULL};
/device/soc/rockchip/common/sdk_linux/kernel/
H A Dcpu.c2401 static struct attribute *cpuhp_cpu_attrs[] = {&dev_attr_state.attr, &dev_attr_target.attr, &dev_attr_fail.attr, NULL};
2425 static struct attribute *cpuhp_cpu_root_attrs[] = {&dev_attr_states.attr, NULL};
2509 static struct attribute *cpuhp_smt_attrs[] = {&dev_attr_control.attr, &dev_attr_active.attr, NULL};
/device/soc/hisilicon/hi3751v350/sdk_linux/source/common/drv/himedia/
H A Dhimedia_base.c58 static struct attribute *g_himedia_dev_attrs[] = {
/device/soc/rockchip/common/vendor/drivers/net/
H A Drfkill-wlan.c781 static struct attribute *rkwifi_power_attrs[] = {

Completed in 20 milliseconds

12