Home
last modified time | relevance | path

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

/openbmc/linux/drivers/hwmon/
H A Dhwmon.c695 int i, aindex = 0; in hwmon_genattrs() local
721 attrs[aindex++] = a; in hwmon_genattrs()
724 return aindex; in hwmon_genattrs()
730 int ret, i, aindex = 0, nattrs = 0; in __hwmon_create_attrs() local
744 ret = hwmon_genattrs(drvdata, &attrs[aindex], chip->ops, in __hwmon_create_attrs()
750 aindex += ret; in __hwmon_create_attrs()
/openbmc/linux/kernel/dma/
H A Dswiotlb.c1368 int index, nslots, aindex; in swiotlb_release_slots() local
1375 aindex = index / mem->area_nslabs; in swiotlb_release_slots()
1376 area = &mem->areas[aindex]; in swiotlb_release_slots()
1384 BUG_ON(aindex >= mem->nareas); in swiotlb_release_slots()