Lines Matching defs:byte
119 /* Read single byte from device address into byte (CMD52) */
121 u32 address, u8 *byte)
126 *byte = sdio_readb(func, address, &ret);
140 /* Write single byte to device address (CMD52) */
142 u32 address, u8 byte)
147 sdio_writeb(func, byte, address, &ret);
220 u8 byte;
256 ret = ks7010_sdio_readb(priv, INT_PENDING_REG, &byte);
261 if (byte)
481 u8 byte;
522 ret = ks7010_sdio_readb(priv, WSTATUS_RSIZE_REG, &byte);
529 if (byte & RSIZE_MASK) { /* Read schedule */
530 ks_wlan_hw_rx(priv, (size_t)((byte & RSIZE_MASK) << 4));
532 if ((byte & WSTATUS_MASK))
546 u8 status, rsize, byte;
567 ret = ks7010_sdio_readb(priv, GCR_B_REG, &byte);
572 if (byte == GCR_B_ACTIVE) {
583 ret = ks7010_sdio_readb(priv, WSTATUS_RSIZE_REG, &byte);
588 rsize = byte & RSIZE_MASK;
592 if (byte & WSTATUS_MASK) {
756 u8 byte = 0;
763 ret = ks7010_sdio_readb(priv, GCR_A_REG, &byte);
766 if (byte == GCR_A_RUN) {
784 ret = ks7010_sdio_readb(priv, GCR_A_REG, &byte);
788 if (byte == GCR_A_RUN)
902 u8 byte;
917 byte = (INT_GCR_B | INT_READ_STATUS | INT_WRITE_STATUS);
919 ret = ks7010_sdio_writeb(priv, INT_ENABLE_REG, byte);