Lines Matching defs:sz
76 * @sz: size
82 u16 sz;
193 if (mem->sz > ioc->config_page_sz) {
194 mem->page = dma_alloc_coherent(&ioc->pdev->dev, mem->sz,
199 ioc->name, __func__, mem->sz);
222 if (mem->sz > ioc->config_page_sz)
223 dma_free_coherent(&ioc->pdev->dev, mem->sz, mem->page,
321 mem.sz = mpi_request->Header.PageLength * 4;
323 mem.sz = le16_to_cpu(mpi_reply->ExtPageLength) * 4;
332 MPT2_CONFIG_COMMON_WRITE_SGLFLAGS | mem.sz,
334 memcpy(mem.page, config_page, min_t(u16, mem.sz,
339 MPT2_CONFIG_COMMON_SGLFLAGS | mem.sz, mem.page_dma);
419 memcpy(config_page, mem.page, min_t(u16, mem.sz,
852 * @sz: size of buffer passed in config_page
862 *mpi_reply, Mpi2SasIOUnitPage0_t *config_page, u16 sz)
882 MPT2_CONFIG_PAGE_DEFAULT_TIMEOUT, config_page, sz);
892 * @sz: size of buffer passed in config_page
902 *mpi_reply, Mpi2SasIOUnitPage1_t *config_page, u16 sz)
922 MPT2_CONFIG_PAGE_DEFAULT_TIMEOUT, config_page, sz);
932 * @sz: size of buffer passed in config_page
942 *mpi_reply, Mpi2SasIOUnitPage1_t *config_page, u16 sz)
962 MPT2_CONFIG_PAGE_DEFAULT_TIMEOUT, config_page, sz);
965 MPT2_CONFIG_PAGE_DEFAULT_TIMEOUT, config_page, sz);
1269 * @sz: size of buffer passed in config_page
1277 u32 handle, u16 sz)
1297 MPT2_CONFIG_PAGE_DEFAULT_TIMEOUT, config_page, sz);