attr2 167 drivers/hwmon/adt7411.c struct sensor_device_attribute_2 *attr2 = to_sensor_dev_attr_2(attr); attr2 170 drivers/hwmon/adt7411.c int ret = i2c_smbus_read_byte_data(client, attr2->index); attr2 172 drivers/hwmon/adt7411.c return ret < 0 ? ret : sprintf(buf, "%u\n", !!(ret & attr2->nr)); attr2 178 drivers/hwmon/max16065.c struct sensor_device_attribute_2 *attr2 = to_sensor_dev_attr_2(da); attr2 180 drivers/hwmon/max16065.c int val = data->fault[attr2->nr]; attr2 185 drivers/hwmon/max16065.c val &= (1 << attr2->index); attr2 188 drivers/hwmon/max16065.c MAX16065_FAULT(attr2->nr), val); attr2 223 drivers/hwmon/max16065.c struct sensor_device_attribute_2 *attr2 = to_sensor_dev_attr_2(da); attr2 233 drivers/hwmon/max16065.c limit = MV_TO_LIMIT(val, data->range[attr2->index]); attr2 236 drivers/hwmon/max16065.c data->limit[attr2->nr][attr2->index] attr2 237 drivers/hwmon/max16065.c = LIMIT_TO_MV(limit, data->range[attr2->index]); attr2 239 drivers/hwmon/max16065.c MAX16065_LIMIT(attr2->nr, attr2->index), attr2 249 drivers/hwmon/max16065.c struct sensor_device_attribute_2 *attr2 = to_sensor_dev_attr_2(da); attr2 253 drivers/hwmon/max16065.c data->limit[attr2->nr][attr2->index]); attr2 209 drivers/hwmon/max6642.c struct sensor_device_attribute_2 *attr2 = to_sensor_dev_attr_2(attr); attr2 212 drivers/hwmon/max6642.c return sprintf(buf, "%d\n", temp_from_reg(data->temp_high[attr2->nr])); attr2 219 drivers/hwmon/max6642.c struct sensor_device_attribute_2 *attr2 = to_sensor_dev_attr_2(attr); attr2 229 drivers/hwmon/max6642.c data->temp_high[attr2->nr] = clamp_val(temp_to_reg(val), 0, 255); attr2 230 drivers/hwmon/max6642.c i2c_smbus_write_byte_data(data->client, attr2->index, attr2 231 drivers/hwmon/max6642.c data->temp_high[attr2->nr]); attr2 749 drivers/ps3/ps3-lpm.c u64 signal_select, u64 attr1, u64 attr2, u64 attr3) attr2 754 drivers/ps3/ps3-lpm.c signal_select, attr1, attr2, attr3); attr2 759 drivers/ps3/ps3-lpm.c signal_select, attr1, attr2, attr3); attr2 771 drivers/ps3/ps3-lpm.c u64 attr1, attr2, attr3; attr2 807 drivers/ps3/ps3-lpm.c attr2 = sub_unit; attr2 809 drivers/ps3/ps3-lpm.c attr2 = lpm_priv->pu_id; attr2 817 drivers/ps3/ps3-lpm.c attr1, attr2, attr3); attr2 7268 net/wireless/nl80211.c struct nlattr *attr1, *attr2; attr2 7286 net/wireless/nl80211.c nla_for_each_nested(attr2, freqs, tmp2) attr2 7287 net/wireless/nl80211.c if (attr1 != attr2 && attr2 7288 net/wireless/nl80211.c nla_get_u32(attr1) == nla_get_u32(attr2)) attr2 535 sound/pci/hda/hda_auto_parser.c int i, attr, attr2; attr2 546 sound/pci/hda/hda_auto_parser.c attr2 = snd_hda_get_input_pin_attr(defc); attr2 547 sound/pci/hda/hda_auto_parser.c if (attr2 >= INPUT_PIN_ATTR_NORMAL) { attr2 548 sound/pci/hda/hda_auto_parser.c if (attr && attr != attr2) attr2 550 sound/pci/hda/hda_auto_parser.c attr = attr2; attr2 26 tools/perf/lib/tests/test-evlist.c struct perf_event_attr attr2 = { attr2 43 tools/perf/lib/tests/test-evlist.c evsel = perf_evsel__new(&attr2); attr2 81 tools/perf/lib/tests/test-evlist.c struct perf_event_attr attr2 = { attr2 100 tools/perf/lib/tests/test-evlist.c evsel = perf_evsel__new(&attr2); attr2 133 tools/perf/lib/tests/test-evlist.c struct perf_event_attr attr2 = { attr2 153 tools/perf/lib/tests/test-evlist.c evsel = perf_evsel__new(&attr2);