Searched refs:attr (Results 126 - 150 of 3244) sorted by relevance

1234567891011>>

/linux-master/drivers/hwmon/
H A Dlm87.c267 struct device_attribute *attr, char *buf)
270 int nr = to_sensor_dev_attr(attr)->index;
276 static ssize_t in_min_show(struct device *dev, struct device_attribute *attr, argument
280 int nr = to_sensor_dev_attr(attr)->index;
286 static ssize_t in_max_show(struct device *dev, struct device_attribute *attr, argument
290 int nr = to_sensor_dev_attr(attr)->index;
296 static ssize_t in_min_store(struct device *dev, struct device_attribute *attr, argument
301 int nr = to_sensor_dev_attr(attr)->index;
317 static ssize_t in_max_store(struct device *dev, struct device_attribute *attr, argument
322 int nr = to_sensor_dev_attr(attr)
266 in_input_show(struct device *dev, struct device_attribute *attr, char *buf) argument
363 temp_input_show(struct device *dev, struct device_attribute *attr, char *buf) argument
372 temp_low_show(struct device *dev, struct device_attribute *attr, char *buf) argument
382 temp_high_show(struct device *dev, struct device_attribute *attr, char *buf) argument
392 temp_low_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
413 temp_high_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
444 temp1_crit_show(struct device *dev, struct device_attribute *attr, char *buf) argument
451 temp2_crit_show(struct device *dev, struct device_attribute *attr, char *buf) argument
462 fan_input_show(struct device *dev, struct device_attribute *attr, char *buf) argument
472 fan_min_show(struct device *dev, struct device_attribute *attr, char *buf) argument
482 fan_div_show(struct device *dev, struct device_attribute *attr, char *buf) argument
492 fan_min_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
520 fan_div_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
584 alarms_show(struct device *dev, struct device_attribute *attr, char *buf) argument
592 cpu0_vid_show(struct device *dev, struct device_attribute *attr, char *buf) argument
600 vrm_show(struct device *dev, struct device_attribute *attr, char *buf) argument
606 vrm_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
625 aout_output_show(struct device *dev, struct device_attribute *attr, char *buf) argument
631 aout_output_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
652 alarm_show(struct device *dev, struct device_attribute *attr, char *buf) argument
[all...]
H A Dvt8231.c247 static ssize_t in_show(struct device *dev, struct device_attribute *attr, argument
250 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr);
257 static ssize_t in_min_show(struct device *dev, struct device_attribute *attr, argument
260 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr);
267 static ssize_t in_max_show(struct device *dev, struct device_attribute *attr, argument
270 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr);
277 static ssize_t in_min_store(struct device *dev, struct device_attribute *attr, argument
280 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr);
297 static ssize_t in_max_store(struct device *dev, struct device_attribute *attr, argument
300 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr);
318 in5_input_show(struct device *dev, struct device_attribute *attr, char *buf) argument
327 in5_min_show(struct device *dev, struct device_attribute *attr, char *buf) argument
336 in5_max_show(struct device *dev, struct device_attribute *attr, char *buf) argument
345 in5_min_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
365 in5_max_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
406 temp1_input_show(struct device *dev, struct device_attribute *attr, char *buf) argument
413 temp1_max_show(struct device *dev, struct device_attribute *attr, char *buf) argument
420 temp1_max_hyst_show(struct device *dev, struct device_attribute *attr, char *buf) argument
427 temp1_max_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
445 temp1_max_hyst_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
464 temp_show(struct device *dev, struct device_attribute *attr, char *buf) argument
473 temp_max_show(struct device *dev, struct device_attribute *attr, char *buf) argument
482 temp_min_show(struct device *dev, struct device_attribute *attr, char *buf) argument
491 temp_max_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
511 temp_min_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
558 fan_show(struct device *dev, struct device_attribute *attr, char *buf) argument
568 fan_min_show(struct device *dev, struct device_attribute *attr, char *buf) argument
578 fan_div_show(struct device *dev, struct device_attribute *attr, char *buf) argument
587 fan_min_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
608 fan_div_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
665 alarms_show(struct device *dev, struct device_attribute *attr, char *buf) argument
673 alarm_show(struct device *dev, struct device_attribute *attr, char *buf) argument
[all...]
H A Df71805f.c423 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); local
424 int nr = attr->index;
433 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); local
434 int nr = attr->index;
443 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); local
444 int nr = attr->index;
453 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); local
454 int nr = attr->index;
474 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); local
475 int nr = attr
495 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); local
505 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); local
515 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); local
525 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); local
546 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); local
567 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); local
577 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); local
587 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); local
597 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); local
618 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); local
640 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); local
650 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); local
672 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); local
682 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); local
692 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); local
718 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); local
768 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); local
790 struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(devattr); local
803 struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(devattr); local
827 struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(devattr); local
840 struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(devattr); local
863 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); local
873 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); local
883 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); local
893 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); local
904 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); local
925 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); local
970 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); local
[all...]
H A Dw83792d.c339 static ssize_t show_in(struct device *dev, struct device_attribute *attr, argument
342 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr);
350 static ssize_t show_##reg(struct device *dev, struct device_attribute *attr, \
354 = to_sensor_dev_attr(attr); \
366 struct device_attribute *attr, \
370 = to_sensor_dev_attr(attr); \
390 static ssize_t show_##reg(struct device *dev, struct device_attribute *attr, \
394 = to_sensor_dev_attr(attr); \
405 store_fan_min(struct device *dev, struct device_attribute *attr, argument
408 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr);
429 show_fan_div(struct device *dev, struct device_attribute *attr, char *buf) argument
445 store_fan_div(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
487 show_temp1(struct device *dev, struct device_attribute *attr, char *buf) argument
496 store_temp1(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
521 show_temp23(struct device *dev, struct device_attribute *attr, char *buf) argument
534 store_temp23(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
564 alarms_show(struct device *dev, struct device_attribute *attr, char *buf) argument
570 show_alarm(struct device *dev, struct device_attribute *attr, char *buf) argument
580 show_pwm(struct device *dev, struct device_attribute *attr, char *buf) argument
590 show_pwmenable(struct device *dev, struct device_attribute *attr, char *buf) argument
614 store_pwm(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
639 store_pwmenable(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
681 show_pwm_mode(struct device *dev, struct device_attribute *attr, char *buf) argument
691 store_pwm_mode(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
721 intrusion0_alarm_show(struct device *dev, struct device_attribute *attr, char *buf) argument
729 intrusion0_alarm_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
751 show_thermal_cruise(struct device *dev, struct device_attribute *attr, char *buf) argument
761 store_thermal_cruise(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
791 show_tolerance(struct device *dev, struct device_attribute *attr, char *buf) argument
801 store_tolerance(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
833 show_sf2_point(struct device *dev, struct device_attribute *attr, char *buf) argument
845 store_sf2_point(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
874 show_sf2_level(struct device *dev, struct device_attribute *attr, char *buf) argument
887 store_sf2_level(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
[all...]
H A Dabituguru.c209 * The sysfs attr and their names are generated automatically, for bank1
790 struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(devattr); local
794 return sprintf(buf, "%d\n", (data->bank1_value[attr->index] *
795 data->bank1_max_value[attr->index] + 128) / 255);
801 struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(devattr); local
804 (data->bank1_settings[attr->index][attr->nr] *
805 data->bank1_max_value[attr->index] + 128) / 255);
811 struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(devattr); local
815 return sprintf(buf, "%d\n", (data->bank2_value[attr
822 struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(devattr); local
832 struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(devattr); local
865 struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(devattr); local
900 struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(devattr); local
921 struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(devattr); local
934 struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(devattr); local
945 struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(devattr); local
956 struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(devattr); local
989 struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(devattr); local
1023 struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(devattr); local
1032 struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(devattr); local
1082 struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(devattr); local
1100 struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(devattr); local
1135 struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(devattr); local
1146 struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(devattr); local
[all...]
/linux-master/drivers/hwtracing/coresight/
H A Dcoresight-cti-sysfs.c56 typedef ssize_t (*p_show_fn)(struct device *dev, struct device_attribute *attr,
80 struct device_attribute *attr,
100 struct device_attribute *attr,
131 struct device_attribute *attr,
146 struct device_attribute *attr, char *buf)
155 struct device_attribute *attr,
166 &dev_attr_enable.attr,
167 &dev_attr_powered.attr,
168 &dev_attr_ctmid.attr,
169 &dev_attr_nr_trigger_cons.attr,
79 enable_show(struct device *dev, struct device_attribute *attr, char *buf) argument
99 enable_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t size) argument
130 powered_show(struct device *dev, struct device_attribute *attr, char *buf) argument
145 ctmid_show(struct device *dev, struct device_attribute *attr, char *buf) argument
154 nr_trigger_cons_show(struct device *dev, struct device_attribute *attr, char *buf) argument
176 coresight_cti_reg_show(struct device *dev, struct device_attribute *attr, char *buf) argument
193 coresight_cti_reg_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t size) argument
329 inout_sel_show(struct device *dev, struct device_attribute *attr, char *buf) argument
340 inout_sel_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t size) argument
359 inen_show(struct device *dev, struct device_attribute *attr, char *buf) argument
374 inen_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t size) argument
398 outen_show(struct device *dev, struct device_attribute *attr, char *buf) argument
413 outen_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t size) argument
437 intack_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t size) argument
455 appclear_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t size) argument
479 apppulse_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t size) argument
552 trigin_attach_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t size) argument
561 trigin_detach_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t size) argument
570 trigout_attach_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t size) argument
579 trigout_detach_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t size) argument
589 chan_gate_enable_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t size) argument
602 chan_gate_enable_show(struct device *dev, struct device_attribute *attr, char *buf) argument
620 chan_gate_disable_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t size) argument
647 chan_set_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t size) argument
657 chan_clear_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t size) argument
667 chan_pulse_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t size) argument
677 trig_filter_enable_show(struct device *dev, struct device_attribute *attr, char *buf) argument
690 trig_filter_enable_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t size) argument
707 trigout_filtered_show(struct device *dev, struct device_attribute *attr, char *buf) argument
723 chan_xtrigs_reset_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t size) argument
759 chan_xtrigs_sel_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t size) argument
777 chan_xtrigs_sel_show(struct device *dev, struct device_attribute *attr, char *buf) argument
792 chan_xtrigs_in_show(struct device *dev, struct device_attribute *attr, char *buf) argument
812 chan_xtrigs_out_show(struct device *dev, struct device_attribute *attr, char *buf) argument
862 chan_inuse_show(struct device *dev, struct device_attribute *attr, char *buf) argument
870 chan_free_show(struct device *dev, struct device_attribute *attr, char *buf) argument
909 con_name_show(struct device *dev, struct device_attribute *attr, char *buf) argument
920 trigin_sig_show(struct device *dev, struct device_attribute *attr, char *buf) argument
934 trigout_sig_show(struct device *dev, struct device_attribute *attr, char *buf) argument
960 trigin_type_show(struct device *dev, struct device_attribute *attr, char *buf) argument
978 trigout_type_show(struct device *dev, struct device_attribute *attr, char *buf) argument
[all...]
/linux-master/drivers/scsi/qedi/
H A Dqedi_sysfs.c20 struct device_attribute *attr,
32 struct device_attribute *attr, char *buf)
46 &dev_attr_port_state.attr,
47 &dev_attr_speed.attr,
19 port_state_show(struct device *dev, struct device_attribute *attr, char *buf) argument
31 speed_show(struct device *dev, struct device_attribute *attr, char *buf) argument
/linux-master/net/sunrpc/
H A Dfail.h14 struct fault_attr attr; member in struct:fail_sunrpc_attr
/linux-master/tools/testing/selftests/powerpc/pmu/sampling_tests/
H A Dmmcra_bhrb_any_test.c35 event.attr.sample_regs_intr = platform_extended_mask;
36 event.attr.sample_type |= PERF_SAMPLE_BRANCH_STACK;
37 event.attr.branch_sample_type = PERF_SAMPLE_BRANCH_ANY;
38 event.attr.exclude_kernel = 1;
H A Dmmcra_bhrb_cond_test.c39 event.attr.sample_regs_intr = platform_extended_mask;
40 event.attr.sample_type |= PERF_SAMPLE_BRANCH_STACK;
41 event.attr.branch_sample_type = PERF_SAMPLE_BRANCH_COND;
42 event.attr.exclude_kernel = 1;
H A Dmmcra_bhrb_disable_test.c36 event.attr.sample_regs_intr = platform_extended_mask;
37 event.attr.sample_type |= PERF_SAMPLE_BRANCH_STACK;
38 event.attr.branch_sample_type = PERF_SAMPLE_BRANCH_ANY;
39 event.attr.exclude_kernel = 1;
H A Dmmcra_bhrb_ind_call_test.c39 event.attr.sample_regs_intr = platform_extended_mask;
40 event.attr.sample_type |= PERF_SAMPLE_BRANCH_STACK;
41 event.attr.branch_sample_type = PERF_SAMPLE_BRANCH_IND_CALL;
42 event.attr.exclude_kernel = 1;
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/
H A Dmirred_nic.c11 struct mlx5_flow_attr *attr)
39 struct mlx5_flow_attr *attr)
41 attr->parse_attr->mirred_ifindex[0] = act->dev->ifindex;
43 attr->action |= MLX5_FLOW_CONTEXT_ACTION_FWD_DEST;
8 tc_act_can_offload_mirred_nic(struct mlx5e_tc_act_parse_state *parse_state, const struct flow_action_entry *act, int act_index, struct mlx5_flow_attr *attr) argument
36 tc_act_parse_mirred_nic(struct mlx5e_tc_act_parse_state *parse_state, const struct flow_action_entry *act, struct mlx5e_priv *priv, struct mlx5_flow_attr *attr) argument
H A Dvlan.h14 struct mlx5_flow_attr *attr,
20 struct mlx5_flow_attr *attr,
/linux-master/tools/perf/tests/
H A Dwp.c38 static void get__perf_event_attr(struct perf_event_attr *attr, int wp_type, argument
41 memset(attr, 0, sizeof(struct perf_event_attr));
42 attr->type = PERF_TYPE_BREAKPOINT;
43 attr->size = sizeof(struct perf_event_attr);
44 attr->config = 0;
45 attr->bp_type = wp_type;
46 attr->bp_addr = (unsigned long)wp_addr;
47 attr->bp_len = wp_len;
48 attr->sample_period = 1;
49 attr
57 struct perf_event_attr attr; local
[all...]
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dtc_tun_encap.h11 struct mlx5_flow_attr *attr,
16 struct mlx5_flow_attr *attr,
35 struct mlx5_flow_attr *attr,
40 struct mlx5_flow_attr *attr);
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/esw/
H A Dipsec_fs.h12 struct mlx5e_ipsec_rx_create_attr *attr);
21 struct mlx5e_ipsec_tx_create_attr *attr);
25 struct mlx5e_ipsec_rx_create_attr *attr) {}
48 struct mlx5e_ipsec_tx_create_attr *attr) {}
24 mlx5_esw_ipsec_rx_create_attr_set(struct mlx5e_ipsec *ipsec, struct mlx5e_ipsec_rx_create_attr *attr) argument
47 mlx5_esw_ipsec_tx_create_attr_set(struct mlx5e_ipsec *ipsec, struct mlx5e_ipsec_tx_create_attr *attr) argument
H A Dipsec_fs.c25 struct mlx5e_ipsec_rx_create_attr *attr)
27 attr->prio = FDB_CRYPTO_INGRESS;
28 attr->pol_level = MLX5_ESW_IPSEC_RX_POL_FT_LEVEL;
29 attr->sa_level = MLX5_ESW_IPSEC_RX_ESP_FT_LEVEL;
30 attr->status_level = MLX5_ESW_IPSEC_RX_ESP_FT_CHK_LEVEL;
31 attr->chains_ns = MLX5_FLOW_NAMESPACE_FDB;
113 struct mlx5e_ipsec_tx_create_attr *attr)
115 attr->prio = FDB_CRYPTO_EGRESS;
116 attr->pol_level = MLX5_ESW_IPSEC_TX_POL_FT_LEVEL;
117 attr
24 mlx5_esw_ipsec_rx_create_attr_set(struct mlx5e_ipsec *ipsec, struct mlx5e_ipsec_rx_create_attr *attr) argument
112 mlx5_esw_ipsec_tx_create_attr_set(struct mlx5e_ipsec *ipsec, struct mlx5e_ipsec_tx_create_attr *attr) argument
127 struct mlx5_flow_attr *attr; local
[all...]
/linux-master/drivers/gpu/drm/xe/
H A Dxe_gt_freq.c53 struct device_attribute *attr, char *buf)
62 struct device_attribute *attr, char *buf)
77 struct device_attribute *attr, char *buf)
86 struct device_attribute *attr, char *buf)
95 struct device_attribute *attr, char *buf)
104 struct device_attribute *attr, char *buf)
117 static ssize_t min_freq_store(struct device *dev, struct device_attribute *attr, argument
137 struct device_attribute *attr, char *buf)
150 static ssize_t max_freq_store(struct device *dev, struct device_attribute *attr, argument
170 &dev_attr_act_freq.attr,
52 act_freq_show(struct device *dev, struct device_attribute *attr, char *buf) argument
61 cur_freq_show(struct device *dev, struct device_attribute *attr, char *buf) argument
76 rp0_freq_show(struct device *dev, struct device_attribute *attr, char *buf) argument
85 rpe_freq_show(struct device *dev, struct device_attribute *attr, char *buf) argument
94 rpn_freq_show(struct device *dev, struct device_attribute *attr, char *buf) argument
103 min_freq_show(struct device *dev, struct device_attribute *attr, char *buf) argument
136 max_freq_show(struct device *dev, struct device_attribute *attr, char *buf) argument
[all...]
/linux-master/include/linux/
H A Dcpu.h45 extern int cpu_add_dev_attr(struct device_attribute *attr);
46 extern void cpu_remove_dev_attr(struct device_attribute *attr);
52 struct device_attribute *attr, char *buf);
54 struct device_attribute *attr, char *buf);
56 struct device_attribute *attr, char *buf);
58 struct device_attribute *attr, char *buf);
60 struct device_attribute *attr, char *buf);
62 struct device_attribute *attr, char *buf);
64 struct device_attribute *attr,
67 struct device_attribute *attr, cha
[all...]
/linux-master/arch/s390/kernel/
H A Dnospec-sysfs.c8 struct device_attribute *attr, char *buf)
14 struct device_attribute *attr, char *buf)
7 cpu_show_spectre_v1(struct device *dev, struct device_attribute *attr, char *buf) argument
13 cpu_show_spectre_v2(struct device *dev, struct device_attribute *attr, char *buf) argument
/linux-master/drivers/acpi/
H A Dbgrt.c20 struct kobj_attribute *attr, char *buf) \
33 struct bin_attribute *attr, char *buf, loff_t off, size_t count)
35 memcpy(buf, attr->private + off, count);
42 &bgrt_attr_version.attr,
43 &bgrt_attr_status.attr,
44 &bgrt_attr_type.attr,
45 &bgrt_attr_xoffset.attr,
46 &bgrt_attr_yoffset.attr,
32 image_read(struct file *file, struct kobject *kobj, struct bin_attribute *attr, char *buf, loff_t off, size_t count) argument
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dget_branch_snapshot.c35 struct perf_event_attr attr = {0}; local
39 attr.size = sizeof(attr);
40 attr.type = PERF_TYPE_HARDWARE;
41 attr.config = PERF_COUNT_HW_CPU_CYCLES;
42 attr.sample_type = PERF_SAMPLE_BRANCH_STACK;
43 attr.branch_sample_type = PERF_SAMPLE_BRANCH_KERNEL |
54 pfd_array[cpu] = syscall(__NR_perf_event_open, &attr,
/linux-master/drivers/infiniband/sw/rdmavt/
H A Dsrq.h13 int rvt_modify_srq(struct ib_srq *ibsrq, struct ib_srq_attr *attr,
16 int rvt_query_srq(struct ib_srq *ibsrq, struct ib_srq_attr *attr);
/linux-master/fs/adfs/
H A Dinode.c94 unsigned int attr = ADFS_I(inode)->attr; local
98 if (attr & ADFS_NDA_DIRECTORY) {
117 if (attr & ADFS_NDA_OWNER_READ)
120 if (attr & ADFS_NDA_OWNER_WRITE)
123 if (attr & ADFS_NDA_PUBLIC_READ)
126 if (attr & ADFS_NDA_PUBLIC_WRITE)
140 int attr; local
144 return ADFS_I(inode)->attr;
150 attr
302 adfs_notify_change(struct mnt_idmap *idmap, struct dentry *dentry, struct iattr *attr) argument
[all...]

Completed in 206 milliseconds

1234567891011>>