Home
last modified time | relevance | path

Searched refs:sgrp (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.10/drivers/hwmon/
Dibmpowernv.c338 struct device_node *groups, *sgrp; in init_sensor_group_data() local
346 for_each_child_of_node(groups, sgrp) { in init_sensor_group_data()
347 type = get_sensor_type(sgrp); in init_sensor_group_data()
362 for_each_child_of_node(groups, sgrp) { in init_sensor_group_data()
365 type = get_sensor_type(sgrp); in init_sensor_group_data()
369 if (of_property_read_u32(sgrp, "sensor-group-id", &gid)) in init_sensor_group_data()
372 if (of_count_phandle_with_args(sgrp, "sensors", NULL) <= 0) in init_sensor_group_data()
392 struct device_node *groups, *sgrp; in get_sensor_group() local
398 for_each_child_of_node(groups, sgrp) { in get_sensor_group()
404 type = get_sensor_type(sgrp); in get_sensor_group()
[all …]
/Linux-v5.10/block/
Dblk-core.c1281 const int sgrp = op_stat_group(req_op(req)); in blk_account_io_completion() local
1286 part_stat_add(part, sectors[sgrp], bytes >> 9); in blk_account_io_completion()
1300 const int sgrp = op_stat_group(req_op(req)); in blk_account_io_done() local
1307 part_stat_inc(part, ios[sgrp]); in blk_account_io_done()
1308 part_stat_add(part, nsecs[sgrp], now - req->start_time_ns); in blk_account_io_done()
1330 const int sgrp = op_stat_group(op); in __part_start_io_acct() local
1335 part_stat_inc(part, ios[sgrp]); in __part_start_io_acct()
1336 part_stat_add(part, sectors[sgrp], sectors); in __part_start_io_acct()
1362 const int sgrp = op_stat_group(op); in __part_end_io_acct() local
1368 part_stat_add(part, nsecs[sgrp], jiffies_to_nsecs(duration)); in __part_end_io_acct()