Searched refs:diag_read_buffer (Results 1 – 2 of 2) sorted by relevance
/freebsd/sys/dev/mpr/ |
H A D | mpr_user.c | 161 mpr_diag_read_buffer_t *diag_read_buffer, uint8_t *ioctl_buf, 1772 mpr_diag_read_buffer_t *diag_read_buffer, uint8_t *ioctl_buf, in mpr_diag_read_buffer() argument 1780 unique_id = diag_read_buffer->UniqueId; in mpr_diag_read_buffer() 1797 if (diag_read_buffer->StartingOffset + diag_read_buffer->BytesToRead > in mpr_diag_read_buffer() 1812 diag_read_buffer->StartingOffset); in mpr_diag_read_buffer() 1813 if (copyout(pData, ioctl_buf, diag_read_buffer->BytesToRead) != 0) in mpr_diag_read_buffer() 1815 diag_read_buffer->Status = 0; in mpr_diag_read_buffer() 1821 diag_read_buffer->Flags |= MPR_FW_DIAG_FLAG_FORCE_RELEASE; in mpr_diag_read_buffer() 1823 diag_read_buffer->Flags &= ~MPR_FW_DIAG_FLAG_FORCE_RELEASE; in mpr_diag_read_buffer() 1832 if (diag_read_buffer->Flags & MPR_FW_DIAG_FLAG_REREGISTER) { in mpr_diag_read_buffer() [all …]
|
/freebsd/sys/dev/mps/ |
H A D | mps_user.c | 163 mps_diag_read_buffer_t *diag_read_buffer, uint8_t *ioctl_buf, 1660 mps_diag_read_buffer_t *diag_read_buffer, uint8_t *ioctl_buf, in mps_diag_read_buffer() argument 1668 unique_id = diag_read_buffer->UniqueId; in mps_diag_read_buffer() 1685 if (diag_read_buffer->StartingOffset + diag_read_buffer->BytesToRead > in mps_diag_read_buffer() 1700 diag_read_buffer->StartingOffset); in mps_diag_read_buffer() 1701 if (copyout(pData, ioctl_buf, diag_read_buffer->BytesToRead) != 0) in mps_diag_read_buffer() 1703 diag_read_buffer->Status = 0; in mps_diag_read_buffer() 1709 diag_read_buffer->Flags |= MPS_FW_DIAG_FLAG_FORCE_RELEASE; in mps_diag_read_buffer() 1711 diag_read_buffer->Flags &= ~MPS_FW_DIAG_FLAG_FORCE_RELEASE; in mps_diag_read_buffer() 1720 if (diag_read_buffer->Flags & MPS_FW_DIAG_FLAG_REREGISTER) { in mps_diag_read_buffer() [all …]
|