Home
last modified time | relevance | path

Searched refs:attr (Results 1926 - 1950 of 8769) sorted by relevance

1...<<71727374757677787980>>...351

/kernel/linux/linux-5.10/drivers/accessibility/speakup/
H A Dspeakup_soft.c97 &caps_start_attribute.attr,
98 &caps_stop_attribute.attr,
99 &freq_attribute.attr,
100 /* &lang_attribute.attr, */
101 &pitch_attribute.attr,
102 &inflection_attribute.attr,
103 &punct_attribute.attr,
104 &rate_attribute.attr,
105 &tone_attribute.attr,
106 &voice_attribute.attr,
[all...]
/kernel/linux/linux-5.10/drivers/edac/
H A Dedac_pci_sysfs.c71 #define to_instance_attr(a) container_of(a, struct instance_attribute, attr)
91 struct attribute attr; member
98 struct attribute *attr, char *buffer) in edac_pci_instance_show()
101 struct instance_attribute *instance_attr = to_instance_attr(attr); in edac_pci_instance_show()
110 struct attribute *attr, in edac_pci_instance_store()
114 struct instance_attribute *instance_attr = to_instance_attr(attr); in edac_pci_instance_store()
129 .attr = {.name = __stringify(_name), .mode = _mode }, \
211 #define to_edacpci_attr(a) container_of(a, struct edac_pci_attr, attr)
231 struct attribute attr; member
238 static ssize_t edac_pci_dev_show(struct kobject *kobj, struct attribute *attr, in edac_pci_dev_show() argument
97 edac_pci_instance_show(struct kobject *kobj, struct attribute *attr, char *buffer) edac_pci_instance_show() argument
109 edac_pci_instance_store(struct kobject *kobj, struct attribute *attr, const char *buffer, size_t count) edac_pci_instance_store() argument
249 edac_pci_dev_store(struct kobject *kobj, struct attribute *attr, const char *buffer, size_t count) edac_pci_dev_store() argument
[all...]
/kernel/linux/linux-5.10/drivers/leds/
H A Dled-class-flash.c38 struct device_attribute *attr, const char *buf, size_t size) in flash_brightness_store()
67 struct device_attribute *attr, char *buf) in flash_brightness_show()
80 struct device_attribute *attr, char *buf) in max_flash_brightness_show()
90 struct device_attribute *attr, const char *buf, size_t size) in flash_strobe_store()
123 struct device_attribute *attr, char *buf) in flash_strobe_show()
140 struct device_attribute *attr, const char *buf, size_t size) in flash_timeout_store()
169 struct device_attribute *attr, char *buf) in flash_timeout_show()
179 struct device_attribute *attr, char *buf) in max_flash_timeout_show()
189 struct device_attribute *attr, char *buf) in flash_fault_show()
217 &dev_attr_flash_strobe.attr,
37 flash_brightness_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t size) flash_brightness_store() argument
66 flash_brightness_show(struct device *dev, struct device_attribute *attr, char *buf) flash_brightness_show() argument
79 max_flash_brightness_show(struct device *dev, struct device_attribute *attr, char *buf) max_flash_brightness_show() argument
89 flash_strobe_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t size) flash_strobe_store() argument
122 flash_strobe_show(struct device *dev, struct device_attribute *attr, char *buf) flash_strobe_show() argument
139 flash_timeout_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t size) flash_timeout_store() argument
168 flash_timeout_show(struct device *dev, struct device_attribute *attr, char *buf) flash_timeout_show() argument
178 max_flash_timeout_show(struct device *dev, struct device_attribute *attr, char *buf) max_flash_timeout_show() argument
188 flash_fault_show(struct device *dev, struct device_attribute *attr, char *buf) flash_fault_show() argument
[all...]
/kernel/linux/linux-5.10/drivers/hwmon/
H A Dcorsair-cpro.c202 u32 attr, int channel, const char **str) in ccp_read_string()
208 switch (attr) { in ccp_read_string()
224 u32 attr, int channel, long *val) in ccp_read()
231 switch (attr) { in ccp_read()
243 switch (attr) { in ccp_read()
262 switch (attr) { in ccp_read()
274 switch (attr) { in ccp_read()
293 u32 attr, int channel, long val) in ccp_write()
299 switch (attr) { in ccp_write()
307 switch (attr) { in ccp_write()
201 ccp_read_string(struct device *dev, enum hwmon_sensor_types type, u32 attr, int channel, const char **str) ccp_read_string() argument
223 ccp_read(struct device *dev, enum hwmon_sensor_types type, u32 attr, int channel, long *val) ccp_read() argument
292 ccp_write(struct device *dev, enum hwmon_sensor_types type, u32 attr, int channel, long val) ccp_write() argument
320 ccp_is_visible(const void *data, enum hwmon_sensor_types type, u32 attr, int channel) ccp_is_visible() argument
[all...]
H A Dmax6650.c300 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in alarm_show() local
307 alarm = data->alarm & attr->index; in alarm_show()
310 data->alarm &= ~attr->index; in alarm_show()
332 devattr = container_of(a, struct device_attribute, attr); in max6650_attrs_visible()
343 &sensor_dev_attr_gpio1_alarm.dev_attr.attr,
344 &sensor_dev_attr_gpio2_alarm.dev_attr.attr,
520 u32 attr, int channel, long *val) in max6650_read()
530 switch (attr) { in max6650_read()
553 switch (attr) { in max6650_read()
611 u32 attr, in in max6650_write()
519 max6650_read(struct device *dev, enum hwmon_sensor_types type, u32 attr, int channel, long *val) max6650_read() argument
610 max6650_write(struct device *dev, enum hwmon_sensor_types type, u32 attr, int channel, long val) max6650_write() argument
692 max6650_is_visible(const void *_data, enum hwmon_sensor_types type, u32 attr, int channel) max6650_is_visible() argument
[all...]
H A Dnct6775.c1246 .attr = {.name = _template, .mode = _mode }, \
1324 (*t)->dev_attr.attr.name, tg->base + i); in nct6775_create_attr_group()
1327 sysfs_attr_init(&a2->dev_attr.attr); in nct6775_create_attr_group()
1328 a2->dev_attr.attr.name = su->name; in nct6775_create_attr_group()
1331 a2->dev_attr.attr.mode = in nct6775_create_attr_group()
1332 (*t)->dev_attr.attr.mode; in nct6775_create_attr_group()
1335 *attrs = &a2->dev_attr.attr; in nct6775_create_attr_group()
1338 sysfs_attr_init(&a->dev_attr.attr); in nct6775_create_attr_group()
1339 a->dev_attr.attr.name = su->name; in nct6775_create_attr_group()
1341 a->dev_attr.attr in nct6775_create_attr_group()
1871 show_in_reg(struct device *dev, struct device_attribute *attr, char *buf) show_in_reg() argument
1882 store_in_reg(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) store_in_reg() argument
1904 show_alarm(struct device *dev, struct device_attribute *attr, char *buf) show_alarm() argument
1931 show_temp_alarm(struct device *dev, struct device_attribute *attr, char *buf) show_temp_alarm() argument
1952 show_beep(struct device *dev, struct device_attribute *attr, char *buf) show_beep() argument
1963 store_beep(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) store_beep() argument
1991 show_temp_beep(struct device *dev, struct device_attribute *attr, char *buf) show_temp_beep() argument
2013 store_temp_beep(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) store_temp_beep() argument
2047 nct6775_in_is_visible(struct kobject *kobj, struct attribute *attr, int index) nct6775_in_is_visible() argument
2089 show_fan(struct device *dev, struct device_attribute *attr, char *buf) show_fan() argument
2099 show_fan_min(struct device *dev, struct device_attribute *attr, char *buf) show_fan_min() argument
2111 show_fan_div(struct device *dev, struct device_attribute *attr, char *buf) show_fan_div() argument
2121 store_fan_min(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) store_fan_min() argument
2215 show_fan_pulses(struct device *dev, struct device_attribute *attr, char *buf) show_fan_pulses() argument
2225 store_fan_pulses(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) store_fan_pulses() argument
2253 nct6775_fan_is_visible(struct kobject *kobj, struct attribute *attr, int index) nct6775_fan_is_visible() argument
2311 show_temp_label(struct device *dev, struct device_attribute *attr, char *buf) show_temp_label() argument
2321 show_temp(struct device *dev, struct device_attribute *attr, char *buf) show_temp() argument
2332 store_temp(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) store_temp() argument
2355 show_temp_offset(struct device *dev, struct device_attribute *attr, char *buf) show_temp_offset() argument
2364 store_temp_offset(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) store_temp_offset() argument
2388 show_temp_type(struct device *dev, struct device_attribute *attr, char *buf) show_temp_type() argument
2398 store_temp_type(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) store_temp_type() argument
2440 nct6775_temp_is_visible(struct kobject *kobj, struct attribute *attr, int index) nct6775_temp_is_visible() argument
2523 show_pwm_mode(struct device *dev, struct device_attribute *attr, char *buf) show_pwm_mode() argument
2532 store_pwm_mode(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) store_pwm_mode() argument
2568 show_pwm(struct device *dev, struct device_attribute *attr, char *buf) show_pwm() argument
2589 store_pwm(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) store_pwm() argument
2683 show_pwm_enable(struct device *dev, struct device_attribute *attr, char *buf) show_pwm_enable() argument
2692 store_pwm_enable(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) store_pwm_enable() argument
2754 show_pwm_temp_sel(struct device *dev, struct device_attribute *attr, char *buf) show_pwm_temp_sel() argument
2764 store_pwm_temp_sel(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) store_pwm_temp_sel() argument
2794 show_pwm_weight_temp_sel(struct device *dev, struct device_attribute *attr, char *buf) show_pwm_weight_temp_sel() argument
2806 store_pwm_weight_temp_sel(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) store_pwm_weight_temp_sel() argument
2845 show_target_temp(struct device *dev, struct device_attribute *attr, char *buf) show_target_temp() argument
2854 store_target_temp(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) store_target_temp() argument
2878 show_target_speed(struct device *dev, struct device_attribute *attr, char *buf) show_target_speed() argument
2890 store_target_speed(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) store_target_speed() argument
2915 show_temp_tolerance(struct device *dev, struct device_attribute *attr, char *buf) show_temp_tolerance() argument
2927 store_temp_tolerance(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) store_temp_tolerance() argument
2964 show_speed_tolerance(struct device *dev, struct device_attribute *attr, char *buf) show_speed_tolerance() argument
2992 store_speed_tolerance(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) store_speed_tolerance() argument
3045 show_weight_temp(struct device *dev, struct device_attribute *attr, char *buf) show_weight_temp() argument
3056 store_weight_temp(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) store_weight_temp() argument
3093 show_fan_time(struct device *dev, struct device_attribute *attr, char *buf) show_fan_time() argument
3106 store_fan_time(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) store_fan_time() argument
3129 show_auto_pwm(struct device *dev, struct device_attribute *attr, char *buf) show_auto_pwm() argument
3138 store_auto_pwm(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) store_auto_pwm() argument
3212 show_auto_temp(struct device *dev, struct device_attribute *attr, char *buf) show_auto_temp() argument
3227 store_auto_temp(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) store_auto_temp() argument
3257 nct6775_pwm_is_visible(struct kobject *kobj, struct attribute *attr, int index) nct6775_pwm_is_visible() argument
3397 cpu0_vid_show(struct device *dev, struct device_attribute *attr, char *buf) cpu0_vid_show() argument
3409 clear_caseopen(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) clear_caseopen() argument
3459 nct6775_other_is_visible(struct kobject *kobj, struct attribute *attr, int index) nct6775_other_is_visible() argument
[all...]
/kernel/linux/linux-5.10/drivers/mfd/
H A Dlm3533-core.c257 struct device_attribute *attr, char *buf) in show_output()
260 struct lm3533_device_attribute *lattr = to_lm3533_dev_attr(attr); in show_output()
293 struct device_attribute *attr, in store_output()
297 struct lm3533_device_attribute *lattr = to_lm3533_dev_attr(attr); in store_output()
345 &lm3533_dev_attr_output_hvled1.dev_attr.attr,
346 &lm3533_dev_attr_output_hvled2.dev_attr.attr,
347 &lm3533_dev_attr_output_lvled1.dev_attr.attr,
348 &lm3533_dev_attr_output_lvled2.dev_attr.attr,
349 &lm3533_dev_attr_output_lvled3.dev_attr.attr,
350 &lm3533_dev_attr_output_lvled4.dev_attr.attr,
256 show_output(struct device *dev, struct device_attribute *attr, char *buf) show_output() argument
292 store_output(struct device *dev, struct device_attribute *attr, const char *buf, size_t len) store_output() argument
358 lm3533_attr_is_visible(struct kobject *kobj, struct attribute *attr, int n) lm3533_attr_is_visible() argument
[all...]
/kernel/linux/linux-6.6/drivers/mfd/
H A Dlm3533-core.c257 struct device_attribute *attr, char *buf) in show_output()
260 struct lm3533_device_attribute *lattr = to_lm3533_dev_attr(attr); in show_output()
293 struct device_attribute *attr, in store_output()
297 struct lm3533_device_attribute *lattr = to_lm3533_dev_attr(attr); in store_output()
345 &lm3533_dev_attr_output_hvled1.dev_attr.attr,
346 &lm3533_dev_attr_output_hvled2.dev_attr.attr,
347 &lm3533_dev_attr_output_lvled1.dev_attr.attr,
348 &lm3533_dev_attr_output_lvled2.dev_attr.attr,
349 &lm3533_dev_attr_output_lvled3.dev_attr.attr,
350 &lm3533_dev_attr_output_lvled4.dev_attr.attr,
256 show_output(struct device *dev, struct device_attribute *attr, char *buf) show_output() argument
292 store_output(struct device *dev, struct device_attribute *attr, const char *buf, size_t len) store_output() argument
358 lm3533_attr_is_visible(struct kobject *kobj, struct attribute *attr, int n) lm3533_attr_is_visible() argument
[all...]
/kernel/linux/linux-6.6/drivers/accessibility/speakup/
H A Dspeakup_soft.c109 &caps_start_attribute.attr,
110 &caps_stop_attribute.attr,
111 &freq_attribute.attr,
112 /* &lang_attribute.attr, */
113 &pitch_attribute.attr,
114 &inflection_attribute.attr,
115 &punct_attribute.attr,
116 &rate_attribute.attr,
117 &tone_attribute.attr,
118 &voice_attribute.attr,
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_pmu.c41 struct device_attribute attr; member
61 struct device_attribute *attr, char *buf) in amdgpu_pmu_event_show()
65 amdgpu_pmu_attr = container_of(attr, struct amdgpu_pmu_event_attribute, in amdgpu_pmu_event_show()
66 attr); in amdgpu_pmu_event_show()
213 /* test the event attr type check for PMU enumeration */ in amdgpu_perf_event_init()
214 if (event->attr.type != event->pmu->type) in amdgpu_perf_event_init()
218 hwc->config = event->attr.config; in amdgpu_perf_event_init()
421 attr_group->attrs[i] = &pmu_attr->attr.attr; in amdgpu_pmu_create_event_attrs_by_type()
422 sysfs_attr_init(&pmu_attr->attr in amdgpu_pmu_create_event_attrs_by_type()
60 amdgpu_pmu_event_show(struct device *dev, struct device_attribute *attr, char *buf) amdgpu_pmu_event_show() argument
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
H A Dpost_meter.c24 struct mlx5_flow_attr *attr; member
116 struct mlx5_flow_attr *attr, in mlx5e_post_meter_add_rule()
123 attr->action |= MLX5_FLOW_CONTEXT_ACTION_COUNT; in mlx5e_post_meter_add_rule()
124 if (attr->action & MLX5_FLOW_CONTEXT_ACTION_DROP) in mlx5e_post_meter_add_rule()
125 attr->counter = drop_counter; in mlx5e_post_meter_add_rule()
127 attr->counter = act_counter; in mlx5e_post_meter_add_rule()
129 attr->flags |= MLX5_ATTR_FLAG_NO_IN_PORT; in mlx5e_post_meter_add_rule()
130 attr->inner_match_level = MLX5_MATCH_NONE; in mlx5e_post_meter_add_rule()
131 attr->outer_match_level = MLX5_MATCH_NONE; in mlx5e_post_meter_add_rule()
132 attr in mlx5e_post_meter_add_rule()
113 mlx5e_post_meter_add_rule(struct mlx5e_priv *priv, struct mlx5e_post_meter_priv *post_meter, struct mlx5_flow_spec *spec, struct mlx5_flow_attr *attr, struct mlx5_fc *act_counter, struct mlx5_fc *drop_counter) mlx5e_post_meter_add_rule() argument
[all...]
/kernel/linux/linux-6.6/drivers/hwmon/
H A Dmax6650.c300 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in alarm_show() local
307 alarm = data->alarm & attr->index; in alarm_show()
310 data->alarm &= ~attr->index; in alarm_show()
332 devattr = container_of(a, struct device_attribute, attr); in max6650_attrs_visible()
343 &sensor_dev_attr_gpio1_alarm.dev_attr.attr,
344 &sensor_dev_attr_gpio2_alarm.dev_attr.attr,
520 u32 attr, int channel, long *val) in max6650_read()
530 switch (attr) { in max6650_read()
553 switch (attr) { in max6650_read()
611 u32 attr, in in max6650_write()
519 max6650_read(struct device *dev, enum hwmon_sensor_types type, u32 attr, int channel, long *val) max6650_read() argument
610 max6650_write(struct device *dev, enum hwmon_sensor_types type, u32 attr, int channel, long val) max6650_write() argument
692 max6650_is_visible(const void *_data, enum hwmon_sensor_types type, u32 attr, int channel) max6650_is_visible() argument
[all...]
H A Dcorsair-cpro.c202 u32 attr, int channel, const char **str) in ccp_read_string()
208 switch (attr) { in ccp_read_string()
224 u32 attr, int channel, long *val) in ccp_read()
231 switch (attr) { in ccp_read()
243 switch (attr) { in ccp_read()
262 switch (attr) { in ccp_read()
274 switch (attr) { in ccp_read()
293 u32 attr, int channel, long val) in ccp_write()
299 switch (attr) { in ccp_write()
307 switch (attr) { in ccp_write()
201 ccp_read_string(struct device *dev, enum hwmon_sensor_types type, u32 attr, int channel, const char **str) ccp_read_string() argument
223 ccp_read(struct device *dev, enum hwmon_sensor_types type, u32 attr, int channel, long *val) ccp_read() argument
292 ccp_write(struct device *dev, enum hwmon_sensor_types type, u32 attr, int channel, long val) ccp_write() argument
321 ccp_is_visible(const void *data, enum hwmon_sensor_types type, u32 attr, int channel) ccp_is_visible() argument
[all...]
/kernel/linux/linux-6.6/drivers/leds/
H A Dled-class-flash.c38 struct device_attribute *attr, const char *buf, size_t size) in flash_brightness_store()
67 struct device_attribute *attr, char *buf) in flash_brightness_show()
80 struct device_attribute *attr, char *buf) in max_flash_brightness_show()
90 struct device_attribute *attr, const char *buf, size_t size) in flash_strobe_store()
121 struct device_attribute *attr, char *buf) in flash_strobe_show()
138 struct device_attribute *attr, const char *buf, size_t size) in flash_timeout_store()
167 struct device_attribute *attr, char *buf) in flash_timeout_show()
177 struct device_attribute *attr, char *buf) in max_flash_timeout_show()
187 struct device_attribute *attr, char *buf) in flash_fault_show()
215 &dev_attr_flash_strobe.attr,
37 flash_brightness_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t size) flash_brightness_store() argument
66 flash_brightness_show(struct device *dev, struct device_attribute *attr, char *buf) flash_brightness_show() argument
79 max_flash_brightness_show(struct device *dev, struct device_attribute *attr, char *buf) max_flash_brightness_show() argument
89 flash_strobe_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t size) flash_strobe_store() argument
120 flash_strobe_show(struct device *dev, struct device_attribute *attr, char *buf) flash_strobe_show() argument
137 flash_timeout_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t size) flash_timeout_store() argument
166 flash_timeout_show(struct device *dev, struct device_attribute *attr, char *buf) flash_timeout_show() argument
176 max_flash_timeout_show(struct device *dev, struct device_attribute *attr, char *buf) max_flash_timeout_show() argument
186 flash_fault_show(struct device *dev, struct device_attribute *attr, char *buf) flash_fault_show() argument
[all...]
/kernel/linux/linux-6.6/tools/perf/arch/arm64/util/
H A Darm-spe.c133 if (evsel->core.attr.type == arm_spe_pmu->type) { in arm_spe_recording_options()
138 evsel->core.attr.freq = 0; in arm_spe_recording_options()
139 evsel->core.attr.sample_period = arm_spe_pmu->default_config->sample_period; in arm_spe_recording_options()
234 if (arm_spe_evsel->core.attr.config & bit) in arm_spe_recording_options()
245 tracking_evsel->core.attr.freq = 0; in arm_spe_recording_options()
246 tracking_evsel->core.attr.sample_period = 1; in arm_spe_recording_options()
255 tracking_evsel->core.attr.context_switch = 1; in arm_spe_recording_options()
287 if (evsel->core.attr.type == ptr->arm_spe_pmu->type) in arm_spe_snapshot_start()
300 if (evsel->core.attr.type == ptr->arm_spe_pmu->type) in arm_spe_snapshot_finish()
501 struct perf_event_attr *attr; in arm_spe_pmu_default_config() local
[all...]
/third_party/musl/src/thread/
H A Dpthread_create.c255 pthread_attr_t attr = { 0 }; in __pthread_create() local
272 if (attrp && !c11) attr = *attrp; in __pthread_create()
276 attr._a_stacksize = __default_stacksize; in __pthread_create()
277 attr._a_guardsize = __default_guardsize; in __pthread_create()
280 if (attr._a_stackaddr) { in __pthread_create()
282 size = attr._a_stacksize; in __pthread_create()
283 stack = (void *)(attr._a_stackaddr & -16); in __pthread_create()
284 stack_limit = (void *)(attr._a_stackaddr - size); in __pthread_create()
297 guard = ROUND(attr._a_guardsize); in __pthread_create()
298 size = guard + ROUND(attr in __pthread_create()
[all...]
/third_party/musl/src/thread/linux/
H A Dpthread_create.c429 pthread_attr_t attr = { 0 }; in __pthread_create() local
449 if (attrp && !c11) attr = *attrp; in __pthread_create()
453 attr._a_stacksize = __default_stacksize; in __pthread_create()
454 attr._a_guardsize = __default_guardsize; in __pthread_create()
457 if (attr._a_stackaddr) { in __pthread_create()
459 size = attr._a_stacksize; in __pthread_create()
460 stack = (void *)(attr._a_stackaddr & -16); in __pthread_create()
461 stack_limit = (void *)(attr._a_stackaddr - size); in __pthread_create()
474 guard = ROUND(attr._a_guardsize); in __pthread_create()
475 size = guard + ROUND(attr in __pthread_create()
[all...]
/third_party/musl/porting/linux/user/src/thread/
H A Dpthread_create.c365 pthread_attr_t attr = { 0 }; in __pthread_create() local
385 if (attrp && !c11) attr = *attrp; in __pthread_create()
389 attr._a_stacksize = __default_stacksize; in __pthread_create()
390 attr._a_guardsize = __default_guardsize; in __pthread_create()
393 if (attr._a_stackaddr) { in __pthread_create()
395 size = attr._a_stacksize; in __pthread_create()
396 stack = (void *)(attr._a_stackaddr & -16); in __pthread_create()
397 stack_limit = (void *)(attr._a_stackaddr - size); in __pthread_create()
410 guard = ROUND(attr._a_guardsize); in __pthread_create()
411 size = guard + ROUND(attr in __pthread_create()
[all...]
/third_party/skia/modules/svg/src/
H A DSkSVGDOM.cpp56 bool SetIRIAttribute(const sk_sp<SkSVGNode>& node, SkSVGAttribute attr, in SetIRIAttribute() argument
63 node->setAttribute(attr, SkSVGStringValue(parseResult->iri())); in SetIRIAttribute()
67 bool SetStringAttribute(const sk_sp<SkSVGNode>& node, SkSVGAttribute attr, in SetStringAttribute() argument
71 node->setAttribute(attr, SkSVGStringValue(strType)); in SetStringAttribute()
75 bool SetTransformAttribute(const sk_sp<SkSVGNode>& node, SkSVGAttribute attr, in SetTransformAttribute() argument
82 node->setAttribute(attr, SkSVGTransformValue(*parseResult)); in SetTransformAttribute()
86 bool SetLengthAttribute(const sk_sp<SkSVGNode>& node, SkSVGAttribute attr, in SetLengthAttribute() argument
93 node->setAttribute(attr, SkSVGLengthValue(*parseResult)); in SetLengthAttribute()
97 bool SetViewBoxAttribute(const sk_sp<SkSVGNode>& node, SkSVGAttribute attr, in SetViewBoxAttribute() argument
105 node->setAttribute(attr, SkSVGViewBoxValu in SetViewBoxAttribute()
109 SetObjectBoundingBoxUnitsAttribute(const sk_sp<SkSVGNode>& node, SkSVGAttribute attr, const char* stringValue) SetObjectBoundingBoxUnitsAttribute() argument
121 SetPreserveAspectRatioAttribute(const sk_sp<SkSVGNode>& node, SkSVGAttribute attr, const char* stringValue) SetPreserveAspectRatioAttribute() argument
[all...]
/kernel/linux/linux-5.10/drivers/infiniband/hw/qedr/
H A Dverbs.c101 struct qedr_device_attr *qattr = &dev->attr; in qedr_query_srq()
112 struct ib_device_attr *attr, struct ib_udata *udata) in qedr_query_device()
115 struct qedr_device_attr *qattr = &dev->attr; in qedr_query_device()
124 memset(attr, 0, sizeof(*attr)); in qedr_query_device()
126 attr->fw_ver = qattr->fw_ver; in qedr_query_device()
127 attr->sys_image_guid = qattr->sys_image_guid; in qedr_query_device()
128 attr->max_mr_size = qattr->max_mr_size; in qedr_query_device()
129 attr->page_size_cap = qattr->page_size_caps; in qedr_query_device()
130 attr in qedr_query_device()
111 qedr_query_device(struct ib_device *ibdev, struct ib_device_attr *attr, struct ib_udata *udata) qedr_query_device() argument
213 qedr_query_port(struct ib_device *ibdev, u8 port, struct ib_port_attr *attr) qedr_query_port() argument
900 qedr_create_cq(struct ib_cq *ibcq, const struct ib_cq_init_attr *attr, struct ib_udata *udata) qedr_create_cq() argument
1130 get_gid_info_from_table(struct ib_qp *ibqp, struct ib_qp_attr *attr, int attr_mask, struct qed_rdma_modify_qp_in_params *qp_params) get_gid_info_from_table() argument
1661 qedr_modify_srq(struct ib_srq *ibsrq, struct ib_srq_attr *attr, enum ib_srq_attr_mask attr_mask, struct ib_udata *udata) qedr_modify_srq() argument
2468 qedr_modify_qp(struct ib_qp *ibqp, struct ib_qp_attr *attr, int attr_mask, struct ib_udata *udata) qedr_modify_qp() argument
2815 struct ib_qp_attr attr; qedr_destroy_qp() local
[all...]
/device/soc/rockchip/rk3568/hardware/omx_il/osal/
H A DRockchip_OSAL_Thread.c44 pthread_attr_t attr; member
66 pthread_attr_init(&thread->attr); in Rockchip_OSAL_ThreadCreate()
68 pthread_attr_setstacksize(&thread->attr, thread->stack_size); in Rockchip_OSAL_ThreadCreate()
73 pthread_attr_setschedparam(&thread->attr, &thread->schedparam); in Rockchip_OSAL_ThreadCreate()
76 detach_ret = pthread_attr_setdetachstate(&thread->attr, PTHREAD_CREATE_JOINABLE); in Rockchip_OSAL_ThreadCreate()
84 result = pthread_create(&thread->pthread, &thread->attr, function_name, (void *)argument); in Rockchip_OSAL_ThreadCreate()
/foundation/ability/idl_tool/idl_tool_2/ast/
H A Dast_method.h41 inline void SetAttribute(AutoPtr<ASTAttr> attr) in SetAttribute() argument
43 if (attr_ != nullptr && attr != nullptr) { in SetAttribute()
44 attr_->SetValue(attr->GetValue()); in SetAttribute()
116 void SetCacheable(AutoPtr<ASTAttr> attr) in SetCacheable() argument
118 if (attr->HasValue(ASTAttr::CACHEABLE)) { in SetCacheable()
120 attr_->SetCacheableTimeString(attr->GetCacheableTimeString()); in SetCacheable()
/foundation/arkui/ace_engine/frameworks/core/components/declaration/svg/
H A Dsvg_declaration.cpp42 bool SvgDeclaration::SetSpecializedAttr(const std::pair<std::string, std::string>& attr) in SetSpecializedAttr() argument
44 return SetSpecializedValue(attr); in SetSpecializedAttr()
52 bool SvgDeclaration::SetSpecializedValue(const std::pair<std::string, std::string>& attr) in SetSpecializedValue() argument
98 auto attrIter = BinarySearchFindIndex(attrs, ArraySize(attrs), attr.first.c_str()); in SetSpecializedValue()
100 attrs[attrIter].value(attr.second, *this); in SetSpecializedValue()
103 return SetPresentationAttr(attr); in SetSpecializedValue()
/foundation/arkui/ace_engine/frameworks/bridge/common/dom/
H A Ddom_tabs.cpp57 bool DOMTabs::SetSpecializedAttr(const std::pair<std::string, std::string>& attr) in SetSpecializedAttr() argument
59 if (attr.first == TAB_INDEX) { in SetSpecializedAttr()
60 tabIndex_ = std::max(0, StringToInt(attr.second)); in SetSpecializedAttr()
71 } else if (attr.first == TAB_IS_VERTICAL) { in SetSpecializedAttr()
72 if (vertical_ != StringToBool(attr.second)) { in SetSpecializedAttr()
73 vertical_ = StringToBool(attr.second); in SetSpecializedAttr()
/foundation/multimedia/audio_framework/services/audio_service/test/example/
H A Daudio_hdi_device_test.cpp95 IAudioSinkAttr attr = {}; in InitHdiRender() local
96 attr.adapterName = "primary"; in InitHdiRender()
97 attr.sampleRate = 48000; // 48000hz in InitHdiRender()
98 attr.channel = 2; // two channel in InitHdiRender()
99 attr.format = HdiAdapterFormat::SAMPLE_S16; in InitHdiRender()
101 hdiRenderSink_->Init(attr); in InitHdiRender()

Completed in 23 milliseconds

1...<<71727374757677787980>>...351