Searched refs:HW_DRIVE_PIN_NUM (Results 1 – 2 of 2) sorted by relevance
182 hwdrive = pbank->hw_drive[pin / HW_DRIVE_PIN_NUM]; in stmp3xxx_pin_strength()183 shift = (pin % HW_DRIVE_PIN_NUM) * HW_DRIVE_PIN_LEN; in stmp3xxx_pin_strength()213 hwdrive = pbank->hw_drive[pin / HW_DRIVE_PIN_NUM]; in stmp3xxx_pin_voltage()214 shift = (pin % HW_DRIVE_PIN_NUM) * HW_DRIVE_PIN_LEN; in stmp3xxx_pin_voltage()
113 #define HW_DRIVE_PIN_NUM 8 /* pins per register */ macro