Lines Matching refs:status
268 static void sja1105_status_unpack(void *buf, struct sja1105_status *status)
279 sja1105_unpack(p + 0x1, &status->configs, 31, 31, 4);
280 sja1105_unpack(p + 0x1, &status->crcchkl, 30, 30, 4);
281 sja1105_unpack(p + 0x1, &status->ids, 29, 29, 4);
282 sja1105_unpack(p + 0x1, &status->crcchkg, 28, 28, 4);
286 struct sja1105_status *status)
292 rc = sja1105_xfer_buf(priv, SPI_READ, regs->status, packed_buf, 4);
296 sja1105_status_unpack(packed_buf, status);
346 struct sja1105_status status;
394 rc = sja1105_status_get(priv, &status);
398 if (status.ids == 1) {
404 if (status.crcchkl == 1) {
409 if (status.crcchkg == 1) {
414 if (status.configs == 0) {
439 .status = 0x1,
473 .status = 0x1,