UNIT
output_byte(fdc, UNIT(drive));
output_byte(fdc, UNIT(drive));
set_dor(current_fdc, ~(0x10 << UNIT(current_drive)), 0);
output_byte(current_fdc, UNIT(current_drive));
} while ((reply_buffer[ST0] & 0x83) != UNIT(current_drive) &&
if (output_byte(current_fdc, UNIT(current_drive)) < 0)
data = UNIT(current_drive);
if (!(fdc_state[current_fdc].dor & (0x10 << UNIT(current_drive)))) {
data |= (0x10 << UNIT(current_drive));
} else if (fdc_state[current_fdc].dor & (0x10 << UNIT(current_drive)))
mask &= ~(0x10 << UNIT(current_drive));
raw_cmd->cmd[DR_SELECT] = UNIT(current_drive) + PH_HEAD(_floppy, format_req.head);
raw_cmd->cmd[DR_SELECT] = UNIT(current_drive) + PH_HEAD(_floppy, raw_cmd->cmd[HEAD]);
ret = fd_eject(UNIT(drive));
if (!(fdc_state[fdc].dor & (0x10 << UNIT(drive))) ||
(fdc_state[fdc].dor & 3) != UNIT(drive) || fdc != FDC(drive)) {
fdc_outb(fdc_state[fdc].dor & ~(0x10 << UNIT(drive)),
unsigned char mask = ~(0x10 << UNIT(nr));
if (!(fdc_state[fdc].dor & (0x10 << UNIT(drive))))
if (!(set_dor(current_fdc, ~3, UNIT(drive) | (0x10 << UNIT(drive))) &
(0x10 << UNIT(drive))))
set_dor(current_fdc, ~(0x10 << UNIT(drive)), 0);
uint8_t UNIT :1;
interval_unit = dpcd_interval.bits.UNIT ? 1 : 2; /* 0b = 2 ms, 1b = 1 ms */
#define SMU_METRICS_SCALAR(ID, UNIT, TYPEID, NAME) \
#define SMU_METRICS_ARRAY(ID, UNIT, TYPEID, NAME, SIZE) \
#define SMU_METRICS_INIT_SCALAR(ID, UNIT, TYPEID, NAME) \
AMDGPU_METRICS_ENC_ATTR(UNIT, TYPEID, ID, 1); \
#define SMU_METRICS_INIT_ARRAY(ID, UNIT, TYPEID, NAME, SIZE) \
AMDGPU_METRICS_ENC_ATTR(UNIT, TYPEID, ID, SIZE); \
# define X(UNIT, RPC) NV_VGPU_MSG_FUNCTION_##RPC,
# define X(UNIT, RPC, VAL) NV_VGPU_MSG_FUNCTION_##RPC = VAL,
UFS_LUN_DESC_PARAM(_name, _uname, UNIT, _size)