Lines Matching refs:buffer

485 static int mtip_read_log_page(struct mtip_port *port, u8 page, u16 *buffer,
935 dma_addr_t buffer;
946 * @buffer DMA accessible for command data.
947 * @buf_len Length, in bytes, of the data buffer.
954 * -EFAULT The buffer address is not correctly aligned.
961 dma_addr_t buffer,
971 .buffer = buffer,
977 /* Make sure the buffer is 8 byte aligned. This is asic specific. */
978 if (buffer & 0x00000007) {
979 dev_err(&dd->pdev->dev, "SG buffer is not 8 byte aligned\n");
1067 * @buf The buffer location of the string
1114 * If a user space buffer is not specified, i.e. is NULL, the
1116 * into the identify data buffer (@e port->identify) in the
1118 * When the identify buffer contains valid identify information @e
1122 * @user_buffer A user space buffer where the identify data should be
1127 * -EFAULT An error occurred while coping data to the user buffer.
1186 /* Set the identify buffer as valid. */
1249 * @buffer pointer to buffer
1250 * @buffer_dma dma address corresponding to @buffer
1256 static int mtip_read_log_page(struct mtip_port *port, u8 page, u16 *buffer,
1271 memset(buffer, 0, sectors * ATA_SECT_SIZE);
1286 * @buffer pointer to buffer
1287 * @buffer_dma dma address corresponding to @buffer
1292 static int mtip_get_smart_data(struct mtip_port *port, u8 *buffer,
1324 * -EINVAL NULL buffer passed or unsupported attribute @id.
1549 * @param user_buffer Pointer to the user space buffer where read sector
1554 * data to the user space buffer.
1951 * -EFAULT An error occurred copying data to a user space buffer.
1969 /* Copy the user command info to our buffer. */
1981 /* Copy the status back to the users buffer. */
1993 /* Copy the user command info to our buffer. */
2003 /* Copy the status back to the users buffer. */
2139 * @buf Pointer to the char buffer that will receive the stats info.
2252 "Memory allocation: status buffer\n");
2282 "Memory allocation: register buffer\n");
2348 "Memory allocation: flag buffer\n");
3469 command_sg->dba = cpu_to_le32(icmd->buffer & 0xFFFFFFFF);
3471 cpu_to_le32((icmd->buffer >> 16) >> 16);