Searched refs:offset_array (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/net/wireless/ath/ath9k/ |
H A D | ar9003_calib.c | 204 static const u_int32_t offset_array[3] = { in ar9003_hw_iqcalibrate() local 270 offset_array[i], in ar9003_hw_iqcalibrate() 271 REG_READ(ah, offset_array[i])); in ar9003_hw_iqcalibrate() 278 REG_RMW_FIELD(ah, offset_array[i], in ar9003_hw_iqcalibrate() 281 REG_RMW_FIELD(ah, offset_array[i], in ar9003_hw_iqcalibrate() 286 offset_array[i], in ar9003_hw_iqcalibrate() 288 REG_READ(ah, offset_array[i])); in ar9003_hw_iqcalibrate() 291 offset_array[i], in ar9003_hw_iqcalibrate() 293 REG_READ(ah, offset_array[i])); in ar9003_hw_iqcalibrate()
|
/openbmc/linux/drivers/gpio/ |
H A D | gpio-davinci.c | 48 static unsigned int offset_array[5] = {0x10, 0x38, 0x60, 0x88, 0xb0}; variable 266 chips->regs[bank] = gpio_base + offset_array[bank]; in davinci_gpio_probe() 635 base = chips->regs[0] - offset_array[0]; in davinci_gpio_save_context() 659 base = chips->regs[0] - offset_array[0]; in davinci_gpio_restore_context()
|