Lines Matching refs:buffer

473 static int mtip_read_log_page(struct mtip_port *port, u8 page, u16 *buffer,
923 dma_addr_t buffer;
934 * @buffer DMA accessible for command data.
935 * @buf_len Length, in bytes, of the data buffer.
942 * -EFAULT The buffer address is not correctly aligned.
949 dma_addr_t buffer,
959 .buffer = buffer,
965 /* Make sure the buffer is 8 byte aligned. This is asic specific. */
966 if (buffer & 0x00000007) {
967 dev_err(&dd->pdev->dev, "SG buffer is not 8 byte aligned\n");
1055 * @buf The buffer location of the string
1102 * If a user space buffer is not specified, i.e. is NULL, the
1104 * into the identify data buffer (@e port->identify) in the
1106 * When the identify buffer contains valid identify information @e
1110 * @user_buffer A user space buffer where the identify data should be
1115 * -EFAULT An error occurred while coping data to the user buffer.
1174 /* Set the identify buffer as valid. */
1237 * @buffer pointer to buffer
1238 * @buffer_dma dma address corresponding to @buffer
1244 static int mtip_read_log_page(struct mtip_port *port, u8 page, u16 *buffer,
1259 memset(buffer, 0, sectors * ATA_SECT_SIZE);
1274 * @buffer pointer to buffer
1275 * @buffer_dma dma address corresponding to @buffer
1280 static int mtip_get_smart_data(struct mtip_port *port, u8 *buffer,
1312 * -EINVAL NULL buffer passed or unsupported attribute @id.
1537 * @param user_buffer Pointer to the user space buffer where read sector
1542 * data to the user space buffer.
1939 * -EFAULT An error occurred copying data to a user space buffer.
1957 /* Copy the user command info to our buffer. */
1969 /* Copy the status back to the users buffer. */
1981 /* Copy the user command info to our buffer. */
1991 /* Copy the status back to the users buffer. */
2127 * @buf Pointer to the char buffer that will receive the stats info.
3295 command_sg->dba = cpu_to_le32(icmd->buffer & 0xFFFFFFFF);
3297 cpu_to_le32((icmd->buffer >> 16) >> 16);