Lines Matching defs:prepend_cnt
144 u32 prepend_cnt;
282 bs->prepend_cnt = 0;
293 if (bs->prepend_cnt + t->len >
308 memcpy(bs->prepend_buf + bs->prepend_cnt, t->tx_buf, t->len);
309 bs->prepend_cnt += t->len;
327 t_prepend->len = bs->prepend_cnt;
329 bs->prepend_cnt = 0;
336 if (bs->prepend_cnt > HSSPI_MAX_PREPEND_LEN) {
362 if (t->len + bs->prepend_cnt > (HSSPI_BUFFER_LEN - HSSPI_OPCODE_LEN)) {
365 t->len, bs->prepend_cnt);
384 reg |= bs->prepend_cnt << MODE_CTRL_MULTIDATA_RD_STRT_SHIFT;
388 reg |= bs->prepend_cnt << MODE_CTRL_MULTIDATA_WR_STRT_SHIFT;
392 reg |= bs->prepend_cnt << MODE_CTRL_PREPENDBYTE_CNT_SHIFT;
397 if (bs->prepend_cnt)
399 bs->prepend_cnt);
401 memcpy_toio(bs->fifo + HSSPI_OPCODE_LEN + bs->prepend_cnt, tx,
672 msg->actual_length = (t_prepend.len + bs->prepend_cnt);