Lines Matching refs:buf_oaf
316 u8 *buf_oaf; in mvs_task_prep_smp() local
356 buf_oaf = buf_tmp; in mvs_task_prep_smp()
394 buf_oaf[0] = (1 << 7) | (PROTOCOL_SMP << 4) | 0x01; in mvs_task_prep_smp()
395 buf_oaf[1] = min(sas_port->linkrate, dev->linkrate) & 0xf; in mvs_task_prep_smp()
396 *(u16 *)(buf_oaf + 2) = 0xFFFF; /* SAS SPEC */ in mvs_task_prep_smp()
397 memcpy(buf_oaf + 4, dev->sas_addr, SAS_ADDR_SIZE); in mvs_task_prep_smp()
444 u8 *buf_cmd, *buf_oaf; in mvs_task_prep_ata() local
500 buf_oaf = buf_tmp; in mvs_task_prep_ata()
542 buf_oaf[0] = (1 << 7) | (PROTOCOL_STP << 4) | 0x1; in mvs_task_prep_ata()
543 buf_oaf[1] = min(sas_port->linkrate, dev->linkrate) & 0xf; in mvs_task_prep_ata()
544 *(u16 *)(buf_oaf + 2) = cpu_to_be16(mvi_dev->device_id + 1); in mvs_task_prep_ata()
545 memcpy(buf_oaf + 4, dev->sas_addr, SAS_ADDR_SIZE); in mvs_task_prep_ata()
571 u8 *buf_cmd, *buf_oaf, fburst = 0; in mvs_task_prep_ssp() local
616 buf_oaf = buf_tmp; in mvs_task_prep_ssp()
650 buf_oaf[0] = (1 << 7) | (PROTOCOL_SSP << 4) | 0x1; in mvs_task_prep_ssp()
651 buf_oaf[1] = min(sas_port->linkrate, dev->linkrate) & 0xf; in mvs_task_prep_ssp()
652 *(u16 *)(buf_oaf + 2) = cpu_to_be16(mvi_dev->device_id + 1); in mvs_task_prep_ssp()
653 memcpy(buf_oaf + 4, dev->sas_addr, SAS_ADDR_SIZE); in mvs_task_prep_ssp()