Home
last modified time | relevance | path

Searched refs:IOCTL_BUF_SIZE (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/scsi/pm8001/
H A Dpm8001_ctl.h44 #define IOCTL_BUF_SIZE 4096 macro
H A Dpm8001_ctl.c745 IOCTL_BUF_SIZE); in pm8001_update_flash()
752 fwControl->len = IOCTL_BUF_SIZE; /* IN */ in pm8001_update_flash()
755 fwControl->offset = loopNumber * IOCTL_BUF_SIZE;/*OUT */ in pm8001_update_flash()
763 fc_len = (partitionSize + HEADER_LEN) % IOCTL_BUF_SIZE; in pm8001_update_flash()
770 memcpy((u8 *)fwControl->buffer, read_buf, IOCTL_BUF_SIZE); in pm8001_update_flash()
771 sizeRead += IOCTL_BUF_SIZE; in pm8001_update_flash()