Home
last modified time | relevance | path

Searched defs:attr (Results 151 – 175 of 2622) sorted by relevance

12345678910>>...105

/openbmc/linux/drivers/siox/
H A Dsiox-core.c385 struct device_attribute *attr, char *buf) in type_show()
395 struct device_attribute *attr, char *buf) in inbytes_show()
405 struct device_attribute *attr, char *buf) in outbytes_show()
415 struct device_attribute *attr, char *buf) in status_errors_show()
449 struct device_attribute *attr, char *buf) in watchdog_show()
466 struct device_attribute *attr, char *buf) in watchdog_errors_show()
555 struct device_attribute *attr, char *buf) in active_show()
563 struct device_attribute *attr, in active_store()
592 struct device_attribute *attr, in device_add_store()
619 struct device_attribute *attr, in device_remove_store()
[all …]
/openbmc/linux/drivers/infiniband/core/
H A Duverbs_ioctl.c149 const struct uverbs_attr *attr) in uverbs_set_output()
165 struct uverbs_objs_arr_attr *attr, in uverbs_process_idrs_array()
225 struct uverbs_objs_arr_attr *attr, in uverbs_free_idrs_array()
392 const struct uverbs_api_attr *attr; in uverbs_set_attr() local
483 const struct uverbs_attr *attr = in ib_uverbs_run_method() local
511 struct uverbs_attr *attr = &pbundle->bundle.attrs[i]; in bundle_destroy() local
524 struct uverbs_attr *attr = &pbundle->bundle.attrs[i]; in bundle_destroy() local
645 const struct uverbs_attr *attr; in uverbs_get_flags64() local
734 const struct uverbs_attr *attr = uverbs_attr_get(bundle, idx); in uverbs_copy_to() local
768 const struct uverbs_attr *attr; in _uverbs_get_const_signed() local
[all …]
/openbmc/linux/fs/xfs/libxfs/
H A Dxfs_attr.c377 struct xfs_attr_intent *attr) in xfs_attr_sf_addname()
417 struct xfs_attr_intent *attr, in xfs_attr_complete_op()
433 struct xfs_attr_intent *attr) in xfs_attr_leaf_addname()
485 struct xfs_attr_intent *attr) in xfs_attr_node_addname()
520 struct xfs_attr_intent *attr) in xfs_attr_rmtval_alloc()
587 struct xfs_attr_intent *attr) in xfs_attr_item_init_da_state()
604 struct xfs_attr_intent *attr) in xfs_attr_node_removename_setup()
642 struct xfs_attr_intent *attr) in xfs_attr_leaf_remove_attr()
707 struct xfs_attr_intent *attr) in xfs_attr_set_iter()
1367 struct xfs_attr_intent *attr) in xfs_attr_node_addname_find_attr()
[all …]
/openbmc/linux/block/
H A Dblk-integrity.c220 static ssize_t format_show(struct device *dev, struct device_attribute *attr, in format_show()
230 static ssize_t tag_size_show(struct device *dev, struct device_attribute *attr, in tag_size_show()
239 struct device_attribute *attr, in protection_interval_bytes_show()
249 struct device_attribute *attr, in read_verify_store()
265 struct device_attribute *attr, char *page) in read_verify_show()
273 struct device_attribute *attr, in write_generate_store()
290 struct device_attribute *attr, char *page) in write_generate_show()
298 struct device_attribute *attr, in device_is_integrity_capable_show()
H A Dgenhd.c745 struct device_attribute *attr, in disk_badblocks_show()
757 struct device_attribute *attr, in disk_badblocks_store()
903 struct device_attribute *attr, char *buf) in disk_ext_range_show()
912 struct device_attribute *attr, char *buf) in disk_removable_show()
921 struct device_attribute *attr, char *buf) in disk_hidden_show()
930 struct device_attribute *attr, char *buf) in disk_ro_show()
1015 struct device_attribute *attr, in disk_alignment_offset_show()
1024 struct device_attribute *attr, in disk_discard_alignment_show()
1033 struct device_attribute *attr, char *buf) in diskseq_show()
1041 struct device_attribute *attr, char *buf) in partscan_show()
[all …]
/openbmc/linux/drivers/pwm/
H A Dsysfs.c37 struct device_attribute *attr, in period_show()
49 struct device_attribute *attr, in period_store()
72 struct device_attribute *attr, in duty_cycle_show()
84 struct device_attribute *attr, in duty_cycle_store()
107 struct device_attribute *attr, in enable_show()
119 struct device_attribute *attr, in enable_store()
155 struct device_attribute *attr, in polarity_show()
178 struct device_attribute *attr, in polarity_store()
204 struct device_attribute *attr, in capture_show()
311 struct device_attribute *attr, in export_store()
[all …]
/openbmc/linux/drivers/nvdimm/
H A Dregion_devs.c255 struct device_attribute *attr, char *buf) in size_show()
264 struct device_attribute *attr, char *buf) in deep_flush_show()
295 struct device_attribute *attr, char *buf) in mappings_show()
304 struct device_attribute *attr, char *buf) in nstype_show()
313 struct device_attribute *attr, char *buf) in set_cookie_show()
393 struct device_attribute *attr, char *buf) in available_size_show()
416 struct device_attribute *attr, char *buf) in max_available_extent_show()
433 struct device_attribute *attr, char *buf) in init_namespaces_show()
450 struct device_attribute *attr, char *buf) in namespace_seed_show()
466 struct device_attribute *attr, char *buf) in btt_seed_show()
[all …]
/openbmc/linux/drivers/hwmon/
H A Dnct6775-core.c1877 store_temp_beep(struct device *dev, struct device_attribute *attr, in store_temp_beep()
1912 struct attribute *attr, int index) in nct6775_in_is_visible()
1995 store_fan_min(struct device *dev, struct device_attribute *attr, in store_fan_min()
2137 struct attribute *attr, int index) in nct6775_fan_is_visible()
2289 store_temp_type(struct device *dev, struct device_attribute *attr, in store_temp_type()
2347 struct attribute *attr, int index) in nct6775_temp_is_visible()
2475 store_pwm_mode(struct device *dev, struct device_attribute *attr, in store_pwm_mode()
3125 store_fan_time(struct device *dev, struct device_attribute *attr, in store_fan_time()
3160 store_auto_pwm(struct device *dev, struct device_attribute *attr, in store_auto_pwm()
3252 store_auto_temp(struct device *dev, struct device_attribute *attr, in store_auto_temp()
[all …]
H A Dina238.c129 static int ina238_read_in(struct device *dev, u32 attr, int channel, in ina238_read_in()
214 static int ina238_write_in(struct device *dev, u32 attr, int channel, in ina238_write_in()
263 static int ina238_read_current(struct device *dev, u32 attr, long *val) in ina238_read_current()
286 static int ina238_read_power(struct device *dev, u32 attr, long *val) in ina238_read_power()
333 static int ina238_write_power(struct device *dev, u32 attr, long val) in ina238_write_power()
354 static int ina238_read_temp(struct device *dev, u32 attr, long *val) in ina238_read_temp()
391 static int ina238_write_temp(struct device *dev, u32 attr, long val) in ina238_write_temp()
407 u32 attr, int channel, long *val) in ina238_read()
425 u32 attr, int channel, long val) in ina238_write()
453 u32 attr, int channel) in ina238_is_visible()
H A Dvia686a.c414 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in in_show() local
422 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in in_min_show() local
430 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in in_max_show() local
438 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in in_min_store() local
457 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in in_max_store() local
494 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in temp_show() local
501 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in temp_over_show() local
508 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in temp_hyst_show() local
516 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in temp_over_store() local
536 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in temp_hyst_store() local
[all …]
H A Dsis5595.c270 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in in_show() local
279 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in in_min_show() local
288 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in in_max_show() local
297 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in in_min_store() local
317 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in in_max_store() local
351 struct device_attribute *attr, char *buf) in temp1_input_show()
365 struct device_attribute *attr, const char *buf, in temp1_max_store()
384 struct device_attribute *attr, char *buf) in temp1_max_hyst_show()
391 struct device_attribute *attr, in temp1_max_hyst_store()
418 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in fan_show() local
[all …]
H A Dadt7462.c781 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in temp_min_show() local
794 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in temp_min_store() local
817 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in temp_max_show() local
830 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in temp_max_store() local
853 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in temp_show() local
867 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in temp_label_show() local
876 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in volt_max_show() local
890 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in volt_max_store() local
916 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in volt_min_show() local
930 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in volt_min_store() local
[all …]
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/
H A Dvlan.c35 struct mlx5_esw_flow_attr *attr, in parse_tc_vlan_action()
93 struct mlx5_flow_attr *attr, in mlx5e_tc_act_vlan_add_push_action()
124 struct mlx5_flow_attr *attr, in mlx5e_tc_act_vlan_add_pop_action()
148 struct mlx5_flow_attr *attr) in tc_act_parse_vlan()
177 struct mlx5_flow_attr *attr) in tc_act_post_parse_vlan()
/openbmc/linux/net/core/
H A Dnet-sysfs.c132 struct device_attribute *attr, in name_assign_type_show()
322 struct device_attribute *attr, in carrier_changes_show()
334 struct device_attribute *attr, in carrier_up_count_show()
344 struct device_attribute *attr, in carrier_down_count_show()
380 struct device_attribute *attr, in tx_queue_len_store()
397 struct device_attribute *attr, in gro_flush_timeout_store()
414 struct device_attribute *attr, in napi_defer_hard_irqs_store()
489 struct device_attribute *attr, in proto_down_store()
615 struct device_attribute *attr, in threaded_store()
1192 struct attribute attr; member
[all …]
/openbmc/linux/net/ethtool/
H A Dnetlink.h51 struct nlattr *attr; in ethnl_put_strz() local
73 static inline void ethnl_update_u32(u32 *dst, const struct nlattr *attr, in ethnl_update_u32()
99 static inline void ethnl_update_u8(u8 *dst, const struct nlattr *attr, in ethnl_update_u8()
125 static inline void ethnl_update_bool32(u32 *dst, const struct nlattr *attr, in ethnl_update_bool32()
151 static inline void ethnl_update_bool(bool *dst, const struct nlattr *attr, in ethnl_update_bool()
179 const struct nlattr *attr, bool *mod) in ethnl_update_binary()
202 static inline void ethnl_update_bitfield32(u32 *dst, const struct nlattr *attr, in ethnl_update_bitfield32()
/openbmc/linux/net/802/
H A Dmrp.c226 static int mrp_attr_cmp(const struct mrp_attr *attr, in mrp_attr_cmp()
240 struct mrp_attr *attr; in mrp_attr_lookup() local
260 struct mrp_attr *attr; in mrp_attr_create() local
289 static void mrp_attr_destroy(struct mrp_applicant *app, struct mrp_attr *attr) in mrp_attr_destroy()
298 struct mrp_attr *attr; in mrp_attr_destroy_all() local
404 const struct mrp_attr *attr, in mrp_pdu_append_vecattr_event()
481 struct mrp_attr *attr, enum mrp_event event) in mrp_attr_event()
536 struct mrp_attr *attr; in mrp_request_join() local
561 struct mrp_attr *attr; in mrp_request_leave() local
581 struct mrp_attr *attr; in mrp_mad_event() local
[all …]
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dcore_hwmon.c66 struct device_attribute *attr, in mlxsw_hwmon_temp_show()
91 struct device_attribute *attr, in mlxsw_hwmon_temp_max_show()
116 struct device_attribute *attr, in mlxsw_hwmon_temp_rst_store()
153 struct device_attribute *attr, in mlxsw_hwmon_fan_rpm_show()
173 struct device_attribute *attr, in mlxsw_hwmon_fan_fault_show()
195 struct device_attribute *attr, in mlxsw_hwmon_pwm_show()
282 struct device_attribute *attr, in mlxsw_hwmon_module_temp_fault_show()
325 struct device_attribute *attr, in mlxsw_hwmon_module_temp_critical_get()
362 struct device_attribute *attr, in mlxsw_hwmon_module_temp_emergency_get()
401 struct device_attribute *attr, in mlxsw_hwmon_module_temp_label_show()
[all …]
/openbmc/linux/drivers/net/ethernet/stmicro/stmmac/
H A Dstmmac_selftests.c60 struct stmmac_packet_attrs *attr) in stmmac_test_get_udp_skb()
321 struct stmmac_packet_attrs *attr) in __stmmac_test_loopback()
371 struct stmmac_packet_attrs attr = { }; in stmmac_test_mac_loopback() local
379 struct stmmac_packet_attrs attr = { }; in stmmac_test_phy_loopback() local
536 struct stmmac_packet_attrs attr = { }; in stmmac_test_hfilt() local
582 struct stmmac_packet_attrs attr = { }; in stmmac_test_pfilt() local
626 struct stmmac_packet_attrs attr = { }; in stmmac_test_mcfilt() local
672 struct stmmac_packet_attrs attr = { }; in stmmac_test_ucfilt() local
822 struct stmmac_packet_attrs attr = { }; in stmmac_test_rss() local
896 struct stmmac_packet_attrs attr = { }; in __stmmac_test_vlanfilt() local
[all …]
/openbmc/linux/drivers/platform/chrome/
H A Dcros_ec_lightbar.c33 struct device_attribute *attr, char *buf) in interval_msec_show()
41 struct device_attribute *attr, in interval_msec_store()
158 struct device_attribute *attr, char *buf) in version_show()
176 struct device_attribute *attr, in brightness_store()
217 static ssize_t led_rgb_store(struct device *dev, struct device_attribute *attr, in led_rgb_store()
285 struct device_attribute *attr, char *buf) in sequence_show()
378 static ssize_t sequence_store(struct device *dev, struct device_attribute *attr, in sequence_store()
422 static ssize_t program_store(struct device *dev, struct device_attribute *attr, in program_store()
481 struct device_attribute *attr, in userspace_control_show()
488 struct device_attribute *attr, in userspace_control_store()
/openbmc/linux/include/linux/
H A Dbpf_lirc.h12 static inline int lirc_prog_attach(const union bpf_attr *attr, in lirc_prog_attach()
18 static inline int lirc_prog_detach(const union bpf_attr *attr) in lirc_prog_detach()
23 static inline int lirc_prog_query(const union bpf_attr *attr, in lirc_prog_query()
/openbmc/linux/drivers/platform/x86/
H A Dpanasonic-laptop.c503 static ssize_t numbatt_show(struct device *dev, struct device_attribute *attr, in numbatt_show()
515 static ssize_t lcdtype_show(struct device *dev, struct device_attribute *attr, in lcdtype_show()
527 static ssize_t mute_show(struct device *dev, struct device_attribute *attr, in mute_show()
539 static ssize_t mute_store(struct device *dev, struct device_attribute *attr, in mute_store()
557 static ssize_t sticky_key_show(struct device *dev, struct device_attribute *attr, in sticky_key_show()
569 static ssize_t sticky_key_store(struct device *dev, struct device_attribute *attr, in sticky_key_store()
587 static ssize_t eco_mode_show(struct device *dev, struct device_attribute *attr, in eco_mode_show()
611 static ssize_t eco_mode_store(struct device *dev, struct device_attribute *attr, in eco_mode_store()
658 static ssize_t ac_brightness_show(struct device *dev, struct device_attribute *attr, in ac_brightness_show()
749 static ssize_t cdpower_show(struct device *dev, struct device_attribute *attr, in cdpower_show()
[all …]
H A Dmsi-laptop.c306 struct device_attribute *attr, char *buf) in show_wlan()
324 struct device_attribute *attr, const char *buf, size_t count) in store_wlan()
330 struct device_attribute *attr, char *buf) in show_bluetooth()
354 struct device_attribute *attr, char *buf) in show_threeg()
377 struct device_attribute *attr, char *buf) in show_lcd_level()
407 struct device_attribute *attr, char *buf) in show_auto_brightness()
436 struct device_attribute *attr, char *buf) in show_touchpad()
450 struct device_attribute *attr, char *buf) in show_turbo()
464 struct device_attribute *attr, char *buf) in show_eco()
478 struct device_attribute *attr, char *buf) in show_turbo_cooldown()
[all …]
/openbmc/linux/drivers/leds/trigger/
H A Dledtrig-gpio.c49 struct device_attribute *attr, char *buf) in gpio_trig_brightness_show()
57 struct device_attribute *attr, const char *buf, size_t n) in gpio_trig_brightness_store()
77 struct device_attribute *attr, char *buf) in gpio_trig_inverted_show()
85 struct device_attribute *attr, const char *buf, size_t n) in gpio_trig_inverted_store()
111 struct device_attribute *attr, char *buf) in gpio_trig_gpio_show()
119 struct device_attribute *attr, const char *buf, size_t n) in gpio_trig_gpio_store()
H A Dledtrig-transient.c43 struct device_attribute *attr, char *buf) in transient_activate_show()
52 struct device_attribute *attr, const char *buf, size_t size) in transient_activate_store()
96 struct device_attribute *attr, char *buf) in transient_duration_show()
104 struct device_attribute *attr, const char *buf, size_t size) in transient_duration_store()
120 struct device_attribute *attr, char *buf) in transient_state_show()
131 struct device_attribute *attr, const char *buf, size_t size) in transient_state_store()
/openbmc/linux/drivers/net/ethernet/qlogic/qlcnic/
H A Dqlcnic_sysfs.c35 struct device_attribute *attr, in qlcnic_store_bridged_mode()
59 struct device_attribute *attr, in qlcnic_show_bridged_mode()
72 struct device_attribute *attr, in qlcnic_store_diag_mode()
214 struct device_attribute *attr, in qlcnic_store_beacon()
399 struct bin_attribute *attr, in qlcnic_sysfs_write_pm_config()
449 struct bin_attribute *attr, in qlcnic_sysfs_read_pm_config()
626 struct bin_attribute *attr, in qlcnic_sysfs_read_esw_config()
772 struct bin_attribute *attr, in qlcnic_sysfs_get_port_stats()
807 struct bin_attribute *attr, in qlcnic_sysfs_get_esw_stats()
842 struct bin_attribute *attr, in qlcnic_sysfs_clear_esw_stats()
[all …]

12345678910>>...105