Home
last modified time | relevance | path

Searched refs:num_attrs (Results 1 – 19 of 19) sorted by relevance

/linux/drivers/hwmon/
A Di5k_amb.c101 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 Duverbs_named_ioctl.h31 .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 Duverbs_ioctl.h303 size_t num_attrs; member
/linux/drivers/hwmon/occ/
A Dcommon.c778 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 Duverbs_ioctl.c77 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 Duverbs_uapi.c127 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 Drdma_core.h151 unsigned int num_attrs);
/linux/include/uapi/linux/
A Dgpio.h166 __u32 num_attrs; member
225 __u32 num_attrs; member
/linux/tools/gpio/
A Dgpio-event-mon.c218 attr = config.num_attrs; in main()
219 config.num_attrs++; in main()
A Dgpio-utils.c271 config.num_attrs = 1; in gpiotools_sets()
A Dlsgpio.c94 for (i = 0; i < info->num_attrs; i++) { in print_attributes()
/linux/drivers/gpio/
A Dgpiolib-cdev.c747 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 Drdma_user_ioctl_cmds.h80 __u16 num_attrs; member
/linux/drivers/net/wireless/intel/iwlwifi/fw/api/
A Dfilter.h92 u8 num_attrs; member
/linux/drivers/platform/mellanox/
A Dmlxreg-hotplug.c249 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 Dgpio-mockup-cdev.c33 req.config.num_attrs = 1; in request_line_v2()
/linux/drivers/gpu/drm/amd/amdkfd/
A Dkfd_topology.c628 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 Dmac80211.c1828 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 Ddebugfs.c1453 filter.num_attrs++; in iwl_dbgfs_bcast_filters_write()

Completed in 52 milliseconds