/kernel/linux/linux-6.6/drivers/hwmon/ |
H A D | w83773g.c | 173 u32 attr, int channel, long *val) in w83773_read() 178 if (attr == hwmon_chip_update_interval) in w83773_read() 183 switch (attr) { in w83773_read() 198 u32 attr, int channel, long val) in w83773_write() 202 if (type == hwmon_chip && attr == hwmon_chip_update_interval) in w83773_write() 205 if (type == hwmon_temp && attr == hwmon_temp_offset) in w83773_write() 212 u32 attr, int channel) in w83773_is_visible() 216 switch (attr) { in w83773_is_visible() 222 switch (attr) { in w83773_is_visible() 172 w83773_read(struct device *dev, enum hwmon_sensor_types type, u32 attr, int channel, long *val) w83773_read() argument 197 w83773_write(struct device *dev, enum hwmon_sensor_types type, u32 attr, int channel, long val) w83773_write() argument 211 w83773_is_visible(const void *data, enum hwmon_sensor_types type, u32 attr, int channel) w83773_is_visible() argument
|
H A D | asc7621.c | 164 static ssize_t show_u8(struct device *dev, struct device_attribute *attr, in show_u8() argument 167 SETUP_SHOW_DATA_PARAM(dev, attr); in show_u8() 172 static ssize_t store_u8(struct device *dev, struct device_attribute *attr, in store_u8() argument 175 SETUP_STORE_DATA_PARAM(dev, attr); in store_u8() 194 struct device_attribute *attr, char *buf) in show_bitmask() 196 SETUP_SHOW_DATA_PARAM(dev, attr); in show_bitmask() 204 struct device_attribute *attr, in store_bitmask() 207 SETUP_STORE_DATA_PARAM(dev, attr); in store_bitmask() 234 struct device_attribute *attr, char *buf) in show_fan16() 236 SETUP_SHOW_DATA_PARAM(dev, attr); in show_fan16() 193 show_bitmask(struct device *dev, struct device_attribute *attr, char *buf) show_bitmask() argument 203 store_bitmask(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) store_bitmask() argument 233 show_fan16(struct device *dev, struct device_attribute *attr, char *buf) show_fan16() argument 248 store_fan16(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) store_fan16() argument 294 show_in10(struct device *dev, struct device_attribute *attr, char *buf) show_in10() argument 312 show_in8(struct device *dev, struct device_attribute *attr, char *buf) show_in8() argument 323 store_in8(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) store_in8() argument 347 show_temp8(struct device *dev, struct device_attribute *attr, char *buf) show_temp8() argument 355 store_temp8(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) store_temp8() argument 384 show_temp10(struct device *dev, struct device_attribute *attr, char *buf) show_temp10() argument 401 show_temp62(struct device *dev, struct device_attribute *attr, char *buf) show_temp62() argument 411 store_temp62(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) store_temp62() argument 446 show_ap2_temp(struct device *dev, struct device_attribute *attr, char *buf) show_ap2_temp() argument 465 store_ap2_temp(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) store_ap2_temp() argument 497 show_pwm_ac(struct device *dev, struct device_attribute *attr, char *buf) show_pwm_ac() argument 516 store_pwm_ac(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) store_pwm_ac() argument 556 show_pwm_enable(struct device *dev, struct device_attribute *attr, char *buf) show_pwm_enable() argument 584 store_pwm_enable(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) store_pwm_enable() argument 645 show_pwm_freq(struct device *dev, struct device_attribute *attr, char *buf) show_pwm_freq() argument 657 store_pwm_freq(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) store_pwm_freq() argument 693 show_pwm_ast(struct device *dev, struct device_attribute *attr, char *buf) show_pwm_ast() argument 706 store_pwm_ast(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) store_pwm_ast() argument 742 show_temp_st(struct device *dev, struct device_attribute *attr, char *buf) show_temp_st() argument 753 store_temp_st(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) store_temp_st() argument [all...] |
/kernel/linux/linux-6.6/drivers/input/ |
H A D | input-poller.c | 138 struct device_attribute *attr, in input_dev_get_poll_interval() 147 struct device_attribute *attr, in input_dev_set_poll_interval() 184 struct device_attribute *attr, char *buf) in input_dev_get_poll_max() 194 struct device_attribute *attr, char *buf) in input_dev_get_poll_min() 204 struct attribute *attr, int n) in input_poller_attrs_visible() 209 return input->poller ? attr->mode : 0; in input_poller_attrs_visible() 213 &dev_attr_poll.attr, 214 &dev_attr_max.attr, 215 &dev_attr_min.attr, 137 input_dev_get_poll_interval(struct device *dev, struct device_attribute *attr, char *buf) input_dev_get_poll_interval() argument 146 input_dev_set_poll_interval(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) input_dev_set_poll_interval() argument 183 input_dev_get_poll_max(struct device *dev, struct device_attribute *attr, char *buf) input_dev_get_poll_max() argument 193 input_dev_get_poll_min(struct device *dev, struct device_attribute *attr, char *buf) input_dev_get_poll_min() argument 203 input_poller_attrs_visible(struct kobject *kobj, struct attribute *attr, int n) input_poller_attrs_visible() argument
|
/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/mm/ |
H A D | pkey_siginfo.c | 244 pthread_attr_t attr; in test() local 295 FAIL_IF(pthread_attr_init(&attr) != 0); in test() 301 FAIL_IF(pthread_create(&prot_thread, &attr, &protect, &r) != 0); in test() 302 FAIL_IF(pthread_create(&pacc_thread, &attr, &protect_access, &r) != 0); in test() 309 FAIL_IF(pthread_create(&prot_thread, &attr, &protect, &r) != 0); in test() 310 FAIL_IF(pthread_create(&pacc_thread, &attr, &protect_access, &r) != 0); in test() 317 FAIL_IF(pthread_create(&prot_thread, &attr, &protect, &r) != 0); in test() 318 FAIL_IF(pthread_create(&pacc_thread, &attr, &protect_access, &r) != 0); in test() 323 FAIL_IF(pthread_attr_destroy(&attr) != 0); in test()
|
/third_party/pulseaudio/src/tests/ |
H A D | interpol-test.c | 102 pa_buffer_attr attr; in context_state_callback() local 109 pa_zero(attr); in context_state_callback() 110 attr.maxlength = (uint32_t) -1; in context_state_callback() 111 attr.tlength = latency > 0 ? (uint32_t) pa_usec_to_bytes(latency, &ss) : (uint32_t) -1; in context_state_callback() 112 attr.prebuf = (uint32_t) -1; in context_state_callback() 113 attr.minreq = (uint32_t) -1; in context_state_callback() 114 attr.fragsize = (uint32_t) -1; in context_state_callback() 129 pa_assert_se(pa_stream_connect_playback(stream, NULL, &attr, flags, NULL, NULL) == 0); in context_state_callback() 132 pa_assert_se(pa_stream_connect_record(stream, NULL, &attr, flags) == 0); in context_state_callback()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdkfd/ |
H A D | kfd_topology.c | 229 static ssize_t sysprops_show(struct kobject *kobj, struct attribute *attr, in sysprops_show() argument 237 if (attr == &sys_props.attr_genid) { in sysprops_show() 240 } else if (attr == &sys_props.attr_props) { in sysprops_show() 268 static ssize_t iolink_show(struct kobject *kobj, struct attribute *attr, in iolink_show() argument 277 iolink = container_of(attr, struct kfd_iolink_properties, attr); in iolink_show() 308 static ssize_t mem_show(struct kobject *kobj, struct attribute *attr, in mem_show() argument 317 mem = container_of(attr, struct kfd_mem_properties, attr); in mem_show() 340 static ssize_t kfd_cache_show(struct kobject *kobj, struct attribute *attr, in kfd_cache_show() argument 388 struct kobj_attribute attr; global() member 396 struct kfd_perf_attr *attr; perf_show() local 419 node_show(struct kobject *kobj, struct attribute *attr, char *buffer) node_show() argument 560 kfd_remove_sysfs_file(struct kobject *kobj, struct attribute *attr) kfd_remove_sysfs_file() argument [all...] |
/kernel/linux/linux-6.6/drivers/infiniband/sw/siw/ |
H A D | siw_verbs.c | 123 int siw_query_device(struct ib_device *base_dev, struct ib_device_attr *attr, in siw_query_device() argument 131 memset(attr, 0, sizeof(*attr)); in siw_query_device() 134 attr->atomic_cap = 0; in siw_query_device() 135 attr->device_cap_flags = IB_DEVICE_MEM_MGT_EXTENSIONS; in siw_query_device() 136 attr->kernel_cap_flags = IBK_ALLOW_USER_UNREG; in siw_query_device() 137 attr->max_cq = sdev->attrs.max_cq; in siw_query_device() 138 attr->max_cqe = sdev->attrs.max_cqe; in siw_query_device() 139 attr->max_fast_reg_page_list_len = SIW_MAX_SGE_PBL; in siw_query_device() 140 attr in siw_query_device() 165 siw_query_port(struct ib_device *base_dev, u32 port, struct ib_port_attr *attr) siw_query_port() argument 202 struct ib_port_attr attr; siw_get_port_immutable() local 541 siw_verbs_modify_qp(struct ib_qp *base_qp, struct ib_qp_attr *attr, int attr_mask, struct ib_udata *udata) siw_verbs_modify_qp() argument 1131 siw_create_cq(struct ib_cq *base_cq, const struct ib_cq_init_attr *attr, struct ib_udata *udata) siw_create_cq() argument [all...] |
/kernel/linux/linux-5.10/drivers/platform/x86/ |
H A D | toshiba_acpi.c | 1722 struct device_attribute *attr, char *buf) in version_show() 1729 struct device_attribute *attr, in fan_store() 1751 struct device_attribute *attr, char *buf) in fan_show() 1766 struct device_attribute *attr, in kbd_backlight_mode_store() 1842 struct device_attribute *attr, in kbd_backlight_mode_show() 1856 struct device_attribute *attr, char *buf) in kbd_type_show() 1865 struct device_attribute *attr, in available_kbd_modes_show() 1880 struct device_attribute *attr, in kbd_backlight_timeout_store() 1923 struct device_attribute *attr, in kbd_backlight_timeout_show() 1937 struct device_attribute *attr, in touchpad_store() 1721 version_show(struct device *dev, struct device_attribute *attr, char *buf) version_show() argument 1728 fan_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) fan_store() argument 1750 fan_show(struct device *dev, struct device_attribute *attr, char *buf) fan_show() argument 1765 kbd_backlight_mode_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) kbd_backlight_mode_store() argument 1841 kbd_backlight_mode_show(struct device *dev, struct device_attribute *attr, char *buf) kbd_backlight_mode_show() argument 1855 kbd_type_show(struct device *dev, struct device_attribute *attr, char *buf) kbd_type_show() argument 1864 available_kbd_modes_show(struct device *dev, struct device_attribute *attr, char *buf) available_kbd_modes_show() argument 1879 kbd_backlight_timeout_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) kbd_backlight_timeout_store() argument 1922 kbd_backlight_timeout_show(struct device *dev, struct device_attribute *attr, char *buf) kbd_backlight_timeout_show() argument 1936 touchpad_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) touchpad_store() argument 1958 touchpad_show(struct device *dev, struct device_attribute *attr, char *buf) touchpad_show() argument 1973 usb_sleep_charge_show(struct device *dev, struct device_attribute *attr, char *buf) usb_sleep_charge_show() argument 1987 usb_sleep_charge_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) usb_sleep_charge_store() argument 2028 sleep_functions_on_battery_show(struct device *dev, struct device_attribute *attr, char *buf) sleep_functions_on_battery_show() argument 2051 sleep_functions_on_battery_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) sleep_functions_on_battery_store() argument 2090 usb_rapid_charge_show(struct device *dev, struct device_attribute *attr, char *buf) usb_rapid_charge_show() argument 2104 usb_rapid_charge_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) usb_rapid_charge_store() argument 2126 usb_sleep_music_show(struct device *dev, struct device_attribute *attr, char *buf) usb_sleep_music_show() argument 2140 usb_sleep_music_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) usb_sleep_music_store() argument 2162 kbd_function_keys_show(struct device *dev, struct device_attribute *attr, char *buf) kbd_function_keys_show() argument 2176 kbd_function_keys_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) kbd_function_keys_store() argument 2205 panel_power_on_show(struct device *dev, struct device_attribute *attr, char *buf) panel_power_on_show() argument 2219 panel_power_on_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) panel_power_on_store() argument 2243 usb_three_show(struct device *dev, struct device_attribute *attr, char *buf) usb_three_show() argument 2257 usb_three_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) usb_three_store() argument 2286 cooling_method_show(struct device *dev, struct device_attribute *attr, char *buf) cooling_method_show() argument 2300 cooling_method_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) cooling_method_store() argument 2353 toshiba_sysfs_is_visible(struct kobject *kobj, struct attribute *attr, int idx) toshiba_sysfs_is_visible() argument [all...] |
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/ |
H A D | dhd_linux_exportfs.c | 415 struct attribute attr; member 450 &dhd_attr_wklock.attr, 453 &dhd_attr_lbtxp.attr, 456 &dhd_attr_lbrxp.attr, 459 &dhd_attr_logdump_periodic_flush.attr, 460 &dhd_attr_logdump_ecntr.attr, 462 &dhd_attr_ecounters.attr, 467 #define to_attr(a) container_of(a, struct dhd_attr, attr) 470 * bcm-dhd kobject show function, the "attr" attribute specifices to which 473 static ssize_t dhd_show(struct kobject *kobj, struct attribute *attr, cha argument 498 dhd_store(struct kobject *kobj, struct attribute *attr, const char *buf, size_t count) dhd_store() argument 1283 dhd_cntl_show(struct kobject *kobj, struct attribute *attr, char *buf) dhd_cntl_show() argument 1308 dhd_cntl_store(struct kobject *kobj, struct attribute *attr, const char *buf, size_t count) dhd_cntl_store() argument [all...] |
/kernel/linux/linux-5.10/net/core/ |
H A D | drop_monitor.c | 331 struct nlattr *attr; in net_dm_hw_entry_put() local 333 attr = nla_nest_start(msg, NET_DM_ATTR_HW_ENTRY); in net_dm_hw_entry_put() 334 if (!attr) in net_dm_hw_entry_put() 343 nla_nest_end(msg, attr); in net_dm_hw_entry_put() 348 nla_nest_cancel(msg, attr); in net_dm_hw_entry_put() 355 struct nlattr *attr; in net_dm_hw_entries_put() local 358 attr = nla_nest_start(msg, NET_DM_ATTR_HW_ENTRIES); in net_dm_hw_entries_put() 359 if (!attr) in net_dm_hw_entries_put() 370 nla_nest_end(msg, attr); in net_dm_hw_entries_put() 375 nla_nest_cancel(msg, attr); in net_dm_hw_entries_put() 584 struct nlattr *attr; net_dm_packet_report_in_port_put() local 611 struct nlattr *attr; net_dm_packet_report_fill() local 757 struct nlattr *attr; net_dm_hw_packet_report_fill() local 1445 struct nlattr *attr; net_dm_stats_put() local 1489 struct nlattr *attr; net_dm_hw_stats_put() local [all...] |
/kernel/linux/linux-5.10/net/ipv4/ |
H A D | ip_tunnel_core.c | 478 static int ip_tun_parse_opts_geneve(struct nlattr *attr, in ip_tun_parse_opts_geneve() argument 485 err = nla_parse_nested(tb, LWTUNNEL_IP_OPT_GENEVE_MAX, attr, in ip_tun_parse_opts_geneve() 495 attr = tb[LWTUNNEL_IP_OPT_GENEVE_DATA]; in ip_tun_parse_opts_geneve() 496 data_len = nla_len(attr); in ip_tun_parse_opts_geneve() 503 memcpy(opt->opt_data, nla_data(attr), data_len); in ip_tun_parse_opts_geneve() 505 attr = tb[LWTUNNEL_IP_OPT_GENEVE_CLASS]; in ip_tun_parse_opts_geneve() 506 opt->opt_class = nla_get_be16(attr); in ip_tun_parse_opts_geneve() 507 attr = tb[LWTUNNEL_IP_OPT_GENEVE_TYPE]; in ip_tun_parse_opts_geneve() 508 opt->type = nla_get_u8(attr); in ip_tun_parse_opts_geneve() 515 static int ip_tun_parse_opts_vxlan(struct nlattr *attr, in ip_tun_parse_opts_vxlan() argument 543 ip_tun_parse_opts_erspan(struct nlattr *attr, struct ip_tunnel_info *info, int opts_len, struct netlink_ext_ack *extack) ip_tun_parse_opts_erspan() argument 592 ip_tun_parse_opts(struct nlattr *attr, struct ip_tunnel_info *info, struct netlink_ext_ack *extack) ip_tun_parse_opts() argument 648 ip_tun_get_optlen(struct nlattr *attr, struct netlink_ext_ack *extack) ip_tun_get_optlen() argument 654 ip_tun_set_opts(struct nlattr *attr, struct ip_tunnel_info *info, struct netlink_ext_ack *extack) ip_tun_set_opts() argument 660 ip_tun_build_state(struct net *net, struct nlattr *attr, unsigned int family, const void *cfg, struct lwtunnel_state **ts, struct netlink_ext_ack *extack) ip_tun_build_state() argument 947 ip6_tun_build_state(struct net *net, struct nlattr *attr, unsigned int family, const void *cfg, struct lwtunnel_state **ts, struct netlink_ext_ack *extack) ip6_tun_build_state() argument [all...] |
/kernel/linux/linux-6.6/block/ |
H A D | genhd.c | 748 struct device_attribute *attr, in disk_badblocks_show() 760 struct device_attribute *attr, in disk_badblocks_store() 898 struct device_attribute *attr, char *buf) in disk_range_show() 906 struct device_attribute *attr, char *buf) in disk_ext_range_show() 915 struct device_attribute *attr, char *buf) in disk_removable_show() 924 struct device_attribute *attr, char *buf) in disk_hidden_show() 933 struct device_attribute *attr, char *buf) in disk_ro_show() 941 struct device_attribute *attr, char *buf) in part_size_show() 947 struct device_attribute *attr, char *buf) in part_stat_show() 995 ssize_t part_inflight_show(struct device *dev, struct device_attribute *attr, in part_inflight_show() argument 747 disk_badblocks_show(struct device *dev, struct device_attribute *attr, char *page) disk_badblocks_show() argument 759 disk_badblocks_store(struct device *dev, struct device_attribute *attr, const char *page, size_t len) disk_badblocks_store() argument 897 disk_range_show(struct device *dev, struct device_attribute *attr, char *buf) disk_range_show() argument 905 disk_ext_range_show(struct device *dev, struct device_attribute *attr, char *buf) disk_ext_range_show() argument 914 disk_removable_show(struct device *dev, struct device_attribute *attr, char *buf) disk_removable_show() argument 923 disk_hidden_show(struct device *dev, struct device_attribute *attr, char *buf) disk_hidden_show() argument 932 disk_ro_show(struct device *dev, struct device_attribute *attr, char *buf) disk_ro_show() argument 940 part_size_show(struct device *dev, struct device_attribute *attr, char *buf) part_size_show() argument 946 part_stat_show(struct device *dev, struct device_attribute *attr, char *buf) part_stat_show() argument 1010 disk_capability_show(struct device *dev, struct device_attribute *attr, char *buf) disk_capability_show() argument 1017 disk_alignment_offset_show(struct device *dev, struct device_attribute *attr, char *buf) disk_alignment_offset_show() argument 1026 disk_discard_alignment_show(struct device *dev, struct device_attribute *attr, char *buf) disk_discard_alignment_show() argument 1035 diskseq_show(struct device *dev, struct device_attribute *attr, char *buf) diskseq_show() argument 1058 part_fail_show(struct device *dev, struct device_attribute *attr, char *buf) part_fail_show() argument 1064 part_fail_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) part_fail_store() argument [all...] |
/kernel/linux/linux-6.6/lib/ |
H A D | test_firmware.c | 250 struct device_attribute *attr, in reset_store() 278 struct device_attribute *attr, in config_show() 335 struct device_attribute *attr, in config_name_store() 453 struct device_attribute *attr, in config_name_show() 461 struct device_attribute *attr, in config_upload_name_store() 479 struct device_attribute *attr, in config_upload_name_show() 487 struct device_attribute *attr, in config_num_requests_store() 509 struct device_attribute *attr, in config_num_requests_show() 517 struct device_attribute *attr, in config_into_buf_store() 526 struct device_attribute *attr, in config_into_buf_show() 249 reset_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) reset_store() argument 277 config_show(struct device *dev, struct device_attribute *attr, char *buf) config_show() argument 334 config_name_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) config_name_store() argument 452 config_name_show(struct device *dev, struct device_attribute *attr, char *buf) config_name_show() argument 460 config_upload_name_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) config_upload_name_store() argument 478 config_upload_name_show(struct device *dev, struct device_attribute *attr, char *buf) config_upload_name_show() argument 486 config_num_requests_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) config_num_requests_store() argument 508 config_num_requests_show(struct device *dev, struct device_attribute *attr, char *buf) config_num_requests_show() argument 516 config_into_buf_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) config_into_buf_store() argument 525 config_into_buf_show(struct device *dev, struct device_attribute *attr, char *buf) config_into_buf_show() argument 533 config_buf_size_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) config_buf_size_store() argument 555 config_buf_size_show(struct device *dev, struct device_attribute *attr, char *buf) config_buf_size_show() argument 563 config_file_offset_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) config_file_offset_store() argument 585 config_file_offset_show(struct device *dev, struct device_attribute *attr, char *buf) config_file_offset_show() argument 593 config_partial_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) config_partial_store() argument 602 config_partial_show(struct device *dev, struct device_attribute *attr, char *buf) config_partial_show() argument 610 config_sync_direct_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) config_sync_direct_store() argument 624 config_sync_direct_show(struct device *dev, struct device_attribute *attr, char *buf) config_sync_direct_show() argument 632 config_send_uevent_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) config_send_uevent_store() argument 640 config_send_uevent_show(struct device *dev, struct device_attribute *attr, char *buf) config_send_uevent_show() argument 648 config_read_fw_idx_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) config_read_fw_idx_store() argument 656 config_read_fw_idx_show(struct device *dev, struct device_attribute *attr, char *buf) config_read_fw_idx_show() argument 665 trigger_request_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) trigger_request_store() argument 704 trigger_request_platform_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) trigger_request_platform_store() argument 766 trigger_async_request_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) trigger_async_request_store() argument 811 trigger_custom_fallback_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) trigger_custom_fallback_store() argument 921 trigger_batched_requests_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) trigger_batched_requests_store() argument 1024 trigger_batched_requests_async_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) trigger_batched_requests_async_store() argument 1290 upload_register_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) upload_register_store() argument 1349 upload_unregister_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) upload_unregister_store() argument 1375 test_result_show(struct device *dev, struct device_attribute *attr, char *buf) test_result_show() argument 1383 release_all_firmware_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) release_all_firmware_store() argument 1392 read_firmware_show(struct device *dev, struct device_attribute *attr, char *buf) read_firmware_show() argument 1437 upload_read_show(struct device *dev, struct device_attribute *attr, char *buf) upload_read_show() argument [all...] |
/kernel/linux/linux-6.6/net/ipv4/ |
H A D | ip_tunnel_core.c | 469 static int ip_tun_parse_opts_geneve(struct nlattr *attr, in ip_tun_parse_opts_geneve() argument 476 err = nla_parse_nested(tb, LWTUNNEL_IP_OPT_GENEVE_MAX, attr, in ip_tun_parse_opts_geneve() 486 attr = tb[LWTUNNEL_IP_OPT_GENEVE_DATA]; in ip_tun_parse_opts_geneve() 487 data_len = nla_len(attr); in ip_tun_parse_opts_geneve() 494 memcpy(opt->opt_data, nla_data(attr), data_len); in ip_tun_parse_opts_geneve() 496 attr = tb[LWTUNNEL_IP_OPT_GENEVE_CLASS]; in ip_tun_parse_opts_geneve() 497 opt->opt_class = nla_get_be16(attr); in ip_tun_parse_opts_geneve() 498 attr = tb[LWTUNNEL_IP_OPT_GENEVE_TYPE]; in ip_tun_parse_opts_geneve() 499 opt->type = nla_get_u8(attr); in ip_tun_parse_opts_geneve() 506 static int ip_tun_parse_opts_vxlan(struct nlattr *attr, in ip_tun_parse_opts_vxlan() argument 534 ip_tun_parse_opts_erspan(struct nlattr *attr, struct ip_tunnel_info *info, int opts_len, struct netlink_ext_ack *extack) ip_tun_parse_opts_erspan() argument 583 ip_tun_parse_opts(struct nlattr *attr, struct ip_tunnel_info *info, struct netlink_ext_ack *extack) ip_tun_parse_opts() argument 640 ip_tun_get_optlen(struct nlattr *attr, struct netlink_ext_ack *extack) ip_tun_get_optlen() argument 646 ip_tun_set_opts(struct nlattr *attr, struct ip_tunnel_info *info, struct netlink_ext_ack *extack) ip_tun_set_opts() argument 652 ip_tun_build_state(struct net *net, struct nlattr *attr, unsigned int family, const void *cfg, struct lwtunnel_state **ts, struct netlink_ext_ack *extack) ip_tun_build_state() argument 939 ip6_tun_build_state(struct net *net, struct nlattr *attr, unsigned int family, const void *cfg, struct lwtunnel_state **ts, struct netlink_ext_ack *extack) ip6_tun_build_state() argument [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/ |
H A D | ap_config.c | 551 hostapd_config_get_radius_attr(struct hostapd_radius_attr *attr, u8 type) in hostapd_config_get_radius_attr() argument 553 for (; attr; attr = attr->next) { in hostapd_config_get_radius_attr() 554 if (attr->type == type) in hostapd_config_get_radius_attr() 555 return attr; in hostapd_config_get_radius_attr() 565 struct hostapd_radius_attr *attr; in hostapd_parse_radius_attr() local 568 attr = os_zalloc(sizeof(*attr)); in hostapd_parse_radius_attr() 569 if (!attr) in hostapd_parse_radius_attr() 630 hostapd_config_free_radius_attr(struct hostapd_radius_attr *attr) hostapd_config_free_radius_attr() argument [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/ |
H A D | ap_config.c | 470 hostapd_config_get_radius_attr(struct hostapd_radius_attr *attr, u8 type) in hostapd_config_get_radius_attr() argument 472 for (; attr; attr = attr->next) { in hostapd_config_get_radius_attr() 473 if (attr->type == type) in hostapd_config_get_radius_attr() 474 return attr; in hostapd_config_get_radius_attr() 484 struct hostapd_radius_attr *attr; in hostapd_parse_radius_attr() local 487 attr = os_zalloc(sizeof(*attr)); in hostapd_parse_radius_attr() 488 if (!attr) in hostapd_parse_radius_attr() 549 hostapd_config_free_radius_attr(struct hostapd_radius_attr *attr) hostapd_config_free_radius_attr() argument [all...] |
/kernel/linux/linux-5.10/drivers/scsi/bfa/ |
H A D | bfa_fcs_lport.c | 1906 struct fdmi_attr_s *attr; in bfa_fcs_lport_fdmi_build_rhba_pyld() local 1933 attr = (struct fdmi_attr_s *) curr_ptr; in bfa_fcs_lport_fdmi_build_rhba_pyld() 1934 attr->type = cpu_to_be16(FDMI_HBA_ATTRIB_NODENAME); in bfa_fcs_lport_fdmi_build_rhba_pyld() 1936 memcpy(attr->value, &bfa_fcs_lport_get_nwwn(port), templen); in bfa_fcs_lport_fdmi_build_rhba_pyld() 1937 curr_ptr += sizeof(attr->type) + sizeof(templen) + templen; in bfa_fcs_lport_fdmi_build_rhba_pyld() 1940 attr->len = cpu_to_be16(templen + sizeof(attr->type) + in bfa_fcs_lport_fdmi_build_rhba_pyld() 1946 attr = (struct fdmi_attr_s *) curr_ptr; in bfa_fcs_lport_fdmi_build_rhba_pyld() 1947 attr->type = cpu_to_be16(FDMI_HBA_ATTRIB_MANUFACTURER); in bfa_fcs_lport_fdmi_build_rhba_pyld() 1949 memcpy(attr in bfa_fcs_lport_fdmi_build_rhba_pyld() 2241 struct fdmi_attr_s *attr; bfa_fcs_lport_fdmi_build_portattr_block() local 6850 bfa_fcs_vport_get_attr(struct bfa_fcs_vport_s *vport, struct bfa_vport_attr_s *attr) bfa_fcs_vport_get_attr() argument [all...] |
/kernel/linux/linux-6.6/drivers/infiniband/hw/mlx5/ |
H A D | qp.c | 494 static int sq_overhead(struct ib_qp_init_attr *attr) in sq_overhead() argument 498 switch (attr->qp_type) { in sq_overhead() 523 if (attr->create_flags & IB_QP_CREATE_IPOIB_UD_LSO) in sq_overhead() 546 static int calc_send_wqe(struct ib_qp_init_attr *attr) in calc_send_wqe() argument 551 size = sq_overhead(attr); in calc_send_wqe() 555 if (attr->cap.max_inline_data) { in calc_send_wqe() 557 attr->cap.max_inline_data; in calc_send_wqe() 560 size += attr->cap.max_send_sge * sizeof(struct mlx5_wqe_data_seg); in calc_send_wqe() 561 if (attr->create_flags & IB_QP_CREATE_INTEGRITY_EN && in calc_send_wqe() 568 static int get_send_sge(struct ib_qp_init_attr *attr, in argument 591 calc_sq_size(struct mlx5_ib_dev *dev, struct ib_qp_init_attr *attr, struct mlx5_ib_qp *qp) calc_sq_size() argument 636 set_user_buf_size(struct mlx5_ib_dev *dev, struct mlx5_ib_qp *qp, struct mlx5_ib_create_qp *ucmd, struct mlx5_ib_qp_base *base, struct ib_qp_init_attr *attr) set_user_buf_size() argument 677 qp_has_rq(struct ib_qp_init_attr *attr) qp_has_rq() argument 941 _create_user_qp(struct mlx5_ib_dev *dev, struct ib_pd *pd, struct mlx5_ib_qp *qp, struct ib_udata *udata, struct ib_qp_init_attr *attr, u32 **in, struct mlx5_ib_create_qp_resp *resp, int *inlen, struct mlx5_ib_qp_base *base, struct mlx5_ib_create_qp *ucmd) _create_user_qp() argument 1219 get_rx_type(struct mlx5_ib_qp *qp, struct ib_qp_init_attr *attr) get_rx_type() argument 1710 struct ib_qp_init_attr *attr; global() member 1995 struct ib_qp_init_attr *attr = params->attr; create_xrc_tgt_qp() local 2436 struct ib_qp_init_attr *attr = params->attr; create_kernel_qp() local 2733 struct ib_qp_init_attr *attr = params->attr; create_dct() local 2766 check_qp_type(struct mlx5_ib_dev *dev, struct ib_qp_init_attr *attr, enum ib_qp_type *type) check_qp_type() argument 2800 check_valid_flow(struct mlx5_ib_dev *dev, struct ib_pd *pd, struct ib_qp_init_attr *attr, struct ib_udata *udata) check_valid_flow() argument 2872 process_vendor_flags(struct mlx5_ib_dev *dev, struct mlx5_ib_qp *qp, void *ucmd, struct ib_qp_init_attr *attr) process_vendor_flags() argument 2973 process_create_flags(struct mlx5_ib_dev *dev, struct mlx5_ib_qp *qp, struct ib_qp_init_attr *attr) process_create_flags() argument 3147 check_qp_attr(struct mlx5_ib_dev *dev, struct mlx5_ib_qp *qp, struct ib_qp_init_attr *attr) check_qp_attr() argument 3240 mlx5_ib_create_qp(struct ib_qp *ibqp, struct ib_qp_init_attr *attr, struct ib_udata *udata) mlx5_ib_create_qp() argument 3351 set_qpc_atomic_flags(struct mlx5_ib_qp *qp, const struct ib_qp_attr *attr, int attr_mask, void *qpc) set_qpc_atomic_flags() argument 3516 mlx5_set_path(struct mlx5_ib_dev *dev, struct mlx5_ib_qp *qp, const struct rdma_ah_attr *ah, void *path, u8 port, int attr_mask, u32 path_flags, const struct ib_qp_attr *attr, bool alt) mlx5_set_path() argument 4012 get_tx_affinity(struct ib_qp *qp, const struct ib_qp_attr *attr, int attr_mask, u8 init, struct ib_udata *udata) get_tx_affinity() argument 4102 __mlx5_ib_modify_qp(struct ib_qp *ibqp, const struct ib_qp_attr *attr, int attr_mask, enum ib_qp_state cur_state, enum ib_qp_state new_state, const struct mlx5_ib_modify_qp *ucmd, struct mlx5_ib_modify_qp_resp *resp, struct ib_udata *udata) __mlx5_ib_modify_qp() argument 4491 mlx5_ib_modify_dct(struct ib_qp *ibqp, struct ib_qp_attr *attr, int attr_mask, struct mlx5_ib_modify_qp *ucmd, struct ib_udata *udata) mlx5_ib_modify_dct() argument 4620 validate_rd_atomic(struct mlx5_ib_dev *dev, struct ib_qp_attr *attr, int attr_mask, enum ib_qp_type qp_type) validate_rd_atomic() argument 4654 mlx5_ib_modify_qp(struct ib_qp *ibqp, struct ib_qp_attr *attr, int attr_mask, struct ib_udata *udata) mlx5_ib_modify_qp() argument 5740 struct ib_qp_attr attr = { .qp_state = IB_QPS_ERR }; mlx5_ib_drain_sq() local 5775 struct ib_qp_attr attr = { .qp_state = IB_QPS_ERR }; mlx5_ib_drain_rq() local [all...] |
/kernel/linux/linux-6.6/drivers/scsi/bfa/ |
H A D | bfa_fcs_lport.c | 1907 struct fdmi_attr_s *attr; in bfa_fcs_lport_fdmi_build_rhba_pyld() local 1938 attr = (struct fdmi_attr_s *) curr_ptr; in bfa_fcs_lport_fdmi_build_rhba_pyld() 1939 attr->type = cpu_to_be16(FDMI_HBA_ATTRIB_NODENAME); in bfa_fcs_lport_fdmi_build_rhba_pyld() 1941 memcpy(attr->value, &bfa_fcs_lport_get_nwwn(port), templen); in bfa_fcs_lport_fdmi_build_rhba_pyld() 1942 curr_ptr += sizeof(attr->type) + sizeof(templen) + templen; in bfa_fcs_lport_fdmi_build_rhba_pyld() 1945 attr->len = cpu_to_be16(templen + sizeof(attr->type) + in bfa_fcs_lport_fdmi_build_rhba_pyld() 1951 attr = (struct fdmi_attr_s *) curr_ptr; in bfa_fcs_lport_fdmi_build_rhba_pyld() 1952 attr->type = cpu_to_be16(FDMI_HBA_ATTRIB_MANUFACTURER); in bfa_fcs_lport_fdmi_build_rhba_pyld() 1954 memcpy(attr in bfa_fcs_lport_fdmi_build_rhba_pyld() 2249 struct fdmi_attr_s *attr; bfa_fcs_lport_fdmi_build_portattr_block() local 6858 bfa_fcs_vport_get_attr(struct bfa_fcs_vport_s *vport, struct bfa_vport_attr_s *attr) bfa_fcs_vport_get_attr() argument [all...] |
/kernel/linux/linux-5.10/drivers/scsi/lpfc/ |
H A D | lpfc_attr.c | 122 * @attr: device attribute, not used. 128 lpfc_drvr_version_show(struct device *dev, struct device_attribute *attr, in lpfc_drvr_version_show() argument 137 * @attr: device attribute, not used. 143 lpfc_enable_fip_show(struct device *dev, struct device_attribute *attr, in lpfc_enable_fip_show() argument 157 lpfc_nvme_info_show(struct device *dev, struct device_attribute *attr, in lpfc_nvme_info_show() argument 530 lpfc_scsi_stat_show(struct device *dev, struct device_attribute *attr, in lpfc_scsi_stat_show() argument 581 lpfc_bg_info_show(struct device *dev, struct device_attribute *attr, in lpfc_bg_info_show() argument 601 lpfc_bg_guard_err_show(struct device *dev, struct device_attribute *attr, in lpfc_bg_guard_err_show() argument 613 lpfc_bg_apptag_err_show(struct device *dev, struct device_attribute *attr, in lpfc_bg_apptag_err_show() argument 625 lpfc_bg_reftag_err_show(struct device *dev, struct device_attribute *attr, in lpfc_bg_reftag_err_show() argument 645 lpfc_info_show(struct device *dev, struct device_attribute *attr, char *buf) lpfc_info_show() argument 662 lpfc_serialnum_show(struct device *dev, struct device_attribute *attr, char *buf) lpfc_serialnum_show() argument 685 lpfc_temp_sensor_show(struct device *dev, struct device_attribute *attr, char *buf) lpfc_temp_sensor_show() argument 703 lpfc_modeldesc_show(struct device *dev, struct device_attribute *attr, char *buf) lpfc_modeldesc_show() argument 722 lpfc_modelname_show(struct device *dev, struct device_attribute *attr, char *buf) lpfc_modelname_show() argument 741 lpfc_programtype_show(struct device *dev, struct device_attribute *attr, char *buf) lpfc_programtype_show() argument 760 lpfc_mlomgmt_show(struct device *dev, struct device_attribute *attr, char *buf) lpfc_mlomgmt_show() argument 779 lpfc_vportnum_show(struct device *dev, struct device_attribute *attr, char *buf) lpfc_vportnum_show() argument 798 lpfc_fwrev_show(struct device *dev, struct device_attribute *attr, char *buf) lpfc_fwrev_show() argument 832 lpfc_hdw_show(struct device *dev, struct device_attribute *attr, char *buf) lpfc_hdw_show() argument 854 lpfc_option_rom_version_show(struct device *dev, struct device_attribute *attr, char *buf) lpfc_option_rom_version_show() argument 882 lpfc_link_state_show(struct device *dev, struct device_attribute *attr, char *buf) lpfc_link_state_show() argument 1007 lpfc_sli4_protocol_show(struct device *dev, struct device_attribute *attr, char *buf) lpfc_sli4_protocol_show() argument 1036 lpfc_oas_supported_show(struct device *dev, struct device_attribute *attr, char *buf) lpfc_oas_supported_show() argument 1060 lpfc_link_state_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) lpfc_link_state_store() argument 1095 lpfc_num_discovered_ports_show(struct device *dev, struct device_attribute *attr, char *buf) lpfc_num_discovered_ports_show() argument 1435 lpfc_issue_reset(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) lpfc_issue_reset() argument 1650 lpfc_nport_evt_cnt_show(struct device *dev, struct device_attribute *attr, char *buf) lpfc_nport_evt_cnt_show() argument 1728 lpfc_board_mode_show(struct device *dev, struct device_attribute *attr, char *buf) lpfc_board_mode_show() argument 1762 lpfc_board_mode_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) lpfc_board_mode_store() argument 1962 lpfc_max_rpi_show(struct device *dev, struct device_attribute *attr, char *buf) lpfc_max_rpi_show() argument 1990 lpfc_used_rpi_show(struct device *dev, struct device_attribute *attr, char *buf) lpfc_used_rpi_show() argument 2018 lpfc_max_xri_show(struct device *dev, struct device_attribute *attr, char *buf) lpfc_max_xri_show() argument 2046 lpfc_used_xri_show(struct device *dev, struct device_attribute *attr, char *buf) lpfc_used_xri_show() argument 2074 lpfc_max_vpi_show(struct device *dev, struct device_attribute *attr, char *buf) lpfc_max_vpi_show() argument 2102 lpfc_used_vpi_show(struct device *dev, struct device_attribute *attr, char *buf) lpfc_used_vpi_show() argument 2129 lpfc_npiv_info_show(struct device *dev, struct device_attribute *attr, char *buf) lpfc_npiv_info_show() argument 2155 lpfc_poll_show(struct device *dev, struct device_attribute *attr, char *buf) lpfc_poll_show() argument 2180 lpfc_poll_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) lpfc_poll_store() argument 2263 lpfc_sriov_hw_max_virtfn_show(struct device *dev, struct device_attribute *attr, char *buf) lpfc_sriov_hw_max_virtfn_show() argument 2726 lpfc_soft_wwn_enable_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) lpfc_soft_wwn_enable_store() argument 2784 lpfc_soft_wwpn_show(struct device *dev, struct device_attribute *attr, char *buf) lpfc_soft_wwpn_show() argument 2809 lpfc_soft_wwpn_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) lpfc_soft_wwpn_store() argument 2883 lpfc_soft_wwnn_show(struct device *dev, struct device_attribute *attr, char *buf) lpfc_soft_wwnn_show() argument 2903 lpfc_soft_wwnn_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) lpfc_soft_wwnn_store() argument 2948 lpfc_oas_tgt_show(struct device *dev, struct device_attribute *attr, char *buf) lpfc_oas_tgt_show() argument 2972 lpfc_oas_tgt_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) lpfc_oas_tgt_store() argument 3016 lpfc_oas_priority_show(struct device *dev, struct device_attribute *attr, char *buf) lpfc_oas_priority_show() argument 3039 lpfc_oas_priority_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) lpfc_oas_priority_store() argument 3079 lpfc_oas_vpt_show(struct device *dev, struct device_attribute *attr, char *buf) lpfc_oas_vpt_show() argument 3103 lpfc_oas_vpt_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) lpfc_oas_vpt_store() argument 3150 lpfc_oas_lun_state_show(struct device *dev, struct device_attribute *attr, char *buf) lpfc_oas_lun_state_show() argument 3174 lpfc_oas_lun_state_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) lpfc_oas_lun_state_store() argument 3211 lpfc_oas_lun_status_show(struct device *dev, struct device_attribute *attr, char *buf) lpfc_oas_lun_status_show() argument 3345 lpfc_oas_lun_show(struct device *dev, struct device_attribute *attr, char *buf) lpfc_oas_lun_show() argument 3393 lpfc_oas_lun_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) lpfc_oas_lun_store() argument 3494 lpfc_pls_show(struct device *dev, struct device_attribute *attr, char *buf) lpfc_pls_show() argument 3506 lpfc_pt_show(struct device *dev, struct device_attribute *attr, char *buf) lpfc_pt_show() argument 3526 lpfc_iocb_hw_show(struct device *dev, struct device_attribute *attr, char *buf) lpfc_iocb_hw_show() argument 3537 lpfc_txq_hw_show(struct device *dev, struct device_attribute *attr, char *buf) lpfc_txq_hw_show() argument 3550 lpfc_txcmplq_hw_show(struct device *dev, struct device_attribute *attr, char *buf) lpfc_txcmplq_hw_show() argument 3584 lpfc_nodev_tmo_show(struct device *dev, struct device_attribute *attr, char *buf) lpfc_nodev_tmo_show() argument 4043 lpfc_topology_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) lpfc_topology_store() argument 4127 lpfc_static_vport_show(struct device *dev, struct device_attribute *attr, char *buf) lpfc_static_vport_show() argument 4165 lpfc_stat_data_ctrl_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) lpfc_stat_data_ctrl_store() argument 4319 lpfc_stat_data_ctrl_show(struct device *dev, struct device_attribute *attr, char *buf) lpfc_stat_data_ctrl_show() argument 4493 lpfc_link_speed_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) lpfc_link_speed_store() argument 4672 lpfc_aer_support_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) lpfc_aer_support_store() argument 4747 lpfc_aer_cleanup_state(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) lpfc_aer_cleanup_state() argument 4814 lpfc_sriov_nr_virtfn_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) lpfc_sriov_nr_virtfn_store() argument 4890 lpfc_request_firmware_upgrade_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) lpfc_request_firmware_upgrade_store() argument 4963 lpfc_force_rscn_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) lpfc_force_rscn_store() argument 5021 lpfc_fcp_imax_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) lpfc_fcp_imax_store() argument 5140 lpfc_cq_max_proc_limit_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) lpfc_cq_max_proc_limit_store() argument 5247 lpfc_fcp_cpu_map_show(struct device *dev, struct device_attribute *attr, char *buf) lpfc_fcp_cpu_map_show() argument 5358 lpfc_fcp_cpu_map_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) lpfc_fcp_cpu_map_store() argument 5889 lpfc_irq_chann_show(struct device *dev, struct device_attribute *attr, char *buf) lpfc_irq_chann_show() argument 6018 lpfc_sg_seg_cnt_show(struct device *dev, struct device_attribute *attr, char *buf) lpfc_sg_seg_cnt_show() argument [all...] |
/kernel/linux/linux-5.10/drivers/hwmon/ |
H A D | asc7621.c | 164 static ssize_t show_u8(struct device *dev, struct device_attribute *attr, in show_u8() argument 167 SETUP_SHOW_DATA_PARAM(dev, attr); in show_u8() 172 static ssize_t store_u8(struct device *dev, struct device_attribute *attr, in store_u8() argument 175 SETUP_STORE_DATA_PARAM(dev, attr); in store_u8() 194 struct device_attribute *attr, char *buf) in show_bitmask() 196 SETUP_SHOW_DATA_PARAM(dev, attr); in show_bitmask() 204 struct device_attribute *attr, in store_bitmask() 207 SETUP_STORE_DATA_PARAM(dev, attr); in store_bitmask() 234 struct device_attribute *attr, char *buf) in show_fan16() 236 SETUP_SHOW_DATA_PARAM(dev, attr); in show_fan16() 193 show_bitmask(struct device *dev, struct device_attribute *attr, char *buf) show_bitmask() argument 203 store_bitmask(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) store_bitmask() argument 233 show_fan16(struct device *dev, struct device_attribute *attr, char *buf) show_fan16() argument 248 store_fan16(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) store_fan16() argument 294 show_in10(struct device *dev, struct device_attribute *attr, char *buf) show_in10() argument 312 show_in8(struct device *dev, struct device_attribute *attr, char *buf) show_in8() argument 323 store_in8(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) store_in8() argument 347 show_temp8(struct device *dev, struct device_attribute *attr, char *buf) show_temp8() argument 355 store_temp8(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) store_temp8() argument 384 show_temp10(struct device *dev, struct device_attribute *attr, char *buf) show_temp10() argument 401 show_temp62(struct device *dev, struct device_attribute *attr, char *buf) show_temp62() argument 411 store_temp62(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) store_temp62() argument 446 show_ap2_temp(struct device *dev, struct device_attribute *attr, char *buf) show_ap2_temp() argument 465 store_ap2_temp(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) store_ap2_temp() argument 497 show_pwm_ac(struct device *dev, struct device_attribute *attr, char *buf) show_pwm_ac() argument 516 store_pwm_ac(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) store_pwm_ac() argument 556 show_pwm_enable(struct device *dev, struct device_attribute *attr, char *buf) show_pwm_enable() argument 584 store_pwm_enable(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) store_pwm_enable() argument 645 show_pwm_freq(struct device *dev, struct device_attribute *attr, char *buf) show_pwm_freq() argument 657 store_pwm_freq(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) store_pwm_freq() argument 693 show_pwm_ast(struct device *dev, struct device_attribute *attr, char *buf) show_pwm_ast() argument 706 store_pwm_ast(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) store_pwm_ast() argument 742 show_temp_st(struct device *dev, struct device_attribute *attr, char *buf) show_temp_st() argument 753 store_temp_st(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) store_temp_st() argument [all...] |
/kernel/linux/linux-6.6/drivers/block/zram/ |
H A D | zram_drv.c | 166 struct device_attribute *attr, char *buf) in initstate_show() 179 struct device_attribute *attr, char *buf) in disksize_show() 187 struct device_attribute *attr, const char *buf, size_t len) in mem_limit_store() 205 struct device_attribute *attr, const char *buf, size_t len) in mem_used_max_store() 254 struct device_attribute *attr, const char *buf, size_t len) in idle_store() 293 struct device_attribute *attr, const char *buf, size_t len) in writeback_limit_enable_store() 313 struct device_attribute *attr, char *buf) in writeback_limit_enable_show() 328 struct device_attribute *attr, const char *buf, size_t len) in writeback_limit_store() 348 struct device_attribute *attr, char *buf) in writeback_limit_show() 381 struct device_attribute *attr, cha in backing_dev_show() 165 initstate_show(struct device *dev, struct device_attribute *attr, char *buf) initstate_show() argument 178 disksize_show(struct device *dev, struct device_attribute *attr, char *buf) disksize_show() argument 186 mem_limit_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t len) mem_limit_store() argument 204 mem_used_max_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t len) mem_used_max_store() argument 253 idle_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t len) idle_store() argument 292 writeback_limit_enable_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t len) writeback_limit_enable_store() argument 312 writeback_limit_enable_show(struct device *dev, struct device_attribute *attr, char *buf) writeback_limit_enable_show() argument 327 writeback_limit_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t len) writeback_limit_store() argument 347 writeback_limit_show(struct device *dev, struct device_attribute *attr, char *buf) writeback_limit_show() argument 380 backing_dev_show(struct device *dev, struct device_attribute *attr, char *buf) backing_dev_show() argument 410 backing_dev_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t len) backing_dev_store() argument 542 writeback_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t len) writeback_store() argument 888 max_comp_streams_show(struct device *dev, struct device_attribute *attr, char *buf) max_comp_streams_show() argument 894 max_comp_streams_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t len) max_comp_streams_store() argument 955 comp_algorithm_show(struct device *dev, struct device_attribute *attr, char *buf) comp_algorithm_show() argument 964 comp_algorithm_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t len) comp_algorithm_store() argument 977 recomp_algorithm_show(struct device *dev, struct device_attribute *attr, char *buf) recomp_algorithm_show() argument 996 recomp_algorithm_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t len) recomp_algorithm_store() argument 1038 compact_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t len) compact_store() argument 1055 io_stat_show(struct device *dev, struct device_attribute *attr, char *buf) io_stat_show() argument 1072 mm_stat_show(struct device *dev, struct device_attribute *attr, char *buf) mm_stat_show() argument 1110 bd_stat_show(struct device *dev, struct device_attribute *attr, char *buf) bd_stat_show() argument 1128 debug_stat_show(struct device *dev, struct device_attribute *attr, char *buf) debug_stat_show() argument 1154 group_show(struct device *dev, struct device_attribute *attr, char *buf) group_show() argument 1173 group_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t len) group_store() argument 1732 recompress_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t len) recompress_store() argument 2036 disksize_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t len) disksize_store() argument 2091 reset_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t len) reset_store() argument 2352 hot_add_show(const struct class *class, const struct class_attribute *attr, char *buf) hot_add_show() argument 2370 hot_remove_store(const struct class *class, const struct class_attribute *attr, const char *buf, size_t count) hot_remove_store() argument [all...] |
/third_party/eudev/src/udev/ |
H A D | udev-rules.c | 132 TK_M_ENV, /* val, attr */ 137 TK_M_ATTR, /* val, attr */ 138 TK_M_SYSCTL, /* val, attr */ 144 TK_M_ATTRS, /* val, attr */ 172 TK_A_SECLABEL, /* val, attr */ 173 TK_A_ENV, /* val, attr */ 176 TK_A_ATTR, /* val, attr */ 177 TK_A_SYSCTL, /* val, attr */ 329 const char *attr = &rules->buf[token->key.attr_off]; in dump_token() local 384 token_str(type), operation_str(op), attr, valu in dump_token() 723 attr_subst_subdir(char *attr, size_t len) attr_subst_subdir() argument 852 char *attr; get_key_attribute() local 872 const char *attr = NULL; rule_add_key() local 1050 const char *attr; add_rule() local 2551 char attr[UTIL_PATH_SIZE]; udev_rules_apply_to_event() local [all...] |
/kernel/linux/linux-5.10/arch/powerpc/kernel/ |
H A D | sysfs.c | 50 struct device_attribute *attr, in store_smt_snooze_delay() 60 struct device_attribute *attr, in show_smt_snooze_delay() 96 struct device_attribute *attr, \ 105 store_##NAME(struct device *dev, struct device_attribute *attr, \ 169 static void add_write_permission_dev_attr(struct device_attribute *attr) in add_write_permission_dev_attr() argument 171 attr->attr.mode |= 0200; in add_write_permission_dev_attr() 177 * @attr: Device attribute structure 183 struct device_attribute *attr, char *buf) in show_dscr_default() 191 * @attr 49 store_smt_snooze_delay(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) store_smt_snooze_delay() argument 59 show_smt_snooze_delay(struct device *dev, struct device_attribute *attr, char *buf) show_smt_snooze_delay() argument 182 show_dscr_default(struct device *dev, struct device_attribute *attr, char *buf) show_dscr_default() argument 197 store_dscr_default(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) store_dscr_default() argument 259 show_pw20_state(struct device *dev, struct device_attribute *attr, char *buf) show_pw20_state() argument 287 store_pw20_state(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) store_pw20_state() argument 305 show_pw20_wait_time(struct device *dev, struct device_attribute *attr, char *buf) show_pw20_wait_time() argument 354 store_pw20_wait_time(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) store_pw20_wait_time() argument 381 show_altivec_idle(struct device *dev, struct device_attribute *attr, char *buf) show_altivec_idle() argument 409 store_altivec_idle(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) store_altivec_idle() argument 427 show_altivec_idle_wait_time(struct device *dev, struct device_attribute *attr, char *buf) show_altivec_idle_wait_time() argument 476 store_altivec_idle_wait_time(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) store_altivec_idle_wait_time() argument 741 show_svm(struct device *dev, struct device_attribute *attr, char *buf) show_svm() argument 765 idle_purr_show(struct device *dev, struct device_attribute *attr, char *buf) idle_purr_show() argument 795 idle_spurr_show(struct device *dev, struct device_attribute *attr, char *buf) idle_spurr_show() argument 1043 cpu_add_dev_attr(struct device_attribute *attr) cpu_add_dev_attr() argument 1050 device_create_file(get_cpu_device(cpu), attr); cpu_add_dev_attr() local 1078 cpu_remove_dev_attr(struct device_attribute *attr) cpu_remove_dev_attr() argument 1085 device_remove_file(get_cpu_device(cpu), attr); cpu_remove_dev_attr() local 1144 show_physical_id(struct device *dev, struct device_attribute *attr, char *buf) show_physical_id() argument [all...] |
/kernel/linux/linux-6.6/arch/powerpc/kernel/ |
H A D | sysfs.c | 50 struct device_attribute *attr, in store_smt_snooze_delay() 60 struct device_attribute *attr, in show_smt_snooze_delay() 96 struct device_attribute *attr, \ 105 store_##NAME(struct device *dev, struct device_attribute *attr, \ 169 static void add_write_permission_dev_attr(struct device_attribute *attr) in add_write_permission_dev_attr() argument 171 attr->attr.mode |= 0200; in add_write_permission_dev_attr() 177 * @attr: Device attribute structure 183 struct device_attribute *attr, char *buf) in show_dscr_default() 191 * @attr 49 store_smt_snooze_delay(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) store_smt_snooze_delay() argument 59 show_smt_snooze_delay(struct device *dev, struct device_attribute *attr, char *buf) show_smt_snooze_delay() argument 182 show_dscr_default(struct device *dev, struct device_attribute *attr, char *buf) show_dscr_default() argument 197 store_dscr_default(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) store_dscr_default() argument 264 show_pw20_state(struct device *dev, struct device_attribute *attr, char *buf) show_pw20_state() argument 292 store_pw20_state(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) store_pw20_state() argument 310 show_pw20_wait_time(struct device *dev, struct device_attribute *attr, char *buf) show_pw20_wait_time() argument 359 store_pw20_wait_time(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) store_pw20_wait_time() argument 386 show_altivec_idle(struct device *dev, struct device_attribute *attr, char *buf) show_altivec_idle() argument 414 store_altivec_idle(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) store_altivec_idle() argument 432 show_altivec_idle_wait_time(struct device *dev, struct device_attribute *attr, char *buf) show_altivec_idle_wait_time() argument 481 store_altivec_idle_wait_time(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) store_altivec_idle_wait_time() argument 746 show_svm(struct device *dev, struct device_attribute *attr, char *buf) show_svm() argument 775 idle_purr_show(struct device *dev, struct device_attribute *attr, char *buf) idle_purr_show() argument 805 idle_spurr_show(struct device *dev, struct device_attribute *attr, char *buf) idle_spurr_show() argument 1054 cpu_add_dev_attr(struct device_attribute *attr) cpu_add_dev_attr() argument 1061 device_create_file(get_cpu_device(cpu), attr); cpu_add_dev_attr() local 1089 cpu_remove_dev_attr(struct device_attribute *attr) cpu_remove_dev_attr() argument 1096 device_remove_file(get_cpu_device(cpu), attr); cpu_remove_dev_attr() local 1140 show_physical_id(struct device *dev, struct device_attribute *attr, char *buf) show_physical_id() argument [all...] |