Home
last modified time | relevance | path

Searched refs:attr_count (Results 1 – 15 of 15) sorted by relevance

/linux/drivers/hwmon/
H A Dibmpowernv.c62 u32 attr_count; member
375 sensor_groups[type].attr_count++; in init_sensor_group_data()
452 sensor_groups[type].attr_count++; in populate_attr_groups()
458 sensor_groups[type].attr_count++; in populate_attr_groups()
460 sensor_groups[type].attr_count++; in populate_attr_groups()
462 sensor_groups[type].attr_count++; in populate_attr_groups()
469 sensor_groups[type].attr_count + 1, in populate_attr_groups()
476 pdata->sensors_count += sensor_groups[type].attr_count; in populate_attr_groups()
477 sensor_groups[type].attr_count = 0; in populate_attr_groups()
522 pgroup->attrs[sensor_groups[type].attr_count++] = &sdata->dev_attr.attr; in populate_sensor()
/linux/drivers/iio/magnetometer/
H A Dhid-sensor-magn-3d.c357 int attr_count = 0; in magn_3d_parse_report() local
372 attr_count++; in magn_3d_parse_report()
375 if (attr_count <= 0) { in magn_3d_parse_report()
382 attr_count); in magn_3d_parse_report()
390 _channels = devm_kcalloc(&pdev->dev, attr_count, in magn_3d_parse_report()
401 ((attr_count + 1) % 2 + (attr_count + 1) / 2) * 2, in magn_3d_parse_report()
410 i < MAGN_3D_CHANNEL_MAX && *chan_count < attr_count; in magn_3d_parse_report()
/linux/net/netfilter/ipset/
H A Dip_set_core.c2138 .attr_count = IPSET_ATTR_CMD_MAX,
2143 .attr_count = IPSET_ATTR_CMD_MAX,
2149 .attr_count = IPSET_ATTR_CMD_MAX,
2155 .attr_count = IPSET_ATTR_CMD_MAX,
2161 .attr_count = IPSET_ATTR_CMD_MAX,
2167 .attr_count = IPSET_ATTR_CMD_MAX,
2173 .attr_count = IPSET_ATTR_CMD_MAX,
2179 .attr_count = IPSET_ATTR_CMD_MAX,
2185 .attr_count = IPSET_ATTR_CMD_MAX,
2191 .attr_count = IPSET_ATTR_CMD_MAX,
[all …]
/linux/drivers/gpu/drm/amd/pm/swsmu/
H A Dsmu_cmn.h271 int attr_count; \
284 obj->attr_count = count; \
/linux/include/linux/netfilter/
H A Dnfnetlink.h30 __u16 attr_count; member
/linux/net/netfilter/
H A Dnfnetlink_cthelper.c745 .attr_count = NFCTH_MAX,
751 .attr_count = NFCTH_MAX,
757 .attr_count = NFCTH_MAX,
H A Dnfnetlink_osf.c396 .attr_count = OSF_ATTR_MAX,
402 .attr_count = OSF_ATTR_MAX,
H A Dnf_tables_api.c9913 .attr_count = NFTA_TABLE_MAX,
9919 .attr_count = NFTA_TABLE_MAX,
9925 .attr_count = NFTA_TABLE_MAX,
9931 .attr_count = NFTA_TABLE_MAX,
9937 .attr_count = NFTA_CHAIN_MAX,
9943 .attr_count = NFTA_CHAIN_MAX,
9949 .attr_count = NFTA_CHAIN_MAX,
9955 .attr_count = NFTA_CHAIN_MAX,
9961 .attr_count = NFTA_RULE_MAX,
9967 .attr_count = NFTA_RULE_MAX,
[all …]
H A Dnfnetlink_queue.c1696 .attr_count = NFQA_MAX,
1701 .attr_count = NFQA_MAX,
1707 .attr_count = NFQA_CFG_MAX,
1713 .attr_count = NFQA_MAX,
H A Dnf_conntrack_netlink.c3765 .attr_count = CTA_MAX,
3771 .attr_count = CTA_MAX,
3777 .attr_count = CTA_MAX,
3783 .attr_count = CTA_MAX,
3808 .attr_count = CTA_EXPECT_MAX,
3814 .attr_count = CTA_EXPECT_MAX,
3820 .attr_count = CTA_EXPECT_MAX,
H A Dnfnetlink_log.c1012 .attr_count = NFULA_MAX,
1017 .attr_count = NFULA_CFG_MAX,
H A Dnft_compat.c792 .attr_count = NFTA_COMPAT_MAX,
/linux/drivers/memstick/core/
H A Dmspro_block.c900 int cnt, rc, attr_count; in mspro_block_read_attributes() local
938 attr_count = MSPRO_BLOCK_MAX_ATTRIBUTES; in mspro_block_read_attributes()
940 attr_count = attr->count; in mspro_block_read_attributes()
943 attr_count + 1); in mspro_block_read_attributes()
956 for (cnt = 0; cnt < attr_count; ++cnt) { in mspro_block_read_attributes()
/linux/drivers/scsi/bfa/
H A Dbfa_fc.h1558 __be32 attr_count; /* # of attributes */ member
1574 __be32 attr_count; /* # of attributes */ member
H A Dbfa_fcs_lport.c1882 len += sizeof(rhba->hba_attr_blk.attr_count); in bfa_fcs_lport_fdmi_build_rhba_pyld()
2109 rhba->hba_attr_blk.attr_count = cpu_to_be32(count); in bfa_fcs_lport_fdmi_build_rhba_pyld()
2214 len = sizeof(port_attrib->attr_count); in bfa_fcs_lport_fdmi_build_portattr_block()
2416 port_attrib->attr_count = cpu_to_be32(count); in bfa_fcs_lport_fdmi_build_portattr_block()