Searched refs:prog_address (Results 1 – 1 of 1) sorted by relevance
/openbmc/u-boot/cmd/ |
H A D | otp.c | 553 static int _otp_prog_bit(u32 value, u32 prog_address, u32 bit_offset) in _otp_prog_bit() argument 557 if (prog_address % 2 == 0) { in _otp_prog_bit() 564 prog_address |= 1 << 15; in _otp_prog_bit() 570 return otp_prog(prog_address, prog_bit); in _otp_prog_bit() 573 static int otp_prog_dc_b(u32 value, u32 prog_address, u32 bit_offset) in otp_prog_dc_b() argument 580 ret = _otp_prog_bit(value, prog_address, bit_offset); in otp_prog_dc_b() 586 if (verify_bit(prog_address, bit_offset, value) != 0) { in otp_prog_dc_b() 588 ret = _otp_prog_bit(value, prog_address, bit_offset); in otp_prog_dc_b() 591 if (verify_bit(prog_address, bit_offset, value) != 0) { in otp_prog_dc_b() 608 static int otp_prog_dw(u32 value, u32 ignore, u32 prog_address) in otp_prog_dw() argument [all …]
|