Lines Matching defs:len
43 static int spi_xcomm_sync_config(struct spi_xcomm *spi_xcomm, unsigned int len)
49 settings |= len << SPI_XCOMM_SETTINGS_LEN_OFFSET;
75 if (t->len > 62)
117 memcpy(spi_xcomm->buf + 1, t->tx_buf, t->len);
119 ret = i2c_master_send(spi_xcomm->i2c, spi_xcomm->buf, t->len + 1);
122 else if (ret != t->len + 1)
125 ret = i2c_master_recv(spi_xcomm->i2c, t->rx_buf, t->len);
128 else if (ret != t->len)
132 return t->len;
151 if (!t->tx_buf && !t->rx_buf && t->len) {
170 status = spi_xcomm_sync_config(spi_xcomm, t->len);
180 if (t->len) {