/linux-master/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_sysfs.c | 18 struct device_attribute *attr, 21 struct hwmon_attr *ixgbe_attr = container_of(attr, struct hwmon_attr, 28 struct device_attribute *attr, 31 struct hwmon_attr *ixgbe_attr = container_of(attr, struct hwmon_attr, 47 struct device_attribute *attr, 50 struct hwmon_attr *ixgbe_attr = container_of(attr, struct hwmon_attr, 61 struct device_attribute *attr, 64 struct hwmon_attr *ixgbe_attr = container_of(attr, struct hwmon_attr, 75 * ixgbe_add_hwmon_attr - Create hwmon attr table for a hwmon sysfs file. 124 ixgbe_attr->dev_attr.attr 17 ixgbe_hwmon_show_location(struct device *dev, struct device_attribute *attr, char *buf) argument 27 ixgbe_hwmon_show_temp(struct device *dev, struct device_attribute *attr, char *buf) argument 46 ixgbe_hwmon_show_cautionthresh(struct device *dev, struct device_attribute *attr, char *buf) argument 60 ixgbe_hwmon_show_maxopthresh(struct device *dev, struct device_attribute *attr, char *buf) argument [all...] |
/linux-master/net/ethtool/ |
H A D | bitset.h | 24 const struct nlattr *attr, ethnl_string_array_t names, 27 const struct nlattr *attr, ethnl_string_array_t names, 30 unsigned int nbits, const struct nlattr *attr,
|
/linux-master/tools/testing/selftests/powerpc/pmu/ebb/ |
H A D | cycles_test.c | 24 event.attr.exclude_kernel = 1; 25 event.attr.exclude_hv = 1; 26 event.attr.exclude_idle = 1;
|
H A D | no_handler_test.c | 27 event.attr.exclude_kernel = 1; 28 event.attr.exclude_hv = 1; 29 event.attr.exclude_idle = 1;
|
/linux-master/drivers/platform/x86/dell/dell-wmi-sysman/ |
H A D | passobj-attributes.c | 15 static ssize_t is_enabled_show(struct kobject *kobj, struct kobj_attribute *attr, argument 41 struct kobj_attribute *attr, 72 struct kobj_attribute *attr, 105 static ssize_t mechanism_show(struct kobject *kobj, struct kobj_attribute *attr, argument 113 static ssize_t role_show(struct kobject *kobj, struct kobj_attribute *attr, argument 126 &po_is_pass_set.attr, 127 &po_min_pass_length.attr, 128 &po_max_pass_length.attr, 129 &po_current_password.attr, 130 &po_new_password.attr, 40 current_password_store(struct kobject *kobj, struct kobj_attribute *attr, const char *buf, size_t count) argument 71 new_password_store(struct kobject *kobj, struct kobj_attribute *attr, const char *buf, size_t count) argument [all...] |
/linux-master/include/rdma/ |
H A D | ib_sysfs.h | 13 struct attribute attr; member in struct:ib_port_attribute 15 struct ib_port_attribute *attr, char *buf); 17 struct ib_port_attribute *attr, const char *buf,
|
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/ |
H A D | csum.c | 42 struct mlx5_flow_attr *attr) 46 return csum_offload_supported(flow->priv, attr->action, 54 struct mlx5_flow_attr *attr) 39 tc_act_can_offload_csum(struct mlx5e_tc_act_parse_state *parse_state, const struct flow_action_entry *act, int act_index, struct mlx5_flow_attr *attr) argument 51 tc_act_parse_csum(struct mlx5e_tc_act_parse_state *parse_state, const struct flow_action_entry *act, struct mlx5e_priv *priv, struct mlx5_flow_attr *attr) argument
|
/linux-master/arch/powerpc/platforms/powernv/ |
H A D | vas-fault.c | 201 struct vas_rx_win_attr attr; local 216 vas_init_rx_win_attr(&attr, VAS_COP_TYPE_FAULT); 218 attr.rx_fifo_size = vinst->fault_fifo_size; 219 attr.rx_fifo = __pa(vinst->fault_fifo); 226 attr.wcreds_max = vinst->fault_fifo_size / CRB_SIZE; 227 attr.lnotify_lpid = 0; 228 attr.lnotify_pid = mfspr(SPRN_PID); 229 attr.lnotify_tid = mfspr(SPRN_PID); 231 win = vas_rx_win_open(vinst->vas_id, VAS_COP_TYPE_FAULT, &attr); 241 vinst->fault_win->vas_win.winid, attr [all...] |
/linux-master/drivers/accessibility/speakup/ |
H A D | speakup_spkout.c | 77 &caps_start_attribute.attr, 78 &caps_stop_attribute.attr, 79 &pitch_attribute.attr, 80 &punct_attribute.attr, 81 &rate_attribute.attr, 82 &tone_attribute.attr, 83 &vol_attribute.attr, 84 &delay_time_attribute.attr, 85 &direct_attribute.attr, 86 &full_time_attribute.attr, [all...] |
/linux-master/drivers/of/ |
H A D | kobj.c | 35 struct property *pp = container_of(bin_attr, struct property, attr); 76 sysfs_bin_attr_init(&pp->attr); 77 pp->attr.attr.name = safe_name(&np->kobj, pp->name); 78 pp->attr.attr.mode = secure ? 0400 : 0444; 79 pp->attr.size = secure ? 0 : pp->length; 80 pp->attr.read = of_node_property_read; 82 rc = sysfs_create_bin_file(&np->kobj, &pp->attr); 92 sysfs_remove_bin_file(&np->kobj, &prop->attr); [all...] |
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/esw/ |
H A D | vporttbl.c | 56 struct mlx5_vport_tbl_attr *attr, 59 key->vport = attr->vport; 60 key->chain = attr->chain; 61 key->prio = attr->prio; 63 key->vport_ns = attr->vport_ns; 81 mlx5_esw_vporttbl_get(struct mlx5_eswitch *esw, struct mlx5_vport_tbl_attr *attr) argument 91 esw_vport_tbl_init(esw, attr->vport_ns); 92 hkey = flow_attr_to_vport_key(esw, attr, &skey); 112 fdb = esw_vport_tbl_create(esw, ns, attr->vport_ns); 132 mlx5_esw_vporttbl_put(struct mlx5_eswitch *esw, struct mlx5_vport_tbl_attr *attr) argument 55 flow_attr_to_vport_key(struct mlx5_eswitch *esw, struct mlx5_vport_tbl_attr *attr, struct mlx5_vport_key *key) argument [all...] |
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/tc/ |
H A D | act_stats.c | 106 struct mlx5_flow_attr *attr; local 113 list_for_each_entry(attr, &flow->attrs, list) { 114 for (i = 0; i < attr->tc_act_cookies_count; i++) { 119 &attr->tc_act_cookies[i], 137 struct mlx5_flow_attr *attr; local 144 list_for_each_entry(attr, &flow->attrs, list) { 145 if (attr->counter) 146 curr_counter = attr->counter; 148 for (i = 0; i < attr->tc_act_cookies_count; i++) { 150 if (last_cookie == attr [all...] |
/linux-master/drivers/hwmon/ |
H A D | via686a.c | 414 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); local 415 int nr = attr->index; 422 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); local 423 int nr = attr->index; 430 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); local 431 int nr = attr->index; 438 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); local 439 int nr = attr->index; 457 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); local 458 int nr = attr 494 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); local 501 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); local 508 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); local 516 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); local 536 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); local 567 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); local 575 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); local 584 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); local 591 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); local 609 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); local 636 alarms_show(struct device *dev, struct device_attribute *attr, char *buf) argument 645 alarm_show(struct device *dev, struct device_attribute *attr, char *buf) argument [all...] |
H A D | ltc4260.c | 76 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); local 79 value = ltc4260_get_value(dev, attr->index); 88 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); local 97 fault &= attr->index; 99 regmap_update_bits(regmap, LTC4260_FAULT, attr->index, 0); 125 &sensor_dev_attr_in1_input.dev_attr.attr, 126 &sensor_dev_attr_in1_min_alarm.dev_attr.attr, 127 &sensor_dev_attr_in1_max_alarm.dev_attr.attr, 128 &sensor_dev_attr_in2_input.dev_attr.attr, 129 &sensor_dev_attr_in2_alarm.dev_attr.attr, [all...] |
H A D | ina238.c | 129 static int ina238_read_in(struct device *dev, u32 attr, int channel, argument 139 switch (attr) { 162 switch (attr) { 192 switch (attr) { 214 static int ina238_write_in(struct device *dev, u32 attr, int channel, argument 220 if (attr != hwmon_in_max && attr != hwmon_in_min) 232 switch (attr) { 248 switch (attr) { 263 static int ina238_read_current(struct device *dev, u32 attr, lon argument 286 ina238_read_power(struct device *dev, u32 attr, long *val) argument 333 ina238_write_power(struct device *dev, u32 attr, long val) argument 354 ina238_read_temp(struct device *dev, u32 attr, long *val) argument 391 ina238_write_temp(struct device *dev, u32 attr, long val) argument 406 ina238_read(struct device *dev, enum hwmon_sensor_types type, u32 attr, int channel, long *val) argument 424 ina238_write(struct device *dev, enum hwmon_sensor_types type, u32 attr, int channel, long val) argument 451 ina238_is_visible(const void *drvdata, enum hwmon_sensor_types type, u32 attr, int channel) argument [all...] |
/linux-master/drivers/iio/dummy/ |
H A D | iio_dummy_evgen.c | 134 struct device_attribute *attr, 138 struct iio_dev_attr *this_attr = to_iio_dev_attr(attr); 169 &iio_dev_attr_poke_ev0.dev_attr.attr, 170 &iio_dev_attr_poke_ev1.dev_attr.attr, 171 &iio_dev_attr_poke_ev2.dev_attr.attr, 172 &iio_dev_attr_poke_ev3.dev_attr.attr, 173 &iio_dev_attr_poke_ev4.dev_attr.attr, 174 &iio_dev_attr_poke_ev5.dev_attr.attr, 175 &iio_dev_attr_poke_ev6.dev_attr.attr, 176 &iio_dev_attr_poke_ev7.dev_attr.attr, 133 iio_evgen_poke(struct device *dev, struct device_attribute *attr, const char *buf, size_t len) argument [all...] |
/linux-master/drivers/net/bonding/ |
H A D | bond_sysfs_slave.c | 14 struct attribute attr; member in struct:slave_attribute 106 &slave_attr_state.attr, 107 &slave_attr_mii_status.attr, 108 &slave_attr_link_failure_count.attr, 109 &slave_attr_perm_hwaddr.attr, 110 &slave_attr_queue_id.attr, 111 &slave_attr_ad_aggregator_id.attr, 112 &slave_attr_ad_actor_oper_port_state.attr, 113 &slave_attr_ad_partner_oper_port_state.attr, 117 #define to_slave_attr(_at) container_of(_at, struct slave_attribute, attr) 119 slave_show(struct kobject *kobj, struct attribute *attr, char *buf) argument [all...] |
/linux-master/arch/alpha/kernel/ |
H A D | bugs.c | 21 struct device_attribute *attr, char *buf) 30 struct device_attribute *attr, char *buf) 39 struct device_attribute *attr, char *buf) 20 cpu_show_meltdown(struct device *dev, struct device_attribute *attr, char *buf) argument 29 cpu_show_spectre_v1(struct device *dev, struct device_attribute *attr, char *buf) argument 38 cpu_show_spectre_v2(struct device *dev, struct device_attribute *attr, char *buf) argument
|
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | dummy_st_ops.c | 31 LIBBPF_OPTS(bpf_test_run_opts, attr, 43 err = bpf_prog_test_run_opts(fd, &attr); 45 ASSERT_EQ(attr.retval, 0xf2f3f4f5, "test_ret"); 57 LIBBPF_OPTS(bpf_test_run_opts, attr, 88 err = bpf_prog_test_run_opts(fd, &attr); 91 ASSERT_EQ(attr.retval, exp_retval, "test_ret"); 103 LIBBPF_OPTS(bpf_test_run_opts, attr, 117 err = bpf_prog_test_run_opts(fd, &attr); 132 LIBBPF_OPTS(bpf_test_run_opts, attr, 144 err = bpf_prog_test_run_opts(fd, &attr); [all...] |
H A D | get_stackid_cannot_attach.c | 8 struct perf_event_attr attr = { local 36 pmu_fd = syscall(__NR_perf_event_open, &attr, -1 /* pid */, 55 attr.sample_type |= PERF_SAMPLE_CALLCHAIN; 57 pmu_fd = syscall(__NR_perf_event_open, &attr, -1 /* pid */, 72 attr.exclude_callchain_kernel = 1; 74 pmu_fd = syscall(__NR_perf_event_open, &attr, -1 /* pid */,
|
/linux-master/drivers/char/tpm/ |
H A D | tpm-sysfs.c | 32 static ssize_t pubek_show(struct device *dev, struct device_attribute *attr, argument 82 static ssize_t pcrs_show(struct device *dev, struct device_attribute *attr, argument 117 static ssize_t enabled_show(struct device *dev, struct device_attribute *attr, argument 139 static ssize_t active_show(struct device *dev, struct device_attribute *attr, argument 161 static ssize_t owned_show(struct device *dev, struct device_attribute *attr, argument 184 struct device_attribute *attr, char *buf) 205 static ssize_t caps_show(struct device *dev, struct device_attribute *attr, argument 256 static ssize_t cancel_store(struct device *dev, struct device_attribute *attr, argument 270 static ssize_t durations_show(struct device *dev, struct device_attribute *attr, argument 287 static ssize_t timeouts_show(struct device *dev, struct device_attribute *attr, argument 183 temp_deactivated_show(struct device *dev, struct device_attribute *attr, char *buf) argument 302 tpm_version_major_show(struct device *dev, struct device_attribute *attr, char *buf) argument 313 null_name_show(struct device *dev, struct device_attribute *attr, char *buf) argument 361 struct device_attribute attr; member in struct:tpm_pcr_attr 366 pcr_value_show(struct device *dev, struct device_attribute *attr, char *buf) argument [all...] |
/linux-master/drivers/media/pci/mgb4/ |
H A D | mgb4_sysfs_in.c | 20 struct device_attribute *attr, char *buf) 29 struct device_attribute *attr, char *buf) 66 struct device_attribute *attr, 118 struct device_attribute *attr, char *buf) 133 struct device_attribute *attr, 164 struct device_attribute *attr, char *buf) 175 struct device_attribute *attr, char *buf) 187 struct device_attribute *attr, char *buf) 198 struct device_attribute *attr, char *buf) 209 struct device_attribute *attr, cha 19 input_id_show(struct device *dev, struct device_attribute *attr, char *buf) argument 28 oldi_lane_width_show(struct device *dev, struct device_attribute *attr, char *buf) argument 65 oldi_lane_width_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument 117 color_mapping_show(struct device *dev, struct device_attribute *attr, char *buf) argument 132 color_mapping_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument 163 link_status_show(struct device *dev, struct device_attribute *attr, char *buf) argument 174 stream_status_show(struct device *dev, struct device_attribute *attr, char *buf) argument 186 video_width_show(struct device *dev, struct device_attribute *attr, char *buf) argument 197 video_height_show(struct device *dev, struct device_attribute *attr, char *buf) argument 208 hsync_status_show(struct device *dev, struct device_attribute *attr, char *buf) argument 227 vsync_status_show(struct device *dev, struct device_attribute *attr, char *buf) argument 246 hsync_gap_length_show(struct device *dev, struct device_attribute *attr, char *buf) argument 262 hsync_gap_length_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument 283 vsync_gap_length_show(struct device *dev, struct device_attribute *attr, char *buf) argument 298 vsync_gap_length_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument 319 pclk_frequency_show(struct device *dev, struct device_attribute *attr, char *buf) argument 330 hsync_width_show(struct device *dev, struct device_attribute *attr, char *buf) argument 341 vsync_width_show(struct device *dev, struct device_attribute *attr, char *buf) argument 352 hback_porch_show(struct device *dev, struct device_attribute *attr, char *buf) argument 363 hfront_porch_show(struct device *dev, struct device_attribute *attr, char *buf) argument 374 vback_porch_show(struct device *dev, struct device_attribute *attr, char *buf) argument 385 vfront_porch_show(struct device *dev, struct device_attribute *attr, char *buf) argument 396 frequency_range_show(struct device *dev, struct device_attribute *attr, char *buf) argument 405 frequency_range_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument 436 fpdl3_input_width_show(struct device *dev, struct device_attribute *attr, char *buf) argument 465 fpdl3_input_width_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument 504 gmsl_mode_show(struct device *dev, struct device_attribute *attr, char *buf) argument 535 gmsl_mode_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument 586 gmsl_stream_id_show(struct device *dev, struct device_attribute *attr, char *buf) argument 602 gmsl_stream_id_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument 632 gmsl_fec_show(struct device *dev, struct device_attribute *attr, char *buf) argument 658 gmsl_fec_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument [all...] |
/linux-master/drivers/pci/hotplug/ |
H A D | rpadlpar_sysfs.c | 27 static ssize_t add_slot_store(struct kobject *kobj, struct kobj_attribute *attr, argument 51 struct kobj_attribute *attr, char *buf) 57 struct kobj_attribute *attr, 81 struct kobj_attribute *attr, char *buf) 93 &add_slot_attr.attr, 94 &remove_slot_attr.attr, 50 add_slot_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) argument 56 remove_slot_store(struct kobject *kobj, struct kobj_attribute *attr, const char *buf, size_t nbytes) argument 80 remove_slot_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) argument
|
/linux-master/drivers/scsi/bnx2i/ |
H A D | bnx2i_sysfs.c | 33 * @attr: device attribute (unused) 40 struct device_attribute *attr, char *buf) 51 * @attr: device attribute (unused) 60 struct device_attribute *attr, 92 * @attr: device attribute (unused) 98 struct device_attribute *attr, char *buf) 109 * @attr: device attribute (unused) 116 struct device_attribute *attr, 146 &dev_attr_sq_size.attr, 147 &dev_attr_num_ccell.attr, 39 bnx2i_show_sq_info(struct device *dev, struct device_attribute *attr, char *buf) argument 59 bnx2i_set_sq_info(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument 97 bnx2i_show_ccell_info(struct device *dev, struct device_attribute *attr, char *buf) argument 115 bnx2i_set_ccell_info(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument [all...] |
/linux-master/mm/damon/ |
H A D | sysfs-common.c | 34 static ssize_t min_show(struct kobject *kobj, struct kobj_attribute *attr, argument 43 static ssize_t min_store(struct kobject *kobj, struct kobj_attribute *attr, argument 59 static ssize_t max_show(struct kobject *kobj, struct kobj_attribute *attr, argument 68 static ssize_t max_store(struct kobject *kobj, struct kobj_attribute *attr, argument 96 &damon_sysfs_ul_range_min_attr.attr, 97 &damon_sysfs_ul_range_max_attr.attr,
|