Searched refs:data_max (Results 1 – 2 of 2) sorted by relevance
54 data_max -= sizeof(struct gb_spi_transfer_request); in tx_header_fit_operation()57 return tx_size + headers_size > data_max ? 0 : 1; in tx_header_fit_operation()61 size_t data_max) in calc_rx_xfer_size() argument67 if (rx_size + len > data_max) in calc_rx_xfer_size()68 rx_xfer_size = data_max - rx_size; in calc_rx_xfer_size()82 size_t data_max) in calc_tx_xfer_size() argument89 if (tx_size + headers_size + len > data_max) in calc_tx_xfer_size()174 size_t data_max; in gb_spi_operation_create() local201 len, data_max); in gb_spi_operation_create()208 len, data_max); in gb_spi_operation_create()[all …]
25 size_t data_max; member119 u16 data_max; in gb_sdio_get_caps() local134 data_max = gb_operation_get_payload_size_max(host->connection); in gb_sdio_get_caps()135 data_max = min(data_max - sizeof(struct gb_sdio_transfer_request), in gb_sdio_get_caps()136 data_max - sizeof(struct gb_sdio_transfer_response)); in gb_sdio_get_caps()138 blksz = min_t(u16, le16_to_cpu(response.max_blk_size), data_max); in gb_sdio_get_caps()143 host->data_max = data_max; in gb_sdio_get_caps()267 WARN_ON(len > host->data_max); in _gb_sdio_send()321 WARN_ON(len > host->data_max); in _gb_sdio_recv()384 len = min(left, host->data_max); in gb_sdio_transfer()