Searched refs:msg_len_max (Results 1 – 1 of 1) sorted by relevance
32 u8 buf[1+len], quotient, remainder, i, msg_len, msg_len_max; in tda18218_wr_regs() local41 msg_len_max = priv->cfg->i2c_wr_max - 1; in tda18218_wr_regs()42 quotient = len / msg_len_max; in tda18218_wr_regs()43 remainder = len % msg_len_max; in tda18218_wr_regs()44 msg_len = msg_len_max; in tda18218_wr_regs()50 buf[0] = reg + i * msg_len_max; in tda18218_wr_regs()51 memcpy(&buf[1], &val[i * msg_len_max], msg_len); in tda18218_wr_regs()