Home
last modified time | relevance | path

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

/linux-6.1.9/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-6.1.9/block/
Dblk-core.c934 const int sgrp = op_stat_group(op); in bdev_start_io_acct() local
938 part_stat_inc(bdev, ios[sgrp]); in bdev_start_io_acct()
939 part_stat_add(bdev, sectors[sgrp], sectors); in bdev_start_io_acct()
975 const int sgrp = op_stat_group(op); in bdev_end_io_acct() local
981 part_stat_add(bdev, nsecs[sgrp], jiffies_to_nsecs(duration)); in bdev_end_io_acct()
Dblk-mq.c768 const int sgrp = op_stat_group(req_op(req)); in blk_account_io_completion() local
771 part_stat_add(req->part, sectors[sgrp], bytes >> 9); in blk_account_io_completion()
948 const int sgrp = op_stat_group(req_op(req)); in __blk_account_io_done() local
952 part_stat_inc(req->part, ios[sgrp]); in __blk_account_io_done()
953 part_stat_add(req->part, nsecs[sgrp], now - req->start_time_ns); in __blk_account_io_done()