Lines Matching refs:round_len
301 int round_len; in adin1110_read_fifo() local
323 round_len = adin1110_round_len(frame_size); in adin1110_read_fifo()
324 if (round_len < 0) in adin1110_read_fifo()
338 rxb = netdev_alloc_skb(port_priv->netdev, round_len + header_len); in adin1110_read_fifo()
346 t.len = header_len + round_len; in adin1110_read_fifo()
377 int round_len; in adin1110_write_fifo() local
390 round_len = adin1110_round_len(padded_len); in adin1110_write_fifo()
391 if (round_len < 0) in adin1110_write_fifo()
392 return round_len; in adin1110_write_fifo()
398 memset(priv->data, 0, round_len + ADIN1110_WR_HEADER_LEN); in adin1110_write_fifo()
416 ret = spi_write(priv->spidev, &priv->data[0], round_len + header_len); in adin1110_write_fifo()