Searched refs:attr_count (Results 1 – 5 of 5) sorted by relevance
62 u32 attr_count; member375 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()
357 int attr_count = 0; in magn_3d_parse_report() local372 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()
903 int cnt, rc, attr_count; in mspro_block_read_attributes() local941 attr_count = MSPRO_BLOCK_MAX_ATTRIBUTES; in mspro_block_read_attributes()943 attr_count = attr->count; in mspro_block_read_attributes()945 msb->attr_group.attrs = kcalloc(attr_count + 1, in mspro_block_read_attributes()960 for (cnt = 0; cnt < attr_count; ++cnt) { in mspro_block_read_attributes()
1558 __be32 attr_count; /* # of attributes */ member1574 __be32 attr_count; /* # of attributes */ member
1928 len += sizeof(rhba->hba_attr_blk.attr_count); in bfa_fcs_lport_fdmi_build_rhba_pyld()2155 rhba->hba_attr_blk.attr_count = cpu_to_be32(count); in bfa_fcs_lport_fdmi_build_rhba_pyld()2260 len = sizeof(port_attrib->attr_count); in bfa_fcs_lport_fdmi_build_portattr_block()2462 port_attrib->attr_count = cpu_to_be32(count); in bfa_fcs_lport_fdmi_build_portattr_block()