Searched refs:sync_msg (Results 1 - 2 of 2) sorted by relevance

/linux-4.1.27/drivers/net/usb/
H A Dsierra_net.c81 u8 sync_msg[4]; /* SYNC message */ member in struct:sierra_net_data
330 status = sierra_net_send_cmd(dev, priv->sync_msg, sierra_net_send_sync()
331 sizeof(priv->sync_msg), "SYNC"); sierra_net_send_sync()
667 static const u8 sync_tmplate[sizeof(priv->sync_msg)] = { sierra_net_bind()
714 memcpy(priv->sync_msg, sync_tmplate, sizeof(priv->sync_msg)); sierra_net_bind()
/linux-4.1.27/drivers/scsi/
H A DFlashPoint.c3216 unsigned char sync_msg, offset, sync_reg, our_sync_msg; FPT_stsyncn() local
3223 sync_msg = FPT_sfm(port, currSCCB); FPT_stsyncn()
3225 if ((sync_msg == 0x00) && (currSCCB->Sccb_scsimsg == SMPARITY)) { FPT_stsyncn()
3256 if (sync_msg < our_sync_msg) { FPT_stsyncn()
3257 sync_msg = our_sync_msg; /*if faster, then set to max. */ FPT_stsyncn()
3261 sync_msg = ASYNC; FPT_stsyncn()
3268 if (sync_msg > 12) FPT_stsyncn()
3272 if (sync_msg > 25) FPT_stsyncn()
3276 if (sync_msg > 38) FPT_stsyncn()
3280 if (sync_msg > 50) FPT_stsyncn()
3284 if (sync_msg > 62) FPT_stsyncn()
3288 if (sync_msg > 75) FPT_stsyncn()
3292 if (sync_msg > 87) FPT_stsyncn()
3296 if (sync_msg > 100) { FPT_stsyncn()
3328 FPT_sisyncr(port, sync_msg, offset); FPT_stsyncn()

Completed in 138 milliseconds