/linux-4.4.14/drivers/regulator/ |
H A D | ab3100.c | 161 struct ab3100_regulator *abreg = rdev_get_drvdata(reg); ab3100_enable_regulator() local 165 err = abx500_get_register_interruptible(abreg->dev, 0, abreg->regreg, ab3100_enable_regulator() 169 abreg->regreg); ab3100_enable_regulator() 179 err = abx500_set_register_interruptible(abreg->dev, 0, abreg->regreg, ab3100_enable_regulator() 183 abreg->regreg); ab3100_enable_regulator() 192 struct ab3100_regulator *abreg = rdev_get_drvdata(reg); ab3100_disable_regulator() local 201 if (abreg->regreg == AB3100_LDO_D) { ab3100_disable_regulator() 204 return abx500_set_register_interruptible(abreg->dev, 0, ab3100_disable_regulator() 211 err = abx500_get_register_interruptible(abreg->dev, 0, abreg->regreg, ab3100_disable_regulator() 215 abreg->regreg); ab3100_disable_regulator() 219 return abx500_set_register_interruptible(abreg->dev, 0, abreg->regreg, ab3100_disable_regulator() 225 struct ab3100_regulator *abreg = rdev_get_drvdata(reg); ab3100_is_enabled_regulator() local 229 err = abx500_get_register_interruptible(abreg->dev, 0, abreg->regreg, ab3100_is_enabled_regulator() 233 abreg->regreg); ab3100_is_enabled_regulator() 242 struct ab3100_regulator *abreg = rdev_get_drvdata(reg); ab3100_get_voltage_regulator() local 250 err = abx500_get_register_interruptible(abreg->dev, 0, ab3100_get_voltage_regulator() 251 abreg->regreg, ®val); ab3100_get_voltage_regulator() 255 abreg->regreg); ab3100_get_voltage_regulator() 266 abreg->regreg); ab3100_get_voltage_regulator() 276 struct ab3100_regulator *abreg = rdev_get_drvdata(reg); ab3100_set_voltage_regulator_sel() local 280 err = abx500_get_register_interruptible(abreg->dev, 0, ab3100_set_voltage_regulator_sel() 281 abreg->regreg, ®val); ab3100_set_voltage_regulator_sel() 285 abreg->regreg); ab3100_set_voltage_regulator_sel() 293 err = abx500_set_register_interruptible(abreg->dev, 0, ab3100_set_voltage_regulator_sel() 294 abreg->regreg, regval); ab3100_set_voltage_regulator_sel() 297 abreg->regreg); ab3100_set_voltage_regulator_sel() 305 struct ab3100_regulator *abreg = rdev_get_drvdata(reg); ab3100_set_suspend_voltage_regulator() local 311 if (abreg->regreg == AB3100_LDO_E) ab3100_set_suspend_voltage_regulator() 313 else if (abreg->regreg == AB3100_BUCK) ab3100_set_suspend_voltage_regulator() 321 err = abx500_get_register_interruptible(abreg->dev, 0, ab3100_set_suspend_voltage_regulator() 334 err = abx500_set_register_interruptible(abreg->dev, 0, ab3100_set_suspend_voltage_regulator() 338 abreg->regreg); ab3100_set_suspend_voltage_regulator() 348 struct ab3100_regulator *abreg = rdev_get_drvdata(reg); ab3100_get_voltage_regulator_external() local 350 if (abreg->plfdata) ab3100_get_voltage_regulator_external() 351 return abreg->plfdata->external_voltage; ab3100_get_voltage_regulator_external()
|
/linux-4.4.14/arch/ia64/kernel/ |
H A D | unwind_decoder.c | 53 * UNW_DEC_RESTORE(fmt,t,abreg,arg) 54 * UNW_DEC_RESTORE_P(fmt,qp,t,abreg,arg) 57 * UNW_DEC_SPILL_PSPREL(fmt,t,abreg,pspoff,arg) 58 * UNW_DEC_SPILL_PSPREL_P(fmt,qp,t,abreg,pspoff,arg) 59 * UNW_DEC_SPILL_REG(fmt,t,abreg,x,ytreg,arg) 60 * UNW_DEC_SPILL_REG_P(fmt,qp,t,abreg,x,ytreg,arg) 61 * UNW_DEC_SPILL_SPREL(fmt,t,abreg,spoff,arg) 62 * UNW_DEC_SPILL_SPREL_P(fmt,qp,t,abreg,pspoff,arg) 87 unsigned char byte1, abreg; unw_decode_x1() local 93 abreg = (byte1 & 0x7f); unw_decode_x1() 95 UNW_DEC_SPILL_SPREL(X1, t, abreg, off, arg); unw_decode_x1() 97 UNW_DEC_SPILL_PSPREL(X1, t, abreg, off, arg); unw_decode_x1() 104 unsigned char byte1, byte2, abreg, x, ytreg; unw_decode_x2() local 109 abreg = (byte1 & 0x7f); unw_decode_x2() 113 UNW_DEC_RESTORE(X2, t, abreg, arg); unw_decode_x2() 115 UNW_DEC_SPILL_REG(X2, t, abreg, x, ytreg, arg); unw_decode_x2() 122 unsigned char byte1, byte2, abreg, qp; unw_decode_x3() local 130 abreg = (byte2 & 0x7f); unw_decode_x3() 133 UNW_DEC_SPILL_SPREL_P(X3, qp, t, abreg, off, arg); unw_decode_x3() 135 UNW_DEC_SPILL_PSPREL_P(X3, qp, t, abreg, off, arg); unw_decode_x3() 142 unsigned char byte1, byte2, byte3, qp, abreg, x, ytreg; unw_decode_x4() local 149 abreg = (byte2 & 0x7f); unw_decode_x4() 154 UNW_DEC_RESTORE_P(X4, qp, t, abreg, arg); unw_decode_x4() 156 UNW_DEC_SPILL_REG_P(X4, qp, t, abreg, x, ytreg, arg); unw_decode_x4()
|
H A D | unwind.c | 682 decode_abreg (unsigned char abreg, int memory) decode_abreg() 684 switch (abreg) { decode_abreg() 685 case 0x04 ... 0x07: return UNW_REG_R4 + (abreg - 0x04); decode_abreg() 686 case 0x22 ... 0x25: return UNW_REG_F2 + (abreg - 0x22); decode_abreg() 687 case 0x30 ... 0x3f: return UNW_REG_F16 + (abreg - 0x30); decode_abreg() 688 case 0x41 ... 0x45: return UNW_REG_B1 + (abreg - 0x41); decode_abreg() 703 UNW_DPRINT(0, "unwind.%s: bad abreg=0x%x\n", __func__, abreg); 1086 desc_restore_p (unsigned char qp, unw_word t, unsigned char abreg, struct unw_state_record *sr) desc_restore_p() 1093 r = sr->curr.reg + decode_abreg(abreg, 0); desc_restore_p() 1100 desc_spill_reg_p (unsigned char qp, unw_word t, unsigned char abreg, unsigned char x, desc_spill_reg_p() 1114 r = sr->curr.reg + decode_abreg(abreg, 0); desc_spill_reg_p() 1121 desc_spill_psprel_p (unsigned char qp, unw_word t, unsigned char abreg, unw_word pspoff, desc_spill_psprel_p() 1129 r = sr->curr.reg + decode_abreg(abreg, 1); desc_spill_psprel_p() 1136 desc_spill_sprel_p (unsigned char qp, unw_word t, unsigned char abreg, unw_word spoff, desc_spill_sprel_p() 1144 r = sr->curr.reg + decode_abreg(abreg, 1); desc_spill_sprel_p() 680 decode_abreg(unsigned char abreg, int memory) decode_abreg() argument 1084 desc_restore_p(unsigned char qp, unw_word t, unsigned char abreg, struct unw_state_record *sr) desc_restore_p() argument 1098 desc_spill_reg_p(unsigned char qp, unw_word t, unsigned char abreg, unsigned char x, unsigned char ytreg, struct unw_state_record *sr) desc_spill_reg_p() argument 1119 desc_spill_psprel_p(unsigned char qp, unw_word t, unsigned char abreg, unw_word pspoff, struct unw_state_record *sr) desc_spill_psprel_p() argument 1134 desc_spill_sprel_p(unsigned char qp, unw_word t, unsigned char abreg, unw_word spoff, struct unw_state_record *sr) desc_spill_sprel_p() argument
|
/linux-4.4.14/drivers/mfd/ |
H A D | ab3100-core.c | 652 u8 abreg; member in struct:ab3100_init_setting 658 .abreg = AB3100_MCA, 661 .abreg = AB3100_MCB, 664 .abreg = AB3100_IMRA1, 667 .abreg = AB3100_IMRA2, 670 .abreg = AB3100_IMRA3, 673 .abreg = AB3100_IMRB1, 676 .abreg = AB3100_IMRB2, 679 .abreg = AB3100_IMRB3, 682 .abreg = AB3100_SUP, 685 .abreg = AB3100_DIS, 688 .abreg = AB3100_D0C, 691 .abreg = AB3100_D1C, 694 .abreg = AB3100_D2C, 697 .abreg = AB3100_D3C, 709 ab3100_init_settings[i].abreg, ab3100_setup()
|