Home
last modified time | relevance | path

Searched refs:sync_msg (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/accel/qaic/
H A Dqaic_timesync.c84 struct qts_host_time_sync_msg_data *sync_msg; member
133 struct qts_host_time_sync_msg_data *sync_msg; in qaic_timesync_timer() local
147 sync_msg = mqtsdev->sync_msg; in qaic_timesync_timer()
148 sync_msg->header.signature = cpu_to_le16(QAIC_TIMESYNC_SIGNATURE); in qaic_timesync_timer()
149 sync_msg->header.msg_type = QAIC_TS_SYNC_REQ; in qaic_timesync_timer()
158 sync_msg->data.tv_usec = cpu_to_le64(offset_us - host_sec * USEC_PER_SEC); in qaic_timesync_timer()
159 sync_msg->data.tv_sec = cpu_to_le64(host_sec); in qaic_timesync_timer()
160 ret = mhi_queue_buf(mqtsdev->mhi_dev, DMA_TO_DEVICE, sync_msg, sizeof(*sync_msg), MHI_EOT); in qaic_timesync_timer()
192 mqtsdev->sync_msg = kzalloc(sizeof(*mqtsdev->sync_msg), GFP_KERNEL); in qaic_timesync_probe()
193 if (!mqtsdev->sync_msg) { in qaic_timesync_probe()
[all …]
/linux/drivers/net/usb/
H A Dsierra_net.c67 u8 sync_msg[4]; /* SYNC message */ member
342 status = sierra_net_send_cmd(dev, priv->sync_msg, in sierra_net_send_sync()
343 sizeof(priv->sync_msg), "SYNC"); in sierra_net_send_sync()
668 static const u8 sync_tmplate[sizeof(priv->sync_msg)] = { in sierra_net_bind()
712 memcpy(priv->sync_msg, sync_tmplate, sizeof(priv->sync_msg)); in sierra_net_bind()
/linux/drivers/scsi/
H A DFlashPoint.c3187 unsigned char sync_msg, offset, sync_reg, our_sync_msg; in FPT_stsyncn() local
3194 sync_msg = FPT_sfm(port, currSCCB); in FPT_stsyncn()
3196 if ((sync_msg == 0x00) && (currSCCB->Sccb_scsimsg == MSG_PARITY_ERROR)) { in FPT_stsyncn()
3227 if (sync_msg < our_sync_msg) { in FPT_stsyncn()
3228 sync_msg = our_sync_msg; /*if faster, then set to max. */ in FPT_stsyncn()
3232 sync_msg = ASYNC; in FPT_stsyncn()
3239 if (sync_msg > 12) in FPT_stsyncn()
3243 if (sync_msg > 25) in FPT_stsyncn()
3247 if (sync_msg > 38) in FPT_stsyncn()
3251 if (sync_msg > 50) in FPT_stsyncn()
[all …]