Searched refs:xfer_sz (Results 1 - 2 of 2) sorted by relevance
/linux-4.1.27/drivers/net/caif/ |
H A D | caif_hsi.c | 414 int xfer_sz = 0; cfhsi_rx_desc() local 482 xfer_sz += *plen; cfhsi_rx_desc() 489 xfer_sz += CFHSI_DESC_SZ; cfhsi_rx_desc() 491 if ((xfer_sz % 4) || (xfer_sz > (CFHSI_BUF_SZ_RX - CFHSI_DESC_SZ))) { cfhsi_rx_desc() 494 __func__, xfer_sz); cfhsi_rx_desc() 497 return xfer_sz; cfhsi_rx_desc() 502 int xfer_sz = 0; cfhsi_rx_desc_len() local 517 xfer_sz += *plen; cfhsi_rx_desc_len() 522 if (xfer_sz % 4) { cfhsi_rx_desc_len() 523 pr_err("Invalid payload len: %d, ignored.\n", xfer_sz); cfhsi_rx_desc_len() 526 return xfer_sz; cfhsi_rx_desc_len()
|
/linux-4.1.27/drivers/block/mtip32xx/ |
H A D | mtip32xx.c | 1867 int rv = 0, xfer_sz = command[3]; exec_drive_command() local 1870 if (xfer_sz) { exec_drive_command() 1875 ATA_SECT_SIZE * xfer_sz, exec_drive_command() 1881 ATA_SECT_SIZE * xfer_sz); exec_drive_command() 1884 memset(buf, 0, ATA_SECT_SIZE * xfer_sz); exec_drive_command() 1902 if (xfer_sz) exec_drive_command() 1920 (xfer_sz ? dma_addr : 0), exec_drive_command() 1921 (xfer_sz ? ATA_SECT_SIZE * xfer_sz : 0), exec_drive_command() 1943 if (xfer_sz) { exec_drive_command() 1954 ATA_SECT_SIZE * xfer_sz, buf, dma_addr); exec_drive_command()
|
Completed in 161 milliseconds