Lines Matching refs:resp_len
487 int cmd_len, resp_len, i; in wilc_spi_single_read() local
513 resp_len = sizeof(*r) + sizeof(*r_data) + WILC_SPI_RSP_HDR_EXTRA_DATA; in wilc_spi_single_read()
518 resp_len += 2; in wilc_spi_single_read()
521 if (cmd_len + resp_len > ARRAY_SIZE(wb)) { in wilc_spi_single_read()
524 cmd_len, resp_len, ARRAY_SIZE(wb)); in wilc_spi_single_read()
528 if (wilc_spi_tx_rx(wilc, wb, rb, cmd_len + resp_len)) { in wilc_spi_single_read()
582 int cmd_len, resp_len; in wilc_spi_write_cmd() local
616 resp_len = sizeof(*r); in wilc_spi_write_cmd()
618 if (cmd_len + resp_len > ARRAY_SIZE(wb)) { in wilc_spi_write_cmd()
621 cmd_len, resp_len, ARRAY_SIZE(wb)); in wilc_spi_write_cmd()
625 if (wilc_spi_tx_rx(wilc, wb, rb, cmd_len + resp_len)) { in wilc_spi_write_cmd()
657 int cmd_len, resp_len; in wilc_spi_dma_rw() local
694 resp_len = sizeof(*r); in wilc_spi_dma_rw()
696 if (cmd_len + resp_len > ARRAY_SIZE(wb)) { in wilc_spi_dma_rw()
698 cmd_len, resp_len, ARRAY_SIZE(wb)); in wilc_spi_dma_rw()
702 if (wilc_spi_tx_rx(wilc, wb, rb, cmd_len + resp_len)) { in wilc_spi_dma_rw()
783 int cmd_len, resp_len = 0; in wilc_spi_special_cmd() local
799 resp_len = sizeof(*r); in wilc_spi_special_cmd()
805 if (cmd_len + resp_len > ARRAY_SIZE(wb)) { in wilc_spi_special_cmd()
807 cmd_len, resp_len, ARRAY_SIZE(wb)); in wilc_spi_special_cmd()
811 if (wilc_spi_tx_rx(wilc, wb, rb, cmd_len + resp_len)) { in wilc_spi_special_cmd()