Searched refs:rtop (Results 1 - 4 of 4) sorted by relevance
/linux-master/tools/lib/ |
H A D | bitmap.c | 34 /* current bit is 'cur', most recently seen range is [rbot, rtop] */ 35 unsigned int cur, rbot, rtop; local 41 rtop = cur; 43 if (cur < nbits && cur <= rtop + 1) 52 if (rbot < rtop) 53 ret += scnprintf(buf + ret, size - ret, "-%d", rtop);
|
/linux-master/tools/power/cpupower/utils/helpers/ |
H A D | bitmask.c | 241 * emit(buf, buflen, rbot, rtop, len) 249 static inline int emit(char *buf, int buflen, int rbot, int rtop, int len) argument 253 if (rbot == rtop) 257 rbot, rtop); 278 /* current bit is 'cur', most recently seen range is [rbot, rtop] */ 279 unsigned int cur, rbot, rtop; local 285 rtop = cur; 287 if (cur >= bmp->size || cur > rtop + 1) { 288 len = emit(buf, buflen, rbot, rtop, len);
|
/linux-master/drivers/regulator/ |
H A D | max77857-regulator.c | 322 u32 rtop = 0; local 325 device_property_read_u32(dev, "adi,rtop-ohms", &rtop); 328 if (!rbot || !rtop) 344 range->step = DIV_ROUND_CLOSEST(vref_step * (rbot + rtop), rbot);
|
/linux-master/lib/ |
H A D | vsprintf.c | 1244 int rbot, rtop; local 1249 for_each_set_bitrange(rbot, rtop, bitmap, nr_bits) { 1258 if (rtop == rbot + 1) 1263 buf = number(++buf, end, rtop - 1, default_dec_spec);
|
Completed in 270 milliseconds