Lines Matching refs:rdev_get_id
102 u8 mask = (rdev_get_id(rdev) == MAX8660_V3) ? 1 : 4; in max8660_dcdc_is_enabled()
110 u8 bit = (rdev_get_id(rdev) == MAX8660_V3) ? 1 : 4; in max8660_dcdc_enable()
118 u8 mask = (rdev_get_id(rdev) == MAX8660_V3) ? ~1 : ~4; in max8660_dcdc_disable()
126 u8 reg = (rdev_get_id(rdev) == MAX8660_V3) ? MAX8660_ADTV2 : MAX8660_SDTV2; in max8660_dcdc_get_voltage_sel()
139 reg = (rdev_get_id(rdev) == MAX8660_V3) ? MAX8660_ADTV2 : MAX8660_SDTV2; in max8660_dcdc_set_voltage_sel()
145 bits = (rdev_get_id(rdev) == MAX8660_V3) ? 0x03 : 0x30; in max8660_dcdc_set_voltage_sel()
200 u8 mask = (rdev_get_id(rdev) == MAX8660_V6) ? 2 : 4; in max8660_ldo67_is_enabled()
208 u8 bit = (rdev_get_id(rdev) == MAX8660_V6) ? 2 : 4; in max8660_ldo67_enable()
216 u8 mask = (rdev_get_id(rdev) == MAX8660_V6) ? ~2 : ~4; in max8660_ldo67_disable()
224 u8 shift = (rdev_get_id(rdev) == MAX8660_V6) ? 0 : 4; in max8660_ldo67_get_voltage_sel()
235 if (rdev_get_id(rdev) == MAX8660_V6) in max8660_ldo67_set_voltage_sel()