Lines Matching refs:in
665 static u32 atoh(const unsigned char *in, unsigned int len) in atoh() argument
674 c = in[len - 1]; in atoh()
684 static int senddata(struct cmdif *cif, const unsigned char *in, u32 offset) in senddata() argument
691 i = atoh(&in[1], 2); in senddata()
692 addr = offset + atoh(&in[3], 4); in senddata()
695 p = in + 9; in senddata()
711 const unsigned char *in; in loadfirmware() local
717 in = img; in loadfirmware()
718 if (in[0] == ':') { in loadfirmware()
719 t = atoh(&in[7], 2); in loadfirmware()
722 err = senddata(cif, in, laddr + saddr); in loadfirmware()
725 saddr = atoh(&in[9], 4) << 4; in loadfirmware()
728 laddr = atoh(&in[9], 4) << 16; in loadfirmware()
731 val = atoh(&in[9], 8); in loadfirmware()