Searched refs:bit_index (Results 1 – 2 of 2) sorted by relevance
316 unsigned int bit_index; in basename_to_uint() local319 bit_index = (unsigned int)strtoul(basenamep, &filename_endptr, 10); in basename_to_uint()323 return (bit_index); in basename_to_uint()342 unsigned int bit_index; in set_zone_emul_bitmap() local374 bit_index = basename_to_uint(emul_feature_filep->d_name); in set_zone_emul_bitmap()375 if (bit_index == (unsigned int)-1) in set_zone_emul_bitmap()382 if (bit_index >= S10_NUM_EMUL_FEATURES) { in set_zone_emul_bitmap()396 bitmap[(bit_index >> 3)] |= (1 << (bit_index & 0x7)); in set_zone_emul_bitmap()454 bit_index = basename_to_uint(basenamep); in set_zone_emul_bitmap()455 if (bit_index == (unsigned int)-1) in set_zone_emul_bitmap()[all …]
2648 int tmp, bit_index; in scsb_ps_auto_on() local2653 bit_index = SCTRL_SYS_PS_ON_BASE + (ppao->unit - 1); in scsb_ps_auto_on()2654 ondata = 1 << SYS_OFFSET(bit_index); in scsb_ps_auto_on()2655 tmp = SYS_REG_INDEX(bit_index, SCTRL_SYS_CMD_BASE); in scsb_ps_auto_on()