/linux/drivers/hwmon/ |
A D | i5k_amb.c | 101 unsigned int num_attrs; member 269 data->num_attrs = 0; in i5k_amb_hwmon_init() 282 iattr = data->attrs + data->num_attrs; in i5k_amb_hwmon_init() 294 data->num_attrs++; in i5k_amb_hwmon_init() 309 data->num_attrs++; in i5k_amb_hwmon_init() 325 data->num_attrs++; in i5k_amb_hwmon_init() 341 data->num_attrs++; in i5k_amb_hwmon_init() 357 data->num_attrs++; in i5k_amb_hwmon_init() 372 data->num_attrs++; in i5k_amb_hwmon_init() 390 for (i = 0; i < data->num_attrs; i++) in i5k_amb_hwmon_init() [all …]
|
/linux/include/rdma/ |
A D | uverbs_named_ioctl.h | 31 .num_attrs = ARRAY_SIZE(UVERBS_METHOD_ATTRS(_method_id)), \ 45 .num_attrs = ARRAY_SIZE(UVERBS_METHOD_ATTRS(_method_id)), \ 92 .num_attrs = ARRAY_SIZE(UVERBS_METHOD_ATTRS(_method_id)), \
|
A D | uverbs_ioctl.h | 303 size_t num_attrs; member
|
/linux/drivers/hwmon/occ/ |
A D | common.c | 778 unsigned int i, s, num_attrs = 0; in occ_setup_sensor_attrs() local 794 num_attrs += (sensors->temp.num_sensors * 2); in occ_setup_sensor_attrs() 797 num_attrs += (sensors->temp.num_sensors * 4); in occ_setup_sensor_attrs() 801 num_attrs += (sensors->temp.num_sensors * 5); in occ_setup_sensor_attrs() 813 num_attrs += (sensors->freq.num_sensors * 2); in occ_setup_sensor_attrs() 824 num_attrs += (sensors->power.num_sensors * 4); in occ_setup_sensor_attrs() 827 num_attrs += (sensors->power.num_sensors * 16); in occ_setup_sensor_attrs() 836 num_attrs += (sensors->caps.num_sensors * 7); in occ_setup_sensor_attrs() 842 num_attrs += (sensors->caps.num_sensors * 8); in occ_setup_sensor_attrs() 863 num_attrs + 1, GFP_KERNEL); in occ_setup_sensor_attrs() [all …]
|
/linux/drivers/infiniband/core/ |
A D | uverbs_ioctl.c | 77 unsigned int num_attrs) in uapi_compute_bundle_size() argument 83 sizeof(*pbundle->uattrs) * num_attrs; in uapi_compute_bundle_size() 414 unsigned int num_attrs) in ib_uverbs_run_method() argument 417 size_t uattrs_size = array_size(sizeof(*pbundle->uattrs), num_attrs); in ib_uverbs_run_method() 435 for (i = 0; i != num_attrs; i++) { in ib_uverbs_run_method() 600 ret = ib_uverbs_run_method(pbundle, hdr->num_attrs); in ib_uverbs_cmd_verbs() 622 hdr.length != struct_size(&hdr, attrs, hdr.num_attrs)) in ib_uverbs_ioctl()
|
A D | uverbs_uapi.c | 127 for (i = 0; i != method->num_attrs; i++) { in uapi_merge_method() 357 unsigned int num_attrs = 0; in uapi_finalize_ioctl_method() local 405 num_attrs++; in uapi_finalize_ioctl_method() 411 uapi_compute_bundle_size(method_elm, num_attrs); in uapi_finalize_ioctl_method()
|
A D | rdma_core.h | 151 unsigned int num_attrs);
|
/linux/include/uapi/linux/ |
A D | gpio.h | 166 __u32 num_attrs; member 225 __u32 num_attrs; member
|
/linux/tools/gpio/ |
A D | gpio-event-mon.c | 218 attr = config.num_attrs; in main() 219 config.num_attrs++; in main()
|
A D | gpio-utils.c | 271 config.num_attrs = 1; in gpiotools_sets()
|
A D | lsgpio.c | 94 for (i = 0; i < info->num_attrs; i++) { in print_attributes()
|
/linux/drivers/gpio/ |
A D | gpiolib-cdev.c | 747 for (i = 0; i < lc->num_attrs; i++) { in gpio_v2_line_config_debounced() 761 for (i = 0; i < lc->num_attrs; i++) { in gpio_v2_line_config_debounce_period() 867 for (i = 0; i < lc->num_attrs; i++) { in gpio_v2_line_config_flags() 881 for (i = 0; i < lc->num_attrs; i++) { in gpio_v2_line_config_output_value() 945 if (lc->num_attrs > GPIO_V2_LINE_NUM_ATTRS_MAX) in gpio_v2_line_config_validate() 1898 unsigned int num_attrs = 0; in gpio_desc_to_lineinfo() local 1965 info->attrs[num_attrs].id = GPIO_V2_LINE_ATTR_ID_DEBOUNCE; in gpio_desc_to_lineinfo() 1966 info->attrs[num_attrs].debounce_period_us = debounce_period_us; in gpio_desc_to_lineinfo() 1967 num_attrs++; in gpio_desc_to_lineinfo() 1969 info->num_attrs = num_attrs; in gpio_desc_to_lineinfo()
|
/linux/include/uapi/rdma/ |
A D | rdma_user_ioctl_cmds.h | 80 __u16 num_attrs; member
|
/linux/drivers/net/wireless/intel/iwlwifi/fw/api/ |
A D | filter.h | 92 u8 num_attrs; member
|
/linux/drivers/platform/mellanox/ |
A D | mlxreg-hotplug.c | 249 int num_attrs = 0, id = 0, i, j, k, ret; in mlxreg_hotplug_attr_init() local 313 num_attrs += k; in mlxreg_hotplug_attr_init() 317 num_attrs, in mlxreg_hotplug_attr_init()
|
/linux/tools/testing/selftests/gpio/ |
A D | gpio-mockup-cdev.c | 33 req.config.num_attrs = 1; in request_line_v2()
|
/linux/drivers/gpu/drm/amd/amdkfd/ |
A D | kfd_topology.c | 628 uint32_t i, num_attrs; in kfd_build_sysfs_node_entry() local 750 num_attrs = ARRAY_SIZE(perf_attr_iommu); in kfd_build_sysfs_node_entry() 753 * num_attrs + sizeof(struct attribute_group), in kfd_build_sysfs_node_entry() 765 for (i = 0; i < num_attrs; i++) in kfd_build_sysfs_node_entry()
|
/linux/drivers/net/wireless/intel/iwlwifi/mvm/ |
A D | mac80211.c | 1828 out_filter->num_attrs++; in iwl_mvm_set_bcast_filter() 1876 if (!cmd->filters[data->current_filter].num_attrs) in iwl_mvm_bcast_filter_iterator()
|
A D | debugfs.c | 1453 filter.num_attrs++; in iwl_dbgfs_bcast_filters_write()
|