Lines Matching refs:status
242 static void sja1105_status_unpack(void *buf, struct sja1105_status *status)
253 sja1105_unpack(p + 0x1, &status->configs, 31, 31, 4);
254 sja1105_unpack(p + 0x1, &status->crcchkl, 30, 30, 4);
255 sja1105_unpack(p + 0x1, &status->ids, 29, 29, 4);
256 sja1105_unpack(p + 0x1, &status->crcchkg, 28, 28, 4);
260 struct sja1105_status *status)
266 rc = sja1105_xfer_buf(priv, SPI_READ, regs->status, packed_buf, 4);
270 sja1105_status_unpack(packed_buf, status);
321 struct sja1105_status status;
369 rc = sja1105_status_get(priv, &status);
373 if (status.ids == 1) {
379 if (status.crcchkl == 1) {
384 if (status.crcchkg == 1) {
389 if (status.configs == 0) {
414 .status = 0x1,
450 .status = 0x1,
489 .status = SJA1110_SPI_ADDR(0x4),